Searched refs:regexp (Results 1 - 25 of 102) sorted by relevance

12345

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/resolver/
H A DResolverTuple.java24 private final Pattern regexp; field in class:ResolverTuple
26 public ResolverTuple(Tag tag, Pattern regexp) { argument
28 this.regexp = regexp;
36 return regexp;
41 return "Tuple tag=" + tag + " regexp=" + regexp;
H A DResolver.java76 public void addImplicitResolver(Tag tag, Pattern regexp, String first) { argument
83 curr.add(new ResolverTuple(tag, regexp));
97 curr.add(new ResolverTuple(tag, regexp));
113 Pattern regexp = v.getRegexp();
114 if (regexp.matcher(value).matches()) {
122 Pattern regexp = v.getRegexp();
123 if (regexp.matcher(value).matches()) {
/external/parameter-framework/upstream/tools/xmlGenerator/analyse/
H A DreplaceAmixerByPfwParameters.sh38 # a perl regexp that matches only alsa mixer lines
39 regexp='^[^\s/]'
62 if echo "$line" | grep -qP "$regexp" && parameter="$(find_pfw_equivalent "$line" $1)"
/external/icu/icu4c/source/i18n/unicode/
H A Duregex.h207 * @param regexp The regular expression to be closed.
211 uregex_close(URegularExpression *regexp);
245 * @param regexp The compiled regular expression to be cloned.
251 uregex_clone(const URegularExpression *regexp, UErrorCode *status);
257 * @param regexp The compiled regular expression.
271 uregex_pattern(const URegularExpression *regexp,
279 * @param regexp The compiled regular expression.
287 uregex_patternUText(const URegularExpression *regexp,
293 * @param regexp The compiled regular expression.
299 uregex_flags(const URegularExpression *regexp,
[all...]
/external/v8/src/builtins/
H A Dbuiltins-regexp.h27 Node* FastLoadLastIndex(Node* regexp);
28 Node* SlowLoadLastIndex(Node* context, Node* regexp);
29 Node* LoadLastIndex(Node* context, Node* regexp, bool is_fastpath);
31 void FastStoreLastIndex(Node* regexp, Node* value);
32 void SlowStoreLastIndex(Node* context, Node* regexp, Node* value);
33 void StoreLastIndex(Node* context, Node* regexp, Node* value,
36 Node* ConstructNewResultFromMatchInfo(Node* const context, Node* const regexp,
41 Node* const regexp,
45 Node* RegExpPrototypeExecBody(Node* const context, Node* const regexp,
60 Node* FlagsGetter(Node* const context, Node* const regexp, boo
[all...]
H A Dbuiltins-regexp.cc5 #include "src/builtins/builtins-regexp.h"
14 #include "src/objects/regexp-match-info.h"
15 #include "src/regexp/jsregexp.h"
16 #include "src/regexp/regexp-utils.h"
28 Node* RegExpBuiltinsAssembler::FastLoadLastIndex(Node* regexp) { argument
32 return LoadObjectField(regexp, field_offset);
35 Node* RegExpBuiltinsAssembler::SlowLoadLastIndex(Node* context, Node* regexp) { argument
39 return CallStub(getproperty_callable, context, regexp, name);
42 Node* RegExpBuiltinsAssembler::LoadLastIndex(Node* context, Node* regexp, argument
50 FastStoreLastIndex(Node* regexp, Node* value) argument
57 SlowStoreLastIndex(Node* context, Node* regexp, Node* value) argument
67 StoreLastIndex(Node* context, Node* regexp, Node* value, bool is_fastpath) argument
76 ConstructNewResultFromMatchInfo( Node* const context, Node* const regexp, Node* const match_info, Node* const string) argument
224 RegExpPrototypeExecBodyWithoutResult( Node* const context, Node* const regexp, Node* const string, Label* if_didnotmatch, const bool is_fastpath) argument
352 RegExpPrototypeExecBody(Node* const context, Node* const regexp, Node* const string, const bool is_fastpath) argument
543 FlagsGetter(Node* const context, Node* const regexp, bool is_fastpath) argument
680 RegExpInitialize(Node* const context, Node* const regexp, Node* const maybe_pattern, Node* const maybe_flags) argument
832 Node* const regexp = AllocateJSObjectFromMap(initial_map); local
840 Node* const regexp = constructor_assembler.EmitFastNewObject( local
998 FastFlagGetter(Node* const regexp, JSRegExp::Flag flag) argument
1009 SlowFlagGetter(Node* const context, Node* const regexp, JSRegExp::Flag flag) argument
1061 FlagGetter(Node* const context, Node* const regexp, JSRegExp::Flag flag, bool is_fastpath) argument
1243 RegExpExec(Node* context, Node* regexp, Node* string) argument
1563 RegExpPrototypeMatchBody(Node* const context, Node* const regexp, Node* const string, const bool is_fastpath) argument
1875 RegExpPrototypeSplitBody(Node* const context, Node* const regexp, Node* const string, Node* const limit) argument
2123 Node* const regexp = Parameter(Descriptor::kReceiver); local
2211 ReplaceGlobalCallableFastPath( Node* context, Node* regexp, Node* string, Node* replace_callable) argument
2418 ReplaceSimpleStringFastPath( Node* context, Node* regexp, Node* string, Node* replace_string) argument
2521 Node* const regexp = Parameter(Descriptor::kReceiver); local
2640 Node* const regexp = Parameter(1); local
[all...]
/external/icu/icu4c/source/i18n/
H A Duregex.cpp326 RegularExpression *regexp = (RegularExpression*)regexp2; local
328 if (validateRE(regexp, FALSE, status) == FALSE) {
332 *patLength = regexp->fPatStringLen;
334 return regexp->fPatString;
346 RegularExpression *regexp = (RegularExpression*)regexp2; local
347 return regexp->fPat->patternText(*status);
358 RegularExpression *regexp = (RegularExpression*)regexp2; local
359 if (validateRE(regexp, FALSE, status) == FALSE) {
362 int32_t flags = regexp->fPat->flags();
377 RegularExpression *regexp local
410 RegularExpression *regexp = (RegularExpression*)regexp2; local
440 RegularExpression *regexp = (RegularExpression*)regexp2; local
480 RegularExpression *regexp = (RegularExpression*)regexp2; local
497 RegularExpression *regexp = (RegularExpression*)regexp2; local
521 RegularExpression *regexp = (RegularExpression*)regexp2; local
551 RegularExpression *regexp = (RegularExpression*)regexp2; local
582 RegularExpression *regexp = (RegularExpression*)regexp2; local
605 RegularExpression *regexp = (RegularExpression*)regexp2; local
621 RegularExpression *regexp = (RegularExpression*)regexp2; local
640 RegularExpression *regexp = (RegularExpression*)regexp2; local
653 RegularExpression *regexp = (RegularExpression*)regexp2; local
671 RegularExpression *regexp = (RegularExpression*)regexp2; local
741 RegularExpression *regexp = (RegularExpression*)regexp2; local
766 RegularExpression *regexp = (RegularExpression*)regexp2; local
790 RegularExpression *regexp = (RegularExpression*)regexp2; local
814 RegularExpression *regexp = (RegularExpression*)regexp2; local
840 RegularExpression *regexp = (RegularExpression*)regexp2; local
859 RegularExpression *regexp = (RegularExpression*)regexp2; local
880 RegularExpression *regexp = (RegularExpression*)regexp2; local
902 RegularExpression *regexp = (RegularExpression*)regexp2; local
918 RegularExpression *regexp = (RegularExpression*)regexp2; local
935 RegularExpression *regexp = (RegularExpression*)regexp2; local
951 RegularExpression *regexp = (RegularExpression*)regexp2; local
968 RegularExpression *regexp = (RegularExpression*)regexp2; local
984 RegularExpression *regexp = (RegularExpression*)regexp2; local
1000 RegularExpression *regexp = (RegularExpression*)regexp2; local
1017 RegularExpression *regexp = (RegularExpression*)regexp2; local
1034 RegularExpression *regexp = (RegularExpression*)regexp2; local
1052 RegularExpression *regexp = (RegularExpression*)regexp2; local
1069 RegularExpression *regexp = (RegularExpression*)regexp2; local
1087 RegularExpression *regexp = (RegularExpression*)regexp2; local
1104 RegularExpression *regexp = (RegularExpression*)regexp2; local
1121 RegularExpression *regexp = (RegularExpression*)regexp2; local
1138 RegularExpression *regexp = (RegularExpression*)regexp2; local
1157 RegularExpression *regexp = (RegularExpression*)regexp2; local
1205 RegularExpression *regexp = (RegularExpression*)regexp2; local
1231 RegularExpression *regexp = (RegularExpression*)regexp2; local
1266 RegularExpression *regexp = (RegularExpression*)regexp2; local
1339 appendReplacement(RegularExpression *regexp, const UChar *replacementText, int32_t replacementLength, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1591 RegularExpression *regexp = (RegularExpression*)regexp2; local
1604 RegularExpression *regexp = (RegularExpression*)regexp2; local
1614 appendTail(RegularExpression *regexp, UChar **destBuf, int32_t *destCapacity, UErrorCode *status) argument
1744 RegularExpression *regexp = (RegularExpression*)regexp2; local
1756 RegularExpression *regexp = (RegularExpression*)regexp2; local
1804 split(RegularExpression *regexp, UChar *destBuf, int32_t destCapacity, int32_t *requiredCapacity, UChar *destFields[], int32_t destFieldsCapacity, UErrorCode *status) argument
1947 RegularExpression *regexp = (RegularExpression*)regexp2; local
1971 RegularExpression *regexp = (RegularExpression*)regexp2; local
[all...]
/external/autotest/server/site_tests/firmware_Cr50ConsoleCommands/
H A Dfirmware_Cr50ConsoleCommands.py65 def get_output(self, cmd, regexp, split_str, sort):
67 output = self.cr50.send_command_get_output(cmd, regexp)[0][1].strip()
101 def check_command(self, cmd, regexp, split_str, sort):
104 output = self.get_output(cmd, regexp, split_str, sort)
106 for regexp in expected_output:
107 match = re.search(regexp, output)
120 output, n = re.subn('%s\s*' % regexp, '', output, 1)
122 missing.append(regexp)
146 for command, regexp, split_str, sort in self.TESTS:
147 self.check_command(command, regexp, split_st
[all...]
/external/libxml2/
H A DtestAutomata.c38 xmlRegexpPtr regexp = NULL; local
171 regexp = xmlAutomataCompile(am);
174 if (regexp == NULL) {
180 if (regexp == NULL) {
184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
198 } else if (regexp != NULL) {
200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL);
209 if (regexp != NULL)
210 xmlRegFreeRegexp(regexp);
225 xmlRegexpPtr regexp; local
[all...]
/external/parameter-framework/upstream/tools/coverage/
H A Daplog2coverage.sh45 -e, --regexp A regex to filter (egrep) logs in order to keep only the PFW log lines
64 --longoptions "help,domains:,ouput:,regexp:,parser_option:,force" \
126 xargs --null grep --extended-regexp "$filterRegex" |
/external/v8/src/regexp/
H A Dregexp-utils.h15 // Helper methods for C++ regexp builtins.
25 Isolate* isolate, Handle<JSReceiver> regexp, int value);
31 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string,
47 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string,
H A Dregexp-utils.cc5 #include "src/regexp/regexp-utils.h"
10 #include "src/regexp/jsregexp.h"
69 Handle<JSReceiver> regexp,
75 Object::GetProperty(regexp, isolate->factory()->exec_string()), Object);
86 Execution::Call(isolate, exec, regexp, argc, argv.start()), Object);
96 if (!regexp->IsJSRegExp()) {
101 regexp),
112 return Execution::Call(isolate, regexp_exec, regexp, argc, argv.start());
174 Isolate* isolate, Handle<JSReceiver> regexp, Handl
68 RegExpExec(Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string, Handle<Object> exec) argument
173 SetAdvancedStringIndex( Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string, bool unicode) argument
[all...]
/external/autotest/server/cros/servo/
H A Dchrome_ec.py71 def set_uart_regexp(self, regexp):
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/python/cpython2/Tools/scripts/
H A 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/python/cpython3/Tools/scripts/
H A 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/chromium-trace/catapult/third_party/pyserial/serial/tools/
H A Dlist_ports.py36 def grep(regexp):
42 r = re.compile(regexp, re.I)
53 usage = "%prog [options] [<regexp>]",
82 parser.error('more than one regexp not supported')
83 print "Filtered list with regexp: %r" % (args[0],)
/external/llvm/utils/
H A DDSAextract.py64 for regexp in regexp_list:
67 if regexp.search(buffer):
/external/swiftshader/third_party/LLVM/utils/
H A DDSAextract.py64 for regexp in regexp_list:
67 if regexp.search(buffer):
/external/v8/src/runtime/
H A Druntime-regexp.cc11 #include "src/regexp/jsregexp-inl.h"
12 #include "src/regexp/jsregexp.h"
13 #include "src/regexp/regexp-utils.h"
484 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp,
489 int capture_count = regexp->CaptureCount();
498 // Shortcut for simple non-regexp global replacements
499 if (regexp->TypeTag() == JSRegExp::ATOM && simple_replace) {
502 isolate, subject, regexp, replacement, last_match_info);
505 isolate, subject, regexp, replacemen
[all...]
/external/python/cpython2/Tools/world/
H A Dworld122 def reverse(regexp):
124 cre = re.compile(regexp, re.IGNORECASE)
132 return regexp
135 print regexp, "matches code `%s', %s" % (code, all[code])
137 print regexp, 'matches %d countries:' % len(matches)
/external/v8/src/js/
H A Dstring.js45 var regexp = %RegExpCreate(pattern);
46 return regexp[matchSymbol](subject);
63 var regexp = %RegExpCreate(pattern);
64 return %_Call(regexp[searchSymbol], regexp, subject);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/
H A DResolverTest.java42 Pattern regexp = Pattern.compile("\\d\\d-\\d\\d-\\d\\d\\d");
43 yaml.addImplicitResolver(new Tag(Tag.PREFIX + "Phone"), regexp, "0123456789");
63 Pattern regexp = Pattern.compile("\\d\\d-\\d\\d-\\d\\d\\d");
64 yaml.addImplicitResolver(new Tag(Tag.PREFIX + "Phone"), regexp, "\0");
/external/libxml2/doc/
H A Dlibxml-doc.el38 ;; html-functions are excluded (C-h v libxmldoc-filter-regexp)
78 ;; libxmldoc-filter-regexp is non-nil.
103 (defvar libxmldoc-filter-regexp "^html\\|^\\*\\|^[A-Z_]+"
147 (if (or symbol (null libxmldoc-filter-regexp))
150 (not (libxmldoc-string-match-cs libxmldoc-filter-regexp
161 ;; (null libxmldoc-filter-regexp))
166 ;; libxmldoc-filter-regexp
174 (defun libxmldoc-string-match-cs(regexp str)
178 (string-match regexp str)))
207 (error "regexp erro
[all...]
/external/python/cpython2/Lib/lib2to3/tests/
H A Dtest_main.py24 def assertNotRegex(self, text, regexp, msg=None):
26 if not hasattr(regexp, 'search'):
27 regexp = re.compile(regexp)
28 if regexp.search(text):
29 self.fail("regexp %s MATCHED text %r" % (regexp.pattern, text))
/external/google-breakpad/src/tools/mac/upload_system_symbols/
H A Dupload_system_symbols.go55 "regexp"
86 blacklistRegexps = []*regexp.Regexp{
87 regexp.MustCompile(`/System/Library/Frameworks/Python\.framework/`),
88 regexp.MustCompile(`/System/Library/Frameworks/Ruby\.framework/`),
89 regexp.MustCompile(`_profile\.dylib$`),
90 regexp.MustCompile(`_debug\.dylib$`),
91 regexp.MustCompile(`\.a$`),
92 regexp.MustCompile(`\.dat$`),

Completed in 1325 milliseconds

12345