/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | unicodestring_test.cc | 103 s.replace(0, 0, UnicodeString("")); in TEST() 109 s.replace(0, 5, UnicodeString("")); in TEST() 115 s.replace(0, 5, UnicodeString("HELLO")); in TEST() 121 s.replace(5, 1, UnicodeString("AB")); in TEST() 127 s.replace(10, 1, UnicodeString("AB")); in TEST() 133 s.replace(3, 2, UnicodeString("\xEF\xBC\x91\xEF\xBC\x90" /* 10 */)); in TEST()
|
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/ |
H A D | glcpp_test.py | 83 actual = actual.replace('$end', 'end of file') 122 def _replace_test(args, replace): 137 contents = contents.replace('\n', replace).encode('utf-8') 139 args.glcpp, contents, testfile + '.expected', nl_format=replace)
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | optimize.c | 126 gpir_node *replace = NULL; in optimize_not() local 130 replace = child->children[0]; in optimize_not() 146 replace = &new->node; in optimize_not() 149 if (replace) { in optimize_not() 150 gpir_node_replace_succ(replace, node); in optimize_not()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | bash.rs | 64 cmd = bin_name.replace('-', "__"), 86 cmd_name = cmd.get_name().to_string().replace('-', "__") in all_subcommands() 105 let fn_name = cmd.get_name().replace('-', "__"); in all_subcommands() 129 .map(|x| x.1.replace(' ', "__")) in subcommand_details() 150 subcmd = sc.replace('-', "__"), in subcommand_details()
|
/third_party/python/Tools/i18n/ |
H A D | makelocalealias.py | 50 encoding = encoding.replace('-', '') 51 encoding = encoding.replace('_', '') 67 line = line.replace('/', ' ').strip() 78 encoding = encoding.replace('-', '') 79 encoding = encoding.replace('_', '')
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | gen_blit11helper.py | 154 filename=blitshader[2].replace("*", dimension.lower())) 185 compiled_shader_name = blitshader[1].replace("*", dimension) 187 shader_comment = compiled_shader_name.replace("_", " ") 201 return "shaders/compiled/" + blitshader[2].replace("*", dimension.lower()) + "," 279 (" \"d3d11/shaders/compiled/{0}\",").format(blitshader[2].replace(
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
H A D | fixupRef.py | 7 # fixupRef.py - replace old // refBegin .. // refEnd syntax with new 25 return str.replace("'", "\'") 74 # 'replace': True if this line needs to be replaced 94 'replace' : True, 101 'replace' : False, 109 'replace' : True, 116 'replace' : False, 138 replace = actions[line]['replace'] 141 logDiag('ACTION:', action, 'REPLACE:', replace, 'a [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | source_helpers.js | 154 loadValue = loadValue.replace(/\\/g, fsPath.sep); 185 return code.replace(/%(\w+)\(/g, V8_BUILTIN_PREFIX + '$1('); 189 return code.replace(V8_REPLACE_BUILTIN_REGEXP, '%$1('); 361 function replace(string) { 362 return string.replace(/[Aa]ssert/g, '*****t'); 366 path.node.value = replace(path.node.value); 367 path.node.extra.raw = replace(path.node.extra.raw); 368 path.node.extra.rawValue = replace(path.node.extra.rawValue); 371 path.node.value.cooked = replace(path.node.value.cooked); 372 path.node.value.raw = replace(pat [all...] |
/third_party/node/deps/npm/node_modules/npm-package-arg/lib/ |
H A D | npa.js | 101 let purl = 'pkg:npm/' + res.name.replace(/^@/, '%40') + '@' + res.rawSpec 164 this.escapedName = name.replace('/', '%2f') 245 let rawNoPrefix = rawWithPrefix.replace(/^file:/, '') 261 const rawSpec = res.rawSpec.replace(/^file:\/\//, 'file:///') 264 rawNoPrefix = rawSpec.replace(/^file:/, '') 270 const rawSpec = res.rawSpec.replace(/^file:\/{1,3}/, 'file:') 273 rawNoPrefix = rawSpec.replace(/^file:/, '') 281 specPath = specPath.replace(/^\/+([a-z]:\/)/i, '$1') 282 resolvedPath = resolvedPath.replace(/^\/+([a-z]:\/)/i, '$1') 285 // replace ~ wit [all...] |
/third_party/python/Lib/ |
H A D | locale.py | 302 s = s.replace('<', sign) 304 s = s.replace('>', sign) 310 return s.replace('<', '').replace('>', '') 324 string = string.replace(ts, '') 326 #next, replace the decimal point with a dot 329 string = string.replace(dd, '.') 378 norm_encoding = norm_encoding.replace('_', '') 379 norm_encoding = norm_encoding.replace('-', '') 416 code = code.replace(' [all...] |
/third_party/python/Lib/test/ |
H A D | test_code.py | 195 return c.replace(co_freevars=c.co_freevars + ('__class__',), co_code=bytes([COPY_FREE_VARS, 1])+c.co_code) 281 new_code = code.replace(**{attr: value}) 284 new_code = code.replace(co_varnames=code2.co_varnames, 320 # Then we try the replace method. 322 co.replace(co_nlocals=co.co_nlocals - 1) 324 co.replace(co_nlocals=co.co_nlocals + 1) 332 newcode = code.replace(co_name="func") # Should not raise SystemError 338 new_code = code = func.__code__.replace(co_linetable=b'') 426 new_code = func.__code__.replace(co_linetable=b'') 443 code_b = code_a.replace(co_linetabl [all...] |
/third_party/node/deps/npm/test/fixtures/ |
H A D | sandbox.js | 45 // we can't just replace these values everywhere because they're known to be 47 // replace them if they're located within quotes for now 54 .replace(/\r\n/g, '\n') // normalize line endings (for ini) 55 .replace(/[A-z]:\\/g, '\\') // turn windows roots to posix ones 56 .replace(/\\+/g, '/') // replace \ with / 135 // and finally replace some paths we know could be present 137 .replace(viewer, '"{VIEWER}"$1') 144 .replace(cache, '{CACHE}$1') 150 .replace(ne [all...] |
/third_party/node/test/parallel/ |
H A D | test-repl-pretty-custom-stack.js | 16 outputStream.write = (data) => accum += data.replace('\r', ''); 28 accum.replace(stackRegExp, '$1:*:*'), 29 expected.replace(stackRegExp, '$1:*:*')
|
H A D | test-repl-pretty-stack.js | 16 outputStream.write = (data) => accum += data.replace('\r', ''); 30 accum.replace(stackRegExp, '$1*:*'), 31 expected.replace(stackRegExp, '$1*:*')
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_renames.py | 23 for module, replace in list(MAPPING.items()): 24 for old_attr, new_attr in list(replace.items()): 60 # self.replace = {} 70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
|
H A D | fix_next.py | 55 attr.replace(Name("__next__", prefix=attr.prefix)) 59 node.replace(Call(Name("next", prefix=node.prefix), base)) 62 name.replace(n) 72 attr.replace(Name("__next__"))
|
/third_party/python/Modules/_blake2/ |
H A D | blake2b2s.py | 39 line = line.replace('blake2b', 'blake2s') 40 line = line.replace('BLAKE2b', 'BLAKE2s') 41 line = line.replace('BLAKE2B', 'BLAKE2S')
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/ |
H A D | setup.py | 21 output = source.replace(".proto", "_pb2.py").replace("protos/src/proto/", "").replace("protos/python/", "")
|
/third_party/python/Lib/turtledemo/ |
H A D | lindenmayer.py | 30 def replace( seq, replacementRules, n ): function 68 drawing = replace(snake_start, snake_replacementRules, 3) 111 drawing = replace(krishna_start, krishna_replacementRules, 3)
|
/third_party/astc-encoder/Test/ |
H A D | astc_profile_valgrind.py | 56 cost = float(match.group(1).replace(",", "")) 121 with open("perf_%s_cga.txt" % quality.replace("-", ""), "w") as handle: 124 postprocess_cga(lines, "perf_%s.txt" % quality.replace("-", "")) 135 args = ["dot", "-Tpng", "out.dot", "-o", "perf_%s.png" % quality.replace("-", "")]
|
/third_party/node/deps/npm/node_modules/@colors/colors/lib/ |
H A D | colors.js | 56 return ('' + str).replace(/\x1B\[\d+m/g, ''); 82 return str.replace(matchOperatorsRe, '\\$&'); 136 str = code.open + str.replace(code.closeRe, code.open) + code.close; 138 str = str.replace(newLineRegex, function(match) {
|
/third_party/libabigail/src/ |
H A D | abg-viz-common.cc | 52 const std::string& replace) in string_replace() 57 target.replace(pos, match.length(), replace); in string_replace() 58 pos += replace.length(); in string_replace() 51 string_replace(std::string& target, const std::string& match, const std::string& replace) string_replace() argument
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | ReplaceShadowingVariables.cpp | 40 TVariable *replacementVariable; // variable to replace originalVar with 108 for (DeferredReplacementBlock &replace : mReplacements) in executeReplacements() 110 if (!ReplaceVariable(compiler, replace.functionBody, replace.originalVariable, in executeReplacements() 111 replace.replacementVariable)) in executeReplacements()
|
/third_party/python/Lib/wsgiref/ |
H A D | headers.py | 20 value = value.replace('\\', '\\\\').replace('"', r'\"') 180 parts.append(k.replace('_', '-')) 183 parts.append(_formatparam(k.replace('_', '-'), v))
|
/third_party/vk-gl-cts/scripts/build/ |
H A D | common.py | 70 return '"%s"' % s.replace('\\', '\\\\').replace('"', '\"').replace('$', '\$').replace('`', '\`')
|