/third_party/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 …]
|
/third_party/python/Modules/ |
D | sre_lib.h | 202 LOCAL(Py_ssize_t) SRE(match)(SRE_STATE* state, const SRE_CODE* pattern, int toplevel); 205 SRE(count)(SRE_STATE* state, const 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 …]
|
/third_party/gn/src/gn/ |
D | substitution_pattern_unittest.cc | 12 SubstitutionPattern pattern; in TEST() local 14 EXPECT_TRUE(pattern.Parse("This is a literal", nullptr, &err)); in TEST() 16 ASSERT_EQ(1u, pattern.ranges().size()); in TEST() 17 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[0].type); in TEST() 18 EXPECT_EQ("This is a literal", pattern.ranges()[0].literal); in TEST() 22 SubstitutionPattern pattern; in TEST() local 24 EXPECT_TRUE(pattern.Parse( in TEST() 27 ASSERT_EQ(5u, pattern.ranges().size()); in TEST() 29 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[0].type); in TEST() 30 EXPECT_EQ("AA", pattern.ranges()[0].literal); in TEST() [all …]
|
/third_party/node/deps/npm/node_modules/minimatch/ |
D | minimatch.js | 51 function filter (pattern, options) { argument 54 return minimatch(p, pattern, options) 76 var m = function minimatch (p, pattern, options) { argument 77 return orig.minimatch(p, pattern, ext(def, options)) 80 m.Minimatch = function Minimatch (pattern, options) { argument 81 return new orig.Minimatch(pattern, ext(def, options)) 92 function minimatch (p, pattern, options) { argument 93 if (typeof pattern !== 'string') { 100 if (!options.nocomment && pattern.charAt(0) === '#') { 105 if (pattern.trim() === '') return p === '' [all …]
|
/third_party/python/Lib/ |
D | re.py | 187 def match(pattern, string, flags=0): argument 190 return _compile(pattern, flags).match(string) 192 def fullmatch(pattern, string, flags=0): argument 195 return _compile(pattern, flags).fullmatch(string) 197 def search(pattern, string, flags=0): argument 200 return _compile(pattern, flags).search(string) 202 def sub(pattern, repl, string, count=0, flags=0): argument 209 return _compile(pattern, flags).sub(repl, string, count) 211 def subn(pattern, repl, string, count=0, flags=0): argument 220 return _compile(pattern, flags).subn(repl, string, count) [all …]
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_convert.c | 125 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 …]
|
/third_party/glib/glib/ |
D | gpattern.c | 76 gchar *pattern; member 86 const gchar *pattern, *string; in g_pattern_ph_match() local 89 pattern = match_pattern; in g_pattern_ph_match() 92 ch = *pattern; in g_pattern_ph_match() 93 pattern++; in g_pattern_ph_match() 108 ch = *pattern; in g_pattern_ph_match() 109 pattern++; in g_pattern_ph_match() 130 if (g_pattern_ph_match (pattern, string, &next_wildcard_reached)) in g_pattern_ph_match() 152 ch = *pattern; in g_pattern_ph_match() 153 pattern++; in g_pattern_ph_match() [all …]
|
/third_party/curl/src/ |
D | tool_urlglob.c | 40 struct URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed() 88 char *pattern = *patternp; in glob_set() local 89 char *opattern = pattern; in glob_set() 92 pat = &glob->pattern[glob->size]; in glob_set() 101 switch (*pattern) { in glob_set() 110 if(opattern == pattern) in glob_set() 142 if(*pattern == '}') { in glob_set() 143 pattern++; /* pass the closing brace */ in glob_set() 149 ++pattern; in glob_set() 157 if(pattern[1]) { in glob_set() [all …]
|
/third_party/nghttp2/src/ |
D | asio_server_serve_mux.cc | 38 bool serve_mux::handle(std::string pattern, request_cb cb) { in handle() argument 39 if (pattern.empty() || !cb) { in handle() 43 auto it = mux_.find(pattern); in handle() 50 if (pattern.size() >= 2 && pattern.back() == '/') { in handle() 51 auto redirect_pattern = pattern.substr(0, pattern.size() - 1); in handle() 55 if (pattern[0] == '/') { in handle() 56 path = pattern; in handle() 59 path = pattern.substr(pattern.find('/')); in handle() 65 pattern}); in handle() 68 false, redirect_handler(301, std::move(path)), pattern}; in handle() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430InstrFormats.td | 47 dag outs, dag ins, string asmstr, list<dag> pattern> 49 let Pattern = pattern; 64 dag outs, dag ins, string asmstr, list<dag> pattern> 65 : IForm<opcode, dest, 1, src, size, outs, ins, asmstr, pattern>; 68 dag outs, dag ins, string asmstr, list<dag> pattern> 69 : IForm8<opcode, DstReg, SrcReg, 2, outs, ins, asmstr, pattern> { 74 dag outs, dag ins, string asmstr, list<dag> pattern> 75 : IForm8<opcode, DstReg, SrcImm, 4, outs, ins, asmstr, pattern> { 83 dag outs, dag ins, string asmstr, list<dag> pattern> 86 let Pattern = pattern; [all …]
|
/third_party/gstreamer/gstplugins_good/gst/multifile/ |
D | patternspec.c | 44 gchar *pattern; member 58 register const gchar *pattern, *string; in pattern_ph_match() local 61 pattern = match_pattern; in pattern_ph_match() 64 ch = *pattern; in pattern_ph_match() 65 pattern++; in pattern_ph_match() 80 ch = *pattern; in pattern_ph_match() 81 pattern++; in pattern_ph_match() 105 if (pattern_ph_match (pattern, match_mode, string, in pattern_ph_match() 128 ch = *pattern; in pattern_ph_match() 129 pattern++; in pattern_ph_match() [all …]
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | py_pass.cc | 38 AnfNodePtr ProcessSinglePattern(const PatternPtr &pattern, const MatchResultPtr &res, const FuncGra… 40 AnfNodePtr BuildTarget(const PatternPtr &pattern, const FuncGraphPtr &func_graph, const FuncGraphPt… 58 AnfNodePtr BuildPrimitive(const PatternPtr &pattern) { in BuildPrimitive() argument 60 auto prim_pattern = pattern->cast<PrimPtr>(); in BuildPrimitive() 68 AnfNodePtr BuildNewTensor(const PatternPtr &pattern) { in BuildNewTensor() argument 70 auto new_tensor_pattern = pattern->cast<NewTensorPtr>(); in BuildNewTensor() 77 AnfNodePtr BuildPrimitiveValueNode(const PatternPtr &pattern, const MatchResultPtr &res, const Func… in BuildPrimitiveValueNode() argument 79 auto call_pattern = pattern->cast<CallPtr>(); in BuildPrimitiveValueNode() 90 AnfNodePtr BuildNewParameter(const PatternPtr &pattern, const MatchResultPtr &res, const FuncGraphP… in BuildNewParameter() argument 91 auto new_para_pattern = pattern->cast<NewParameterPtr>(); in BuildNewParameter() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreInstrFormats.td | 12 class InstXCore<int sz, dag outs, dag ins, string asmstr, list<dag> pattern> 20 let Pattern = pattern; 26 class PseudoInstXCore<dag outs, dag ins, string asmstr, list<dag> pattern> 27 : InstXCore<0, outs, ins, asmstr, pattern> { 35 class _F3R<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern> 36 : InstXCore<2, outs, ins, asmstr, pattern> { 44 class _F3RImm<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern> 45 : _F3R<opc, outs, ins, asmstr, pattern> { 49 class _FL3R<bits<9> opc, dag outs, dag ins, string asmstr, list<dag> pattern> 50 : InstXCore<4, outs, ins, asmstr, pattern> { [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessagePatternUtil.java | 56 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 …]
|
D | SelectFormat.java | 159 private String pattern = null; field in SelectFormat 171 public SelectFormat(String pattern) { in SelectFormat() argument 172 applyPattern(pattern); in SelectFormat() 179 pattern = null; in reset() 193 public void applyPattern(String pattern) { in applyPattern() argument 194 this.pattern = pattern; in applyPattern() 199 msgPattern.parseSelectStyle(pattern); in applyPattern() 213 return pattern; in toPattern() 223 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 224 int count=pattern.countParts(); in findSubMessage() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | MessagePatternUtil.java | 55 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 …]
|
D | SelectFormat.java | 158 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() 190 public void applyPattern(String pattern) { in applyPattern() argument 191 this.pattern = pattern; in applyPattern() 196 msgPattern.parseSelectStyle(pattern); in applyPattern() 209 return pattern; in toPattern() 219 /*package*/ static int findSubMessage(MessagePattern pattern, int partIndex, String keyword) { in findSubMessage() argument 220 int count=pattern.countParts(); in findSubMessage() [all …]
|
/third_party/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 …]
|
/third_party/flutter/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 …]
|
/third_party/python/Lib/distutils/ |
D | filelist.py | 117 for pattern in patterns: 118 if not self.include_pattern(pattern, anchor=1): 120 pattern) 124 for pattern in patterns: 125 if not self.exclude_pattern(pattern, anchor=1): 127 "found matching '%s'"), pattern) 131 for pattern in patterns: 132 if not self.include_pattern(pattern, anchor=0): 134 "anywhere in distribution"), pattern) 138 for pattern in patterns: [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/ |
D | operand.cpp | 223 spv_operand_pattern_t* pattern) { in spvPushOperandTypes() argument 228 pattern->push_back(*endTypes); in spvPushOperandTypes() 235 spv_operand_pattern_t* pattern) { in spvPushOperandTypesForMask() argument 243 spvPushOperandTypes(entry->operandTypes, pattern); in spvPushOperandTypesForMask() 265 spv_operand_pattern_t* pattern) { in spvExpandOperandSequenceOnce() argument 268 pattern->push_back(type); in spvExpandOperandSequenceOnce() 269 pattern->push_back(SPV_OPERAND_TYPE_OPTIONAL_ID); in spvExpandOperandSequenceOnce() 272 pattern->push_back(type); in spvExpandOperandSequenceOnce() 273 pattern->push_back(SPV_OPERAND_TYPE_OPTIONAL_LITERAL_INTEGER); in spvExpandOperandSequenceOnce() 278 pattern->push_back(type); in spvExpandOperandSequenceOnce() [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | operand_pattern_test.cpp | 32 spv_operand_pattern_t pattern; in TEST() local 34 pattern.push_back(SPV_OPERAND_TYPE_ID); in TEST() 35 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID})); in TEST() 36 EXPECT_EQ(1u, pattern.size()); in TEST() 37 EXPECT_TRUE(!pattern.empty()); in TEST() 38 EXPECT_EQ(SPV_OPERAND_TYPE_ID, pattern.back()); in TEST() 40 pattern.push_back(SPV_OPERAND_TYPE_NONE); in TEST() 41 EXPECT_THAT(pattern, Eq(spv_operand_pattern_t{SPV_OPERAND_TYPE_ID, in TEST() 43 EXPECT_EQ(2u, pattern.size()); in TEST() 44 EXPECT_TRUE(!pattern.empty()); in TEST() [all …]
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cmsgtst.c | 282 UChar pattern[100], expected[100]; in TestSampleMessageFormat() local 292 u_uastrcpy(pattern, "There are {0} files on {1,date}"); in TestSampleMessageFormat() 297 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &statu… in TestSampleMessageFormat() 303 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, d); in TestSampleMessageFormat() 317 u_uastrcpy(pattern, "The disk \"{0}\" contains {1,number,integer} file(s)"); in TestSampleMessageFormat() 322 pattern, in TestSampleMessageFormat() 323 u_strlen(pattern), in TestSampleMessageFormat() 334 … u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, str, 23); in TestSampleMessageFormat() 349 u_uastrcpy(pattern, "You made a {0} of {1,number,currency}"); in TestSampleMessageFormat() 353 …resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status,… in TestSampleMessageFormat() [all …]
|