/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | string_utils.cpp | 120 size_t match = input.find(delimiter, offset); in GetPrefix() local 121 if (match == std::string::npos) in GetPrefix() 125 return input.substr(offset, match - offset); in GetPrefix() 130 size_t match = input.find(delimiter, offset); in GetPrefix() local 131 if (match == std::string::npos) in GetPrefix() 135 return input.substr(offset, match - offset); in GetPrefix() 298 // If there are no wildcards, match the strings precisely. in NamesMatchWithWildcard() 304 // Otherwise, match up to the wildcard first. in NamesMatchWithWildcard() 313 // As a small optimization, if the wildcard is the last character in ref, accept the match in NamesMatchWithWildcard() 320 // Try to match th in NamesMatchWithWildcard() [all...] |
/third_party/node/deps/npm/node_modules/read-package-json/lib/ |
H A D | read-json.js | 210 if (s.match(spre)) { 290 return !filtered.match(/\/$/) 306 if (files[i].match(re)) { 308 } else if (files[i].match(/README$/)) { 412 if (!head.match(/^ref: /)) { 427 var match = refs[i].match(/^([0-9a-f]{40}) (.+)$/) 428 if (match && match[2].trim() === headRef) { 429 data.gitHead = match[ [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 404 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd() 407 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd() 422 return (match(A, m_Add(m_Value(B), m_ConstantInt(C))) || in matchesAdd() 423 match(A, m_Add(m_ConstantInt(C), m_Value(B)))); in matchesAdd() 428 return (match(A, m_Or(m_Value(B), m_ConstantInt(C))) || in matchesOr() 429 match(A, m_Or(m_ConstantInt(C), m_Value(B)))); in matchesOr() 504 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 508 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 551 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP() 646 if (match(Bum in rewriteCandidateWithBasis() [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | proxy_set_apply_receiver.js | 26 RegExp.prototype[Symbol.match].call(p); 28 RegExp.prototype[Symbol.match].call(p);
|
/third_party/nghttp2/ |
H A D | git-clang-format | 280 match = re.search(r'^\+\+\+\ [^/]+/(.*)', line) 281 if match: 282 filename = match.group(1).rstrip('\r\n') 283 match = re.search(r'^@@ -[0-9,]+ \+(\d+)(,(\d+))?', line) 284 if match: 285 start_line = int(match.group(1)) 287 if match.group(3): 288 line_count = int(match.group(3))
|
/third_party/mesa3d/src/glx/tests/ |
H A D | clientinfo_unittest.cpp | 687 char *match = strstr(haystack, needle); in TEST_F() local 689 if (match[len] == '\0' || match[len] == ' ') { in TEST_F() 694 haystack = match + len; in TEST_F() 713 char *match = strstr(haystack, needle); in TEST_F() local 715 if (match[len] == '\0' || match[len] == ' ') { in TEST_F() 720 haystack = match + len; in TEST_F()
|
/third_party/python/Tools/scripts/ |
H A D | pindent.py | 155 i = self.wsprog.match(line).end() 169 m = self.endprog.match(line) 181 m = self.kwprog.match(line) 213 m = self.endprog.match(line) 218 m = self.kwprog.match(line) 240 i = self.wsprog.match(line).end() 241 m = self.endprog.match(line) 247 m = self.kwprog.match(line)
|
H A D | find-uname.py | 36 for match in matches: 37 print("%s (%d)" % match)
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | tokenize.py | 17 It is designed to match the working of the Python tokenizer exactly, except 87 # Because of leftmost-then-longest match semantics, be sure to put the 273 match = cookie_re.match(line_string) 274 if not match: 276 encoding = _get_normal_name(match.group(1)) 301 if not blank_re.match(first): 322 Untokenized source will match input source exactly 373 endmatch = endprog.match(line) 425 "unindent does not match an [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 658 if (match(CarryIn, m_ZeroInt())) { in simplifyX86addcarry() 661 // The types have to be adjusted to match the x86 call types. in simplifyX86addcarry() 1197 if (match(Op0, m_BitReverse(m_Value(X)))) { in foldCttzCtlz() 1205 if (match(Op0, m_Neg(m_Value(X)))) { in foldCttzCtlz() 1243 if (!match(II.getArgOperand(1), m_One())) { in foldCttzCtlz() 1271 if (match(Op0, m_BitReverse(m_Value(X))) || match(Op0, m_BSwap(m_Value(X)))) { in foldCtpop() 1321 // First, cast the x86 intrinsic scalar pointer to a vector pointer to match in simplifyX86MaskedLoad() 1364 // First, cast the x86 intrinsic scalar pointer to a vector pointer to match in simplifyX86MaskedStore() 1900 if (match(IIOperan in visitCallInst() [all...] |
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 232 [OP_MATCH] = "match", in operation_str() 1773 bool match = false; in match_key() local 1780 match = (streq(key_value, val)); in match_key() 1783 match = (fnmatch(key_value, val, 0) == 0); in match_key() 1799 match = (matchlen == len && strneq(s, val, matchlen)); in match_key() 1800 if (match) in match_key() 1803 match = (streq(s, val)); in match_key() 1822 match = (fnmatch(key_value, val, 0) == 0); in match_key() 1823 if (match) in match_key() 1830 match in match_key() 1943 bool match = false; udev_rules_apply_to_event() local 1986 bool match = false; udev_rules_apply_to_event() local 2075 bool match = udev_device_has_tag(event->dev_parent, rules_str(rules, cur->key.value_off)); udev_rules_apply_to_event() local 2101 int match; udev_rules_apply_to_event() local [all...] |
/third_party/protobuf/python/google/protobuf/ |
H A D | text_format.py | 325 # These values must match WireType enum in google/protobuf/wire_format.h. 1290 match = self._whitespace_pattern.match(self._current_line, self._column) 1291 if not match: 1293 length = len(match.group(0)) 1324 if not self._COMMENT.match(result): 1362 if not self._IDENTIFIER.match(result): 1384 if not self._IDENTIFIER_OR_NUMBER.match(result): 1556 match = self._TOKEN.match(sel [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | SwiftConfig.cpp | 157 bool match(const char **url, const char *string) in match() function 173 if(match(&request, "GET /")) in respond() 175 if(match(&request, "swiftshader") || match(&request, "swiftconfig")) in respond() 177 if(match(&request, " ") || match(&request, "/ ")) in respond() 183 else if(match(&request, "POST /")) in respond() 185 if(match(&request, "swiftshader") || match(&request, "swiftconfig")) in respond() 187 if(match( in respond() [all...] |
/third_party/python/Lib/urllib/ |
H A D | parse.py | 443 if not re.match(r"\Av[a-fA-F0-9]+\..+\Z", hostname): 945 parameters in the output will match the order of parameters in the 1064 match = _typeprog.match(url) 1065 if match: 1066 scheme, data = match.groups() 1085 match = _hostprog.match(url) 1086 if match: 1087 host_port, path = match [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 95 // Matches either I & 2^x-1 or 2^x-1 & I. If we find a match, we update RT in lookThroughAnd() 97 if (match(J, m_c_And(m_Instruction(I), m_APInt(M)))) { in lookThroughAnd() 235 // Return early if the recurrence kind does not match the type of Phi. If the in AddReductionVar() 488 if (m_UMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 490 else if (m_UMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 492 else if (m_SMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 494 else if (m_SMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 496 else if (m_OrdFMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 498 else if (m_OrdFMax(m_Value(CmpLeft), m_Value(CmpRight)).match(Select)) in isMinMaxSelectCmpPattern() 500 else if (m_UnordFMin(m_Value(CmpLeft), m_Value(CmpRight)).match(Selec in isMinMaxSelectCmpPattern() [all...] |
/third_party/mesa3d/src/compiler/isaspec/ |
H A D | decode.c | 311 const struct isa_bitset *match = NULL; in find_bitset() local 329 if (!BITSET_EQUAL(m.bitset, bitsets[n]->match.bitset)) { in find_bitset() 333 /* We should only have exactly one match in find_bitset() 336 * bit pattern will only have a single match? in find_bitset() 338 if (match) { in find_bitset() 339 decode_error(state, "bitset conflict: %s vs %s", match->name, in find_bitset() 344 match = bitsets[n]; in find_bitset() 347 if (match) { in find_bitset() 349 BITSET_AND(m.bitset, match->dontcare.bitset, val.bitset); in find_bitset() 353 match in find_bitset() [all...] |
/third_party/python/Lib/lib2to3/ |
H A D | pytree.py | 433 name = None # Optional name used to store match in results dict 454 def match(self, node, results=None): member in BasePattern 456 Does this pattern exactly match a node? 481 Does this pattern exactly match a sequence of nodes? 487 return self.match(nodes[0], results) 496 if nodes and self.match(nodes[0], r): 522 def match(self, node, results=None): member in LeafPattern 523 """Override match() to insist on a leaf node.""" 526 return BasePattern.match(self, node, results) 555 non-leaf nodes that also match th 673 def match(self, node, results=None): global() member in WildcardPattern 808 def match(self, node): global() member in NegatedPattern [all...] |
/third_party/python/Lib/xmlrpc/ |
H A D | server.py | 442 # a re to match a gzip Accept-Encoding 452 match = self.aepattern.match(e) 453 if match: 454 v = match.group(3) 456 r[match.group(1)] = v 724 match = pattern.search(text, here) 725 if not match: break 726 start, end = match.span() 729 all, scheme, rfc, pep, selfdot, name = match [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | edit.c | 178 struct edit_history *h, *match = NULL, *last = NULL; in history_add() local 186 match = h; in history_add() 193 if (match) { in history_add() 891 char *match = search_find(); in search_redraw() local 893 search_buf, match ? match : ""); in search_redraw() 917 char *match = search_find(); in search_stop() local 920 if (match) { in search_stop() 921 os_strlcpy(cmdbuf, match, CMD_BUF_LEN); in search_stop()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | edit.c | 178 struct edit_history *h, *match = NULL, *last = NULL; in history_add() local 186 match = h; in history_add() 193 if (match) { in history_add() 891 char *match = search_find(); in search_redraw() local 893 search_buf, match ? match : ""); in search_redraw() 917 char *match = search_find(); in search_stop() local 920 if (match) { in search_stop() 921 os_strlcpy(cmdbuf, match, CMD_BUF_LEN); in search_stop()
|
/third_party/mbedtls/tests/scripts/ |
H A D | list_internal_identifiers.py | 52 identifiers = ["{}\n".format(match.name) for match in result]
|
/third_party/node/test/internet/ |
H A D | test-snapshot-dns-lookup.js | 22 assert.match(stdout, /address: "\d+\.\d+\.\d+\.\d+"/); 23 assert.match(stdout, /family: 4/);
|
/third_party/node/test/parallel/ |
H A D | test-snapshot-dns-lookup-localhost-promise.js | 22 assert.match(stdout, /address: "\d+\.\d+\.\d+\.\d+"/); 23 assert.match(stdout, /family: 4/);
|
H A D | test-snapshot-dns-lookup-localhost.js | 22 assert.match(stdout, /address: "\d+\.\d+\.\d+\.\d+"/); 23 assert.match(stdout, /family: 4/);
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/ |
H A D | RegexBasedMatcher.java | 26 * proto message to match numbers. 41 // We don't want to consider it a prefix match when matching non-empty input against an empty in matchNationalNumber() 46 return match(number, regexCache.getPatternForRegex(nationalNumberPattern), allowPrefixMatch); in matchNationalNumber() 49 private static boolean match(CharSequence number, Pattern pattern, boolean allowPrefixMatch) { in match() method in RegexBasedMatcher
|