Home
last modified time | relevance | path

Searched refs:strip (Results 626 - 650 of 934) sorted by relevance

1...<<21222324252627282930>>...38

/third_party/python/Tools/unicode/
H A Dgenmap_support.py188 line = line.split('#', 1)[0].strip()
/third_party/python/Lib/idlelib/
H A Dstackviewer.py76 sourceline = sourceline.strip()
H A Dautocomplete.py73 not self.text.get("insert linestart", "insert").strip():
/third_party/python/Lib/distutils/
H A Dcygwinccompiler.py234 # otherwise we let dllwrap/ld strip the output file
403 return out_string.strip().endswith(b'cygwin')
/third_party/python/Lib/test/
H A Dtest_audit.py48 [line.strip().partition(" ") for line in p.stdout],
H A Dtest_ucn.py188 line = line.strip()
H A Dtest_cmd_line.py116 # 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 Dtest_imaplib.py129 print("SENT: %r" % message.strip())
163 print('GOT: %r' % line.strip())
686 new_flags = args[2].strip('(').strip(')').split()
H A Dtest_threading.py437 self.assertEqual(out.strip(),
1457 stderr = stderr.getvalue().strip()
1478 stderr = stderr.getvalue().strip()
1722 self.assertEqual(out.strip(), b'parrot')
H A Dtest_logging.py1705 """).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 Dvalidity.py212 return ''.join(self.parts).strip()
/third_party/skia/third_party/externals/dawn/generator/
H A Dopengl_loader_generator.py71 return result.strip()
/third_party/python/Doc/tools/
H A Drstlint.py190 elif inprod and not line.strip():
/third_party/python/Doc/tools/extensions/
H A Dsuspicious.py159 writer.writerow([self.docname, lineno, issue, text.strip()])
H A Dc_annotations.py68 line = line.strip()
/third_party/skia/infra/bots/
H A Drecipes.py243 cwd=os.path.abspath(os.path.dirname(__file__))).strip())
/third_party/skia/infra/bots/recipe_modules/flavor/
H A Dios.py68 image_info.stdout.decode('utf-8').strip() if image_info.stdout else '')
/third_party/skia/third_party/externals/angle2/scripts/
H A Dregistry_xml.py565 if len(param_text) == 1 and param_text[0].strip() == 'void':
/third_party/littlefs/scripts/
H A Dtracebd.py898 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 Dstringbench.py1142 @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 Dcase.py497 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 Dcookiejar.py495 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 Dlibinput.c244 } 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 Doh_yara_driver.py171 "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 Ddevice_lite.py80 com_list[index] = item.strip().strip(b'\x00'.decode())

Completed in 34 milliseconds

1...<<21222324252627282930>>...38