/external/ltrace/testsuite/ltrace.main/ |
D | parameters.exp | 39 set pattern "func_intptr(17)" 40 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 41 set pattern "func_intptr_ret(42)" 42 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 43 set pattern "func_strlen(\\\"Hello world\\\") *= *11" 44 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 45 set pattern "func_arg0(\\\"Hello another world!\\\") *= *20" 46 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 47 set pattern "func_strfixed(\\\"Hell\\\")" 48 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 1 [all …]
|
/external/libxml2/result/pattern/ |
D | multiple | 1 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 …]
|
D | conj | 1 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 …]
|
D | namespaces | 1 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/apache-commons-math/src/main/java/org/apache/commons/math/ |
D | MathRuntimeException.java | 48 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 …]
|
D | MathException.java | 47 private final Localizable pattern; field in MathException 59 this.pattern = LocalizedFormats.SIMPLE_MESSAGE; in MathException() 72 public MathException(String pattern, Object ... arguments) { in MathException() argument 73 this(new DummyLocalizable(pattern), arguments); in MathException() 84 public MathException(Localizable pattern, Object ... arguments) { in MathException() argument 85 this.pattern = pattern; in MathException() 98 this.pattern = LocalizedFormats.SIMPLE_MESSAGE; in MathException() 114 public MathException(Throwable rootCause, String pattern, Object ... arguments) { in MathException() argument 115 this(rootCause, new DummyLocalizable(pattern), arguments); in MathException() 128 public MathException(Throwable rootCause, Localizable pattern, Object ... arguments) { in MathException() argument [all …]
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | UriPatternTypeTest.java | 25 UriPatternMatcher pattern = UriPatternType.get(UriPatternType.SERVLET, "/foo/*"); in testMatches_servlet() local 26 assertTrue(pattern.matches("/foo/asdf")); in testMatches_servlet() 27 assertTrue(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet() 28 assertFalse(pattern.matches("/path/file.bar")); in testMatches_servlet() 29 assertFalse(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet() 30 assertFalse(pattern.matches("/asdf")); in testMatches_servlet() 31 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet() 33 pattern = UriPatternType.get(UriPatternType.SERVLET, "*.bar"); in testMatches_servlet() 34 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet() 35 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet() [all …]
|
/external/ltrace/testsuite/ltrace.minor/ |
D | count-record.exp | 48 set pattern " 1 rmdir" 49 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 50 set pattern " 1 fopen" 51 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 52 set pattern " 2 remove" 53 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 54 set pattern " 1 mkdir" 55 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern 56 set pattern " 1 fseek" 57 ltrace_verify_output ${objdir}/${subdir}/${testfile}.ltrace $pattern [all …]
|
/external/libchrome/base/strings/ |
D | pattern.cc | 19 static void EatSameChars(const CHAR** pattern, const CHAR* pattern_end, in EatSameChars() argument 23 while (*pattern != pattern_end && *string != string_end) { in EatSameChars() 24 if (!escape && IsWildcard(**pattern)) { in EatSameChars() 31 if (!escape && **pattern == '\\') { in EatSameChars() 32 escape = *pattern; in EatSameChars() 33 next(pattern, pattern_end); in EatSameChars() 38 const CHAR* pattern_next = *pattern; in EatSameChars() 43 *pattern = pattern_next; in EatSameChars() 52 *pattern = escape; in EatSameChars() 62 static void EatWildcard(const CHAR** pattern, const CHAR* end, NEXT next) { in EatWildcard() argument [all …]
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | UriPatternType.java | 29 static UriPatternMatcher get(UriPatternType type, String pattern) { in get() argument 32 return new ServletStyleUriPatternMatcher(pattern); in get() 34 return new RegexUriPatternMatcher(pattern); in get() 55 private final String pattern; field in UriPatternType.ServletStyleUriPatternMatcher 60 public ServletStyleUriPatternMatcher(String pattern) { in ServletStyleUriPatternMatcher() argument 61 if (pattern.startsWith("*")) { in ServletStyleUriPatternMatcher() 62 this.pattern = pattern.substring(1); in ServletStyleUriPatternMatcher() 64 } else if (pattern.endsWith("*")) { in ServletStyleUriPatternMatcher() 65 this.pattern = pattern.substring(0, pattern.length() - 1); in ServletStyleUriPatternMatcher() 68 this.pattern = pattern; in ServletStyleUriPatternMatcher() [all …]
|
/external/apache-http/src/org/apache/http/protocol/ |
D | UriPatternMatcher.java | 66 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/llvm/lib/Target/Hexagon/ |
D | HexagonInstrFormatsV60.td | 43 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/ |
D | XCoreInstrFormats.td | 13 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/mesa3d/src/gallium/drivers/radeon/ |
D | SIInstrFormats.td | 25 class VOP3_32 <bits<9> op, string opName, list<dag> pattern> 26 …:$src1, AllReg_32:$src2, i32imm:$src3, i32imm:$src4, i32imm:$src5, i32imm:$src6), opName, pattern>; 28 class VOP3_64 <bits<9> op, string opName, list<dag> pattern> 29 …:$src1, AllReg_64:$src2, i32imm:$src3, i32imm:$src4, i32imm:$src5, i32imm:$src6), opName, pattern>; 32 class SOP1_32 <bits<8> op, string opName, list<dag> pattern> 33 : SOP1 <op, (outs SReg_32:$dst), (ins SReg_32:$src0), opName, pattern>; 35 class SOP1_64 <bits<8> op, string opName, list<dag> pattern> 36 : SOP1 <op, (outs SReg_64:$dst), (ins SReg_64:$src0), opName, pattern>; 38 class SOP2_32 <bits<7> op, string opName, list<dag> pattern> 39 : SOP2 <op, (outs SReg_32:$dst), (ins SReg_32:$src0, SReg_32:$src1), opName, pattern>; [all …]
|
/external/curl/src/ |
D | tool_urlglob.c | 39 URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed() 83 char *pattern = *patternp; in glob_set() local 84 char *opattern = pattern; in glob_set() 87 pat = &glob->pattern[glob->size]; in glob_set() 96 switch (*pattern) { in glob_set() 105 if(opattern == pattern) in glob_set() 137 if(*pattern == '}') { in glob_set() 138 pattern++; /* pass the closing brace */ in glob_set() 144 ++pattern; in glob_set() 152 if(pattern[1]) { in glob_set() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessagePatternUtil.java | 54 public static MessageNode buildMessageNode(MessagePattern pattern) { in buildMessageNode() argument 55 int limit = pattern.countParts() - 1; in buildMessageNode() 58 } else if (pattern.getPartType(0) != MessagePattern.Part.Type.MSG_START) { in buildMessageNode() 62 return buildMessageNode(pattern, 0, limit); in buildMessageNode() 458 private static MessageNode buildMessageNode(MessagePattern pattern, int start, int limit) { in buildMessageNode() argument 459 int prevPatternIndex = pattern.getPart(start).getLimit(); in buildMessageNode() 462 MessagePattern.Part part = pattern.getPart(i); in buildMessageNode() 466 new TextNode(pattern.getPatternString().substring(prevPatternIndex, in buildMessageNode() 474 int argLimit = pattern.getLimitPartIndex(i); in buildMessageNode() 475 node.addContentsNode(buildArgNode(pattern, i, argLimit)); in buildMessageNode() [all …]
|
D | SelectFormat.java | 157 private String pattern = null; field in SelectFormat 169 public SelectFormat(String pattern) { in SelectFormat() argument 170 applyPattern(pattern); in SelectFormat() 177 pattern = null; in reset() 191 public void applyPattern(String pattern) { in applyPattern() argument 192 this.pattern = pattern; in applyPattern() 197 msgPattern.parseSelectStyle(pattern); in applyPattern() 211 return pattern; in toPattern() 221 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 222 int count=pattern.countParts(); in findSubMessage() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessagePatternUtil.java | 53 public static MessageNode buildMessageNode(MessagePattern pattern) { in buildMessageNode() argument 54 int limit = pattern.countParts() - 1; in buildMessageNode() 57 } else if (pattern.getPartType(0) != MessagePattern.Part.Type.MSG_START) { in buildMessageNode() 61 return buildMessageNode(pattern, 0, limit); in buildMessageNode() 422 private static MessageNode buildMessageNode(MessagePattern pattern, int start, int limit) { in buildMessageNode() argument 423 int prevPatternIndex = pattern.getPart(start).getLimit(); in buildMessageNode() 426 MessagePattern.Part part = pattern.getPart(i); in buildMessageNode() 430 new TextNode(pattern.getPatternString().substring(prevPatternIndex, in buildMessageNode() 438 int argLimit = pattern.getLimitPartIndex(i); in buildMessageNode() 439 node.addContentsNode(buildArgNode(pattern, i, argLimit)); in buildMessageNode() [all …]
|
D | SelectFormat.java | 156 private String pattern = null; field in SelectFormat 167 public SelectFormat(String pattern) { in SelectFormat() argument 168 applyPattern(pattern); in SelectFormat() 175 pattern = null; in reset() 188 public void applyPattern(String pattern) { in applyPattern() argument 189 this.pattern = pattern; in applyPattern() 194 msgPattern.parseSelectStyle(pattern); in applyPattern() 207 return pattern; in toPattern() 217 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 218 int count=pattern.countParts(); in findSubMessage() [all …]
|
/external/messageformat/java/com/ibm/icu/text/ |
D | SelectFormat.java | 158 private String pattern = null; field in SelectFormat 170 public SelectFormat(String pattern) { in SelectFormat() argument 171 applyPattern(pattern); in SelectFormat() 178 pattern = null; in reset() 192 public void applyPattern(String pattern) { in applyPattern() argument 193 this.pattern = pattern; in applyPattern() 198 msgPattern.parseSelectStyle(pattern); in applyPattern() 212 return pattern; in toPattern() 222 public static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 223 int count=pattern.countParts(); in findSubMessage() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430InstrFormats.td | 78 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/skia/tests/ |
D | RecordPatternTest.cpp | 22 SaveClipRectRestore pattern; in DEF_TEST() local 25 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 31 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 34 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 37 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST() 38 REPORTER_ASSERT(r, pattern.first<Save>() != nullptr); in DEF_TEST() 39 REPORTER_ASSERT(r, pattern.second<ClipRect>() != nullptr); in DEF_TEST() 40 REPORTER_ASSERT(r, pattern.third<Restore>() != nullptr); in DEF_TEST() 44 SaveClipRectRestore pattern; in DEF_TEST() local 59 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST() [all …]
|
/external/pcre/dist/ |
D | perltest.pl | 73 $pattern = $_; 75 while ($pattern !~ /^\s*(.).*\1/s) 80 $pattern .= $_; 83 chomp($pattern); 84 $pattern =~ s/\s+$//; 88 $showrest = ($pattern =~ s/\+(?=[a-zA-Z]*$)//); 92 $pattern =~ s/\+(?=[a-zA-Z]*$)//; 96 $utf8 = $pattern =~ s/8(?=[a-zA-Z]*$)//; 100 $pattern =~ s/J(?=[a-zA-Z]*$)//; 104 $pattern =~ s/K(?=[a-zA-Z]*$)//; [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
D | wizard.rb | 145 def initialize( pattern ) argument 146 @pattern = pattern.to_s 147 @scanner = StringScanner.new( pattern ) 156 type, = PATTERNS.find do |type, pattern| 157 @scanner.scan( pattern ) 186 def self.parse( pattern, token_scheme, adaptor ) argument 187 lexer = PatternLexer.new( pattern ) 188 new( lexer, token_scheme, adaptor ).pattern 200 def pattern method in ANTLR3.AST.Wizard.PatternParser 337 def create( pattern ) argument [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cmsgtst.c | 276 UChar pattern[100], expected[100]; in TestSampleMessageFormat() local 286 u_uastrcpy(pattern, "There are {0} files on {1,date}"); in TestSampleMessageFormat() 291 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &statu… in TestSampleMessageFormat() 297 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d); in TestSampleMessageFormat() 311 u_uastrcpy(pattern, "The disk \"{0}\" contains {1,number,integer} file(s)"); in TestSampleMessageFormat() 316 pattern, in TestSampleMessageFormat() 317 u_strlen(pattern), in TestSampleMessageFormat() 328 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23); in TestSampleMessageFormat() 343 u_uastrcpy(pattern, "You made a {0} of {1,number,currency}"); in TestSampleMessageFormat() 347 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status,… in TestSampleMessageFormat() [all …]
|