| /external/llvm/unittests/ADT/ |
| StringRefTest.cpp | 125 TEST(StringRefTest, Split) { 128 Str.split('X')); 130 Str.split('e')); 132 Str.split('h')); 134 Str.split('l')); 136 Str.split('o')); 155 StringRef(",ab,,c,").split(parts, ",", -1, false); 161 StringRef(",ab,,c,").split(parts, ",", -1, true); 166 StringRef("").split(parts, ",", -1, true); 170 StringRef("").split(parts, ",", -1, false) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
| urlparse.py | 76 userinfo = userinfo.split(":", 1)[0]
86 return userinfo.split(":", 1)[1]
91 netloc = self.netloc.split('@')[-1]
93 return netloc.split(']')[0][1:].lower()
95 return netloc.split(':')[0].lower()
103 netloc = self.netloc.split('@')[-1].split(']')[-1]
105 port = netloc.split(':')[1]
184 url, fragment = url.split('#', 1)
186 url, query = url.split('?', 1) [all...] |
| /external/autotest/client/bin/ |
| fsinfo.py | 16 for item in opt_string.split('-'): 19 (opt, value) = item.split(' ', 1) 45 components = line.split('=', 1) 53 components = line.split('=', 1) 90 mkfs_opt['-O'] = mkfs_opt['-O'].split(',') 96 user_feature_list = user_feature.split(',') 128 components = line.split(':', 1) 220 pairs = line.split() 235 key, value = pair.split('=') 328 if not compare_features(value, current_opt[key].split(',')) [all...] |
| /external/autotest/server/cros/chaos_lib/ |
| chaos_parser.py | 90 channel_security_info = ssid.split('_') 93 channel = int(re.split('(\d+)', channel_info)[1]) 132 line = line.split('=') 177 title_info = line.split() 193 ssid = title_info[1].split('.')[1].split('_')[0] 195 ssid_info = title_info[1].split('.') 213 test_name = line.split()[2] 214 ssid = test_name.split('.')[1] 326 test = results_dir.split('.')[1 [all...] |
| /external/skia/infra/bots/recipes/ |
| compute_buildstats.py | 162 sections = step_data.stdout.split(magic_seperator) 167 logs['bloaty_file_symbol_short'] = sections[1].split('\n') 168 logs['bloaty_file_symbol_full'] = sections[2].split('\n') 169 logs['bloaty_symbol_file_short'] = sections[3].split('\n') 170 logs['bloaty_symbol_file_full'] = sections[4].split('\n') 171 logs['perf_json'] = sections[5].split('\n') 190 sections = step_data.stdout.split(magic_seperator) 195 logs['bloaty_symbol_short'] = sections[1].split('\n') 196 logs['bloaty_symbol_full'] = sections[2].split('\n') 197 logs['perf_json'] = sections[3].split('\n' [all...] |
| /external/icu/icu4c/source/test/perf/collationperf/ |
| CollPerf.pl | 83 my @icua = split( ' = ', $icu[2] ); 84 my @icub = split( ' ', $icua[1] ); 85 my @nixa = split( ' = ', $nix[2] ); 86 my @nixb = split( ' ', $nixa[1] ); 95 @icua = split( ' = ', $icu[2] ); 96 @icub = split( ' ', $icua[1] ); 97 @nixa = split( ' = ', $nix[2] ); 98 @nixb = split( ' ', $nixa[1] ); 104 @icua = split( ' = ', $icu[3] ); 105 @nixa = split( ' = ', $nix[3] ) [all...] |
| /cts/tests/tests/permission2/src/android/permission2/cts/ |
| PrivappPermissionsTest.java | 167 for (String line : msg.split("\n")) { 229 String[] split = output.substring(1, output.length() - 1).split("\\s*,\\s*"); local 230 return new LinkedHashSet<>(Arrays.asList(split)); 240 String[] split = output.substring(1, output.length() - 1).split("\\s*,\\s*"); local 241 return new LinkedHashSet<>(Arrays.asList(split));
|
| /external/autotest/server/ |
| base_utils.py | 162 source_material= ".".join(source_material.split(".")[:-1]) 165 source_material= ".".join(source_material.split(".")[:-1]) 173 retval.stdout.split()[0]) 184 for line in utils.system_output('ps -eo pid,cmd').rstrip().split('\n'): 185 (pid, cmd) = line.split(None, 1) 241 user, machine = machine.split('@', 1) 244 user, password = user.split(':', 1)
|
| /external/autotest/server/site_tests/platform_LabFirmwareUpdate/ |
| platform_LabFirmwareUpdate.py | 54 logging.info('Output: %s', output.split('\n')) 67 parts = line.split(':') 70 parts = line.split(':') 128 parts = line.split(':') 132 parts = line.split(':') 136 parts = line.split(':') 140 parts = line.split(':')
|
| /external/mesa3d/src/amd/vulkan/ |
| radv_extensions.py | 96 split = string.split('.') 97 self.major = int(split[0]) 98 self.minor = int(split[1]) 99 if len(split) > 2: 100 assert len(split) == 3 101 self.patch = int(split[2])
|
| /external/selinux/prebuilts/bin/ |
| sesearch.py | 162 # with an empty string in it (split on empty string) 167 q.tclass = args.tclass.split(",") 170 q.perms = args.perms.split(",") 174 for item in args.xperms.split(","): 175 rng = item.split("-") 190 q.boolean = args.boolean.split(",") 209 # with an empty string in it (split on empty string) 214 q.tclass = args.tclass.split(",") 232 # with an empty string in it (split on empty string) 237 q.tclass = args.tclass.split(",") [all...] |
| /external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
| main_estimator.py | 92 def get_input_fn(config, data_dir, split): 98 split: One of `train`, `validation`, `train_all`, and `test` 105 # Fix split-dependent hyperparameters 106 if split == "train_all" or split == "train": 123 split=split, 162 config=config, data_dir=FLAGS.data_dir, split="train_all") 164 config=config, data_dir=FLAGS.data_dir, split="test")
|
| /external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
| OperationTest.java | 141 assertEquals(1, split(new int[] {0, 1}, 1)); 142 assertEquals(2, split(new int[] {0, 1}, 2)); 143 assertEquals(3, split(new int[] {0, 1, 2}, 3)); 159 Operation split = TestUtil.split(g, "split", new int[] {0, 1, 2}, 3); local 160 Output<?>[] outputs = split.outputList(1, 2); 169 private static int split(int[] values, int num_split) { method in class:OperationTest 171 return g.opBuilder("Split", "Split") [all...] |
| /external/scapy/scapy/ |
| data.py | 132 lt = tuple(re.split(spaces, l)) 155 lt = tuple(re.split(spaces, l)) 180 lt = tuple(re.split(spaces, l)) 184 tdct[lt[0]] = int(lt[1].split(b'/')[0]) 186 udct[lt[0]] = int(lt[1].split(b'/')[0]) 199 oui = ":".join(mac.split(":")[:3]).upper() 206 oui = ":".join(mac.split(":")[:3]).upper() 208 return ":".join([self[oui][0]]+ mac.split(":")[3:]) 223 oui,shrt=l.split()[:2]
|
| /cts/tests/signature/tests/src/android/signature/cts/tests/ |
| LineSpliteratorTestBase.java | 92 Spliterator<Integer> split = queue.get(0).trySplit(); local 93 if (split != null) { 94 queue.add(1, split);
|
| /development/vndk/snapshot/ |
| utils.py | 109 return path.split('/')[1].split('-')[1] 121 return path.split('/')[0]
|
| /device/linaro/bootloader/edk2/ArmPlatformPkg/Scripts/Ds5/ |
| profile.py | 173 module_name = line.split("\"")[1].split("/")[-1] 180 modules[module_name]['start'] = get_address_from_string(line.split()[0]) 181 modules[module_name]['end'] = get_address_from_string(line.split()[2]) 185 modules[module_name]['start'] = get_address_from_string(line.split()[0]) 186 modules[module_name]['end'] = get_address_from_string(line.split()[2]) 219 func_name = line.split()[1] 220 func_start = get_address_from_string(line.split()[0]) 273 columns = trace_read().split() 283 func_name = line.split('\t')[column_function].strip( [all...] |
| /device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
| c.py | 84 MsgPartList = Msg.split()
102 List = Str.split()
146 DeclSplitList = var.Declarator.split('(')
148 FuncNamePartList = FuncName.split()
161 for decl in var.Declarator.split(','):
162 DeclList = decl.split('=')
172 DeclList = var.Declarator.split('=')
246 DeclSplitList = FuncDeclarator.split('(')
263 for p in ParamStr.split(','):
264 ListP = p.split()
[all...] |
| /external/antlr/runtime/Ruby/lib/antlr3/ |
| util.rb | 18 version_string.split( '.' ).map! do | segment | 52 file, line, = caller[ 1 ].split( ':', 3 ) 68 file, line, = caller[ 1 ].split( ':', 3 )
|
| /external/autotest/client/site_tests/camera_HAL3Perf/ |
| camera_HAL3Perf.py | 57 key, value = line.split(':') 63 value.strip().split(' ')[0], 64 value.strip().split(' ')[1])
|
| /external/autotest/client/site_tests/hardware_Smartctl/ |
| hardware_Smartctl.py | 61 result_lines = result_text.split('\n') 67 last_result_lines = last_result.split('\n') 109 field = line.split()
|
| /external/chromium-trace/catapult/common/py_utils/py_utils/ |
| expectations_parser.py | 90 for word in line[len(self.TAG_TOKEN):].split(): 109 conditions = [c for c in raw_conditions.split()] if raw_conditions else [] 116 return Expectation(reason, test, conditions, [r for r in results.split()])
|
| /external/dtc/pylibfdt/ |
| setup.py | 85 files = makevars['LIBFDT_SRCS'].split() 94 files = os.environ.get('SOURCES', '').split() 95 cflags = os.environ.get('CPPFLAGS', '').split()
|
| /external/grpc-grpc/include/grpc/ |
| slice.h | 108 /** Splits s into two: modifies s to be s[0:split], and returns a new slice, 109 sharing a refcount with s, that contains s[split:s.length]. 110 Requires s intialized, split <= s.length */ 111 GPRAPI grpc_slice grpc_slice_split_tail(grpc_slice* s, size_t split); 122 GPRAPI grpc_slice grpc_slice_split_tail_maybe_ref(grpc_slice* s, size_t split, 125 /** Splits s into two: modifies s to be s[split:s.length], and returns a new 126 slice, sharing a refcount with s, that contains s[0:split]. 127 Requires s intialized, split <= s.length */ 128 GPRAPI grpc_slice grpc_slice_split_head(grpc_slice* s, size_t split);
|
| /external/llvm/utils/release/ |
| findRegressions-nightly.py | 27 tmp = t[2].split(testDirName) 47 n = t[0].split('RESULT-')[1] 53 test[fname][tp + n] = float(t[2].split(' ')[2])
|