/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | regex_based_matcher.cc | 55 const RegExp& regexp(regexp_cache_->GetRegExp(number_pattern)); in Match() 57 if (regexp.FullMatch(number)) { in Match() 62 return regexp.Consume(normalized_number_input.get()) in Match()
|
H A D | regexp_cache.cc | 54 const RegExp* regexp = regexp_factory_.CreateRegExp(pattern); in GetRegExp() local 55 cache_impl_->insert(std::make_pair(pattern, regexp)); in GetRegExp() 56 return *regexp; in GetRegExp()
|
/third_party/libabigail/src/ |
H A D | abg-suppression.cc | 157 /// @param regexp the new regular expression string. 159 suppression_base::set_file_name_regex_str(const string& regexp) in set_file_name_regex_str() argument 160 {priv_->file_name_regex_str_ = regexp;} in set_file_name_regex_str() 182 /// @param regexp the new regular expression string. 184 suppression_base::set_file_name_not_regex_str(const string& regexp) in set_file_name_not_regex_str() argument 185 {priv_->file_name_not_regex_str_ = regexp;} in set_file_name_not_regex_str() 219 /// @param regexp the new regular expression string. 221 suppression_base::set_soname_regex_str(const string& regexp) in set_soname_regex_str() argument 222 {priv_->soname_regex_str_ = regexp;} in set_soname_regex_str() 244 /// @param regexp th 246 set_soname_not_regex_str(const string& regexp) set_soname_not_regex_str() argument [all...] |
H A D | abg-suppression-priv.h | 145 if (regex::regex_t_sptr regexp = get_soname_regex()) in matches_soname() 148 if (!regex::match(regexp, soname)) in matches_soname() 152 if (regex::regex_t_sptr regexp = get_soname_not_regex()) in matches_soname() 155 if (regex::match(regexp, soname)) in matches_soname() 180 if (regex::regex_t_sptr regexp = get_file_name_regex()) in matches_binary_name() 183 if (!regex::match(regexp, binary_name)) in matches_binary_name() 187 if (regex::regex_t_sptr regexp = get_file_name_not_regex()) in matches_binary_name() 190 if (regex::match(regexp, binary_name)) in matches_binary_name()
|
/third_party/node/test/sequential/ |
H A D | test-util-debug.js | 76 const regexp = addCodes(colors[styles.regexp]); 78 const debugging = `${regexp[0]}/debugging/${regexp[1]}`;
|
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-interpreter.h | 10 #include "src/regexp/regexp.h" 30 Isolate* isolate, Handle<JSRegExp> regexp, Handle<String> subject_string, 37 // interrupts have been scheduled or the regexp is marked for tier-up). 50 Isolate* isolate, Address regexp); 60 static Result Match(Isolate* isolate, JSRegExp regexp, String subject_string,
|
H A D | regexp-utils.h | 18 // Helper methods for C++ regexp builtins. 28 Isolate* isolate, Handle<JSReceiver> regexp, uint64_t value); 34 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string, 50 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string,
|
H A D | regexp.h | 10 #include "src/regexp/regexp-error.h" 11 #include "src/regexp/regexp-flags.h" 25 // TODO(jgruber): Do not expose in regexp.h. 40 // regexp features, and can be implemented as a standard string search. 89 // Ensures that a regexp is fully compiled and ready to be executed on a 114 Isolate* isolate, Handle<JSRegExp> regexp, Handle<String> subject, 119 ExperimentalOneshotExec(Isolate* isolate, Handle<JSRegExp> regexp, 124 // Integral return values used throughout regexp cod [all...] |
H A D | regexp-macro-assembler.cc | 5 #include "src/regexp/regexp-macro-assembler.h" 12 #include "src/regexp/regexp-stack.h" 13 #include "src/regexp/special-case.h" 120 // of whether the regexp IsUnicode or not; translate the marker value here. in MaskEndOfRangeMarker() 354 // code cannot be used, and we need to restart regexp matching from in CheckStackGuardState() 368 int NativeRegExpMacroAssembler::Match(Handle<JSRegExp> regexp, in Match() argument 377 // No allocations before calling the regexp, but we can't use in Match() 412 offsets_vector_length, isolate, *regexp); in Match() 416 ExecuteForTesting( String input, int start_offset, const byte* input_start, const byte* input_end, int* output, int output_size, Isolate* isolate, JSRegExp regexp) ExecuteForTesting() argument 428 Execute( String input, int start_offset, const byte* input_start, const byte* input_end, int* output, int output_size, Isolate* isolate, JSRegExp regexp) Execute() argument [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | string-prototype-replace.js | 99 var regexp = /r/g; variable 101 Object.defineProperty(regexp, "lastIndex", { 109 "r".replace (regexp, "x");
|
/third_party/PyYAML/lib/yaml/ |
H A D | __init__.py | 271 def add_implicit_resolver(tag, regexp, first=None, 275 If an implicit scalar value matches the given regexp, 280 loader.Loader.add_implicit_resolver(tag, regexp, first) 281 loader.FullLoader.add_implicit_resolver(tag, regexp, first) 282 loader.UnsafeLoader.add_implicit_resolver(tag, regexp, first) 284 Loader.add_implicit_resolver(tag, regexp, first) 285 Dumper.add_implicit_resolver(tag, regexp, first)
|
H A D | resolver.py | 26 def add_implicit_resolver(cls, tag, regexp, first): 35 cls.yaml_implicit_resolvers.setdefault(ch, []).append((tag, regexp)) 150 for tag, regexp in resolvers + wildcard_resolvers: 151 if regexp.match(value):
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_pyshell.py | 64 regexp = pyshell.PyShell._last_newline_re variable in PyShellRemoveLastNewlineAndSurroundingWhitespaceTest 67 self.assertEqual('', self.regexp.sub('', text)) 70 self.assertEqual(text, self.regexp.sub('', text)) 73 self.assertEqual(expected, self.regexp.sub('', text))
|
/third_party/skia/third_party/externals/swiftshader/tests/check_build_files/ |
H A D | main.go | 26 "regexp" 104 reSources = regexp.MustCompile(`sources\s*=\s*\[([^\]]*)\]`) 105 reSrc = regexp.MustCompile(`srcs\s*[:=]\s*\[([^\]]*)\]`) 106 reQuoted = regexp.MustCompile(`"([^\"]*)"`) 181 func matchRE(re *regexp.Regexp, text string) []string {
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/deqp/ |
H A D | deqp.go | 28 "regexp" 45 deqpRE = regexp.MustCompile(`(Fail|Pass|NotSupported|CompatibilityWarning|QualityWarning|InternalError) \(([^\)]*)\)`) 47 unimplementedRE = regexp.MustCompile(`[^\n]*UNIMPLEMENTED:[^\n]*`) 49 unsupportedRE = regexp.MustCompile(`[^\n]*UNSUPPORTED:[^\n]*`) 51 unreachableRE = regexp.MustCompile(`[^\n]*UNREACHABLE:[^\n]*`) 53 assertRE = regexp.MustCompile(`[^\n]*ASSERT\([^\)]*\)[^\n]*`) 55 abortRE = regexp.MustCompile(`[^\n]*ABORT:[^\n]*`) 354 re *regexp.Regexp
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | regexp-prototype-source.js | 15 var regexp = /fooBar/ig; variable 16 assert(regexp.source === 'fooBar');
|
/third_party/node/deps/v8/tools/ |
H A D | update-object-macros-undef.py | 36 regexp = re.compile('^#define (\w+)') 41 match = regexp.match(line)
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | gen_exceptions.js | 26 // Add tests matching error regexp to result array. 27 function matchError(regexp, line, resultArray){ 28 const match = line.match(regexp); 36 // Sum up total duration of tests matching the duration regexp and 38 function matchDuration(regexp, line, resultMap){ 39 const match = line.match(regexp);
|
/third_party/typescript/tests/baselines/reference/ |
H A D | stringLiteralTypeIsSubtypeOfString.js | 51 match(regexp: any): RegExpMatchArray { return null; } 53 search(regexp: any): number { return null; } 131 C.prototype.match = function (regexp) { return null; };
133 C.prototype.search = function (regexp) { return null; };
|
/third_party/rust/crates/bindgen/csmith-fuzzing/ |
H A D | predicate.py | 79 help="Exit non-zero if the given regexp pattern is not found in `bindgen`'s output.") 84 help="Exit non-zero if the given regexp pattern is not found in the emitted bindings.") 102 help="Exit non-zero if the output from compiling the bindings with `rustc` does not contain the given regexp pattern") 116 help="Exit non-zero if the output of running the compiled bindings' layout tests does not contain the given regexp pattern.") 191 def regexp(pattern): function 211 pattern = regexp(args.bindgen_grep) 223 pattern = regexp(arg) 243 pattern = regexp(args.rustc_grep) 261 pattern = regexp(args.layout_tests_grep)
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
H A D | realign.py | 23 regexp = [ re.compile(patterns[i][0]) for i in range(0,numpat)] 30 match = regexp[i].match(line)
|
/third_party/node/lib/ |
H A D | assert.js | 995 function internalMatch(string, regexp, message, fn) { 996 if (!isRegExp(regexp)) { 998 'regexp', 'RegExp', regexp, 1003 RegExpPrototypeExec(regexp, string) !== null !== match) { 1017 `${inspect(regexp)}. Input:\n\n${inspect(string)}\n`); 1020 expected: regexp, 1033 * @param {RegExp} regexp 1037 assert.match = function match(string, regexp, message) { 1038 internalMatch(string, regexp, messag [all...] |
/third_party/skia/third_party/externals/tint/tools/src/match/ |
H A D | match.go | 21 "regexp" 64 escaped := regexp.QuoteMeta(subbed) 71 re, err := regexp.Compile(regex)
|
/third_party/node/deps/npm/node_modules/debug/src/ |
H A D | common.js | 235 * Convert regexp to namespace 241 function toNamespace(regexp) { 242 return regexp.toString() 243 .substring(2, regexp.toString().length - 2)
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | ListFormatter.java | 466 // A contextual handler returns one of the two patterns depending on whether the text matched the regexp. 468 ContextualHandler(Pattern regexp, String thenTwo, String elseTwo, String thenEnd, String elseEnd) { in ContextualHandler() argument 469 this.regexp = regexp; in ContextualHandler() 478 if(regexp.matcher(text).matches()) { in getTwoPattern() 487 if(regexp.matcher(text).matches()) { in getEndPattern() 494 private final Pattern regexp; field in ListFormatter.ContextualHandler
|