| /external/python/cpython3/Lib/test/ |
| test_zipimport.py | 282 self.assertEqual(os.path.basename(TEMP_DIR), p1.split(os.sep)[-2]) 283 self.assertEqual("path1.zip", p2.split(os.sep)[-2]) 289 mpath = list(mod.__path__)[0].split('path1.zip' + os.sep)[1] 294 self.assertEqual("path1.zip", mod.__file__.split(os.sep)[-3]) 299 mod.__file__.split(os.sep)[-3]) 306 self.assertEqual(os.path.basename(TEMP_DIR), p1.split(os.sep)[-3]) 307 self.assertEqual("path1.zip", p2.split(os.sep)[-3]) 312 mod.__file__.split(os.sep)[-4]) 317 mod.__file__.split(os.sep)[-4]) 321 self.assertEqual('path1.zip', mod.__file__.split(os.sep)[-4] [all...] |
| /external/scapy/scapy/ |
| base_classes.py | 62 x, y = [int(d) for d in a.split('-')] 72 tmp=net.split('/')+["32"] 76 ret_list = [cls._parse_digit(x, y-netmask) for (x, y) in zip(tmp[0].split('.'), [8, 16, 24, 32])] 128 for i in oid.split("."): 131 self.cmpt.append(tuple(map(int, i.split("-"))))
|
| route6.py | 68 prefix, plen = (dst.split("/")+["128"])[:2] 102 dst, plen = tmp.split('/')[:2] 119 the_addr, the_plen = (addr.split("/")+["128"])[:2] 160 addr, plen = (addr.split("/")+["128"])[:2] 185 dst = dst.split("/")[0]
|
| /external/swiftshader/third_party/LLVM/utils/lit/lit/ |
| TestFormats.py | 12 self.test_sub_dir = os.path.normcase(str(test_sub_dir)).split(';') 34 lines = lines.split('\n') 81 testPath,testName = os.path.split(test.getSourcePath()) 85 testPath, namePrefix = os.path.split(testPath) 182 path_in_suite + tuple(suffix.split(os.sep)),
|
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
| CellularDataService.java | 246 addresses = dcResult.addresses.split("\\s+"); 259 if (address.split("/").length == 2) { 276 dnses = dcResult.dnses.split("\\s+"); 296 gateways = dcResult.gateways.split("\\s+"); 322 new ArrayList<>(Arrays.asList(dcResult.pcscf.trim().split("\\s+"))),
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/ |
| ntpath.py | 16 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 111 # but b is empty; since, e.g., split('a/') produces 119 # Split a path in a drive specification (a drive letter followed by a 123 """Split a pathname into drive and path specifiers. Returns a 2-tuple 132 """Split a pathname into UNC mount point and relative path specifiers. 159 # Split a path in head (everything up to the last '/') and tail (the 164 def split(p): function 165 """Split a pathname. 184 # Split a path in root and extension. 198 return split(p)[1 [all...] |
| posixpath.py | 28 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 84 # Split a path in head (everything up to the last '/') and tail (the 89 def split(p): function 90 """Split a pathname. Returns tuple "(head, tail)" where "tail" is 99 # Split a path in root and extension. 108 # Split a pathname into a drive specification and the rest of the 112 """Split a pathname into drive and path. On Posix, drive is always 117 # Return the tail (basename) part of a path, same as split(path)[1]. 125 # Return the head (dirname) part of a path, same as split(path)[0]. 333 comps = path.split('/') [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/ |
| ntpath.py | 16 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 111 # but b is empty; since, e.g., split('a/') produces 119 # Split a path in a drive specification (a drive letter followed by a 123 """Split a pathname into drive and path specifiers. Returns a 2-tuple 132 """Split a pathname into UNC mount point and relative path specifiers. 159 # Split a path in head (everything up to the last '/') and tail (the 164 def split(p): function 165 """Split a pathname. 184 # Split a path in root and extension. 198 return split(p)[1 [all...] |
| posixpath.py | 28 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 84 # Split a path in head (everything up to the last '/') and tail (the 89 def split(p): function 90 """Split a pathname. Returns tuple "(head, tail)" where "tail" is 99 # Split a path in root and extension. 108 # Split a pathname into a drive specification and the rest of the 112 """Split a pathname into drive and path. On Posix, drive is always 117 # Return the tail (basename) part of a path, same as split(path)[1]. 125 # Return the head (dirname) part of a path, same as split(path)[0]. 333 comps = path.split('/') [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| ntpath.py | 16 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 111 # but b is empty; since, e.g., split('a/') produces 119 # Split a path in a drive specification (a drive letter followed by a 123 """Split a pathname into drive and path specifiers. Returns a 2-tuple 132 """Split a pathname into UNC mount point and relative path specifiers. 159 # Split a path in head (everything up to the last '/') and tail (the 164 def split(p): function 165 """Split a pathname. 184 # Split a path in root and extension. 198 return split(p)[1 [all...] |
| posixpath.py | 28 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 84 # Split a path in head (everything up to the last '/') and tail (the 89 def split(p): function 90 """Split a pathname. Returns tuple "(head, tail)" where "tail" is 99 # Split a path in root and extension. 108 # Split a pathname into a drive specification and the rest of the 112 """Split a pathname into drive and path. On Posix, drive is always 117 # Return the tail (basename) part of a path, same as split(path)[1]. 125 # Return the head (dirname) part of a path, same as split(path)[0]. 333 comps = path.split('/') [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| ntpath.py | 16 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 111 # but b is empty; since, e.g., split('a/') produces 119 # Split a path in a drive specification (a drive letter followed by a 123 """Split a pathname into drive and path specifiers. Returns a 2-tuple 132 """Split a pathname into UNC mount point and relative path specifiers. 159 # Split a path in head (everything up to the last '/') and tail (the 164 def split(p): function 165 """Split a pathname. 184 # Split a path in root and extension. 198 return split(p)[1 [all...] |
| posixpath.py | 28 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 84 # Split a path in head (everything up to the last '/') and tail (the 89 def split(p): function 90 """Split a pathname. Returns tuple "(head, tail)" where "tail" is 99 # Split a path in root and extension. 108 # Split a pathname into a drive specification and the rest of the 112 """Split a pathname into drive and path. On Posix, drive is always 117 # Return the tail (basename) part of a path, same as split(path)[1]. 125 # Return the head (dirname) part of a path, same as split(path)[0]. 333 comps = path.split('/') [all...] |
| /tools/test/connectivity/acts/framework/acts/controllers/ |
| arduino_wifi_dongle.py | 167 serial_ports = utils.exe_cmd(cmd).decode("utf-8", "ignore").split("\n") 221 tmp_file = "%s%s" % (TMP_DIR, file_path.split('/')[-1]) 297 val = data.split(":")[-1].lstrip().rstrip() 372 d[SSID] = self.scan_results[i].split(":")[-1].rstrip() 374 d[RSSI] = self.scan_results[i].split(":")[-1].rstrip()
|
| /external/devlib/devlib/ |
| target.py | 121 for entry in output.split(): 454 # split out everything except the last word. 455 return boolean(output.split()[-1]) # pylint: disable=maybe-no-member 460 for line in output.split('\n'): 470 fstab.append(FstabEntry(*line.split())) 531 for path in self.getenv('PATH').split(self.path.pathsep): 542 binary_path = self.get_installed(os.path.split(host_path)[1], 563 parts = line.split() 568 used_by = ''.join(parts[3:]).split(',') 622 for entry in output.strip().split('\n') [all...] |
| /external/google-breakpad/src/testing/gtest/scripts/ |
| upload.py | 203 response_dict = dict(x.split("=") 204 for x in response_body.split("\n") if x) 209 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x) 653 unused, filename = line.split(':', 1) 755 words = line.split() 832 for name in keyword_str.split(" ") 839 for line in status.split("\n"): 874 dirname, relfilename = os.path.split(filename) [all...] |
| /external/google-breakpad/src/testing/scripts/ |
| upload.py | 203 response_dict = dict(x.split("=") 204 for x in response_body.split("\n") if x) 209 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x) 653 unused, filename = line.split(':', 1) 755 words = line.split() 832 for name in keyword_str.split(" ") 839 for line in status.split("\n"): 874 dirname, relfilename = os.path.split(filename) [all...] |
| /external/googletest/googlemock/scripts/ |
| upload.py | 203 response_dict = dict(x.split("=") 204 for x in response_body.split("\n") if x) 209 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x) 653 unused, filename = line.split(':', 1) 755 words = line.split() 832 for name in keyword_str.split(" ") 839 for line in status.split("\n"): 874 dirname, relfilename = os.path.split(filename) [all...] |
| /external/googletest/googletest/scripts/ |
| upload.py | 203 response_dict = dict(x.split("=") 204 for x in response_body.split("\n") if x) 209 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x) 653 unused, filename = line.split(':', 1) 755 words = line.split() 832 for name in keyword_str.split(" ") 839 for line in status.split("\n"): 874 dirname, relfilename = os.path.split(filename) [all...] |
| /external/v8/testing/gmock/scripts/ |
| upload.py | 203 response_dict = dict(x.split("=") 204 for x in response_body.split("\n") if x) 209 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x) 653 unused, filename = line.split(':', 1) 755 words = line.split() 832 for name in keyword_str.split(" ") 839 for line in status.split("\n"): 874 dirname, relfilename = os.path.split(filename) [all...] |
| /external/v8/testing/gtest/scripts/ |
| upload.py | 203 response_dict = dict(x.split("=") 204 for x in response_body.split("\n") if x) 209 response_dict = dict(x.split("=", 1) for x in body.split("\n") if x) 653 unused, filename = line.split(':', 1) 755 words = line.split() 832 for name in keyword_str.split(" ") 839 for line in status.split("\n"): 874 dirname, relfilename = os.path.split(filename) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
| os.py | 21 (e.g., split and join).
159 head, tail = path.split(name)
161 head, tail = path.split(head)
185 head, tail = path.split(name)
187 head, tail = path.split(head)
193 head, tail = path.split(head)
210 head, tail = path.split(new)
214 head, tail = path.split(old)
380 head, tail = path.split(file)
388 PATH = envpath.split(pathsep) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
| locale.py | 206 parts = formatted.split('.')
387 code, modifier = code.split('@', 1)
391 langname, encoding = code.split('.')[:2]
417 if code.split('@', 1)[1].translate(_ascii_lower_map) == modifier:
431 code, modifier = code.split('@', 1)
441 code, defmod = code.split('@', 1)
464 code, modifier = code.split('@', 1)
472 return tuple(code.split('.')[:2])
539 localename = localename.split(':')[0]
[all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
| os.py | 34 (e.g., split and join).
172 head, tail = path.split(name)
174 head, tail = path.split(head)
198 head, tail = path.split(name)
200 head, tail = path.split(head)
206 head, tail = path.split(head)
223 head, tail = path.split(new)
227 head, tail = path.split(old)
395 head, tail = path.split(file)
403 PATH = envpath.split(pathsep) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
| os.py | 21 (e.g., split and join).
145 head, tail = path.split(name)
147 head, tail = path.split(head)
171 head, tail = path.split(name)
173 head, tail = path.split(head)
179 head, tail = path.split(head)
196 head, tail = path.split(new)
200 head, tail = path.split(old)
366 head, tail = path.split(file)
374 PATH = envpath.split(pathsep) [all...] |