Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/external/icu/libandroidicu/include/unicode/
Duregex.h211 uregex_close(URegularExpression *regexp);
251 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
271 uregex_pattern(const URegularExpression *regexp,
287 uregex_patternUText(const URegularExpression *regexp,
299 uregex_flags(const URegularExpression *regexp,
324 uregex_setText(URegularExpression *regexp,
347 uregex_setUText(URegularExpression *regexp,
372 uregex_getText(URegularExpression *regexp,
393 uregex_getUText(URegularExpression *regexp,
423 uregex_refreshUText(URegularExpression *regexp,
[all …]
/external/icu/icu4c/source/i18n/unicode/
Duregex.h211 uregex_close(URegularExpression *regexp);
251 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
271 uregex_pattern(const URegularExpression *regexp,
287 uregex_patternUText(const URegularExpression *regexp,
299 uregex_flags(const URegularExpression *regexp,
324 uregex_setText(URegularExpression *regexp,
347 uregex_setUText(URegularExpression *regexp,
372 uregex_getText(URegularExpression *regexp,
393 uregex_getUText(URegularExpression *regexp,
423 uregex_refreshUText(URegularExpression *regexp,
[all …]
/external/icu/icu4c/source/i18n/
Duregex.cpp326 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_pattern() local
328 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_pattern()
332 *patLength = regexp->fPatStringLen; in uregex_pattern()
334 return regexp->fPatString; in uregex_pattern()
346 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_patternUText() local
347 return regexp->fPat->patternText(*status); in uregex_patternUText()
358 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_flags() local
359 if (validateRE(regexp, FALSE, status) == FALSE) { in uregex_flags()
362 int32_t flags = regexp->fPat->flags(); in uregex_flags()
377 RegularExpression *regexp = (RegularExpression*)regexp2; in uregex_setText() local
[all …]
/external/v8/src/builtins/
Dbuiltins-regexp-gen.h30 TNode<String> input, TNode<JSRegExp> regexp, TNode<Number> last_index,
33 TNode<Object> FastLoadLastIndexBeforeSmiCheck(TNode<JSRegExp> regexp);
34 TNode<Smi> FastLoadLastIndex(TNode<JSRegExp> regexp) { in FastLoadLastIndex() argument
35 return CAST(FastLoadLastIndexBeforeSmiCheck(regexp)); in FastLoadLastIndex()
37 TNode<Object> SlowLoadLastIndex(TNode<Context> context, TNode<Object> regexp);
39 void FastStoreLastIndex(TNode<JSRegExp> regexp, TNode<Smi> value);
40 void SlowStoreLastIndex(TNode<Context> context, TNode<Object> regexp,
54 TNode<JSRegExp> regexp,
60 TNode<Context> context, TNode<JSRegExp> regexp,
122 TNode<String> FlagsGetter(TNode<Context> context, TNode<Object> regexp,
[all …]
Dregexp-search.tq5 #include 'src/builtins/builtins-regexp-gen.h'
7 namespace regexp {
11 regexp: JSRegExp, string: String): JSAny {
12 assert(IsFastRegExpPermissive(regexp));
15 const previousLastIndex: Smi = FastLoadLastIndex(regexp);
18 FastStoreLastIndex(regexp, 0);
24 UnsafeCast<JSRegExp>(regexp), string)
29 FastStoreLastIndex(regexp, previousLastIndex);
36 FastStoreLastIndex(regexp, previousLastIndex);
51 regexp: JSReceiver, string: String): JSAny {
[all …]
Dregexp.tq5 #include 'src/builtins/builtins-regexp-gen.h'
7 namespace regexp {
45 const regexp = Cast<JSRegExp>(receiver) otherwise ThrowTypeError(
48 return RegExpPrototypeExecSlow(regexp, string);
64 // ES#sec-regexp.prototype.exec
72 regexp: JSRegExp, string: String, regexpLastIndex: Number,
75 assert(HasInitialRegExpMap(regexp));
82 // Check whether the regexp is global or sticky, which determines whether we
84 const flags = UnsafeCast<Smi>(regexp.flags);
92 StoreLastIndex(regexp, SmiConstant(0), isFastPath);
[all …]
Dregexp-match.tq5 #include 'src/builtins/builtins-regexp-gen.h'
7 namespace regexp {
23 regexp: JSReceiver, string: String, isFastPath: constexpr bool): JSAny {
25 assert(Is<FastJSRegExp>(regexp));
28 const isGlobal: bool = FlagGetter(regexp, Flag::kGlobal, isFastPath);
31 return isFastPath ? RegExpPrototypeExecBodyFast(regexp, string) :
32 RegExpExec(regexp, string);
36 const isUnicode: bool = FlagGetter(regexp, Flag::kUnicode, isFastPath);
38 StoreLastIndex(regexp, 0, isFastPath);
44 // Check if the regexp is an ATOM type. If so, then keep the literal string
[all …]
Dregexp-split.tq5 #include 'src/builtins/builtins-regexp-gen.h'
12 namespace regexp {
23 regexp: FastJSRegExp, string: String, limit: JSAny): JSAny {
36 return runtime::RegExpSplit(regexp, string, limit);
42 // don't allocate a new regexp instance as specced), we need to ensure that
43 // the given regexp is non-sticky to avoid invalid results. See
46 if (FastFlagGetter(regexp, Flag::kSticky)) {
47 return runtime::RegExpSplit(regexp, string, sanitizedLimit);
51 return RegExpPrototypeSplitBody(regexp, string, sanitizedLimit);
54 // ES#sec-regexp.prototype-@@split
Dregexp-replace.tq5 #include 'src/builtins/builtins-regexp-gen.h'
7 namespace regexp {
83 regexp: FastJSRegExp, string: String, replaceFn: Callable): String {
84 regexp.lastIndex = 0;
89 regexp, string, GetRegExpLastMatchInfo(),
94 regexp.lastIndex = 0;
108 // the regexp, just the implicit capture that captures the whole match. In
122 regexp: JSRegExp, string: String, replaceString: String): String {
130 const fastRegexp = UnsafeCast<FastJSRegExp>(regexp);
140 RegExpPrototypeExecBodyWithoutResultFast(regexp, string)
[all …]
/external/v8/src/regexp/experimental/
Dexperimental.cc67 Handle<JSRegExp> regexp) { in CompileImpl() argument
70 Handle<String> source(regexp->Pattern(), isolate); in CompileImpl()
71 JSRegExp::Flags flags = regexp->GetFlags(); in CompileImpl()
84 USE(RegExp::ThrowRegExpException(isolate, regexp, source, in CompileImpl()
169 JSRegExp regexp, String subject, in ExecRaw() argument
177 String source = String::cast(regexp.DataAt(JSRegExp::kSourceIndex)); in ExecRaw()
182 ByteArray::cast(regexp.DataAt(JSRegExp::kIrregexpLatin1BytecodeIndex)); in ExecRaw()
185 regexp.CaptureCount(), output_registers, in ExecRaw()
193 Address regexp) { in MatchForCallFromJs() argument
206 JSRegExp regexp_obj = JSRegExp::cast(Object(regexp)); in MatchForCallFromJs()
[all …]
Dexperimental.h38 Isolate* isolate, Address regexp);
39 static MaybeHandle<Object> Exec(Isolate* isolate, Handle<JSRegExp> regexp,
43 JSRegExp regexp, String subject,
50 Isolate* isolate, Handle<JSRegExp> regexp, Handle<String> subject,
52 static int32_t OneshotExecRaw(Isolate* isolate, Handle<JSRegExp> regexp,
/external/autotest/client/site_tests/platform_PrinterPpds/
Dlog_reader.py165 regexp = re.match(r'(\d) filters for job:', msg)
166 if regexp is not None:
167 number_of_processes_to_check = int(regexp.group(1)) + 1
170 regexp = re.match(r'(\S+) \(\S+ to (\S+), cost \d+\)', msg)
171 if regexp is not None:
172 fltr = regexp.group(1)
177 trg = regexp.group(2)
181 regexp = re.match(r'envp\[\d+\]="(\S+)=(\S+)"', msg)
182 if regexp is not None:
183 envp[regexp.group(1)] = regexp.group(2)
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/resolver/
DResolverTuple.java24 private final Pattern regexp; field in ResolverTuple
26 public ResolverTuple(Tag tag, Pattern regexp) { in ResolverTuple() argument
28 this.regexp = regexp; in ResolverTuple()
36 return regexp; in getRegexp()
41 return "Tuple tag=" + tag + " regexp=" + regexp; in toString()
DResolver.java76 public void addImplicitResolver(Tag tag, Pattern regexp, String first) { in addImplicitResolver() argument
83 curr.add(new ResolverTuple(tag, regexp)); in addImplicitResolver()
97 curr.add(new ResolverTuple(tag, regexp)); in addImplicitResolver()
113 Pattern regexp = v.getRegexp(); in resolve() local
114 if (regexp.matcher(value).matches()) { in resolve()
122 Pattern regexp = v.getRegexp(); in resolve() local
123 if (regexp.matcher(value).matches()) { in resolve()
/external/libxml2/
DtestAutomata.c38 xmlRegexpPtr regexp = NULL; in testRegexpFile() local
171 regexp = xmlAutomataCompile(am); in testRegexpFile()
174 if (regexp == NULL) { in testRegexpFile()
180 if (regexp == NULL) { in testRegexpFile()
184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); in testRegexpFile()
198 } else if (regexp != NULL) { in testRegexpFile()
200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); in testRegexpFile()
209 if (regexp != NULL) in testRegexpFile()
210 xmlRegFreeRegexp(regexp); in testRegexpFile()
225 xmlRegexpPtr regexp; in main() local
[all …]
/external/v8/src/runtime/
Druntime-regexp.cc74 bool Compile(Isolate* isolate, Handle<JSRegExp> regexp,
315 bool CompiledReplacement::Compile(Isolate* isolate, Handle<JSRegExp> regexp, in Compile() argument
325 DCHECK(JSRegExp::TypeSupportsCaptures(regexp->TypeTag())); in Compile()
326 Object maybe_capture_name_map = regexp->CaptureNameMap(); in Compile()
606 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp, in StringReplaceGlobalRegExpWithString() argument
611 int capture_count = regexp->CaptureCount(); in StringReplaceGlobalRegExpWithString()
615 if (!RegExp::EnsureFullyCompiled(isolate, regexp, subject)) { in StringReplaceGlobalRegExpWithString()
623 isolate, regexp, replacement, capture_count, subject_length); in StringReplaceGlobalRegExpWithString()
626 if (regexp->TypeTag() == JSRegExp::ATOM && simple_replace) { in StringReplaceGlobalRegExpWithString()
630 isolate, subject, regexp, replacement, last_match_info); in StringReplaceGlobalRegExpWithString()
[all …]
/external/autotest/server/site_tests/firmware_Cr50ConsoleCommands/
Dfirmware_Cr50ConsoleCommands.py81 def get_output(self, cmd, regexp, split_str, sort): argument
85 cmd, [regexp], safe=True, compare_output=True)[0][1].strip()
114 def check_command(self, cmd, regexp, split_str, sort): argument
117 output = self.get_output(cmd, regexp, split_str, sort)
122 for regexp in expected_output:
123 match = re.search(regexp, output)
132 missing.append('%s:%s' % (k, regexp))
136 self.past_matches[k] = [v, regexp]
139 output, n = re.subn('%s\s*' % regexp, '', output, 1)
141 missing.append(regexp)
[all …]
/external/v8/src/regexp/
Dregexp.cc48 static int IrregexpPrepare(Isolate* isolate, Handle<JSRegExp> regexp,
55 static int AtomExecRaw(Isolate* isolate, Handle<JSRegExp> regexp,
59 static Handle<Object> AtomExec(Isolate* isolate, Handle<JSRegExp> regexp,
69 static int IrregexpExecRaw(Isolate* isolate, Handle<JSRegExp> regexp,
78 Isolate* isolate, Handle<JSRegExp> regexp, Handle<String> subject,
123 bool RegExp::IsUnmodifiedRegExp(Isolate* isolate, Handle<JSRegExp> regexp) { in IsUnmodifiedRegExp() argument
124 return RegExpUtils::IsUnmodifiedRegExp(isolate, regexp); in IsUnmodifiedRegExp()
270 Isolate* isolate, Handle<JSRegExp> regexp, Handle<String> subject, in ExperimentalOneshotExec() argument
272 return ExperimentalRegExp::OneshotExec(isolate, regexp, subject, index, in ExperimentalOneshotExec()
277 MaybeHandle<Object> RegExp::Exec(Isolate* isolate, Handle<JSRegExp> regexp, in Exec() argument
[all …]
/external/v8/src/codegen/
DDEPS9 "+src/regexp/regexp-interpreter.h",
10 "+src/regexp/experimental/experimental.h",
11 "+src/regexp/regexp-macro-assembler-arch.h",
/external/v8/src/objects/
Djs-regexp.cc33 Handle<JSRegExp> regexp(JSRegExp::cast(*indices_or_regexp), isolate); in GetAndCacheIndices() local
45 int capture_count = regexp->CaptureCount(); in GetAndCacheIndices()
53 RegExp::Exec(isolate, regexp, subject, last_index, match_info), in GetAndCacheIndices()
216 Handle<JSRegExp> regexp = in New() local
219 return JSRegExp::Initialize(regexp, pattern, flags, backtrack_limit); in New()
223 Handle<JSRegExp> JSRegExp::Copy(Handle<JSRegExp> regexp) { in Copy() argument
224 Isolate* const isolate = regexp->GetIsolate(); in Copy()
225 return Handle<JSRegExp>::cast(isolate->factory()->CopyJSObject(regexp)); in Copy()
287 MaybeHandle<JSRegExp> JSRegExp::Initialize(Handle<JSRegExp> regexp, in Initialize() argument
290 Isolate* isolate = regexp->GetIsolate(); in Initialize()
[all …]
/external/catch2/contrib/
Dlldbinit4 # With the setting "target.process.thread.step-avoid-regexp" you can tell lldb
5 # to skip functions matching the regexp
8 # regexp "Catch", which matches the complete Catch namespace.
10 # regexp accordingly.
16 settings set target.process.thread.step-avoid-regexp Catch
/external/python/cpython3/Tools/scripts/
Dmailerdaemon.py107 for regexp in emparse_list_list:
108 if type(regexp) is type(()):
109 res = regexp[0].search(data, 0, from_index)
116 res = regexp[1].match(data, res.end(0), from_index)
122 res = regexp.search(data, 0, from_index)
136 for regexp in emparse_list_reason:
137 if type(regexp) is type(''):
140 exp = re.compile(re.escape(email).join(regexp.split('<>')), re.MULTILINE)
146 res = regexp.search(data)
/external/python/cpython2/Tools/scripts/
Dmailerdaemon.py102 for regexp in emparse_list_list:
103 if type(regexp) is type(()):
104 res = regexp[0].search(data, 0, from_index)
111 res = regexp[1].match(data, res.end(0), from_index)
117 res = regexp.search(data, 0, from_index)
131 for regexp in emparse_list_reason:
132 if type(regexp) is type(''):
135 exp = re.compile(re.escape(email).join(regexp.split('<>')), re.MULTILINE)
141 res = regexp.search(data)
/external/v8/
DAndroid.base.bp44 "src/builtins/builtins-regexp.cc",
368 "src/objects/js-regexp.cc",
421 "src/regexp/experimental/experimental-bytecode.cc",
422 "src/regexp/experimental/experimental-compiler.cc",
423 "src/regexp/experimental/experimental-interpreter.cc",
424 "src/regexp/experimental/experimental.cc",
425 "src/regexp/property-sequences.cc",
426 "src/regexp/regexp-ast.cc",
427 "src/regexp/regexp-bytecode-generator.cc",
428 "src/regexp/regexp-bytecode-peephole.cc",
[all …]
/external/v8/src/
DDEPS45 "-src/regexp",
46 "+src/regexp/regexp.h",
47 "+src/regexp/regexp-stack.h",
48 "+src/regexp/regexp-utils.h",

12345678910>>...12