/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | json_stream_parser_test.cc | 80 // For each test we split the input string on every possible character to ensure 81 // the parser is able to handle arbitrarily split input for all cases. We also 90 util::Status RunTest(StringPiece json, int split, in RunTest() argument 95 // Special case for split == length, test parsing one character at a time. in RunTest() 96 if (split == json.length()) { in RunTest() 97 GOOGLE_LOG(INFO) << "Testing split every char: " << json; in RunTest() 108 // Normal case, split at the split point and parse two substrings. in RunTest() 109 StringPiece first = json.substr(0, split); in RunTest() 110 StringPiece rest = json.substr(split); in RunTest() 125 DoTest( StringPiece json, int split, std::function<void(JsonStreamParser*)> setup = [](JsonStreamParser* p) { }) DoTest() argument 136 DoErrorTest( StringPiece json, int split, StringPiece error_prefix, std::function<void(JsonStreamParser*)> setup = [](JsonStreamParser* p) { }) DoErrorTest() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_site.py | 476 url = license._Printer__data.split()[1] 569 exe_file = os.path.join(temp_dir, os.path.split(sys.executable)[1]) 571 dll_file = os.path.join(temp_dir, os.path.split(dll_src_file)[1]) 574 for fn in glob.glob(os.path.join(os.path.split(dll_src_file)[0], "vcruntime*.dll")): 575 shutil.copy(fn, os.path.join(temp_dir, os.path.split(fn)[1])) 590 exe_file = os.path.join(temp_dir, os.path.split(sys.executable)[1]) 620 actual_sys_path = output.rstrip().split('\n') 649 actual_sys_path = output.rstrip().split('\n')
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
H A D | es2aTextureMipmapTests.cpp | 506 int split = width/2 + rnd.getInt(-width/4, +width/4); in randomPartition() local 507 randomPartition(dst, rnd, x, y, split, height); in randomPartition() 508 randomPartition(dst, rnd, x+split, y, width-split, height); in randomPartition() 512 int split = height/2 + rnd.getInt(-height/4, +height/4); in randomPartition() local 513 randomPartition(dst, rnd, x, y, width, split); in randomPartition() 514 randomPartition(dst, rnd, x, y+split, width, height-split); in randomPartition()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
H A D | es3aTextureMipmapTests.cpp | 493 int split = width/2 + rnd.getInt(-width/4, +width/4); in randomPartition() local 494 randomPartition(dst, rnd, x, y, split, height); in randomPartition() 495 randomPartition(dst, rnd, x+split, y, width-split, height); in randomPartition() 499 int split = height/2 + rnd.getInt(-height/4, +height/4); in randomPartition() local 500 randomPartition(dst, rnd, x, y, width, split); in randomPartition() 501 randomPartition(dst, rnd, x, y+split, width, height-split); in randomPartition()
|
/test/testfwk/developer_test/local_coverage/interface_coverage/ |
H A D | interface_coverage_gcov_lcov.py | 236 temp_list = sub_line_string.split(",") 302 para_list = content.split(",") 453 CODEPATH = current_path.split("/test/testfwk/developer_test")[0] 470 part_name_list = part_args.split("testpart=")[1].split(",")
|
/third_party/libwebsockets/test-apps/ |
H A D | test.js | 178 u = u.split("/"); 188 var parts = location.search.substring(1).split("&"); 191 var nv = parts[i].split("="); 430 j = msg.data.split(";"); 433 i = j[f].split(" ");
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/ |
H A D | test.js | 178 u = u.split("/"); 188 var parts = location.search.substring(1).split("&"); 191 var nv = parts[i].split("="); 430 j = msg.data.split(";"); 433 i = j[f].split(" ");
|
/third_party/nghttp2/doc/ |
H A D | mkapiref.py | 133 doctype = line.split()[1] 212 macro_name = line.split()[1] 237 items = line.split() 244 enum_name = line.rstrip().split()[1] 268 struct_name = line.rstrip().split()[index]
|
/third_party/node/deps/npm/test/lib/commands/ |
H A D | hook.js | 202 outputs[0][0].split(/\t/), 207 outputs[1][0].split(/\t/), 364 outputs.map(line => line[0].split(/\t/)), 499 outputs.map(line => line[0].split(/\t/)), 602 outputs.map(line => line[0].split(/\t/)),
|
/third_party/python/Tools/c-analyzer/cpython/ |
H A D | _capi.py | 129 clean = last.split('//')[0].rstrip() 131 clean = clean.split('/*')[0].rstrip() 243 groupby = raw.replace(',', ' ').strip().split() 428 sortfields = 'not-private level kind dirname basename name'.split() 430 sortfields = sort.replace(',', ' ').strip().split()
|
/third_party/pcre2/pcre2/maint/ |
H A D | GenerateUcd.py | 297 script_lists.append(tuple(script_abbrevs.index(abbrev) for abbrev in last_script_extension.split(' '))) 320 chardata = list(map(str.strip, line.split(';'))) 530 chardata = list(map(str.strip, line.split(';'))) 578 data = list(map(str.strip, line.split(';'))) 619 data = list(map(str.strip, line.split(';')))
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_sdist.py | 285 output = [line for line in stdout.getvalue().split('\n') 349 manifest = [line.strip() for line in f.read().split('\n') 368 manifest2 = [line.strip() for line in f.read().split('\n') 386 manifest = [line.strip() for line in f.read().split('\n') 425 manifest = [line.strip() for line in f.read().split('\n')
|
/third_party/python/Lib/ |
H A D | pkgutil.py | 215 subname = fullname.split(".")[-1] 383 fn = fn[plen:].split(os.sep) 637 parts = resource.split('/') 694 parts = parts.split('.') if parts else [] 697 parts = name.split('.')
|
H A D | uuid.py | 364 path_dirs = os.environ.get('PATH', os.defpath).split(os.pathsep) 425 words = line.lower().rstrip().split() 452 parts = word.split(_MAC_DELIM) 484 keywords = stdout.readline().rstrip().split() 492 words = line.rstrip().split()
|
H A D | doctest.py | 281 ws = want.split(ELLIPSIS_MARKER) 398 test_path = os.path.join(*(test_path.split('/'))) 403 basedir = os.path.split(module.__file__)[0] 407 basedir = os.path.split(sys.argv[0])[0] 640 string = '\n'.join([l[min_indent:] for l in string.split('\n')]) 709 source_lines = m.group('source').split('\n') 718 want_lines = want.split('\n') 758 option_strings = m.group(1).replace(',', ' ').split() 1645 got = ' '.join(got.split()) 1646 want = ' '.join(want.split()) [all...] |
/third_party/python/Lib/distutils/command/ |
H A D | build_py.py | 107 build_dir = os.path.join(*([self.build_lib] + package.split('.'))) 148 path = package.split('.') 257 path = module.split('.') 311 package = package.split('.') 332 package = package.split('.')
|
/third_party/python/Lib/distutils/ |
H A D | msvccompiler.py | 157 s, rest = sys.version[i:].split(" ", 1) 276 for p in os.environ['path'].split(';'): 579 for p in os.environ['Path'].split(';'): 607 return self.__macros.sub(d[path]).split(";") 609 return d[path].split(";")
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_a6xx.c | 194 struct ir3_instruction *split; in emit_intrinsic_atomic_ssbo() local 195 ir3_split_dest(b, &split, atomic, 0, 1); in emit_intrinsic_atomic_ssbo() 196 return split; in emit_intrinsic_atomic_ssbo() 342 struct ir3_instruction *split; in emit_intrinsic_atomic_image() local 343 ir3_split_dest(b, &split, atomic, 0, 1); in emit_intrinsic_atomic_image() 344 return split; in emit_intrinsic_atomic_image()
|
H A D | ir3_context.c | 357 * outputs which need to have a split meta instruction inserted 383 struct ir3_instruction *split = in ir3_split_dest() local 385 __ssa_dst(split)->flags |= flags; in ir3_split_dest() 386 __ssa_src(split, src, flags); in ir3_split_dest() 387 split->split.off = i + base; in ir3_split_dest() 390 dst[j++] = split; in ir3_split_dest() 617 * Also, don't skip the mov if the src is meta (like fanout/split), in ir3_create_array_store()
|
/third_party/node/deps/v8/tools/ |
H A D | v8_presubmit.py | 71 """.split() 242 dirs = lambda f: dirname(f).split(os.sep) 487 for file in decode(output.stdout.read()).split(): 488 for dir_part in os.path.dirname(file).replace(os.sep, '/').split('/'): 575 parts = contents.split(' \n') 709 pieces = file_path[len(test_path):].lstrip(os.sep).split(os.sep)
|
/third_party/node/deps/npm/node_modules/read-package-json/lib/ |
H A D | read-json.js | 271 ad = ad.split(/\r?\n/g).map(function (line) { 340 path.relative(dirname, path.join(cwd, man)).split(path.sep).join('/') 425 refs = refs.split('\n') 545 data.types = dts.split(path.sep).join('/') 563 data = data.split(/^\/\*\*package(?:\s|$)/m) 569 data = data.split(/\*\*\/$/m)
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | roll_chromium_deps.py | 219 lines = _RunCommand(['git', 'branch'])[0].split('\n') 286 parts = path.split('/') 287 if all(part == parts[i] for i, part in enumerate(dir_path.split('/'))): 307 url, revision = dep['url'].split('@') 389 new_rev = stdout.strip().split('\t')[0] 653 head_rev = stdout.strip().split('\t')[0]
|
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnn.c | 1082 char *split = vars; in prepvarinfo() local 1083 while (*split != ':' && *split != '-' && *split != ' ' && *split != 0) in prepvarinfo() 1084 split++; in prepvarinfo() 1086 if (split != vars) in prepvarinfo() 1087 first = strndup(vars, split-vars); in prepvarinfo() 1088 if (*split == ' ' || *split in prepvarinfo() [all...] |
/test/testfwk/developer_test/local_coverage/ |
H A D | utils.py | 61 product_name = json_obj["out_path"].split("out")[1].strip("/") 112 cmd_list = cmd.split(" ")
|
/test/testfwk/developer_test/aw/python/distributed/common/ |
H A D | common.py | 34 filedir, _ = os.path.split(testsuit_path) 86 filename = filename.split(".")[0]
|