/third_party/spirv-tools/test/val/ |
H A D | val_layout_test.cpp | 157 // Creates a new vector which removes the string if the substr is found in the 159 // NOTE: This will not work correctly if there are two instances of substr in 161 std::vector<std::string> GenerateCode(std::string substr, int order) { in GenerateCode() argument 167 return std::string::npos == str.find(substr); in GenerateCode()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumberutil.cc | 1593 if (Parse(normalized_national_number.substr(national_prefix.length()), in RawInputContainsNationalPrefix() 1649 raw_input_copy.find(national_number.substr(0, 3)); in FormatOutOfCountryKeepingAlphaChars() 1651 raw_input_copy = raw_input_copy.substr(first_national_number_digit); in FormatOutOfCountryKeepingAlphaChars() 2010 string number_to_try = example_number.substr(0, phone_number_length); in GetInvalidExampleNumber() 2179 national_number, number_to_parse.substr( in BuildNationalNumberForParsing() 2182 StrAppend(national_number, number_to_parse.substr(phone_context_start)); in BuildNationalNumberForParsing() 2196 number_to_parse.substr( in BuildNationalNumberForParsing() 2983 safe_strto32(national_number->substr(0, i), &potential_country_code); in ExtractCountryCode()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 226 result << "_" << de::toLower(getBlendOverlapEXTStr(param.overlap).toString().substr(3)); in generateTestName() 1409 log << tcu::TestLog::Message << "Color attachment " << i << " uses depth op: "<< de::toLower(getBlendOpStr(m_param.blendOps[i]).toString().substr(3)) << tcu::TestLog::EndMessage; 1414 log << tcu::TestLog::Message << "All color attachments use depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[0]).toString().substr(3)) << tcu::TestLog::EndMessage; 1514 name << "Image comparison. Color attachment: " << colorAtt << ". Depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[colorAtt]).toString().substr(3)); 2116 log << tcu::TestLog::Message << "First depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[0]).toString().substr(3)) << tcu::TestLog::EndMessage; 2117 log << tcu::TestLog::Message << "Second depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[1]).toString().substr(3)) << tcu::TestLog::EndMessage; 2187 name << "Image comparison. Depth ops: " << de::toLower(getBlendOpStr(m_param.blendOps[0]).toString().substr(3)) << " and " << de::toLower(getBlendOpStr(m_param.blendOps[1]).toString().substr(3));
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 224 result << "_" << de::toLower(getBlendOverlapEXTStr(param.overlap).toString().substr(3)); in generateTestName() 1400 log << tcu::TestLog::Message << "Color attachment " << i << " uses depth op: "<< de::toLower(getBlendOpStr(m_param.blendOps[i]).toString().substr(3)) << tcu::TestLog::EndMessage; 1405 log << tcu::TestLog::Message << "All color attachments use depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[0]).toString().substr(3)) << tcu::TestLog::EndMessage; 1505 name << "Image comparison. Color attachment: " << colorAtt << ". Depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[colorAtt]).toString().substr(3)); 2096 log << tcu::TestLog::Message << "First depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[0]).toString().substr(3)) << tcu::TestLog::EndMessage; 2097 log << tcu::TestLog::Message << "Second depth op: " << de::toLower(getBlendOpStr(m_param.blendOps[1]).toString().substr(3)) << tcu::TestLog::EndMessage; 2167 name << "Image comparison. Depth ops: " << de::toLower(getBlendOpStr(m_param.blendOps[0]).toString().substr(3)) << " and " << de::toLower(getBlendOpStr(m_param.blendOps[1]).toString().substr(3));
|
/third_party/gn/src/gn/ |
H A D | ninja_c_binary_target_writer.cc | 474 tool_name, output_value.substr(extension_offset - 1)); in WriteSources() 744 result += label.substr(sep + 1) + ".a"; in WriteWholeArchive() 768 result += label.substr(sep + 1) + ".a"; in WriteNoWholeArchive()
|
H A D | err.cc | 25 return std::string(data.substr(line_off, end - line_off)); in GetNthLine()
|
H A D | label.cc | 22 return dir.value().substr(0, dir.value().size() - 1); in DirWithNoTrailingSlash()
|
H A D | source_file.cc | 179 return SourceDir(value.substr(0, last_slash + 1)); in GetDir()
|
/third_party/node/src/ |
H A D | node_options.cc | 1002 return host.substr(1, host.size() - 2); in RemoveBrackets() 1040 return HostPort { RemoveBrackets(arg.substr(0, colon)), in SplitHostPort() 1041 ParseAndValidatePort(arg.substr(colon + 1), errors) }; in SplitHostPort()
|
H A D | node_report.cc | 531 std::string l = ss.substr(0, line); in PrintJavaScriptErrorStack() 534 ss = ss.substr(line + 1); in PrintJavaScriptErrorStack() 537 l = ss.substr(0, line); in PrintJavaScriptErrorStack() 542 ss = ss.substr(line + 1); in PrintJavaScriptErrorStack()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-locale.cc | 163 IsAlphanum(value.substr(1), 3, 3); in IsDigitAlphanum3() 190 if (!IsAlphanum(value.substr(0, found_dash), 3, 8)) return false; 191 value = value.substr(found_dash + 1);
|
/third_party/json/tests/src/ |
H A D | unit-class_parser.cpp | 1123 "[json.exception.parse_error.101] parse error at line 1, column 7: syntax error while parsing value - invalid string: '\\u' must be followed by 4 hex digits; last read: '" + s1.substr(0, 7) + "'"); 1132 "[json.exception.parse_error.101] parse error at line 1, column 6: syntax error while parsing value - invalid string: '\\u' must be followed by 4 hex digits; last read: '" + s2.substr(0, 6) + "'"); 1141 "[json.exception.parse_error.101] parse error at line 1, column 5: syntax error while parsing value - invalid string: '\\u' must be followed by 4 hex digits; last read: '" + s3.substr(0, 5) + "'"); 1150 "[json.exception.parse_error.101] parse error at line 1, column 4: syntax error while parsing value - invalid string: '\\u' must be followed by 4 hex digits; last read: '" + s4.substr(0, 4) + "'");
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_shader.cpp | 281 if (value.substr(0, 4) == "SID:") { in read_input() 284 } else if (value.substr(0, 8) == "SPI_SID:") { in read_input() 287 } else if (value.substr(0, 7) == "INTERP:") { in read_input() 289 } else if (value.substr(0, 5) == "ILOC:") { in read_input()
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | phonenumbermatcher_test.cc | 154 string sub = text.substr(index); in AssertEqualRange() 163 EXPECT_EQ(sub.substr(match.start(), match.length()), match.raw_string()); in AssertEqualRange() 303 string extracted = text.substr(match.start(), match.length()); in DoTestInContext() 319 string sub = text.substr(index); in EnsureTermination()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 237 return PathNameStr.substr(LastPos); in stripDirPrefix() 352 const std::string &OtherFuncName = PGOFuncName.substr(0, pos); in create() 1122 MemOPSizeRange.substr(0, Pos).getAsInteger(10, RangeStart); in getMemOPSizeRangeFromOption() 1124 MemOPSizeRange.substr(Pos + 1).getAsInteger(10, RangeLast); in getMemOPSizeRangeFromOption()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/ |
H A D | LanaiAsmParser.cpp | 1043 Mnemonic = Name.substr(0, Name.size() - 2); in splitMnemonic() 1054 LPCC::suffixToLanaiCondCode(Mnemonic.substr(1, Next)); in splitMnemonic() 1082 Mnemonic = Mnemonic.substr(0, Next + 1); in splitMnemonic() 1084 Mnemonic = Mnemonic.substr(0, Next); in splitMnemonic()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | protostream_objectwriter.cc | 119 *seconds = input.substr(0, idx); in SplitSecondsAndNanos() 120 *nanos = input.substr(idx + 1); in SplitSecondsAndNanos() 1058 value = value.substr(0, value.size() - 1); in RenderDuration() 1062 value = value.substr(1); in RenderDuration()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
H A D | hash_test.cc | 284 std::vector<absl::string_view> parts = {sv.substr(0, halfway), in FragmentedCord() 285 sv.substr(halfway)}; in FragmentedCord() 457 absl::string_view chunk = p.buf_.substr(begin, next - begin); in AbslHashValue() 461 absl::string_view last_chunk = p.buf_.substr(begin); in AbslHashValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrCopyTests.cpp | 902 const string srcFormatName (de::toLower(std::string(getFormatName(srcFormat)).substr(10))); in initYcbcrDefaultCopyTests() 909 const string dstFormatName (de::toLower(std::string(getFormatName(dstFormat)).substr(10))); in initYcbcrDefaultCopyTests() 1012 const string srcFormatName (de::toLower(std::string(getFormatName(srcFormat)).substr(10))); in initYcbcrDimensionsCopyTests() 1018 const string dstFormatName (de::toLower(std::string(getFormatName(dstFormat)).substr(10))); in initYcbcrDimensionsCopyTests()
|
/third_party/node/deps/npm/node_modules/diff/lib/ |
H A D | index.es6.js | 714 fileName = fileName.substr(1, fileName.length - 2); 888 content = line.length > 0 ? line.substr(1) : line; 943 content = line.length > 0 ? line.substr(1) : line, 1526 if (match.substr(1) === change.substr(1)) { 1560 var changeContent = removeChanges[removeChanges.length - delta + i].substr(1);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | TargetLoweringBase.cpp | 1863 StringRef RefStepString = In.substr(Position + 1); in parseRefinementStep() 1895 Override = Override.substr(0, RefPos); in getOpEnabled() 1921 RecipType = RecipType.substr(0, RefPos); in getOpEnabled() 1926 RecipType = RecipType.substr(1); in getOpEnabled() 1957 Override = Override.substr(0, RefPos); in getOpRefinementSteps() 1977 RecipType = RecipType.substr(0, RefPos); in getOpRefinementSteps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/ |
H A D | PPCAsmParser.cpp | 1186 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName() 1189 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName() 1192 !Name.substr(2).getAsInteger(10, IntVal) && IntVal < 64) { in MatchRegisterName() 1195 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName() 1198 !Name.substr(1).getAsInteger(10, IntVal) && IntVal < 32) { in MatchRegisterName() 1201 !Name.substr(2).getAsInteger(10, IntVal) && IntVal < 8) { in MatchRegisterName()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.cc | 203 *result++ = std::string(full.substr(begin_index)); in SplitStringToIteratorUsing() 207 std::string(full.substr(begin_index, (end_index - begin_index))); in SplitStringToIteratorUsing() 239 *result++ = std::string(full.substr(begin_index)); in SplitStringToIteratorAllowEmpty() 243 std::string(full.substr(begin_index, (end_index - begin_index))); in SplitStringToIteratorAllowEmpty() 246 *result++ = std::string(full.substr(begin_index)); in SplitStringToIteratorAllowEmpty() 691 *text = text->substr(start - text->data(), end - start); in safe_parse_sign()
|
/third_party/gptfdisk/ |
H A D | diskio-windows.cc | 46 realFilename += userFilename.substr(0, colonPos); in MakeRealName()
|
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerIOWindows.cpp | 277 return FileName.substr(0, LocationLen + DirLen); in DirName()
|