Home
last modified time | relevance | path

Searched refs:match (Results 1 - 25 of 4123) sorted by relevance

12345678910>>...165

/third_party/node/deps/v8/third_party/inspector_protocol/
H A Dpdl.py81 match = re.compile(
82 r'^(experimental )?(deprecated )?domain (.*)').match(line)
83 if match:
84 domain = createItem({'domain' : match.group(3)}, match.group(1),
85 match.group(2))
89 match = re.compile(r'^ depends on ([^\s]+)').match(line)
90 if match:
93 domain['dependencies'].append(match
[all...]
/third_party/node/tools/inspector_protocol/
H A Dpdl.py77 match = re.compile(r'^(experimental )?(deprecated )?domain (.*)').match(line)
78 if match:
79 domain = createItem({'domain' : match.group(3)}, match.group(1), match.group(2))
83 match = re.compile(r'^ depends on ([^\s]+)').match(line)
84 if match:
87 domain['dependencies'].append(match
[all...]
/base/startup/init/services/utils/
H A Dlist.c85 ListNode *match; in OH_ListAddWithOrder() local
91 match = head->next; in OH_ListAddWithOrder()
92 while ((match != NULL) && (match != head)) { in OH_ListAddWithOrder()
93 if (compareProc(match, item) > 0) { in OH_ListAddWithOrder()
96 match = match->next; in OH_ListAddWithOrder()
98 if (match == NULL) { in OH_ListAddWithOrder()
103 item->next = match; in OH_ListAddWithOrder()
104 item->prev = match in OH_ListAddWithOrder()
119 ListNode *match; OH_ListFind() local
154 ListNode *match; OH_ListTraversal() local
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnet_diag_wrapper.cpp134 std::smatch match; in GetRouteTable() local
135 if (!std::regex_search(line, match, routeRegex)) { in GetRouteTable()
138 ExtractRouteTableInfo(match, routeTables); in GetRouteTable()
178 std::smatch match; in GetSocketsInfo() local
179 if (std::regex_search(line, match, netProtoRegex)) { in GetSocketsInfo()
180 ExtractNetProtoSocketsInfo(match, socketsInfo); in GetSocketsInfo()
184 if (std::regex_search(line, match, unixRegex)) { in GetSocketsInfo()
185 ExtractUnixSocketsInfo(match, socketsInfo); in GetSocketsInfo()
210 std::smatch match; in GetInterfaceConfig() local
216 if (std::regex_search(line, match, nameRege in GetInterfaceConfig()
377 std::smatch match; ExtractPingResult() local
400 ExtractPingHeader(const std::smatch &match, NetDiagPingResult &pingResult) ExtractPingHeader() argument
419 ExtractIcmpSeqInfo(const std::smatch &match, NetDiagPingResult &pingResult) ExtractIcmpSeqInfo() argument
443 ExtractPingStatistics(const std::smatch &match, NetDiagPingResult &pingResult) ExtractPingStatistics() argument
457 ExtractRouteTableInfo(const std::smatch &match, std::list<NetDiagRouteTable> &routeTables) ExtractRouteTableInfo() argument
487 ExtractNetProtoSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo) ExtractNetProtoSocketsInfo() argument
518 ExtractUnixSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo) ExtractUnixSocketsInfo() argument
545 ExtractIfaceName(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo) ExtractIfaceName() argument
569 ExtractIfaceInet(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo) ExtractIfaceInet() argument
589 ExtractIfaceInet6(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo) ExtractIfaceInet6() argument
599 ExtractIfaceMtu(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo) ExtractIfaceMtu() argument
611 ExtractIfaceTxQueueLen(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo) ExtractIfaceTxQueueLen() argument
624 ExtractIfaceTransDataBytes(const std::smatch &match, NetDiagIfaceConfig &ifaceInfo) ExtractIfaceTransDataBytes() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DConfig.cpp237 bool match = true;
252 match = config.bufferSize >= attributeValue;
255 match = config.alphaSize >= attributeValue;
258 match = config.blueSize >= attributeValue;
261 match = config.greenSize >= attributeValue;
264 match = config.redSize >= attributeValue;
267 match = config.depthSize >= attributeValue;
270 match = config.stencilSize >= attributeValue;
273 match = config.configCaveat == static_cast<EGLenum>(attributeValue);
276 match
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dtrace-parser.py188 match = re.search(flush_batch_match, line)
189 if match is not None:
191 renderpass = RenderPass(cleared=match.group(2),
192 gmem_reason=match.group(3),
193 num_draws=match.group(4))
197 match = re.search(framebuffer_match, line)
198 if match is not None:
200 renderpass.fb = FramebufferState(width=match.group(1),
201 height=match.group(2),
202 layers=match
[all...]
/third_party/jerryscript/tests/jerry/
H A Dstring-prototype-match.js26 assert(Object.getOwnPropertyDescriptor(String.prototype.match, 'length').configurable === length_configurable());
27 assert(Object.getOwnPropertyDescriptor(String.prototype.match, 'length').enumerable === false);
28 assert(Object.getOwnPropertyDescriptor(String.prototype.match, 'length').writable === false);
48 assert (match_equals ("hello".match("o"), ["o"]));
49 assert ("hello".match(/ /g) == void 0);
51 assert (match_equals ("hello".match(/o/), ["o"]));
53 assert (match_equals ("hello".match(/l/), ["l"]));
54 assert (match_equals ("hello".match(/l/g), ["l", "l"]));
56 assert ("".match(/a/g) == void 0);
58 assert ("".match() !
[all...]
/third_party/python/Lib/test/
H A Dtest_re.py90 self.assertEqual(re.match('a*', 'xxx').span(0), (0, 0))
91 self.assertEqual(re.match('a*', 'xxx').span(), (0, 0))
92 self.assertEqual(re.match('x*', 'xxxa').span(0), (0, 3))
93 self.assertEqual(re.match('x*', 'xxxa').span(), (0, 3))
94 self.assertIsNone(re.match('a+', 'xxx'))
99 self.assertEqual(re.match('(ab|ba)', 'ab').span(), (0, 2))
100 self.assertEqual(re.match('(ab|ba)', 'ba').span(), (0, 2))
101 self.assertEqual(re.match('(abc|bac|ca|cb)', 'abc').span(),
103 self.assertEqual(re.match('(abc|bac|ca|cb)', 'bac').span(),
105 self.assertEqual(re.match('(ab
[all...]
H A Dtest_patma.py30 match x:
38 match x:
134 match 0:
140 match 0:
148 match 0:
157 match 0:
164 match 1:
171 match 2:
178 match 3:
185 match
[all...]
H A Dtest_exception_group.py334 with self.subTest(match=match_type):
367 match, rest = self.eg.split(E)
369 match, ExceptionGroup, self.eg_template)
373 match, rest = self.eg.split(OSError)
374 self.assertIsNone(match)
391 match, rest = eg.split(match_type)
392 self.assertEqual(match.message, eg.message)
394 match, ExceptionGroup, match_template)
403 match, rest = self.eg.split(lambda e: True)
404 self.assertMatchesTemplate(match, ExceptionGrou
[all...]
/third_party/skia/tools/skpbench/
H A D_benchresult.py38 def match(cls, text): member in BenchResult
39 match = cls.PATTERN.search(text)
40 return cls(match) if match else None
42 def __init__(self, match):
43 self.accum = float(match.group('accum'))
44 self.median = float(match.group('median'))
45 self.max = float(match.group('max'))
46 self.min = float(match.group('min'))
47 self.stddev = float(match
[all...]
/third_party/skia/infra/bots/gen_tasks_logic/
H A Ddm_flags.go861 // left here to match the recipe which has an indentation bug.
985 match := []string{}
987 match = append(match, "~Threaded")
992 match = append(match, "~multipicturedraw_")
996 match = append(match, "~WritePixels") // skia:4711
997 match = append(match, "~PremulAlphaRoundTrip_Gp
[all...]
/third_party/node/test/parallel/
H A Dtest-runner-cli.js19 assert.match(child.stderr.toString(), /^Could not find/);
23 // Default behavior. node_modules is ignored. Files that don't match the
32 assert.match(stdout, /ok 1 - this should pass/);
33 assert.match(stdout, /not ok 2 - this should fail/);
34 assert.match(stdout, /ok 3 - .+subdir.+subdir_test\.js/);
35 assert.match(stdout, /ok 4 - this should pass/);
36 assert.match(stdout, /ok 5 - this should be skipped/);
37 assert.match(stdout, /ok 6 - this should be executed/);
46 assert.match(stdout, /ok 1 - this should pass/);
47 assert.match(stdou
[all...]
/third_party/PyYAML/examples/pygments-lexer/
H A Dyaml.py34 def callback(lexer, match, context):
35 text = match.group()
38 yield match.start(), TokenClass, text
39 context.pos = match.end()
44 def callback(lexer, match, context):
45 text = match.group()
50 yield match.start(), TokenClass, text
51 context.pos = match.end()
56 def callback(lexer, match, context):
57 text = match
[all...]
/third_party/skia/modules/skparagraph/src/
H A DFontCollection.cpp180 sk_sp<SkTypeface> match = matchTypeface(familyName, fontStyle); local
181 if (match && fontArgs) {
182 match = CloneTypeface(match, fontArgs);
184 if (match) {
185 typefaces.emplace_back(std::move(match));
190 sk_sp<SkTypeface> match; local
192 match = matchTypeface(familyName, fontStyle);
193 if (match) {
194 match
231 std::shared_ptr<RSTypeface> match = matchTypeface(familyName, fontStyle); global() local
241 std::shared_ptr<RSTypeface> match; global() local
339 sk_sp<SkTypeface> match = sk_sp<SkTypeface>(fDefaultFontManager->matchFamilyStyle(familyName.c_str(), global() local
354 std::shared_ptr<RSTypeface> match = std::shared_ptr<RSTypeface>( global() local
[all...]
/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_filter.cpp93 MatchedDateTimeInfo match = (*matchIterator); in FilterByRules() local
97 if (match.GetBegin() >= clearMatch.GetBegin() && match.GetEnd() <= clearMatch.GetEnd()) { in FilterByRules()
123 MatchedDateTimeInfo match = (*matchIterator); in FilterByPast() local
125 if ((key < 200 && pastMatch.GetEnd() == match.GetBegin()) || in FilterByPast()
127 (key >= 200 && pastMatch.GetBegin() == match.GetEnd())) { in FilterByPast()
140 for (MatchedDateTimeInfo& match : matches) { in FilterOverlayFirst()
145 if (!(currentMatch.GetBegin() == match.GetBegin() && currentMatch.GetEnd() == match.GetEnd()) && in FilterOverlayFirst()
146 !(currentMatch.GetBegin() < match in FilterOverlayFirst()
220 MatchedDateTimeInfo match = matches[i]; FilterDate() local
260 DealMatchE(icu::UnicodeString& content, MatchedDateTimeInfo& nextMatch, MatchedDateTimeInfo& match) DealMatchE() argument
294 MatchedDateTimeInfo match = matches[matchIndex]; FilterDateTime() local
349 MatchedDateTimeInfo match = matches[matchIndex]; FilterPeriod() local
392 MatchedDateTimeInfo match = matches[matchIndex]; FilterDateTimePunc() local
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_getsrc_file.c54 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; in dwarf_getsrc_file() local
82 no match is performed. */ in dwarf_getsrc_file()
108 /* See whether line and possibly column match. */ in dwarf_getsrc_file()
112 /* Cannot match. */ in dwarf_getsrc_file()
115 /* Determine whether this is the best match so far. */ in dwarf_getsrc_file()
118 if (match[inner]->files == line->files in dwarf_getsrc_file()
119 && match[inner]->file == line->file) in dwarf_getsrc_file()
122 && (match[inner]->line != line->line in dwarf_getsrc_file()
123 || match[inner]->line != lineno in dwarf_getsrc_file()
125 && (match[inne in dwarf_getsrc_file()
[all...]
/third_party/elfutils/libdwfl/
H A Ddwfl_module_getsrc_file.c75 Dwfl_Line **match = *nsrcs == 0 ? NULL : *srcsp; in dwfl_module_getsrc_file() local
85 no match is performed. */ in dwfl_module_getsrc_file()
95 free (match); in dwfl_module_getsrc_file()
113 /* See whether line and possibly column match. */ in dwfl_module_getsrc_file()
117 /* Cannot match. */ in dwfl_module_getsrc_file()
120 /* Determine whether this is the best match so far. */ in dwfl_module_getsrc_file()
123 if (dwfl_line_file (match[inner]) in dwfl_module_getsrc_file()
127 && (dwfl_line (match[inner])->line != line->line in dwfl_module_getsrc_file()
128 || dwfl_line (match[inner])->line != lineno in dwfl_module_getsrc_file()
130 && (dwfl_line (match[inne in dwfl_module_getsrc_file()
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/config/spec-macros/
H A Dextension.rb90 match /can:(\w*)/
99 match /cannot:(\w*)/
108 match /may:(\w*)/
117 match /must:(\w*)/
126 match /optional:(\w*)/
135 match /optionally:(\w*)/
144 match /required:(\w*)/
153 match /should:(\w*)/
163 match /reflink:([-\w]+)/
169 match /apiex
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dstring-prototype-match.js16 [Symbol.match](str) {
17 var result = RegExp.prototype[Symbol.match].call(this, str);
28 assert(str.match(regexp) === 1);
31 String.prototype.match.call(null, regexp);
38 regexp2[Symbol.match] = "foo";
41 str.match(regexp2);
47 Object.defineProperty (regexp2, Symbol.match, { get () { throw 5 }});
50 str.match(regexp2);
56 var wrong_sytnax = "str.match(/[A-5]/g";
65 delete(RegExp.prototype[Symbol.match]);
[all...]
H A Dregexp-prototype-match.js20 var result = regexp[Symbol.match](str);
24 result = regexp[Symbol.match](str);
28 result = regexp[Symbol.match](str);
32 result = regexp[Symbol.match](str);
37 result = regexp[Symbol.match](num);
41 result = regexp[Symbol.match]('');
45 result = regexp[Symbol.match](undefined);
52 result = regexp[Symbol.match](str);
58 // Test with RegExp subclass where we override the [Symbol.match] function
60 [Symbol.match](st
[all...]
/third_party/alsa-lib/src/ucm/
H A Ducm_regex.c42 static char *extract_substring(const char *data, regmatch_t *match) in extract_substring() argument
47 len = match->rm_eo - match->rm_so; in extract_substring()
51 memcpy(s, data + match->rm_so, len); in extract_substring()
57 unsigned int match_size, regmatch_t *match, in set_variables()
66 if (match[0].rm_so < 0 || match[0].rm_eo < 0) in set_variables()
68 s = extract_substring(data, &match[0]); in set_variables()
76 if (match[0].rm_so < 0 || match[ in set_variables()
56 set_variables(snd_use_case_mgr_t *uc_mgr, const char *data, unsigned int match_size, regmatch_t *match, const char *name) set_variables() argument
97 regmatch_t match[20]; uc_mgr_define_regex() local
[all...]
/third_party/skia/experimental/tskit/go/gen_types/
H A Dgen_types.go82 if match := classDefinitionStart.FindStringSubmatch(line); match != nil {
84 name: match[1],
91 if match := privateExportLine.FindStringSubmatch(line); match != nil {
92 export := match[1]
99 if match := publicExportLine.FindStringSubmatch(line); match != nil {
100 export := match[1]
111 if match
[all...]
/third_party/python/Lib/html/
H A Dparser.py153 match = self.interesting.search(rawdata, i) # < or &
154 if match:
155 j = match.start()
169 if starttagopen.match(rawdata, i): # < + letter
200 match = charref.match(rawdata, i)
201 if match:
202 name = match.group()[2:-1]
204 k = match.end()
215 match
[all...]
/third_party/nghttp2/src/
H A Dshrpx_router_test.cc61 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
66 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
71 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
76 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
81 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
87 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match()
92 idx = router.match(StringRef::from_lit("www2.nghttp2.org"), in test_shrpx_router_match()
97 idx = router.match(StringRef{}, StringRef::from_lit("/alpha")); in test_shrpx_router_match()
118 CU_ASSERT(0 == router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match_wildcard()
121 CU_ASSERT(1 == router.match(StringRe in test_shrpx_router_match_wildcard()
[all...]

Completed in 14 milliseconds

12345678910>>...165