| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_userdict.py | 37 self.assertEqual(UserDict.UserDict.fromkeys('one two'.split()), d4) 38 self.assertEqual(UserDict.UserDict().fromkeys('one two'.split()), d4) 39 self.assertEqual(UserDict.UserDict.fromkeys('one two'.split(), 1), d5) 40 self.assertEqual(UserDict.UserDict().fromkeys('one two'.split(), 1), d5) 41 self.assertTrue(u1.fromkeys('one two'.split()) is not u1) 42 self.assertIsInstance(u1.fromkeys('one two'.split()), UserDict.UserDict) 43 self.assertIsInstance(u2.fromkeys('one two'.split()), UserDict.IterableUserDict)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| nntplib.py | 296 list[i] = tuple(list[i].split()) 348 words = resp.split() 372 words = resp.split() 481 elem = line.split("\t") 488 elem[5].split(), 522 [resp_num, path] = resp.split() 539 elem = resp.split()
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_userdict.py | 37 self.assertEqual(UserDict.UserDict.fromkeys('one two'.split()), d4) 38 self.assertEqual(UserDict.UserDict().fromkeys('one two'.split()), d4) 39 self.assertEqual(UserDict.UserDict.fromkeys('one two'.split(), 1), d5) 40 self.assertEqual(UserDict.UserDict().fromkeys('one two'.split(), 1), d5) 41 self.assertTrue(u1.fromkeys('one two'.split()) is not u1) 42 self.assertIsInstance(u1.fromkeys('one two'.split()), UserDict.UserDict) 43 self.assertIsInstance(u2.fromkeys('one two'.split()), UserDict.IterableUserDict)
|
| /build/soong/androidmk/parser/ |
| make_strings.go | 123 func (ms *MakeString) Split(sep string) []*MakeString { 136 split := splitAnyN(s, sep, n) 138 if len(split) > n { 141 n -= len(split) 144 curMs.appendString(split[0]) 146 for _, r := range split[1:] {
|
| /external/autotest/cli/ |
| topic_common.py | 150 for subkey in key.split('.'): 193 be split. I.e. Splitting 'a, b\,c, d' will yield ['a', 'b,c', 'd']. 194 If split_spaces is set to False spaces will not be split. I.e. 201 # Split on commas which are not preceded by a slash. 203 split = re.split(r'(?<!\\),', input) 205 split = re.split(r'(?<!\\),|\s', input) 210 item in split if item.strip()) 221 # Don't split on space here because the add-o [all...] |
| /external/llvm/lib/IR/ |
| DataLayout.cpp | 196 /// Checked version of split, to ensure mandatory subparts. 197 static std::pair<StringRef, StringRef> split(StringRef Str, char Separator) { function 199 std::pair<StringRef, StringRef> Split = Str.split(Separator); 200 if (Split.second.empty() && Split.first != Str) 202 if (!Split.second.empty() && Split.first.empty()) 204 return Split; 226 // Split at '-' [all...] |
| /external/opencv/ml/src/ |
| mlrtrees.cpp | 99 CvDTreeSplit *best_split = 0, *split = 0, *t; local 134 split = find_split_cat_class( node, vi ); 136 split = find_split_ord_class( node, vi ); 141 split = find_split_cat_reg( node, vi ); 143 split = find_split_ord_reg( node, vi ); 146 if( split ) 148 if( !best_split || best_split->quality < split->quality ) 149 CV_SWAP( best_split, split, t ); 150 if( split ) 151 cvSetRemoveByPtr( data->split_heap, split ); [all...] |
| /external/python/cpython3/Lib/distutils/command/ |
| build_ext.py | 155 self.include_dirs = self.include_dirs.split(os.pathsep) 178 self.library_dirs = self.library_dirs.split(os.pathsep) 183 self.rpath = self.rpath.split(os.pathsep) 247 defines = self.define.split(',') 254 self.undef = self.undef.split(',') 259 self.swig_opts = self.swig_opts.split(' ') 401 # Non-trivial stuff: 'macros' split into 'define_macros' 645 modpath = fullname.split('.') 680 ext_path = ext_name.split('.') 690 initfunc_name = "PyInit_" + ext.name.split('.')[-1 [all...] |
| /platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/ |
| AppTransitionTests.java | 148 mAppListArray = mAppsList.split(DELIMITER); 162 String[] traceCategoriesSplit = traceCategoriesStr.split(DELIMITER); 210 mLauncherStrategy.launch(appName, mComponentName.split("\\/")[0]); 257 mLauncherStrategy.launch(appName, mComponentName.split("\\/")[0]); 288 mPreAppsListArray = mPreAppsList.split(DELIMITER); 295 mLauncherStrategy.launch(appName, mPreAppsComponentName.get(appName).split( 333 mPreAppsListArray = mPreAppsList.split(DELIMITER); 339 mLauncherStrategy.launch(appName, mPreAppsComponentName.get(appName).split( 615 String launchSplit[] = line.split(":"); 622 String activitySplit[] = line.split(":") [all...] |
| /prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/binutils/ |
| addr2liner_llvm.go | 133 switch split := strings.Split(fileline, ":"); len(split) { 136 fileline = split[0] 140 fileline = split[0] 141 if line, err := strconv.Atoi(split[1]); err == nil {
|
| /prebuilts/go/darwin-x86/src/cmd/vet/ |
| bool.go | 57 exprs := op.split(e) 160 // split returns a slice of all subexpressions in e that are connected by op. 162 // split returns []{d, c, b, a}. 163 func (op boolOp) split(e ast.Expr) (exprs []ast.Expr) { func 167 exprs = append(exprs, op.split(b.Y)...)
|
| /prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/binutils/ |
| addr2liner_llvm.go | 133 switch split := strings.Split(fileline, ":"); len(split) { 136 fileline = split[0] 140 fileline = split[0] 141 if line, err := strconv.Atoi(split[1]); err == nil {
|
| /prebuilts/go/linux-x86/src/cmd/vet/ |
| bool.go | 57 exprs := op.split(e) 160 // split returns a slice of all subexpressions in e that are connected by op. 162 // split returns []{d, c, b, a}. 163 func (op boolOp) split(e ast.Expr) (exprs []ast.Expr) { func 167 exprs = append(exprs, op.split(b.Y)...)
|
| /system/core/liblog/ |
| pmsg_reader.c | 346 char* split = NULL; local 364 if (split) { 367 split = cp; 370 if (*cp || !split) { 381 split = strchr(prefix, ':'); 382 if (split) { 385 split = strchr(prefix, '/'); 386 if (!split) { 389 offset = split - prefix; 396 split + 1, prefix_len - offset)) [all...] |
| /art/compiler/optimizing/ |
| register_allocator_linear_scan.cc | 197 // Fixed interval is never split and never moves to unhandled_. 217 // Fixed interval is never split and never moves to unhandled_. 382 // Split just before first register use. 385 LiveInterval* split = SplitBetween(current, current->GetStart(), first_register_use - 1); local 388 AddSorted(&unhandled, split); 631 // An interval that starts an instruction (that is, it is not split), may 645 // TODO: Handle non-split intervals last in the work list. 667 // Thanks to SSA, a non-split interval starting in a hole of an 731 // covered by `current`, split `current` before the position where 733 LiveInterval* split = SplitBetween(current, current->GetStart(), free_until[reg]) local 857 LiveInterval* split = Split(active, position); local 988 LiveInterval* split = SplitBetween(current, current->GetStart(), first_register_use - 1); local 1002 LiveInterval* split = Split(active, current->GetStart()); local 1027 LiveInterval* split = Split(current, next_intersection); local 1033 LiveInterval* split = Split(inactive, current->GetStart()); local [all...] |
| /art/tools/dexfuzz/src/dexfuzz/ |
| Options.java | 286 String[] entries = line.split(" "); 323 String[] split = arg.split("="); local 324 handleKeyValueOption(split[0], split[1]);
|
| /build/make/tools/ |
| java-layers.py | 72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()] 108 pkg = pkg.split(".") 128 lines = [(n,s.split("#")[0].strip()) for (n,s) in lines] 130 lines = [(n,s.split()) for (n,s) in lines] 202 statements = [s.strip() for s in text.split(";")]
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
| 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...] |
| /external/autotest/client/site_tests/firmware_TouchMTB/ |
| firmware_utils.py | 52 board_str = line.split('=')[1] 54 board = board_str.split('-')[1] 56 board = board_str.split('_')[1] 73 pieces = filename.split('-') 324 return line.split()[0].strip()
|
| /external/autotest/client/tests/cgroup/ |
| cgroup.py | 113 mem = min(int(mem.split()[1])/1024, 1024) 126 swap = int(swap.split()[1])/1024 202 filled = int(out[-2].split()[1][:-1]) 245 filled = int(out[-2].split()[1][:-1]) 282 self.values.append(int(line.split()[1])) 302 vals.append(int(self.f.readline().split()[1])) 353 no_cpus = int(item.get_prop("cpuset.cpus").split('-')[1]) + 1
|
| /external/clang/utils/ |
| token-delta.py | 46 return self.delta(changes, self.split(changes)) 48 def split(self, S): member in class:DeltaAlgorithm 49 """split(set) -> [sets] 54 # There are many ways to split, we could do a better job with more 76 refined = sum(map(list, map(self.split, sets)), []) 86 return self.delta(S, self.split(S)) 118 for ln in err.split('\n'):
|
| /external/devlib/devlib/derived/ |
| fps.py | 56 for line in dump.split('\n'): 60 text = line.split(': ')[-1] 61 val_text, pc_text = text.split('(') 65 ptile, val_text = line.split(' percentile: ') 70 name_text, val_text = line.strip().split(': ')
|
| /external/ltp/testcases/network/nfsv4/acl/ |
| random_gen.py | 78 splitedline = line.split(':') 90 tmp = u.split('\n') 101 splitedline = line.split(':'); 119 splitedline = line.split(':'); 133 splitedline = line.split(':');
|
| /external/python/cpython2/Lib/ctypes/ |
| util.py | 20 s, rest = sys.version[i:].split(" ", 1) 52 for directory in os.environ['PATH'].split(os.pathsep): 159 parts = libname.split(b".") 217 paths = line.split()[4] 225 for dir in paths.split(":"):
|
| /external/python/cpython2/Lib/ |
| posixpath.py | 21 __all__ = ["normcase","isabs","join","splitdrive","split","splitext", 77 # Split a path in head (everything up to the last '/') and tail (the 82 def split(p): function 83 """Split a pathname. Returns tuple "(head, tail)" where "tail" is 92 # Split a path in root and extension. 101 # Split a pathname into a drive specification and the rest of the 105 """Split a pathname into drive and path. On Posix, drive is always 110 # Return the tail (basename) part of a path, same as split(path)[1]. 118 # Return the head (dirname) part of a path, same as split(path)[0]. 341 comps = path.split('/') [all...] |