/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | input.py | 382 variables["DEPTH"] = d.replace("\\", "/") 718 r"(?P<replace>(?P<type><(?:(?:!?@?)|\|)?)" 726 r"(?P<replace>(?P<type>>(?:(?:!?@?)|\|)?)" 734 r"(?P<replace>(?P<type>[\^](?:(?:!?@?)|\|)?)" 796 # match['replace'] is the substring to look for, match['type'] 811 replace_start = match_group.start("replace") 812 replace_end = match_group.end("replace") 2208 ).replace("\\", "/") 2328 # = replace 2353 # It's stupid to replace an [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | dtitvfmt.cpp | 1008 convertedPattern.replace(firstQuotePos, (secondQuotePos - firstQuotePos) + 1, UnicodeString()); in normalizeHourMetacharacters() 1042 result.replace(hourFieldStart, hourFieldLength, hourAndDayPeriod); in normalizeHourMetacharacters()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | strcase.cpp | 187 test4.replace(0, test4.length(), uppercaseGreek); in TestCaseConversion() 194 test4.replace(0, test4.length(), lowercaseGreek); in TestCaseConversion()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-date-time-format.cc | 452 upper.replace(0, 8, "SystemV/"); in CanonicalizeTimeZoneID() 1148 bool replace = true; in ReplaceHourCycleInPattern() local 1155 replace = !replace; in ReplaceHourCycleInPattern() 1166 if (replace && last == u'd') { in ReplaceHourCycleInPattern() 1169 result.append(replace ? replacement : ch); in ReplaceHourCycleInPattern()
|
/third_party/python/Lib/test/ |
H A D | test_bz2.py | 931 text_native_eol = text.replace("\n", os.linesep) 983 text_native_eol = text.replace("\n", os.linesep)
|
H A D | test_grammar.py | 189 self.assertEqual(eval(lit), eval(lit.replace('_', ''))) 859 source = source.replace("foo", "(foo.)")
|
H A D | test_bigmem.py | 280 s = s.replace(_(' '), replacement) 283 s = s.replace(replacement, _(' '), size - 4)
|
H A D | test_smtplib.py | 240 # temporarily replace sys.stdout to capture DebuggingServer output 868 auth_object_name = '_auth_%s' % args[0].lower().replace('-', '_') 1212 method = 'auth_' + mechanism.lower().replace('-', '_')
|
/third_party/python/Lib/ |
H A D | subprocess.py | 1087 return data.replace("\r\n", "\n").replace("\r", "\n")
|
H A D | pdb.py | 467 line = line.replace("%" + str(ii), 470 line = line.replace("%*", ' '.join(args[1:])) 1637 # __main__ will break). Clear __main__ and replace with
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryCullRayFlagsTests.cpp | 281 if (rayFlags & RF_CullOpaque) std::replace(std::begin(hitResult), std::end(hitResult), 2, 0); in getHitResult() 282 if (rayFlags & RF_CullNoOpaque) std::replace(std::begin(hitResult), std::end(hitResult), 1, 0); in getHitResult()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cShaderBitfieldOperationTests.cpp | 960 m_testStatement.replace(pos, 4, funcName); in ShaderBitfieldOperationCaseUnaryUint() 1051 m_testStatement.replace(pos, 4, funcName); in ShaderBitfieldOperationCaseUnaryInt()
|
/third_party/vk-gl-cts/android/cts/runner/src/com/drawelements/deqp/runner/ |
H A D | DeqpTestRunner.java | 2042 patterns.add(Pattern.compile(filter.replace(".","\\.").replace("*",".*"))); in getPatternFilters()
|
/third_party/pcre2/pcre2/ |
H A D | RunGrepTest.bat | 86 echo WScript.StdOut.Write(WScript.Arguments(0).replace(/\\r/g, "\r").replace(/\\n/g, "\n")) >printf.js
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unistr.cpp | 1188 // we found oldText, replace it by newText and go beyond it in findAndReplace() 1189 replace(pos, oldLength, newText, newStart, newLength); in findAndReplace() 1372 UnicodeString::replace(int32_t start, in replace() function in UnicodeString 1407 // and replace the range in ourselves with them in doReplace() 1463 // Calculate the size of the string after the replace. in doReplace() 1504 // now do the replace in doReplace()
|
/third_party/protobuf/src/google/protobuf/compiler/php/ |
H A D | php_generator.cc | 358 std::replace(result.begin(), result.end(), '\\', '/'); in GeneratedMetadataFileName() 505 type.replace(start_pos, 1, "[]|"); in PhpSetterTypeName()
|
/third_party/rust/crates/clap/clap_derive/src/ |
H A D | item.rs | 1327 /// replace all `:` with `, ` when not inside the `<>` 1425 Lower => s.to_snake_case().replace('_', ""), in translate() 1426 Upper => s.to_shouty_snake_case().replace('_', ""), in translate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryCullRayFlagsTests.cpp | 281 if (rayFlags & RF_CullOpaque) std::replace(std::begin(hitResult), std::end(hitResult), 2, 0); in getHitResult() 282 if (rayFlags & RF_CullNoOpaque) std::replace(std::begin(hitResult), std::end(hitResult), 1, 0); in getHitResult()
|
/third_party/rust/crates/memchr/bench/data/code/ |
H A D | rust-library.rs | 3759 assert_eq!("".replace(a, "b"), ""); in test_replace() 3760 assert_eq!("a".replace(a, "b"), "b"); in test_replace() 3761 assert_eq!("ab".replace(a, "b"), "bb"); in test_replace() 3763 assert_eq!(" test test ".replace(test, "toast"), " toast toast "); in test_replace() 3764 assert_eq!(" test test ".replace(test, ""), " "); in test_replace() 3774 assert_eq!(data.replace(a, repl), a2); in test_replace_2a() 3784 assert_eq!(data.replace(b, repl), b2); in test_replace_2b() 3794 assert_eq!(data.replace(c, repl), c2); in test_replace_2c() 3803 assert_eq!(data.replace(d, repl), data); in test_replace_2d() 3809 assert_eq!(data.replace(" in test_replace_pattern() 15240 pub fn replace<'a, P: Pattern<'a>>(&'a self, from: P, to: &str) -> String { replace() functions 30052 fn replace(&mut self, key: K) -> Option<K> { replace() functions 32079 pub fn replace<T, R>(v: &mut T, change: impl FnOnce(T) -> (T, R)) -> R { replace() functions 32954 pub fn replace(&mut self, value: T) -> Option<T> replace() functions 34282 fn replace(&mut self, key: Self::Key) -> Option<Self::Key>; replace() functions [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | nexthop.c | 1865 /* not called for nexthop replace */ 1966 NL_SET_ERR_MSG(extack, "Can not replace a nexthop group with a nexthop."); in replace_nexthop_grp() 1974 NL_SET_ERR_MSG(extack, "Can not replace a nexthop group with one of a different type."); in replace_nexthop_grp() 1997 /* Emit a pre-replace notification so that listeners could veto in replace_nexthop_grp() 2134 NL_SET_ERR_MSG(extack, "Can not replace a nexthop with a nexthop group."); in replace_nexthop_single() 2162 /* Send a replace notification for all the groups using the nexthop. */ in replace_nexthop_single() 2308 bool replace = !!(cfg->nlflags & NLM_F_REPLACE); in insert_nexthop() local 2329 } else if (replace) { in insert_nexthop() 2337 /* id already exists and not a replace */ in insert_nexthop() 2342 if (replace in insert_nexthop() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | MeasureUnitTest.java | 2980 System.out.printf(" public void TestCompatible%s() {\n", version.replace(".", "_")); in generateBackwardCompatibilityTest() 3005 System.out.printf("void MeasureFormatTest::TestCompatible%s() {\n", version.replace(".", "_")); in generateCXXBackwardCompatibilityTest() 3034 String name = code.toUpperCase(Locale.ENGLISH).replace("-", "_"); in toJAVAName()
|
/third_party/googletest/googletest/src/ |
H A D | gtest.cc | 1320 const double replace = costs[l_i][r_i]; 1321 if (add < remove && add < replace) { 1324 } else if (remove < add && remove < replace) { 1328 // We make replace a little more expensive than add/remove to lower 1330 costs[l_i + 1][r_i + 1] = replace + 1.00001; 4062 // alternative is to replace them with certain characters such as . or ?.
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest.cc | 1064 const double replace = costs[l_i][r_i]; in CalculateOptimalEdits() local 1065 if (add < remove && add < replace) { in CalculateOptimalEdits() 1068 } else if (remove < add && remove < replace) { in CalculateOptimalEdits() 1072 // We make replace a little more expensive than add/remove to lower in CalculateOptimalEdits() 1074 costs[l_i + 1][r_i + 1] = replace + 1.00001; in CalculateOptimalEdits() 3679 // alternative is to replace them with certain characters such as . or ?.
|
/third_party/node/deps/googletest/src/ |
H A D | gtest.cc | 1337 const double replace = costs[l_i][r_i]; 1338 if (add < remove && add < replace) { 1341 } else if (remove < add && remove < replace) { 1345 // We make replace a little more expensive than add/remove to lower 1347 costs[l_i + 1][r_i + 1] = replace + 1.00001; 4075 // alternative is to replace them with certain characters such as . or ?.
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessVertexArraysTests.cpp | 296 std::string vs_source = Utilities::replace(vs_template, "DECLARATION_TEMPLATE", declarations); in PrepareProgram() 297 vs_source = Utilities::replace(vs_source, "COPY_TEMPLATE", copies); in PrepareProgram() 757 std::string Utilities::replace(const std::string& src, const std::string& key, const std::string& value) in replace() function in gl4cts::DirectStateAccess::VertexArrays::Utilities 764 dst.replace(pos, key.length(), value); in replace()
|