/third_party/ffmpeg/libavcodec/ |
H A D | mss2.c | 69 int split = (n << 1) - range; in arith2_get_scaled_value() local 71 if (value > split) in arith2_get_scaled_value() 72 return split + (value - split >> 1); in arith2_get_scaled_value() 80 int split = (n << 1) - range; in arith2_rescale_interval() local 82 if (high > split) in arith2_rescale_interval() 83 c->high = split + (high - split << 1); in arith2_rescale_interval() 89 if (low > split) in arith2_rescale_interval() 90 c->low += split in arith2_rescale_interval() [all...] |
/test/testfwk/developer_test/src/core/testcase/ |
H A D | testcase_manager.py | 61 testsuit_list = testsuit.split(',')
73 temp_list = suitfile_subpath.split(os.sep)
225 command_list = options.current_raw_cmd.split(" ")
269 testsuit_list = options.testsuit.split(";")
323 testsuit_list = options.testsuit.split(";")
|
/third_party/libsnd/Octave/ |
H A D | sndfile.cc | 377 std::vector <std::string> split ; in format_of_str() local 379 str_split (fmt, "-", split) ; in format_of_str() 381 if (split.size () != 2) in format_of_str() 384 int major_fmt = major_format_of_hash (split.at (0)) ; in format_of_str() 388 int minor_fmt = minor_format_of_hash (split.at (1)) ; in format_of_str()
|
/third_party/markupsafe/ |
H A D | __init__.py | 122 def split( # type: ignore[override] member in Markup 125 return [self.__class__(v) for v in super().split(sep, maxsplit)] 127 split.__doc__ = str.split.__doc__ 196 value = " ".join(value.split())
|
/third_party/mbedtls/tests/scripts/ |
H A D | analyze_outcomes.py | 80 ret_val = subprocess.run(shell_command.split(), check=False).returncode 141 (full_test_suite, test_string) = suite_case.split(';') 142 test_suite = full_test_suite.split('.')[0] # retrieve main part of test suite name 173 (_platform, component, suite, case, result, _cause) = line.split(';') 675 tasks_list = re.split(r'[, ]+', options.specified_tasks)
|
/third_party/node/tools/gyp/tools/ |
H A D | pretty_vcproj.py | 145 path_list = value.split(";") 169 sorted_list = sorted(value.split(";")) 226 return FixFilenames(vsprops.split(";"), os.path.dirname(filename)) 302 (key, value) = argv[i].split("=") 316 vsprops.strip().split(";"), os.path.dirname(argv[1])
|
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/ |
H A D | hosts.js | 53 let [, user, project, type, committish] = url.pathname.split('/', 5) 85 let [, user, project, aux] = url.pathname.split('/', 4) 118 const segments = path.split('/') 166 let [, user, project, aux] = url.pathname.split('/', 4) 204 let [, user, project, aux] = url.pathname.split('/', 4)
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
H A D | random_gen.py | 79 splitedline = line.split(':') 91 tmp = u.split('\n') 102 splitedline = line.split(':'); 120 splitedline = line.split(':'); 134 splitedline = line.split(':');
|
/third_party/python/Lib/test/ |
H A D | test_shlex.py | 140 self.data = [x.split("|")[:-1] 142 self.posix_data = [x.split("|")[:-1] 151 l = shlex.split(data[i][0], comments=comments) 168 shlex.split(None) 257 """Test that tokens are split with types as expected.""" 358 resplit = shlex.split(joined) 370 if not getattr(shlex, "split", None):
|
H A D | test_argparse.py | 282 args = args_str.split() 290 args = args.split() 1582 for arg in arg_line.split(): 1939 self.assertEqual(parser.parse_args('1'.split()), 1941 self.assertEqual(parser.parse_args('-x 1 42'.split()), 2115 args = args_str.split() 2121 self.parser.parse_args('0.5 1 b -w 7'.split()), 2125 self.parser.parse_args('0.25 --foo 2 -y 2 3j -- -1j'.split()), 2129 self.parser.parse_args('--foo 0.125 1 c'.split()), 2133 self.parser.parse_args('-1.5 3 11 -- a --foo 7 -- b'.split()), [all...] |
/third_party/rust/crates/version_check/src/ |
H A D | lib.rs | 99 let mut components = last_line.trim().split(" "); in version_and_date_from_rustc_version() 110 let split = |s: &str| s.splitn(2, ":").nth(1).map(|s| s.trim().to_string()); in version_and_date_from_rustc_verbose_version() 111 match line.trim().split(" ").nth(0) { in version_and_date_from_rustc_verbose_version() 117 Some("release:") => version = split(line), in version_and_date_from_rustc_verbose_version() 119 Some("commit-date:") => date = split(line), in version_and_date_from_rustc_verbose_version() 304 let allow_features = rustflags.split(delim) in supports_feature() 310 return Some(allow_features.split(',').any(|f| f.trim() == feature)); in supports_feature()
|
/third_party/python/Tools/stringbench/ |
H A D | stringbench.py | 497 #### Same for split(s, 1) 499 @bench('("A"*1000).split("A", 1)', "early match, single character", 1000) 503 s1_split = s1.split 507 @bench('("A"*1000).split("B", 1)', "no match, single character", 1000) 511 s1_split = s1.split 516 @bench('("AB"*1000).split("AB", 1)', "early match, two characters", 1000) 520 s1_split = s1.split 524 @bench('("AB"*1000).split("BC", 1)', "no match, two characters", 1000) 528 s1_split = s1.split 532 @bench('("AB"*300+"C").split("B [all...] |
/test/xts/acts/pcs/pcs_py/ |
H A D | testSDCardMount.py | 39 sdCardList.append(mountItem.split()[0]) 40 rmountResult = self.device1.execute_shell_command("umount " + mountItem.split()[-1])
|
/third_party/PyYAML/tests/lib/ |
H A D | test_mark.py | 6 inputs = file.read().split('---\n')[1:] 24 data, pointer = snippet.split('\n')
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/ |
H A D | conf.py | 67 release = next(open('../Makefile', 'r')).split('=')[1].rstrip() 69 version = release.split('-')[0]
|
/third_party/python/Lib/importlib/metadata/ |
H A D | _text.py | 26 >>> s.split('O') 97 def split(self, splitter=' ', maxsplit=0): member in FoldedCase 99 return pattern.split(self, maxsplit)
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | check-c-linkage-decls.py | 7 HBHEADERS = [os.path.basename (x) for x in os.getenv ('HBHEADERS', '').split ()] or \ 9 HBSOURCES = [os.path.basename (x) for x in os.getenv ('HBSOURCES', '').split ()] or \
|
H A D | check-header-guards.py | 7 HBHEADERS = [os.path.basename (x) for x in os.getenv ('HBHEADERS', '').split ()] or \ 9 HBSOURCES = [os.path.basename (x) for x in os.getenv ('HBSOURCES', '').split ()] or \
|
H A D | gen-os2-unicode-ranges.py | 26 fields = re.split(r'\t+', line) 34 ranges = re.split("-", fields[1])
|
/third_party/skia/tools/ |
H A D | bloaty_treemap.py | 17 # TODO: Support aggregation by scope, rather than file (split C++ identifiers on '::') 39 head = os.path.split(path)[0] 68 vals = line.rstrip().split("\t")
|
/third_party/skia/tools/malisc/ |
H A D | malisc.py | 37 inst = line.split(':')[1].split()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | oh_yara_driver.py | 196 vul_version_list = self.system_version.split("-")[-1].split(".")[:2] 221 request.get_module_name(), item.yara_rules[index].split('.')[0]) 260 request.get_module_name(), item.yara_rules[index].split('.')[0]) 303 source_vers = soruce.split(".") 304 dst_vers = dst.split(".") 317 source_groups = source_version.split("-") 318 dst_groups = dst_version.split("-")
|
/third_party/python/Lib/distutils/ |
H A D | msvc9compiler.py | 178 s, rest = sys.version[i:].split(" ", 1) 209 oldList = variable.split(os.pathsep) 271 for line in stdout.split("\n"): 276 key, value = line.split('=', 1) 373 self.__paths = vc_env['path'].split(os.pathsep) 393 for p in os.environ['path'].split(';'): 679 temp_manifest = arg.split(":", 1)[1] 783 for p in os.environ['Path'].split(';'):
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 233 String[] valSets = Utility.split(targets, ';'); in getTargetStrings() 235 String[] temp = Utility.split(valSets[i], ':'); in getTargetStrings() 237 String[] vals = Utility.split(temp[1], ','); in getTargetStrings() 387 for (String categoryAndExpected : categoriesAndExpected.split("\\s*;\\s*")) { in checkCategoriesAndExpected() 388 String[] categoryFromExpected = categoryAndExpected.split("\\s*:\\s*"); in checkCategoriesAndExpected() 390 for (String value : categoryFromExpected[1].split("\\s*,\\s*")) { in checkCategoriesAndExpected() 394 String[] values = value.split("\\s*~\\s*"); in checkCategoriesAndExpected() 726 ruleString += " NOR " + rules.getRules(keyword2).split("@")[0]; in getAssertMessage() 730 ruleString = rule == null ? null : rule.split("@")[0]; in getAssertMessage() 780 for (String ruleResult : result.split(";")) { in TestGetAllKeywordValues() [all...] |
/third_party/python/Tools/unicode/ |
H A D | makeunicodedata.py | 185 decomp = record.decomposition_type.split() 322 # split record index table 330 # split decomposition index table 533 # split decomposition index table 551 parts = value.split('/') 629 w = name.split() 703 w = name.split() 747 # split decomposition index table 914 first, last = [int(c, 16) for c in char_range.split('..')] 938 line = line.split('#', [all...] |