/third_party/node/deps/v8/third_party/inspector_protocol/ |
H A D | pdl.py | 81 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 D | pdl.py | 77 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...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | trace-parser.py | 188 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/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Config.cpp | 237 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/python/Lib/test/ |
H A D | test_re.py | 90 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 D | test_patma.py | 30 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 D | test_exception_group.py | 334 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...] |
H A D | test_difflib.py | 513 match = sm.find_longest_match() 514 self.assertEqual(match.a, 0) 515 self.assertEqual(match.b, 0) 516 self.assertEqual(match.size, 6) 517 self.assertEqual(a[match.a: match.a + match.size], 518 b[match.b: match.b + match [all...] |
/third_party/skia/infra/bots/gen_tasks_logic/ |
H A D | dm_flags.go | 861 // 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/jerryscript/tests/jerry/ |
H A D | string-prototype-match.js | 26 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/node/test/parallel/ |
H A D | test-runner-cli.js | 19 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 D | yaml.py | 34 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/tools/skpbench/ |
H A D | _benchresult.py | 38 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/modules/skparagraph/src/ |
H A D | FontCollection.cpp | 180 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...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/config/spec-macros/ |
H A D | extension.rb | 90 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/elfutils/libdw/ |
H A D | dwarf_getsrc_file.c | 54 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 D | dwfl_module_getsrc_file.c | 75 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/python/Lib/html/ |
H A D | parser.py | 153 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/alsa-lib/src/ucm/ |
H A D | ucm_regex.c | 42 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/jerryscript/tests/jerry/es2015/ |
H A D | string-prototype-match.js | 16 [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...] |
/third_party/skia/experimental/tskit/go/gen_types/ |
H A D | gen_types.go | 82 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/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | macro_checker_file.py | 139 AttribData = namedtuple('AttribData', ['match', 'key', 'value']) 142 def makeAttribFromMatch(match): 143 """Turn a match of REF_PAGE_ATTRIB into an AttribData value.""" 144 return AttribData(match=match, key=match.group( 145 'key'), value=match.group('value')) 154 def regenerateIncludeFromMatch(match, generated_type): 155 """Create an include directive from an INCLUDE match and a (new or replacement) generated_type.""" 157 match [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 61 if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) && in simplifyValueKnownNonZero() 62 match(One, m_One())) { in simplifyValueKnownNonZero() 104 if (match(C, m_APInt(IVal)) && IVal->isPowerOf2()) in getLogBase2() 119 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2()) in getLogBase2() 138 if (match(&I, m_c_Mul(m_OneUse(m_Select(m_Value(Cond), m_One(), m_AllOnes())), in foldMulSelectToNegate() 144 if (match(&I, m_c_Mul(m_OneUse(m_Select(m_Value(Cond), m_AllOnes(), m_One())), in foldMulSelectToNegate() 150 if (match(&I, m_c_FMul(m_OneUse(m_Select(m_Value(Cond), m_SpecificFP(1.0), in foldMulSelectToNegate() 160 if (match(&I, m_c_FMul(m_OneUse(m_Select(m_Value(Cond), m_SpecificFP(-1.0), in foldMulSelectToNegate() 187 if (match(Op1, m_AllOnes())) { in visitMul() 199 if (match( in visitMul() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
H A D | Config.cpp | 364 bool match = true; 372 case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribIt->second; break; 373 case EGL_ALPHA_SIZE: match = config->mAlphaSize >= attribIt->second; break; 374 case EGL_BLUE_SIZE: match = config->mBlueSize >= attribIt->second; break; 375 case EGL_GREEN_SIZE: match = config->mGreenSize >= attribIt->second; break; 376 case EGL_RED_SIZE: match = config->mRedSize >= attribIt->second; break; 377 case EGL_DEPTH_SIZE: match = config->mDepthSize >= attribIt->second; break; 378 case EGL_STENCIL_SIZE: match = config->mStencilSize >= attribIt->second; break; 379 case EGL_CONFIG_CAVEAT: match = config->mConfigCaveat == (EGLenum)attribIt->second; break; 380 case EGL_CONFIG_ID: match [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_router_test.cc | 61 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...] |