Searched refs:rstrip (Results 1 – 25 of 332) sorted by relevance
12345678910>>...14
/third_party/boost/libs/mpl/preprocessed/ |
D | boost_mpl_preprocess.py | 33 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/ |
D | cpp.py | 86 self.continuation = line[:-1].rstrip() + " " 121 line = before.rstrip() + ' ' + after.lstrip() 125 line = before.rstrip() 132 line = before.rstrip()
|
/third_party/nghttp2/doc/ |
D | mkapiref.py | 238 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/ |
D | iptables-test.py | 228 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()
|
D | xlate-test.py | 48 translation = output.decode("utf-8").rstrip(" \n") 49 expected = next(payload).rstrip(" \n") 54 result.append(magenta("src: ") + line.rstrip(" \n"))
|
/third_party/nghttp2/ |
D | git-clang-format | 282 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/ |
D | genteststub.py | 44 wrfile.write(line.rstrip()+"\n") 47 line = line.rstrip()
|
/third_party/glib/gio/tests/ |
D | gengiotypefuncs.py | 27 line = line.rstrip(b"\n").rstrip(b"\r")
|
/third_party/python/Lib/distutils/tests/ |
D | test_log.py | 32 self.assertEqual(stdout.read().rstrip(), 37 self.assertEqual(stderr.read().rstrip(),
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
D | wps-nfc.py | 84 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/ |
D | wps-nfc.py | 84 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/ |
D | comment_splicer.py | 175 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__.py | 96 num = int(s[2:].rstrip(';'), 16) 98 num = int(s[1:].rstrip(';'))
|
/third_party/iptables/extensions/ |
D | genInit.py | 27 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/ |
D | test_windows_utils.py | 118 out = ovout.getresult().rstrip() 119 err = overr.getresult().rstrip() 124 self.assertTrue(msg.upper().rstrip().startswith(out))
|
/third_party/python/Lib/test/ |
D | test_utf8_mode.py | 38 return out.decode().rstrip("\n\r") 99 out.rstrip()) 222 args = out.partition(':')[2].rstrip() 277 out = fp.read().rstrip()
|
D | test_cmd_line.py | 107 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/ |
D | git-clang-format | 307 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/ |
D | skia.py | 57 return int(name.lstrip('[').rstrip(']')) 103 return int(name.lstrip('[').rstrip(']')) 152 return int(name.lstrip('[').rstrip(']'))
|
/third_party/spirv-tools/utils/ |
D | update_build_version.py | 109 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/ |
D | update_build_version.py | 109 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/ |
D | update_build_version.py | 109 return command_output(['git', 'describe'], directory).rstrip().decode() 113 ['git', 'rev-parse', 'HEAD'], directory).rstrip().decode()
|
/third_party/flutter/skia/tools/lua/ |
D | trigger_ct_lua | 68 user = subprocess.check_output(['git', 'config', 'user.email']).rstrip() 73 password = f.read().rstrip()
|
/third_party/skia/tools/ |
D | sanitize_source_files.py | 89 stripped_line = line.rstrip() + '\n' 122 file_content = file_content.rstrip()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/utils/ |
D | update_build_version.py | 111 return command_output(['git', 'describe'], directory).rstrip().decode() 115 ['git', 'rev-parse', 'HEAD'], directory).rstrip().decode()
|
12345678910>>...14