/third_party/python/Tools/unicode/ |
H A D | genmap_support.py | 188 line = line.split('#', 1)[0].strip()
|
/third_party/python/Lib/idlelib/ |
H A D | stackviewer.py | 76 sourceline = sourceline.strip()
|
H A D | autocomplete.py | 73 not self.text.get("insert linestart", "insert").strip():
|
/third_party/python/Lib/distutils/ |
H A D | cygwinccompiler.py | 234 # otherwise we let dllwrap/ld strip the output file 403 return out_string.strip().endswith(b'cygwin')
|
/third_party/python/Lib/test/ |
H A D | test_audit.py | 48 [line.strip().partition(" ") for line in p.stdout],
|
H A D | test_ucn.py | 188 line = line.strip()
|
H A D | test_cmd_line.py | 116 # this is similar to assert_python_ok but doesn't strip 601 self.assertEqual(out.strip(), b'1 1 1 True') 617 self.assertEqual(out.strip(), b"ok") 859 self.assertEqual(proc.stdout.strip(), b'0') 884 out = res.out.strip().decode("utf-8")
|
H A D | test_imaplib.py | 129 print("SENT: %r" % message.strip()) 163 print('GOT: %r' % line.strip()) 686 new_flags = args[2].strip('(').strip(')').split()
|
H A D | test_threading.py | 437 self.assertEqual(out.strip(), 1457 stderr = stderr.getvalue().strip() 1478 stderr = stderr.getvalue().strip() 1722 self.assertEqual(out.strip(), b'parrot')
|
H A D | test_logging.py | 1705 """).strip() 3743 self.assertEqual(self.stream.getvalue().strip().count('Traceback'), 1) 3744 self.assertEqual(self.stream.getvalue().strip().count('Stack'), 1) 3757 self.assertEqual(self.stream.getvalue().strip(), "que -> ERROR: error") 4461 self.assertEqual(stream.getvalue().strip(), "hello") 4705 self.assertEqual(output.getvalue().strip(), 4713 self.assertEqual(output.getvalue().strip(), 4834 self.assertEqual(old_string_io.getvalue().strip(), 4836 self.assertEqual(new_string_io.getvalue().strip(), 4854 data = f.read().strip() [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | validity.py | 212 return ''.join(self.parts).strip()
|
/third_party/skia/third_party/externals/dawn/generator/ |
H A D | opengl_loader_generator.py | 71 return result.strip()
|
/third_party/python/Doc/tools/ |
H A D | rstlint.py | 190 elif inprod and not line.strip():
|
/third_party/python/Doc/tools/extensions/ |
H A D | suspicious.py | 159 writer.writerow([self.docname, lineno, issue, text.strip()])
|
H A D | c_annotations.py | 68 line = line.strip()
|
/third_party/skia/infra/bots/ |
H A D | recipes.py | 243 cwd=os.path.abspath(os.path.dirname(__file__))).strip())
|
/third_party/skia/infra/bots/recipe_modules/flavor/ |
H A D | ios.py | 68 image_info.stdout.decode('utf-8').strip() if image_info.stdout else '')
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | registry_xml.py | 565 if len(param_text) == 1 and param_text[0].strip() == 'void':
|
/third_party/littlefs/scripts/ |
H A D | tracebd.py | 898 int(x, 0) if x.strip() else None 904 int(x, 0) if x.strip() else None 949 type=lambda x: [x.strip() for x in x.split(',')], 953 type=lambda x: [x.strip() for x in x.split(',')],
|
/third_party/python/Tools/stringbench/ |
H A D | stringbench.py | 1142 @bench('"Hello!\\n".strip()', 'strip terminal newline', 1000) 1145 s_strip = s.strip 1149 @bench('"Hello!\\n".rstrip()', 'strip terminal newline', 1000) 1156 @bench('"\\nHello!".strip()', 'strip terminal newline', 1000) 1159 s_strip = s.strip 1163 @bench('"\\nHello!\\n".strip()', 'strip terminal newline', 1000) 1166 s_strip = s.strip [all...] |
/third_party/python/Lib/unittest/ |
H A D | case.py | 497 return doc.strip().split("\n")[0].strip() if doc else None 1247 if len(firstlines) == 1 and first.strip('\r\n') == first: 1443 return doc and doc.split("\n")[0].strip() or None
|
/third_party/python/Lib/http/ |
H A D | cookiejar.py | 495 param = param.strip() 498 key = key.strip() 508 val = val.strip() if sep else None 1926 line = line[len(header):].strip() 2040 if (line.strip().startswith(("#", "$")) or 2041 line.strip() == ""):
|
/third_party/libinput/src/ |
H A D | libinput.c | 244 } strip; member 2959 .strip.number = number, in tablet_pad_notify_strip() 2960 .strip.position = value, in tablet_pad_notify_strip() 2961 .strip.source = source, in tablet_pad_notify_strip() 3447 unsigned int strip) in libinput_tablet_pad_mode_group_has_strip() 3449 if ((int)strip >= in libinput_tablet_pad_mode_group_has_strip() 3453 return !!(group->strip_mask & bit(strip)); in libinput_tablet_pad_mode_group_has_strip() 3633 return event->strip.position; in libinput_event_tablet_pad_get_strip_position() 3644 return event->strip.number; in libinput_event_tablet_pad_get_strip_number() 3655 return event->strip in libinput_event_tablet_pad_get_strip_source() 3446 libinput_tablet_pad_mode_group_has_strip(struct libinput_tablet_pad_mode_group *group, unsigned int strip) libinput_tablet_pad_mode_group_has_strip() argument [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | oh_yara_driver.py | 171 "param get const.ohos.version.security_patch").strip() 173 "param get const.ohos.fullname").strip()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | device_lite.py | 80 com_list[index] = item.strip().strip(b'\x00'.decode())
|