| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_urlparse.py | 31 def checkRoundtrips(self, url, parsed, split):
60 self.assertEqual(result, split)
63 self.assertEqual(t, split)
114 for url, parsed, split in testcases:
115 self.checkRoundtrips(url, parsed, split)
139 for url, parsed, split in testcases:
142 split = (scheme,) + split
143 self.checkRoundtrips(url, parsed, split)
|
| test_posixpath.py | 34 self.assertEqual(posixpath.split("/foo/bar"), ("/foo", "bar"))
35 self.assertEqual(posixpath.split("/"), ("/", ""))
36 self.assertEqual(posixpath.split("foo"), ("", "foo"))
37 self.assertEqual(posixpath.split("////foo"), ("////", "foo"))
38 self.assertEqual(posixpath.split("//foo//bar"), ("//foo", "bar"))
315 curdir = os.path.split(os.getcwd())[-1]
|
| /external/autotest/client/cros/nfc/ |
| console.py | 491 args = args.strip().split(' ') 504 args = args.strip().split(' ') 516 args = args.strip().split(' ') 528 args = args.strip().split(' ') 540 args = args.split(' ') 552 args = args.strip().split(' ') 589 args = args.strip().split(' ') 608 args = args.strip().split(' ') 621 args = args.strip().split(' ')
|
| /external/devlib/devlib/module/ |
| cgroups.py | 182 tid = task.split(',')[0] 184 tname = task.split(',')[1] 187 tcmdline = task.split(',')[2] 202 return int(output.split()[0]) 254 attr = res.split(':')[0] 255 value = res.split(':')[1] 286 task_ids = self.target.read_value(self.tasks_file).split() 366 name, hierarchy, num_cgroups, enabled = line.split() 404 return raw_output.split('\n', 1)[1]
|
| /external/python/cpython2/Lib/ |
| locale.py | 208 parts = formatted.split('.') 389 code, modifier = code.split('@', 1) 393 langname, encoding = code.split('.')[:2] 419 if code.split('@', 1)[1].translate(_ascii_lower_map) == modifier: 433 code, modifier = code.split('@', 1) 443 code, defmod = code.split('@', 1) 466 code, modifier = code.split('@', 1) 474 return tuple(code.split('.')[:2]) 541 localename = localename.split(':')[0] [all...] |
| 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) 368 head, tail = path.split(file) 376 PATH = envpath.split(pathsep [all...] |
| /external/python/cpython2/ |
| setup.py | 247 line = line.split() 445 for d in line.strip().split("=")[1].split(":"): 494 options = parser.parse_args(env_val.split())[0] 541 lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep) 543 inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep) 557 # NOTE: using shlex.split would technically be more correct, but 562 for item in cflags.split(): 566 for item in ldflags.split(): 741 if 'tinfo' in ln: # termcap interface split out from ncurse [all...] |
| /external/python/cpython3/Lib/ |
| locale.py | 204 parts = formatted.split('.') 401 code, modifier = code.split('@', 1) 405 langname, encoding = code.split('.')[:2] 431 if code.split('@', 1)[1].lower() == modifier: 445 code, modifier = code.split('@', 1) 456 code, defmod = code.split('@', 1) 479 code, modifier = code.split('@', 1) 487 return tuple(code.split('.')[:2]) 558 localename = localename.split(':')[0] [all...] |
| posixpath.py | 19 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 97 # Split a path in head (everything up to the last '/') and tail (the 102 def split(p): function 103 """Split a pathname. Returns tuple "(head, tail)" where "tail" is 114 # Split a path in root and extension. 130 # Split a pathname into a drive specification and the rest of the 134 """Split a pathname into drive and path. On Posix, drive is always 140 # Return the tail (basename) part of a path, same as split(path)[1]. 150 # Return the head (dirname) part of a path, same as split(path)[0]. 350 comps = path.split(sep [all...] |
| /external/selinux/python/sepolgen/src/sepolgen/ |
| audit.py | 39 off=float(fd.read().split()[0]) 92 """Parse a string that has been split into records by space into 99 fields = msg.split("=") 131 fields = msg.split("=") 222 fields = recs[i].split("=") 316 raise ValueError("Split string does not represent a valid compute sid message") 320 self.scontext = refpolicy.SecurityContext(recs[7].split("=")[1]) 321 self.tcontext = refpolicy.SecurityContext(recs[8].split("=")[1]) 322 self.tclass = recs[9].split("=")[1] 324 raise ValueError("Split string does not represent a valid compute sid message" [all...] |
| /frameworks/opt/calendar/src/com/android/calendarcommon2/ |
| RecurrenceSet.java | 105 String[] ruleStrs = ruleStr.split(RULE_SEPARATOR); 120 for (String date : dateStr.split(RULE_SEPARATOR)) { 158 String[] rawDates = recurrence.split(","); 401 String[] split = unfoldedRuleStr.split(RULE_SEPARATOR); local 402 int count = split.length; 404 split[n] = fold(split[n]); 406 return split; 425 * break. Long content lines SHOULD be split into a multiple lin [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/ |
| 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...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/ |
| 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...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| 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...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| 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...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
| audit.py | 39 off=float(fd.read().split()[0]) 92 """Parse a string that has been split into records by space into 99 fields = msg.split("=") 131 fields = msg.split("=") 222 fields = recs[i].split("=") 316 raise ValueError("Split string does not represent a valid compute sid message") 320 self.scontext = refpolicy.SecurityContext(recs[7].split("=")[1]) 321 self.tcontext = refpolicy.SecurityContext(recs[8].split("=")[1]) 322 self.tclass = recs[9].split("=")[1] 324 raise ValueError("Split string does not represent a valid compute sid message" [all...] |
| /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/ |
| build_ext.py | 156 self.include_dirs = self.include_dirs.split(os.pathsep) 173 self.library_dirs = string.split(self.library_dirs, os.pathsep) 178 self.rpath = string.split(self.rpath, os.pathsep) 256 defines = self.define.split(',') 263 self.undef = self.undef.split(',') 268 self.swig_opts = self.swig_opts.split(' ') 404 # Non-trivial stuff: 'macros' split into 'define_macros' 638 modpath = fullname.split('.') 640 filename = os.path.split(filename)[-1] 674 ext_path = string.split(ext_name, '.' [all...] |
| /prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/ |
| build_ext.py | 156 self.include_dirs = self.include_dirs.split(os.pathsep) 173 self.library_dirs = string.split(self.library_dirs, os.pathsep) 178 self.rpath = string.split(self.rpath, os.pathsep) 256 defines = self.define.split(',') 263 self.undef = self.undef.split(',') 268 self.swig_opts = self.swig_opts.split(' ') 404 # Non-trivial stuff: 'macros' split into 'define_macros' 638 modpath = fullname.split('.') 640 filename = os.path.split(filename)[-1] 674 ext_path = string.split(ext_name, '.' [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
| build_ext.py | 156 self.include_dirs = self.include_dirs.split(os.pathsep) 173 self.library_dirs = string.split(self.library_dirs, os.pathsep) 178 self.rpath = string.split(self.rpath, os.pathsep) 256 defines = self.define.split(',') 263 self.undef = self.undef.split(',') 268 self.swig_opts = self.swig_opts.split(' ') 404 # Non-trivial stuff: 'macros' split into 'define_macros' 638 modpath = fullname.split('.') 640 filename = os.path.split(filename)[-1] 674 ext_path = string.split(ext_name, '.' [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
| build_ext.py | 156 self.include_dirs = self.include_dirs.split(os.pathsep) 173 self.library_dirs = string.split(self.library_dirs, os.pathsep) 178 self.rpath = string.split(self.rpath, os.pathsep) 256 defines = self.define.split(',') 263 self.undef = self.undef.split(',') 268 self.swig_opts = self.swig_opts.split(' ') 404 # Non-trivial stuff: 'macros' split into 'define_macros' 638 modpath = fullname.split('.') 640 filename = os.path.split(filename)[-1] 674 ext_path = string.split(ext_name, '.' [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
| setuptools_build_ext.py | 58 modpath = fullname.split('.')
92 d,fn = os.path.split(filename)
191 pkg = '.'.join(ext._full_name.split('.')[:-1]+[''])
201 base = os.path.join(self.build_lib, *ext._full_name.split('.'))
210 stub_file = os.path.join(output_dir, *ext._full_name.split('.'))+'.py'
278 output_dir,filename = os.path.split(output_libname)
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
| DfpField.java | 119 /** A two elements {@link Dfp} array with value √2 split in two pieces. */ 134 /** A two elements {@link Dfp} array with value π split in two pieces. */ 140 /** A two elements {@link Dfp} array with value e split in two pieces. */ 146 /** A two elements {@link Dfp} array with value ln(2) split in two pieces. */ 152 /** A two elements {@link Dfp} array with value ln(5) split in two pieces. */ 209 sqr2Split = split(sqr2String); 214 piSplit = split(piString); 216 eSplit = split(eString); 218 ln2Split = split(ln2String); 220 ln5Split = split(ln5String) 521 private Dfp[] split(final String a) { method in class:DfpField [all...] |
| /external/autotest/client/site_tests/network_EthernetStressPlug/ |
| network_EthernetStressPlug.py | 116 auth_path = os.path.split(self.eth_syspath)[0] 117 auth_path = os.path.split(auth_path)[0] 118 auth_path = os.path.split(auth_path)[0] 344 for speed_to_parse in line.split(): 345 speed_duplex = speed_to_parse.split('/') 413 ethtool_out = os.popen('ethtool %s' % self.interface).read().split('\n')
|
| /external/markdown/markdown/ |
| blockprocessors.py | 42 lines = text.split('\n') 54 lines = text.split('\n') 75 * ``block``: A block of text from the source which has been split at 200 # linebreaks removed from the split into a list. 233 block[m.start():].split('\n')]) 305 for line in block.split('\n'): 371 lines = blocks.pop(0).split('\n') 397 lines = blocks.pop(0).split('\n')
|
| /external/python/cpython2/Lib/distutils/tests/ |
| setuptools_build_ext.py | 58 modpath = fullname.split('.') 92 d,fn = os.path.split(filename) 191 pkg = '.'.join(ext._full_name.split('.')[:-1]+['']) 201 base = os.path.join(self.build_lib, *ext._full_name.split('.')) 210 stub_file = os.path.join(output_dir, *ext._full_name.split('.'))+'.py' 278 output_dir,filename = os.path.split(output_libname)
|