Home
last modified time | relevance | path

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

12345678910>>...125

/third_party/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 …]
/third_party/python/Modules/
Dsre_lib.h202 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/
Dsubstitution_pattern_unittest.cc12 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/
Dminimatch.js51 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/
Dre.py187 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/
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 …]
/third_party/glib/glib/
Dgpattern.c76 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/
Dtool_urlglob.c40 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/
Dasio_server_serve_mux.cc38 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/
DMSP430InstrFormats.td47 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/
Dpatternspec.c44 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/
Dpy_pass.cc38 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/
DXCoreInstrFormats.td12 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/
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 …]
DSelectFormat.java159 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/
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 …]
DSelectFormat.java158 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/
DRecordPatternTest.cpp22 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/
DRecordPatternTest.cpp22 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/
Dfilelist.py117 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/
Doperand.cpp223 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/
Doperand_pattern_test.cpp32 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/
Dcmsgtst.c282 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 …]

12345678910>>...125