/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
H A D | check_symbol_exports.py | 83 match = symbol_pattern.search(line) 84 if match: 85 linkage = match.group(1) 86 symbol = match.group(2) 90 if not (symbol_is_new_or_delete.match(symbol) and linkage == 'w'): 91 if not (symbol_is_thunk.match(symbol) and linkage == 'w'): 92 if not (symbol_allowlist_pattern.match(symbol) or 93 symbol_ok_pattern.match(symbol) or 94 symbol_is_hidden.match(symbol)):
|
/third_party/spirv-tools/utils/ |
H A D | check_symbol_exports.py | 83 match = symbol_pattern.search(line) 84 if match: 85 linkage = match.group(1) 86 symbol = match.group(2) 90 if not (symbol_is_new_or_delete.match(symbol) and linkage == 'w'): 91 if not (symbol_is_thunk.match(symbol) and linkage == 'w'): 92 if not (symbol_allowlist_pattern.match(symbol) or 93 symbol_ok_pattern.match(symbol) or 94 symbol_is_hidden.match(symbol)):
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | antora-prep.py | 109 def replaceAnchorText(match, pageMap, xrefMap): 111 - match - match object, \1 = anchor, \2 = text 115 anchor = match.group(1) 116 text = match.group(2) 120 def replaceAnchorOnly(match, pageMap, xrefMap): 122 - match - match object, \1 = anchor 126 anchor = match.group(1) 130 def replaceAnchorTrailingText(match, pageMa [all...] |
/kernel/linux/linux-5.10/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ex [all...] |
/kernel/linux/linux-5.10/tools/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ex [all...] |
/kernel/linux/linux-6.6/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ex [all...] |
/kernel/linux/linux-6.6/tools/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ex [all...] |
/third_party/icu/tools/unicode/py/ |
H A D | preparseucd.py | 373 match = _missing_re.match(line) 374 if match: 375 fields = match.group(1).split(";") 379 match = _missing2_re.match(line) 380 if match: 384 line = match.group(1) 396 match = _stripped_range_re.match(firs [all...] |
/kernel/linux/linux-5.10/arch/sh/drivers/ |
H A D | platform_early.c | 33 /* Then try to match against the id table */ in platform_match() 37 /* fall-back to driver name match */ in platform_match() 172 * @id: id to match against 208 * @id: id to match against 216 struct platform_device *match; in sh_early_platform_driver_probe_id() local 251 match = NULL; in sh_early_platform_driver_probe_id() 254 match = sh_early_platform_match(epdrv, match_id); in sh_early_platform_driver_probe_id() 257 if (match) { in sh_early_platform_driver_probe_id() 263 if (!match->dev.init_name && slab_is_available()) { in sh_early_platform_driver_probe_id() 264 if (match in sh_early_platform_driver_probe_id() [all...] |
/kernel/linux/linux-6.6/arch/sh/drivers/ |
H A D | platform_early.c | 33 /* Then try to match against the id table */ in platform_match() 37 /* fall-back to driver name match */ in platform_match() 172 * @id: id to match against 208 * @id: id to match against 216 struct platform_device *match; in sh_early_platform_driver_probe_id() local 251 match = NULL; in sh_early_platform_driver_probe_id() 254 match = sh_early_platform_match(epdrv, match_id); in sh_early_platform_driver_probe_id() 257 if (match) { in sh_early_platform_driver_probe_id() 263 if (!match->dev.init_name && slab_is_available()) { in sh_early_platform_driver_probe_id() 264 if (match in sh_early_platform_driver_probe_id() [all...] |
/third_party/ninja/src/ |
H A D | browse.py | 80 (match, rule) = match_strip(line, ' input: ') 81 if match: 82 (match, line) = match_strip(next(lines), ' ') 83 while match: 85 (match, line) = match_strip(line, '| ') 86 if match: 88 (match, line) = match_strip(line, '|| ') 89 if match: 92 (match, line) = match_strip(next(lines), ' ') 94 match, [all...] |
/third_party/glfw/deps/ |
H A D | getopt.c | 161 const struct option* match = NULL; in getopt_long() local 181 match = o; in getopt_long() 190 *longindex = (int) (match - longopts); in getopt_long() 196 if (match->flag) in getopt_long() 197 *(match->flag) = match->val; in getopt_long() 199 retval = match->flag ? 0 : match->val; in getopt_long() 201 if (match->has_arg != no_argument) { in getopt_long() 206 if (match in getopt_long() [all...] |
/third_party/python/Tools/scripts/ |
H A D | pep384_macrocheck.py | 43 found = re.match(r'^\s*#\s*include\s*"(\w+\.h)"', line) 63 if re.match(ifdef_pattern, line): 65 elif re.match(endif_pattern, line): 89 if re.match(unlimited_pattern, line): 92 elif re.match(limited_pattern, line): 102 if re.match(limited_pattern, line): 105 elif re.match(else_pattern, line): 121 if re.match(define_pattern, line): 122 name = re.match(define_pattern, line).group(1) 131 if re.match(type_patter [all...] |
/third_party/spirv-tools/source/ |
H A D | spirv_validator_options.cpp | 21 auto match = [s](const char* b) { in spvParseUniversalLimitsOptions() local 24 if (match("--max-struct-members")) { in spvParseUniversalLimitsOptions() 26 } else if (match("--max-struct_depth")) { in spvParseUniversalLimitsOptions() 28 } else if (match("--max-local-variables")) { in spvParseUniversalLimitsOptions() 30 } else if (match("--max-global-variables")) { in spvParseUniversalLimitsOptions() 32 } else if (match("--max-switch-branches")) { in spvParseUniversalLimitsOptions() 34 } else if (match("--max-function-args")) { in spvParseUniversalLimitsOptions() 36 } else if (match("--max-control-flow-nesting-depth")) { in spvParseUniversalLimitsOptions() 38 } else if (match("--max-access-chain-indexes")) { in spvParseUniversalLimitsOptions() 40 } else if (match(" in spvParseUniversalLimitsOptions() [all...] |
/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...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-async.c | 60 asd->match.i2c.adapter_id == client->adapter->nr && in match_i2c() 61 asd->match.i2c.address == client->addr; in match_i2c() 70 return !strcmp(asd->match.device_name, dev_name(sd->dev)); in match_devname() 87 if (sd->fwnode == asd->match.fwnode) in match_fwnode() 92 * endpoint or a device. If they're of the same type, there's no match. in match_fwnode() 96 * match unconnected endpoints. in match_fwnode() 99 asd_fwnode_is_ep = fwnode_graph_is_endpoint(asd->match.fwnode); in match_fwnode() 110 other_fwnode = asd->match.fwnode; in match_fwnode() 112 dev_fwnode = fwnode_graph_get_port_parent(asd->match.fwnode); in match_fwnode() 122 * We have a heterogeneous match in match_fwnode() [all...] |
/third_party/skia/tools/ |
H A D | misc_utils.py | 20 Opens a file for reading and searches line by line for a match to 22 first match. Does not search across newlines. 33 default: what to return if no match 40 match = pattern_object.search(line) 41 if match: 42 return match.group('return') 52 default: what to return if no match 57 match = re.search(pattern, input_string) 58 return match.group('return') if match els [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_upnp_web.c | 864 const char *match; in web_get_action() local 878 match = urn_wfawlanconfig; in web_get_action() 880 if (os_strncasecmp(b, match, match_len)) in web_get_action() 991 char *match; in web_connection_parse_subscribe() local 1033 match = "NT:"; in web_connection_parse_subscribe() 1034 match_len = os_strlen(match); in web_connection_parse_subscribe() 1035 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe() 1039 match = "upnp:event"; in web_connection_parse_subscribe() 1040 match_len = os_strlen(match); in web_connection_parse_subscribe() 1041 if (os_strncasecmp(h, match, match_le in web_connection_parse_subscribe() 1212 char *match; web_connection_parse_unsubscribe() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_upnp_web.c | 864 const char *match; in web_get_action() local 878 match = urn_wfawlanconfig; in web_get_action() 880 if (os_strncasecmp(b, match, match_len)) in web_get_action() 991 char *match; in web_connection_parse_subscribe() local 1033 match = "NT:"; in web_connection_parse_subscribe() 1034 match_len = os_strlen(match); in web_connection_parse_subscribe() 1035 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe() 1039 match = "upnp:event"; in web_connection_parse_subscribe() 1040 match_len = os_strlen(match); in web_connection_parse_subscribe() 1041 if (os_strncasecmp(h, match, match_le in web_connection_parse_subscribe() 1212 char *match; web_connection_parse_unsubscribe() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 90 if (!match(OldLHS, m_BSwap(m_Value(NewLHS)))) in SimplifyBSwap() 96 if (match(OldRHS, m_BSwap(m_Value(NewRHS)))) { in SimplifyBSwap() 101 } else if (match(OldRHS, m_APInt(C))) { in SimplifyBSwap() 335 if (!match(L1, m_And(m_Value(L11), m_Value(L12)))) { in getMaskedTypeForICmpPair() 342 if (!match(L2, m_And(m_Value(L21), m_Value(L22)))) { in getMaskedTypeForICmpPair() 370 if (!match(R1, m_And(m_Value(R11), m_Value(R12)))) { in getMaskedTypeForICmpPair() 396 if (!match(R2, m_And(m_Value(R11), m_Value(R12)))) { in getMaskedTypeForICmpPair() 812 if (!match(LHS->getOperand(1), m_APInt(C1)) || in foldAndOrOfEqualityCmpsWithConstants() 813 !match(RHS->getOperand(1), m_APInt(C2))) in foldAndOrOfEqualityCmpsWithConstants() 878 if (match(LH in foldAndOrOfICmpsOfAndWithPow2() [all...] |
/third_party/astc-encoder/Test/ |
H A D | astc_quality_test.py | 46 match = patternPSNR.match(line) 47 if match: 48 runPSNR = float(match.group(1)) 50 match = patternCRate.match(line) 51 if match: 52 runCRate = float(match.group(1))
|
/third_party/node/test/parallel/ |
H A D | test-error-reporting.js | 49 assert.match(stderr, /blah/); 55 assert.match(stderr, syntaxErrorMessage); 61 assert.match(stderr, syntaxErrorMessage); 67 assert.match(stderr, syntaxErrorMessage); 72 assert.match(stderr, syntaxErrorMessage); 77 assert.match(stderr, syntaxErrorMessage); 82 assert.match(stderr, /throw {\r?\n\^\r?\n{ toString: \[Function: toString] }\r?\n\r?\nNode\.js \S+\r?\n$/); 87 assert.match(stderr, /throw {\r?\n\^\r?\n{ toString: \[Function: toString] }\r?\n\r?\nNode\.js \S+\r?\n$/);
|
/third_party/icu/icu4c/source/test/perf/strsrchperf/ |
H A D | strsrchperf.h | 67 int32_t match; in ICUForwardSearch() local 69 match = usearch_first(srch, status); in ICUForwardSearch() 70 while (match != USEARCH_DONE) { in ICUForwardSearch() 71 match = usearch_next(srch, status); in ICUForwardSearch() 76 int32_t match; in ICUBackwardSearch() local 78 match = usearch_last(srch, status); in ICUBackwardSearch() 79 while (match != USEARCH_DONE) { in ICUBackwardSearch() 80 match = usearch_previous(srch, status); in ICUBackwardSearch()
|
/third_party/node/deps/v8/src/inspector/ |
H A D | search-util.cc | 53 String16 match = multiline in findMagicComment() local 57 size_t newLine = match.find("\n"); in findMagicComment() 58 if (newLine != String16::kNotFound) match = match.substring(0, newLine); in findMagicComment() 59 match = match.stripWhiteSpace(); in findMagicComment() 61 for (size_t i = 0; i < match.length(); ++i) { in findMagicComment() 62 UChar c = match[i]; in findMagicComment() 66 return match; in findMagicComment() 117 if (regex.match(lin in scriptRegexpMatchesByLines() [all...] |
/third_party/musl/tools/ |
H A D | add-cfi.i386.awk | 27 match($0, /-?(0x[0-9a-fA-F]+|[0-9]+),/) 32 if (match(register, /^e/)) 34 else if (match(register, /[hl]$/)) # AH, AL, BH, BL, etc 41 match($0, /%e?([abcd][hlx]|si|di|bp)/) 46 match($0, /%e?([abcd][hlx]|si|di|bp),/) 51 match($0, /,%e?([abcd][hlx]|si|di|bp)/) 132 if (match($0, / %(ax|bx|cx|dx|di|si|bp|sp)/)) 138 if (match($0, / %(ax|bx|cx|dx|di|si|bp|sp)/)) 147 if (match($0, /call [0-9]+f/)) # "forward" label 149 else if (match( [all...] |