Home
last modified time | relevance | path

Searched refs:rstrip (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/third_party/boost/libs/mpl/preprocessed/
Dboost_mpl_preprocess.py33 line = re.sub(r'20', '%TWENTY%', line.rstrip())
34 line = re.sub(r'11', '%ELEVEN%', line.rstrip())
35 line = re.sub(r'10(?![0-9])', '%TEN%', line.rstrip())
36 line = re.sub(r'%TWENTY%', re.escape(str(i+10)), line.rstrip())
37 line = re.sub(r'%ELEVEN%', re.escape(str(i + 1)), line.rstrip())
38 line = re.sub(r'%TEN%', re.escape(str(i)), line.rstrip())
47 line = re.sub(r'20', '%TWENTY%', line.rstrip())
48 line = re.sub(r'11', '%ELEVEN%', line.rstrip())
49 line = re.sub(r'10(?![0-9])', '%TEN%', line.rstrip())
50 line = re.sub(r'%TWENTY%', re.escape(str(i+10)), line.rstrip())
[all …]
/third_party/python/Tools/clinic/
Dcpp.py86 self.continuation = line[:-1].rstrip() + " "
121 line = before.rstrip() + ' ' + after.lstrip()
125 line = before.rstrip()
132 line = before.rstrip()
/third_party/nghttp2/doc/
Dmkapiref.py238 member_name = items[0].rstrip(',')
241 .format(' '.join(items[2:]).rstrip(',')))
244 enum_name = line.rstrip().split()[1]
260 member_name = line.rstrip().rstrip(';')
268 struct_name = line.rstrip().split()[index]
301 content.append(transform_content(line.rstrip()))
/third_party/iptables/
Diptables-test.py228 chain_array = line.rstrip()[1:].split(",")
233 external_cmd = line.rstrip()[1:]
241 external_cmd = line.rstrip()[1:]
248 table = line.rstrip()[1:]
270 res = item[2].rstrip()
Dxlate-test.py48 translation = output.decode("utf-8").rstrip(" \n")
49 expected = next(payload).rstrip(" \n")
54 result.append(magenta("src: ") + line.rstrip(" \n"))
/third_party/nghttp2/
Dgit-clang-format282 filename = match.group(1).rstrip('\r\n')
382 return stdout.rstrip('\r\n')
429 new_tree).rstrip('\0').split('\0')
467 print >>sys.stderr, stderr.rstrip()
469 stdout = stdout.rstrip('\r\n')
474 print >>sys.stderr, stderr.rstrip()
/third_party/icu/tools/unicode/c/genuca/
Dgenteststub.py44 wrfile.write(line.rstrip()+"\n")
47 line = line.rstrip()
/third_party/glib/gio/tests/
Dgengiotypefuncs.py27 line = line.rstrip(b"\n").rstrip(b"\r")
/third_party/python/Lib/distutils/tests/
Dtest_log.py32 self.assertEqual(stdout.read().rstrip(),
37 self.assertEqual(stderr.read().rstrip(),
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/
Dwps-nfc.py84 return ret.rstrip().decode("hex")
94 return ret.rstrip().decode("hex")
104 return ret.rstrip().decode("hex")
113 return ret.rstrip().decode("hex")
121 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR").rstrip()
123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/
Dwps-nfc.py84 return ret.rstrip().decode("hex")
94 return ret.rstrip().decode("hex")
104 return ret.rstrip().decode("hex")
113 return ret.rstrip().decode("hex")
121 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR").rstrip()
123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip()
/third_party/cef/tools/yapf/yapf/yapflib/
Dcomment_splicer.py175 if value.rstrip('\n'):
182 value=value.rstrip('\n'),
188 rindex = (0 if '\n' not in comment_prefix.rstrip() else
189 comment_prefix.rstrip().rindex('\n') + 1)
/third_party/python/Lib/html/
D__init__.py96 num = int(s[2:].rstrip(';'), 16)
98 num = int(s[1:].rstrip(';'))
/third_party/iptables/extensions/
DgenInit.py27 return sout.rstrip().decode('utf-8'), serr, res.returncode
104 replace_init_text = filter_file.rstrip("\.c") + "_init(void)"
110 init_file_list.append(filter_file.rstrip("\.c") + "_init" + "();\n")
/third_party/python/Lib/test/test_asyncio/
Dtest_windows_utils.py118 out = ovout.getresult().rstrip()
119 err = overr.getresult().rstrip()
124 self.assertTrue(msg.upper().rstrip().startswith(out))
/third_party/python/Lib/test/
Dtest_utf8_mode.py38 return out.decode().rstrip("\n\r")
99 out.rstrip())
222 args = out.partition(':')[2].rstrip()
277 out = fp.read().rstrip()
Dtest_cmd_line.py107 self.assertEqual(out.rstrip(), b'{}')
111 self.assertEqual(out.rstrip(), b"{'showrefcount': True}")
162 self.assertEqual(res.out.rstrip(), ascii(ch).encode('ascii'))
246 self.assertEqual(proc.stdout.rstrip(), ascii(arg))
371 self.assertEqual(stdout.rstrip(), expected)
631 return proc.stdout.rstrip()
711 return proc.stdout.rstrip()
748 self.assertEqual(proc.stdout.rstrip(), name)
786 self.assertEqual(proc.stdout.rstrip(), 'False')
792 self.assertEqual(proc.stdout.rstrip(), 'True')
/third_party/flutter/skia/third_party/externals/dawn/scripts/
Dgit-clang-format307 filename = match.group(1).rstrip('\r\n')
446 return convert_string(stdout).rstrip('\r\n')
499 new_tree).rstrip('\0').split('\0')
541 print(stderr.rstrip(), file=sys.stderr)
543 stdout = stdout.rstrip('\r\n')
548 print(stderr.rstrip(), file=sys.stderr)
/third_party/skia/platform_tools/debugging/lldb/
Dskia.py57 return int(name.lstrip('[').rstrip(']'))
103 return int(name.lstrip('[').rstrip(']'))
152 return int(name.lstrip('[').rstrip(']'))
/third_party/spirv-tools/utils/
Dupdate_build_version.py109 return command_output(['git', 'describe'], directory).rstrip().decode()
113 ['git', 'rev-parse', 'HEAD'], directory).rstrip().decode()
/third_party/skia/third_party/externals/spirv-tools/utils/
Dupdate_build_version.py109 return command_output(['git', 'describe'], directory).rstrip().decode()
113 ['git', 'rev-parse', 'HEAD'], directory).rstrip().decode()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dupdate_build_version.py109 return command_output(['git', 'describe'], directory).rstrip().decode()
113 ['git', 'rev-parse', 'HEAD'], directory).rstrip().decode()
/third_party/flutter/skia/tools/lua/
Dtrigger_ct_lua68 user = subprocess.check_output(['git', 'config', 'user.email']).rstrip()
73 password = f.read().rstrip()
/third_party/skia/tools/
Dsanitize_source_files.py89 stripped_line = line.rstrip() + '\n'
122 file_content = file_content.rstrip()
/third_party/flutter/skia/third_party/externals/spirv-tools/utils/
Dupdate_build_version.py111 return command_output(['git', 'describe'], directory).rstrip().decode()
115 ['git', 'rev-parse', 'HEAD'], directory).rstrip().decode()

12345678910>>...14