/device/soc/rockchip/common/sdk_linux/drivers/media/v4l2-core/ |
H A D | v4l2-async.c | 59 return client && asd->match.i2c.adapter_id == client->adapter->nr && asd->match.i2c.address == client->addr; in match_i2c() 67 return !strcmp(asd->match.device_name, dev_name(sd->dev)); in match_devname() 83 if (sd->fwnode == asd->match.fwnode) { in match_fwnode() 89 * endpoint or a device. If they're of the same type, there's no match. in match_fwnode() 93 * match unconnected endpoints. in match_fwnode() 96 asd_fwnode_is_ep = fwnode_graph_is_endpoint(asd->match.fwnode); in match_fwnode() 107 other_fwnode = asd->match.fwnode; in match_fwnode() 109 dev_fwnode = fwnode_graph_get_port_parent(asd->match.fwnode); in match_fwnode() 120 * We have a heterogeneous match in match_fwnode() [all...] |
/build/tools/component_tools/static_check/bundle_check/ |
H A D | bundle_check_common.py | 45 match = re.match(r'^[~]?(\d+)([a-zA-Z]*)$', string) 46 if not match: 48 return (float(match.group(1)), match.group(2)) 90 match_result = re.match(r'\s*sdk_version\s*=\s*"(\d+\.\d+).*"', line) 102 return re.match(r'^[a-z][a-z0-9_]{1,62}$', name) 109 return re.match(r'^@[a-z]+/([a-z][a-z0-9_]{1,62})$', name
|
H A D | bundle_check_online.py | 65 match = re.match(r'"(\w+)"\s*:\s*"(.*)"', line) 66 if not match: 68 key = match.group(1) 69 value = match.group(2) 83 if not re.match(r'[a-z]+$', value): 139 match = re.match(r'^SystemCapability(\.[A-Z][a-zA-Z]{1,63}){2,6}$', value) 140 if not match:
|
H A D | bundle_json_check.py | 232 match = BundleCheckTools.match_bundle_full_name(name) 233 if not match: 235 match = BundleCheckTools.match_unix_like_name(name.split('/')[1]) 236 if not match: 370 match = re.match(r'^SystemCapability(\.[A-Z][a-zA-Z]{1,63}){2,6}$', i) 371 if not match:
|
/build/hb/util/preloader/ |
H A D | parse_vendor_product_config.py | 28 match = feat.index("=") 29 if match <= 0: 32 key = feat[:match].strip() 33 val = feat[match + 1:].strip().strip('"') 38 elif re.match(r'[0-9]+', val): 55 match = feat.index("=") 56 key = feat[:match].strip() 57 val = feat[match + 1:].strip().strip('"') 62 elif re.match(r'[0-9]+', val):
|
/build/templates/rust/ |
H A D | run_build_script.py | 37 match = rustc_version.match(lines.rstrip()) 38 if match: 39 known_vars[match.group(1)] = match.group(2) 58 match = rustc_cfg.match(line.rstrip()) 59 if match: 60 flags = "%s--cfg\n%s\n" % (flags, match.group(1))
|
/build/tools/component_tools/static_check/ |
H A D | csct_online_prehandle.py | 62 if re.match(pattern, line) is None: 71 if re.match(pattern, line) is None: 77 res = re.match(pattern, line) 90 if control_block["match_flag"] is False or re.match(pattern, line) is None: 93 res = re.match(pattern, line) 102 if control_block["match_flag"] is False or re.match(pattern1, line) is None: 105 res = re.match(pattern2, line)
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | bcmnvram.h | 131 * @param name name of variable to match 132 * @param match value to compare against value of variable 134 * to match or FALSE otherwise 137 nvram_match(const char *name, const char *match) in nvram_match() argument 143 * resulting in 'match' being an unused parameter. in nvram_match() 144 * Make a ref to 'match' to quiet the compiler warning. in nvram_match() 147 BCM_REFERENCE(match); in nvram_match() 149 return (value && !strcmp(value, match)); in nvram_match() 154 * @param name name of variable to match 156 * @param match valu 161 nvram_match_bitflag(const char *name, const int bit, const char *match) nvram_match_bitflag() argument [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/ |
H A D | c_parser_lite.py | 79 return re.match(r"[\s\S]*(Tests)[\s\S]*(Failures)[\s\S]*(Ignored)[\s\S]*", line) 82 return re.match("{}{}".format(self.pattern, _CTEST_SUITE_TEST_RUN_TAG), 86 return re.match("{}{}".format(self.pattern, _CTEST_SUITE_TIME_RUN_TAG), 90 _, message_index = re.match( 97 return re.match( 112 test_matcher = re.match(r".*(\d+ Tests).+", line) 114 re.match(r".*(Failures).*", line) 116 re.match(r".*(Ignored).*", line) 152 end_time = re.match(self.pattern, message).group().strip() 153 start_time = re.match(sel [all...] |
H A D | cpp_parser.py | 85 if re.match(pattern, line.strip()): 87 elif re.match(r'(\d+) test[s]? from (.*)', message): 171 matcher = re.match(r'(.*) \((\d+) ms\)', message) 225 matcher = re.match(r'Running (\d+) test[s]? from .*', message) 238 matcher = re.match(r'(\d+) test[s]? from (.*)', message) 253 matcher = re.match(r'.*\((\d+) ms total\)', message) 263 matcher = re.match(r'.*\((\d+) ms total\)', message) 344 class_matcher = re.match('^([a-zA-Z]+.*)\\.$', line) 345 method_matcher = re.match('\\s+([a-zA-Z_]+[\\S]*)(.*)?(\\s+.*)?$',
|
H A D | jsunit_parser.py | 85 (year, re.match(self.pattern, message).group().strip()) 87 (year, re.match(self.pattern, 96 match = re.match(pattern, filter_message) 97 _, status_end_index = match.span() 106 status = status_dict.get(match.group(1)) 178 m_result = re.match(r".*\[suite start](.+), total cases: (\d+)", 187 if re.match(r".*\[suite start].*", message): 188 _, index = re.match(r".*\[suite start]", message).span()
|
H A D | oh_rust_parser.py | 53 matcher = re.match(self.running_pattern, line) 58 matcher = re.match(self.test_result_pattern, line) 64 matcher = re.match(self.test_pattern, line) 69 matcher = re.match(self.stout_pattern, line)
|
H A D | cpp_parser_lite.py | 98 if re.match(pattern, line.strip()): 100 elif re.match(r'(\d+) test[s]? from (.*)', message): 178 matcher = re.match(r'(.*) \((\d+) ms\)(.*)', message) 226 matcher = re.match(r'.* Running (\d+) test[s]? from .*', message) 238 matcher = re.match(r'(\d+) test[s]? from (.*)', message) 250 matcher = re.match(r'.*\((\d+) ms total\)', message) 261 matcher = re.match(r'.*\((\d+) ms total\)', message) 357 self.class_result = re.compile('^([a-zA-Z]+.*)\\.$').match(line) 362 '\\s+([a-zA-Z_]+[\\S]*)(.*)?(\\s+.*)?$').match(line)
|
/build/scripts/ |
H A D | cargo2gn.py | 96 if designated_re.match(line): 98 return designated_re.match(line).group(1) 100 is_package = package.match(line) is not None 123 if VERSION_SUFFIX_RE.match(s): 124 return VERSION_SUFFIX_RE.match(s).group(1) 691 libname_groups = deps_libname.match(lib) 718 libname_groups = build_deps_libname.match(lib) 912 if cargo_test_list_start_re.match(line): 913 current_test_name = cargo_test_list_start_re.match(line).group(1) 914 elif current_test_name and cargo_test_list_end_re.match(lin [all...] |
/device/soc/rockchip/rk3588/kernel/scripts/ |
H A D | mkbootimg | 200 match = re.search(r'^(\d{1,3})(?:\.(\d{1,3})(?:\.(\d{1,3}))?)?', x) 201 if match: 202 a = int(match.group(1)) 204 if match.lastindex >= 2: 205 b = int(match.group(2)) 206 if match.lastindex == 3: 207 c = int(match.group(3)) 217 match = re.search(r'^(\d{4})-(\d{2})(?:-(\d{2}))?', x) 218 if match: 219 y = int(match [all...] |
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | util.py | 182 if re.match(rex, version): 197 match = re.search(r'(\d+\.\d+\.\d+\.\d+)', version_str) 198 if match: 199 return match.group(1) 349 match = re.search(r'File "(.*?)", line \d+, in (.+)', stack_line) 350 if match: 351 file_name = match.group(1).split(os.sep)[-1] 352 method_name = match.group(2).strip()
|
/build/toolchain/ |
H A D | get_concurrent_links.py | 44 match = memtotal_re.match(line) variable in _get_total_memory_in_bytes.MEMORYSTATUSEX 45 if not match: 47 return float(match.group(1)) * 2**10
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | grf.c | 208 const struct of_device_id *match;
in rockchip_grf_init() local 213 np = of_find_matching_node_and_match(NULL, rockchip_grf_dt_match, &match);
in rockchip_grf_init() 217 if (!match || !match->data) {
in rockchip_grf_init() 222 grf_info = match->data;
in rockchip_grf_init()
|
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/ |
H A D | grf.c | 208 const struct of_device_id *match;
in rockchip_grf_init() local 213 np = of_find_matching_node_and_match(NULL, rockchip_grf_dt_match, &match);
in rockchip_grf_init() 217 if (!match || !match->data) {
in rockchip_grf_init() 223 grf_info = match->data;
in rockchip_grf_init()
|
/device/soc/rockchip/common/sdk_linux/drivers/regulator/ |
H A D | of_regulator.c | 319 * @matches: match table for the regulators 320 * @num_matches: number of entries in match table 322 * This function uses a match table specified by the regulator driver to 327 * or otherwise the child node's name. Note that the match table is modified 357 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local 358 match->init_data = NULL; in of_regulator_match() 359 match->of_node = NULL; in of_regulator_match() 369 struct of_regulator_match *match = &matches[i]; in of_regulator_match() local 370 if (match->of_node) { in of_regulator_match() 374 if (strcmp(match in of_regulator_match() [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | ui_driver_test.cpp | 300 bool match = true; in TEST_F() 301 match = match && window.bundleName_ == filterBundle["bundleName"].get<string>(); in TEST_F() 302 return match; in TEST_F() 312 bool match = true; in TEST_F() 313 match = match && window.bundleName_ == filterBundleNotFind["bundleName"].get<string>(); in TEST_F() 314 return match; in TEST_F() 375 bool match = true; in TEST_F() 376 match in TEST_F() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/ |
H A D | cpufreq-dt-platdev.c | 403 const struct of_device_id *match; in cpufreq_dt_platdev_init() local 410 match = of_match_node(whitelist, np); in cpufreq_dt_platdev_init() 411 if (match) { in cpufreq_dt_platdev_init() 412 data = match->data; in cpufreq_dt_platdev_init()
|
/build/hb/util/ |
H A D | product_util.py | 386 match = feat.index("=") 387 if match <= 0: 390 key = feat[:match].strip() 391 val = feat[match + 1:].strip().strip('"') 396 elif re.match(r'[0-9]+', val): 413 match = feat.index("=") 414 key = feat[:match].strip() 415 val = feat[match + 1:].strip().strip('"') 420 elif re.match(r'[0-9]+', val):
|
/build/hb/services/ |
H A D | hpm.py | 88 match = re.match(pattern, line) 89 if match: 90 latest_hpm_version = match.group(1).strip()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
H A D | mk_prim_xml_step1.py | 140 match=re.search('PRIM_XML_HI_DIAG_LOG_MSG_', line)
141 if match:
153 match=re.search('_PRIM_PRI_', line)
154 if match:
|