Home
last modified time | relevance | path

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

1234567891011

/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/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/syzkaller/pkg/report/
Dlinux.go26 ignores []*regexp.Regexp
27 consoleOutputRe *regexp.Regexp
28 questionableRe *regexp.Regexp
29 guiltyFileBlacklist []*regexp.Regexp
35 func ctorLinux(kernelSrc, kernelObj string, ignores []*regexp.Regexp) (Reporter, []string, error) {
53 …ctx.consoleOutputRe = regexp.MustCompile(`^(?:\*\* [0-9]+ printk messages dropped \*\* )?(?:.* log…
54 …ctx.questionableRe = regexp.MustCompile(`(?:\[\<[0-9a-f]+\>\])? \? +[a-zA-Z0-9_.]+\+0x[0-9a-f]+/[0…
56 ctx.guiltyFileBlacklist = []*regexp.Regexp{
57 regexp.MustCompile(`.*\.h`),
58 regexp.MustCompile(`^lib/.*`),
[all …]
Dreport.go85 type fn func(string, string, []*regexp.Regexp) (Reporter, []string, error)
87 func compileRegexps(list []string) ([]*regexp.Regexp, error) {
88 compiled := make([]*regexp.Regexp, len(list))
90 re, err := regexp.Compile(str)
101 suppressions []*regexp.Regexp
119 match *regexp.Regexp
133 regexp.MustCompile(`syz-executor[0-9]+((/|:)[0-9]+)?`),
138 regexp.MustCompile(`syzkaller[0-9]+((/|:)[0-9]+)?`),
144 regexp.MustCompile(`([^a-zA-Z])(?:0x)?[0-9a-f]{6,}`),
149 regexp.MustCompile(`([^a-zA-Z])[0-9]{5,}`),
[all …]
Dgvisor.go12 ignores []*regexp.Regexp
15 func ctorGvisor(kernelSrc, kernelObj string, ignores []*regexp.Regexp) (Reporter, []string, error) {
80 regexp.MustCompile(`container ".*"`),
95 []*regexp.Regexp{},
106 []*regexp.Regexp{},
117 []*regexp.Regexp{},
128 []*regexp.Regexp{},
139 []*regexp.Regexp{},
150 []*regexp.Regexp{},
161 []*regexp.Regexp{},
[all …]
Dfuchsia.go21 ignores []*regexp.Regexp
28 zirconRIP = regexp.MustCompile(` RIP: (0x[0-9a-f]+) `)
29 zirconBT = regexp.MustCompile(`^bt#[0-9]+: (0x[0-9a-f]+)`)
31 zirconUnrelated = []*regexp.Regexp{
32 regexp.MustCompile(`^\[\d+\.\d+\] \d+\.\d+`),
33 regexp.MustCompile(`stopping other cpus`),
34 regexp.MustCompile(`^halting cpu`),
35 regexp.MustCompile(`^dso: `),
36 regexp.MustCompile(`^UPTIME: `),
37 regexp.MustCompile(`^BUILDID `),
[all …]
Dakaros.go19 ignores []*regexp.Regexp
23 func ctorAkaros(kernelSrc, kernelObj string, ignores []*regexp.Regexp) (Reporter, []string, error) {
114 stackStartRes: []*regexp.Regexp{
117 frameRes: []*regexp.Regexp{
137 parts: []*regexp.Regexp{
147 parts: []*regexp.Regexp{
160 []*regexp.Regexp{},
169 parts: []*regexp.Regexp{
182 []*regexp.Regexp{},
Dfreebsd.go14 ignores []*regexp.Regexp
17 func ctorFreebsd(kernelSrc, kernelObj string, ignores []*regexp.Regexp) (Reporter, []string, error)…
95 []*regexp.Regexp{},
105 []*regexp.Regexp{},
/external/v8/src/builtins/
Dbuiltins-regexp-gen.h32 TNode<Object> regexp, TNode<String> string,
48 TNode<Object> FastLoadLastIndex(TNode<JSRegExp> regexp);
49 TNode<Object> SlowLoadLastIndex(TNode<Context> context, TNode<Object> regexp);
50 TNode<Object> LoadLastIndex(TNode<Context> context, TNode<Object> regexp,
53 void FastStoreLastIndex(Node* regexp, Node* value);
54 void SlowStoreLastIndex(Node* context, Node* regexp, Node* value);
55 void StoreLastIndex(Node* context, Node* regexp, Node* value,
67 TNode<JSRegExp> regexp,
107 Node* FlagsGetter(Node* const context, Node* const regexp, bool is_fastpath);
109 Node* FastFlagGetter(Node* const regexp, JSRegExp::Flag flag);
[all …]
Dbuiltins-regexp-gen.cc112 TNode<Object> regexp = CAST(AllocateJSObjectFromMap(initial_map)); in RegExpCreate() local
113 return CallRuntime(Runtime::kRegExpInitializeAndCompile, context, regexp, in RegExpCreate()
118 TNode<JSRegExp> regexp) { in FastLoadLastIndex() argument
122 return LoadObjectField(regexp, field_offset); in FastLoadLastIndex()
126 TNode<Object> regexp) { in SlowLoadLastIndex() argument
127 return GetProperty(context, regexp, isolate()->factory()->lastIndex_string()); in SlowLoadLastIndex()
131 TNode<Object> regexp, in LoadLastIndex() argument
133 return is_fastpath ? FastLoadLastIndex(CAST(regexp)) in LoadLastIndex()
134 : SlowLoadLastIndex(context, regexp); in LoadLastIndex()
139 void RegExpBuiltinsAssembler::FastStoreLastIndex(Node* regexp, Node* value) { in FastStoreLastIndex() argument
[all …]
/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/syzkaller/vendor/golang.org/x/sys/unix/
Dmkpost.go46 valRegex := regexp.MustCompile(`type (Fsid|Sigset_t) struct {(\s+)X__val(\s+\S+\s+)}`)
51 ptraceRexexp := regexp.MustCompile(`type Ptrace((Psw|Fpregs|Per) struct {\s*})`)
55 controlRegsRegex := regexp.MustCompile(`(Control_regs)\s+\[0\]uint64`)
60 removeFieldsRegex := regexp.MustCompile(`X__glibc\S*`)
65 …convertUtsnameRegex := regexp.MustCompile(`((Sys|Node|Domain)name|Release|Version|Machine)(\s+)\[(…
69 spareFieldsRegex := regexp.MustCompile(`X__spare\S*`)
73 removePaddingFieldsRegex := regexp.MustCompile(`Pad_cgo_\d+`)
77 removeFieldsRegex = regexp.MustCompile(`\b(X_\S+|Padding)`)
88 cgoCommandRegex := regexp.MustCompile(`(cgo -godefs .*)`)
/external/syzkaller/pkg/vcs/
Dvcs.go156 …gitRepoRe = regexp.MustCompile(`^(git|ssh|http|https|ftp|ftps)://[a-zA-Z0-9-_]+(\.[a-zA-Z0-9-_]…
157 gitBranchRe = regexp.MustCompile("^[a-zA-Z0-9-_/.]{2,200}$")
158 gitHashRe = regexp.MustCompile("^[a-f0-9]+$")
159 releaseTagRe = regexp.MustCompile(`^v([0-9]+).([0-9]+)(?:\.([0-9]+))?$`)
160 ccRes = []*regexp.Regexp{
161 regexp.MustCompile(`^Reviewed\-.*: (.*)$`),
162 regexp.MustCompile(`^[A-Za-z-]+\-and\-[Rr]eviewed\-.*: (.*)$`),
163 regexp.MustCompile(`^Acked\-.*: (.*)$`),
164 regexp.MustCompile(`^[A-Za-z-]+\-and\-[Aa]cked\-.*: (.*)$`),
165 regexp.MustCompile(`^Tested\-.*: (.*)$`),
[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.cc72 bool Compile(Isolate* isolate, Handle<JSRegExp> regexp,
313 bool CompiledReplacement::Compile(Isolate* isolate, Handle<JSRegExp> regexp, in Compile() argument
323 DCHECK_EQ(regexp->TypeTag(), JSRegExp::IRREGEXP); in Compile()
324 Object* maybe_capture_name_map = regexp->CaptureNameMap(); in Compile()
605 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp, in StringReplaceGlobalRegExpWithString() argument
610 int capture_count = regexp->CaptureCount(); in StringReplaceGlobalRegExpWithString()
613 JSRegExp::Type typeTag = regexp->TypeTag(); in StringReplaceGlobalRegExpWithString()
616 if (RegExpImpl::IrregexpPrepare(isolate, regexp, subject) == -1) { in StringReplaceGlobalRegExpWithString()
626 isolate, regexp, replacement, capture_count, subject_length); in StringReplaceGlobalRegExpWithString()
632 isolate, subject, regexp, replacement, last_match_info); in StringReplaceGlobalRegExpWithString()
[all …]
/external/autotest/server/site_tests/firmware_Cr50ConsoleCommands/
Dfirmware_Cr50ConsoleCommands.py78 def get_output(self, cmd, regexp, split_str, sort): argument
81 [regexp])[0][1].strip()
111 def check_command(self, cmd, regexp, split_str, sort): argument
114 output = self.get_output(cmd, regexp, split_str, sort)
119 for regexp in expected_output:
120 match = re.search(regexp, output)
129 missing.append('%s:%s' % (k, regexp))
133 self.past_matches[k] = [v, regexp]
136 output, n = re.subn('%s\s*' % regexp, '', output, 1)
138 missing.append(regexp)
[all …]
/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/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/v8/src/regexp/
Dregexp-utils.cc74 Handle<JSReceiver> regexp, in RegExpExec() argument
80 Object::GetProperty(isolate, regexp, isolate->factory()->exec_string()), in RegExpExec()
92 Execution::Call(isolate, exec, regexp, argc, argv.start()), Object); in RegExpExec()
102 if (!regexp->IsJSRegExp()) { in RegExpExec()
107 regexp), in RegExpExec()
118 return Execution::Call(isolate, regexp_exec, regexp, argc, argv.start()); in RegExpExec()
186 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string, in SetAdvancedStringIndex() argument
191 Object::GetProperty(isolate, regexp, in SetAdvancedStringIndex()
201 return SetLastIndex(isolate, regexp, new_last_index); in SetAdvancedStringIndex()
/external/autotest/server/cros/servo/
Dchrome_ec.py71 def set_uart_regexp(self, regexp): argument
72 if self._cached_uart_regexp == regexp:
74 self._cached_uart_regexp = regexp
75 self._servo.set(self.uart_regexp, regexp)
265 regexp = r'(\d+)\s+([\w]+)\s+\*?\s+{0}'.format(channel)
266 l = self.send_command_get_output('chan', [regexp])
/external/icu/libandroidicu/static_shim/
Dshim.cpp2136 int32_t uregex_appendReplacement_android(URegularExpression * regexp, const UChar * replacementText… in uregex_appendReplacement_android() argument
2137 …return uregex_appendReplacement(regexp, replacementText, replacementLength, destBuf, destCapacity,… in uregex_appendReplacement_android()
2139 void uregex_appendReplacementUText_android(URegularExpression * regexp, UText * replacementText, UT… in uregex_appendReplacementUText_android() argument
2140 uregex_appendReplacementUText(regexp, replacementText, dest, status); in uregex_appendReplacementUText_android()
2142 int32_t uregex_appendTail_android(URegularExpression * regexp, UChar ** destBuf, int32_t * destCapa… in uregex_appendTail_android() argument
2143 return uregex_appendTail(regexp, destBuf, destCapacity, status); in uregex_appendTail_android()
2145 UText * uregex_appendTailUText_android(URegularExpression * regexp, UText * dest, UErrorCode * stat… in uregex_appendTailUText_android() argument
2146 return uregex_appendTailUText(regexp, dest, status); in uregex_appendTailUText_android()
2148 URegularExpression * uregex_clone_android(const URegularExpression * regexp, UErrorCode * status) { in uregex_clone_android() argument
2149 return uregex_clone(regexp, status); in uregex_clone_android()
[all …]

1234567891011