Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 3009) sorted by relevance

12345678910>>...121

/external/libxml2/result/pattern/
Dmultiple1 Node /c/b[1]/a[1] matches pattern a
2 Node /c/b[1]/a[2] matches pattern a
3 Node /c/c/b/a[1] matches pattern a
4 Node /c/c/b/a[2] matches pattern a
5 Node /c/b[2]/a[1] matches pattern a
6 Node /c/b[2]/a[2] matches pattern a
7 Node /c/b[1] matches pattern b
8 Node /c/c/b matches pattern b
9 Node /c/b[2] matches pattern b
10 Node /c matches pattern c
[all …]
Dconj1 Node /a matches pattern a|b
2 Node /a/b matches pattern a|b
3 Node /a/b/c[1]/b matches pattern a|b
4 Node /a/b/c[2]/b matches pattern a|b
5 Node /a/b/c[2]/c/b matches pattern a|b
6 Node /a/c/b matches pattern a|b
7 Node /a matches pattern a|c
8 Node /a/b/c[1] matches pattern a|c
9 Node /a/b/c[2] matches pattern a|c
10 Node /a/b/c[2]/c matches pattern a|c
[all …]
Dnamespaces1 Node /a matches pattern //a
2 Node /a/b:b/a matches pattern //a
3 Node /a/*[4]/a matches pattern //a
4 Node /a/a:a matches pattern //a:a
5 Node /a/b:b/a/a:a matches pattern //a:a
6 Node /a/*[4] matches pattern //a:a
7 Node /a/c:a matches pattern //a:a
8 Node /a/b matches pattern //b
9 Node /a/a:a/b:b matches pattern //b:b
10 Node /a/b:b matches pattern //b:b
[all …]
/external/ImageMagick/MagickCore/
Dtoken.c348 const char *pattern,const MagickBooleanType case_insensitive) in GlobExpression() argument
360 if (pattern == (char *) NULL) in GlobExpression()
362 if (GetUTFCode(pattern) == 0) in GlobExpression()
364 if (LocaleCompare(pattern,"*") == 0) in GlobExpression()
366 p=pattern+strlen(pattern)-1; in GlobExpression()
367 if ((GetUTFCode(p) == ']') && (strchr(pattern,'[') != (char *) NULL)) in GlobExpression()
379 (void) CopyMagickString(image_info->filename,pattern,MagickPathExtent); in GlobExpression()
383 if (LocaleCompare(image_info->filename,pattern) != 0) in GlobExpression()
394 while ((GetUTFCode(pattern) != 0) && (done == MagickFalse)) in GlobExpression()
397 if ((GetUTFCode(pattern) != '{') && (GetUTFCode(pattern) != '*')) in GlobExpression()
[all …]
/external/python/cpython3/Modules/
Dsre_lib.h202 LOCAL(Py_ssize_t) SRE(match)(SRE_STATE* state, SRE_CODE* pattern, int toplevel);
205 SRE(count)(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) in SRE()
217 switch (pattern[0]) { in SRE()
221 TRACE(("|%p|%p|COUNT IN\n", pattern, ptr)); in SRE()
222 while (ptr < end && SRE(charset)(state, pattern + 2, *ptr)) in SRE()
228 TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr)); in SRE()
236 TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr)); in SRE()
242 chr = pattern[1]; in SRE()
243 TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr)); in SRE()
256 chr = pattern[1]; in SRE()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DMathRuntimeException.java48 private final Localizable pattern; field in MathRuntimeException
64 public MathRuntimeException(final String pattern, final Object ... arguments) { in MathRuntimeException() argument
65 this(new DummyLocalizable(pattern), arguments); in MathRuntimeException()
76 public MathRuntimeException(final Localizable pattern, final Object ... arguments) { in MathRuntimeException() argument
77 this.pattern = pattern; in MathRuntimeException()
90 this.pattern = LocalizedFormats.SIMPLE_MESSAGE; in MathRuntimeException()
106 final String pattern, final Object ... arguments) { in MathRuntimeException() argument
107 this(rootCause, new DummyLocalizable(pattern), arguments); in MathRuntimeException()
121 final Localizable pattern, final Object ... arguments) { in MathRuntimeException() argument
123 this.pattern = pattern; in MathRuntimeException()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DUriPatternTypeTest.java26 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.SERVLET, "/foo/*"); in testMatches_servlet() local
27 assertTrue(pattern.matches("/foo/asdf")); in testMatches_servlet()
28 assertTrue(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
29 assertFalse(pattern.matches("/path/file.bar")); in testMatches_servlet()
30 assertFalse(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet()
31 assertFalse(pattern.matches("/asdf")); in testMatches_servlet()
32 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet()
34 pattern = UriPatternType.get(UriPatternType.SERVLET, "*.bar"); in testMatches_servlet()
35 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet()
36 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet()
[all …]
/external/python/cpython3/Lib/
Dre.py170 def match(pattern, string, flags=0): argument
173 return _compile(pattern, flags).match(string)
175 def fullmatch(pattern, string, flags=0): argument
178 return _compile(pattern, flags).fullmatch(string)
180 def search(pattern, string, flags=0): argument
183 return _compile(pattern, flags).search(string)
185 def sub(pattern, repl, string, count=0, flags=0): argument
192 return _compile(pattern, flags).sub(repl, string, count)
194 def subn(pattern, repl, string, count=0, flags=0): argument
203 return _compile(pattern, flags).subn(repl, string, count)
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreInstrFormats.td13 class InstXCore<dag outs, dag ins, string asmstr, list<dag> pattern>
21 let Pattern = pattern;
25 class PseudoInstXCore<dag outs, dag ins, string asmstr, list<dag> pattern>
26 : InstXCore<outs, ins, asmstr, pattern>;
32 class _F3R<dag outs, dag ins, string asmstr, list<dag> pattern>
33 : InstXCore<outs, ins, asmstr, pattern> {
37 class _FL3R<dag outs, dag ins, string asmstr, list<dag> pattern>
38 : InstXCore<outs, ins, asmstr, pattern> {
42 class _F2RUS<dag outs, dag ins, string asmstr, list<dag> pattern>
43 : InstXCore<outs, ins, asmstr, pattern> {
[all …]
/external/libchrome/base/test/
Dfontconfig_util_linux.cc40 <match target="pattern">
52 <match target="pattern">
61 <match target="pattern">
70 <match target="pattern">
81 <match target="pattern">
90 <match target="pattern">
99 <match target="pattern">
108 <match target="pattern">
117 <match target="pattern">
126 <match target="pattern">
[all …]
/external/pcre/dist2/src/
Dpcre2_convert.c125 convert_posix(uint32_t pattype, PCRE2_SPTR pattern, PCRE2_SIZE plength, in convert_posix() argument
130 PCRE2_SPTR posix = pattern; in convert_posix()
482 PCRE2_SPTR pattern = start; in convert_glob_parse_class() local
489 if (pattern >= pattern_end) return 0; in convert_glob_parse_class()
491 c = *pattern++; in convert_glob_parse_class()
496 if (c != CHAR_COLON || pattern >= pattern_end || in convert_glob_parse_class()
497 *pattern != CHAR_RIGHT_SQUARE_BRACKET) in convert_glob_parse_class()
507 pattern = start; in convert_glob_parse_class()
509 while (*pattern == (PCRE2_UCHAR) *class_ptr) in convert_glob_parse_class()
511 if (*pattern == CHAR_COLON) in convert_glob_parse_class()
[all …]
/external/libchrome/base/strings/
Dpattern.cc22 constexpr bool SearchForChars(const CHAR** pattern, in SearchForChars() argument
28 const CHAR* pattern_start = *pattern; in SearchForChars()
32 if (*pattern == pattern_end) { in SearchForChars()
39 if (!escape && IsWildcard(**pattern)) in SearchForChars()
44 if (!escape && **pattern == '\\') { in SearchForChars()
46 next(pattern, pattern_end); in SearchForChars()
56 const CHAR* pattern_next = *pattern; in SearchForChars()
61 *pattern = pattern_next; in SearchForChars()
79 *pattern = pattern_start; in SearchForChars()
90 constexpr int EatWildcards(const CHAR** pattern, const CHAR* end, NEXT next) { in EatWildcards() argument
[all …]
/external/curl/src/
Dtool_urlglob.c39 URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed()
87 char *pattern = *patternp; in glob_set() local
88 char *opattern = pattern; in glob_set()
91 pat = &glob->pattern[glob->size]; in glob_set()
100 switch (*pattern) { in glob_set()
109 if(opattern == pattern) in glob_set()
141 if(*pattern == '}') { in glob_set()
142 pattern++; /* pass the closing brace */ in glob_set()
148 ++pattern; in glob_set()
156 if(pattern[1]) { in glob_set()
[all …]
/external/python/cpython2/Lib/
Dre.py138 def match(pattern, string, flags=0): argument
141 return _compile(pattern, flags).match(string)
143 def search(pattern, string, flags=0): argument
146 return _compile(pattern, flags).search(string)
148 def sub(pattern, repl, string, count=0, flags=0): argument
155 return _compile(pattern, flags).sub(repl, string, count)
157 def subn(pattern, repl, string, count=0, flags=0): argument
166 return _compile(pattern, flags).subn(repl, string, count)
168 def split(pattern, string, maxsplit=0, flags=0): argument
171 return _compile(pattern, flags).split(string, maxsplit)
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonInstrFormatsV60.td43 list<dag> pattern = [], string cstr = "",
45 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA>,
49 list<dag> pattern = [], string cstr = "",
51 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA_DV>,
55 list<dag> pattern = [], string cstr = "",
57 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>,
61 list<dag> pattern = [], string cstr = "",
63 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>,
67 list<dag> pattern = [], string cstr = "",
69 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>,
[all …]
/external/llvm/lib/Target/XCore/
DXCoreInstrFormats.td13 class InstXCore<int sz, dag outs, dag ins, string asmstr, list<dag> pattern>
21 let Pattern = pattern;
27 class PseudoInstXCore<dag outs, dag ins, string asmstr, list<dag> pattern>
28 : InstXCore<0, outs, ins, asmstr, pattern> {
36 class _F3R<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
37 : InstXCore<2, outs, ins, asmstr, pattern> {
45 class _F3RImm<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
46 : _F3R<opc, outs, ins, asmstr, pattern> {
50 class _FL3R<bits<9> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
51 : InstXCore<4, outs, ins, asmstr, pattern> {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreInstrFormats.td13 class InstXCore<int sz, dag outs, dag ins, string asmstr, list<dag> pattern>
21 let Pattern = pattern;
27 class PseudoInstXCore<dag outs, dag ins, string asmstr, list<dag> pattern>
28 : InstXCore<0, outs, ins, asmstr, pattern> {
36 class _F3R<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
37 : InstXCore<2, outs, ins, asmstr, pattern> {
45 class _F3RImm<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
46 : _F3R<opc, outs, ins, asmstr, pattern> {
50 class _FL3R<bits<9> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
51 : InstXCore<4, outs, ins, asmstr, pattern> {
[all …]
/external/apache-http/src/org/apache/http/protocol/
DUriPatternMatcher.java66 public void register(final String pattern, final Object handler) { in register() argument
67 if (pattern == null) { in register()
73 this.handlerMap.put(pattern, handler); in register()
76 public void unregister(final String pattern) { in unregister() argument
77 if (pattern == null) { in unregister()
80 this.handlerMap.remove(pattern); in unregister()
107 String pattern = (String) it.next(); in lookup() local
108 if (matchUriRequestPattern(pattern, requestURI)) { in lookup()
111 || (bestMatch.length() < pattern.length()) in lookup()
112 || (bestMatch.length() == pattern.length() && pattern.endsWith("*"))) { in lookup()
[all …]
/external/openssh/
Dmatch.c57 match_pattern(const char *s, const char *pattern) in match_pattern() argument
61 if (!*pattern) in match_pattern()
64 if (*pattern == '*') { in match_pattern()
66 pattern++; in match_pattern()
69 if (!*pattern) in match_pattern()
73 if (*pattern != '?' && *pattern != '*') { in match_pattern()
80 if (*s == *pattern && in match_pattern()
81 match_pattern(s + 1, pattern + 1)) in match_pattern()
91 if (match_pattern(s, pattern)) in match_pattern()
104 if (*pattern != '?' && *pattern != *s) in match_pattern()
[all …]
/external/one-true-awk/
Dawkgram.y65 %type <p> pas pattern ppattern plist pplist patlist prarg term re
124 FOR '(' opt_simple_stmt ';' opt_nl pattern ';' opt_nl opt_simple_stmt rparen {inloop++;} stmt
138 IF '(' pattern rparen { $$ = notnull($3); }
171 pattern { $$ = notnull($1); }
194 pattern
195 | patlist comma pattern { $$ = linkum($1, $3); }
219 pattern:
220 var ASGNOP pattern { $$ = op2($2, $1, $3); }
221 | pattern '?' pattern ':' pattern %prec '?'
223 | pattern bor pattern %prec BOR
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePatternUtil.java55 public static MessageNode buildMessageNode(MessagePattern pattern) { in buildMessageNode() argument
56 int limit = pattern.countParts() - 1; in buildMessageNode()
59 } else if (pattern.getPartType(0) != MessagePattern.Part.Type.MSG_START) { in buildMessageNode()
63 return buildMessageNode(pattern, 0, limit); in buildMessageNode()
432 private static MessageNode buildMessageNode(MessagePattern pattern, int start, int limit) { in buildMessageNode() argument
433 int prevPatternIndex = pattern.getPart(start).getLimit(); in buildMessageNode()
436 MessagePattern.Part part = pattern.getPart(i); in buildMessageNode()
440 new TextNode(pattern.getPatternString().substring(prevPatternIndex, in buildMessageNode()
448 int argLimit = pattern.getLimitPartIndex(i); in buildMessageNode()
449 node.addContentsNode(buildArgNode(pattern, i, argLimit)); in buildMessageNode()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePatternUtil.java56 public static MessageNode buildMessageNode(MessagePattern pattern) { in buildMessageNode() argument
57 int limit = pattern.countParts() - 1; in buildMessageNode()
60 } else if (pattern.getPartType(0) != MessagePattern.Part.Type.MSG_START) { in buildMessageNode()
64 return buildMessageNode(pattern, 0, limit); in buildMessageNode()
460 private static MessageNode buildMessageNode(MessagePattern pattern, int start, int limit) { in buildMessageNode() argument
461 int prevPatternIndex = pattern.getPart(start).getLimit(); in buildMessageNode()
464 MessagePattern.Part part = pattern.getPart(i); in buildMessageNode()
468 new TextNode(pattern.getPatternString().substring(prevPatternIndex, in buildMessageNode()
476 int argLimit = pattern.getLimitPartIndex(i); in buildMessageNode()
477 node.addContentsNode(buildArgNode(pattern, i, argLimit)); in buildMessageNode()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430InstrFormats.td78 dag outs, dag ins, string asmstr, list<dag> pattern>
80 let Pattern = pattern;
93 dag outs, dag ins, string asmstr, list<dag> pattern>
94 : IForm<opcode, dest, 1, src, sz, outs, ins, asmstr, pattern>;
97 dag outs, dag ins, string asmstr, list<dag> pattern>
98 : IForm8<opcode, DstReg, SrcReg, Size2Bytes, outs, ins, asmstr, pattern>;
101 dag outs, dag ins, string asmstr, list<dag> pattern>
102 : IForm8<opcode, DstReg, SrcImm, Size4Bytes, outs, ins, asmstr, pattern>;
105 dag outs, dag ins, string asmstr, list<dag> pattern>
106 : IForm8<opcode, DstReg, SrcMem, Size4Bytes, outs, ins, asmstr, pattern>;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430InstrFormats.td78 dag outs, dag ins, string asmstr, list<dag> pattern>
80 let Pattern = pattern;
93 dag outs, dag ins, string asmstr, list<dag> pattern>
94 : IForm<opcode, dest, 1, src, sz, outs, ins, asmstr, pattern>;
97 dag outs, dag ins, string asmstr, list<dag> pattern>
98 : IForm8<opcode, DstReg, SrcReg, Size2Bytes, outs, ins, asmstr, pattern>;
101 dag outs, dag ins, string asmstr, list<dag> pattern>
102 : IForm8<opcode, DstReg, SrcImm, Size4Bytes, outs, ins, asmstr, pattern>;
105 dag outs, dag ins, string asmstr, list<dag> pattern>
106 : IForm8<opcode, DstReg, SrcMem, Size4Bytes, outs, ins, asmstr, pattern>;
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430InstrFormats.td78 dag outs, dag ins, string asmstr, list<dag> pattern>
80 let Pattern = pattern;
93 dag outs, dag ins, string asmstr, list<dag> pattern>
94 : IForm<opcode, dest, 1, src, sz, outs, ins, asmstr, pattern>;
97 dag outs, dag ins, string asmstr, list<dag> pattern>
98 : IForm8<opcode, DstReg, SrcReg, Size2Bytes, outs, ins, asmstr, pattern>;
101 dag outs, dag ins, string asmstr, list<dag> pattern>
102 : IForm8<opcode, DstReg, SrcImm, Size4Bytes, outs, ins, asmstr, pattern>;
105 dag outs, dag ins, string asmstr, list<dag> pattern>
106 : IForm8<opcode, DstReg, SrcMem, Size4Bytes, outs, ins, asmstr, pattern>;
[all …]

12345678910>>...121