Home
last modified time | relevance | path

Searched refs:substr (Results 326 - 350 of 1051) sorted by relevance

1...<<11121314151617181920>>...43

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp64 DataExtractor InfoData(Data.getData().substr(Offset, InfoLength), in decode()
188 const StringRef InfoBytes = Data.getData().substr(Offset, InfoLength); in lookup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp169 B.getSection(), B.getContent().substr(0, SplitIndex), in splitBlock()
174 B.setContent(B.getContent().substr(SplitIndex)); in splitBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp154 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position); in emitComments()
156 Comments = Comments.substr(Position+1); in emitComments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp117 std::tie(S, Buf) = Buf.substr(1).split('"'); in lex()
122 StringRef Word = Buf.substr(0, End); in lex()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
H A Dcsharp_reflection_class.cc179 printer->Print("\"$base64$\",\n", "base64", base64.substr(0, 60)); in WriteDescriptor()
180 base64 = base64.substr(60); in WriteDescriptor()
/third_party/protobuf/src/google/protobuf/util/internal/
H A Ddatapiece.cc376 StringPiece src_no_padding = StringPiece(src).substr( in DecodeBase64()
389 StringPiece src_no_padding = StringPiece(src).substr( in DecodeBase64()
H A Djson_stream_parser_test.cc99 StringPiece single = json.substr(i, 1); in RunTest()
109 StringPiece first = json.substr(0, split); in RunTest()
110 StringPiece rest = json.substr(split); in RunTest()
143 EXPECT_EQ(error_prefix, error_message.substr(0, error_prefix.size()));
/third_party/vulkan-loader/tests/framework/shim/
H A Dshim_common.cpp50 items.push_back(var.substr(start, len));
58 items.push_back(var.substr(start, len));
/third_party/gn/src/base/strings/
H A Dstring_util.cc143 return str1.substr(str1.length() - str2.length()) == str2; in ends_with()
259 *output = input.substr(first_good_char, last_good_char - first_good_char + 1); in TrimStringT()
292 return input.substr(begin, end - begin); in TrimStringPieceT()
338 *output = input.substr(0, char_index); in TruncateUTF8ToByteSize()
531 std::basic_string_view<char_type> source = str.substr(0, search_for.size()); in StartsWithCaseInsensitiveASCIIT()
555 str.substr(str.size() - search_for.size(), search_for.size()); in EndsWithCaseInsensitiveASCIIT()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_instr_tex.cpp305 if (token.substr(0,3) == "OX:") in set_tex_param()
307 else if (token.substr(0,3) == "OY:") in set_tex_param()
309 else if (token.substr(0,3) == "OZ:") in set_tex_param()
311 else if (token.substr(0,5) == "MODE:") in set_tex_param()
313 else if (token.substr(0,3) == "SO:") in set_tex_param()
314 set_sampler_offset(VirtualValue::from_string(token.substr(3))); in set_tex_param()
/third_party/pulseaudio/src/modules/bluetooth/
H A Dbackend-native.c810 char *substr = buf, *keystr; in rfcomm_io_callback() local
816 keystr = strchr(substr, ','); in rfcomm_io_callback()
823 substr = strchr(keystr, ','); in rfcomm_io_callback()
824 if (!substr) { in rfcomm_io_callback()
829 substr++; in rfcomm_io_callback()
832 val = atoi(substr); in rfcomm_io_callback()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp149 StringView Candidate = S.substr(0, End); in startsWithLocalScopePattern()
1046 StringView Nibbles = MangledName.substr(0, 2); in demangleCharLiteral()
1317 CRC = MangledName.substr(0, CrcEndPos); in demangleStringLiteral()
1400 S = MangledName.substr(0, i); in demangleSimpleString()
1424 StringView NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName()
1426 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DHost.cpp163 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUNameForARM()
165 Hardware = Lines[I].substr(8).ltrim("\t :"); in getHostCPUNameForARM()
181 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUNameForARM()
206 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUNameForARM()
225 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUNameForARM()
236 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUNameForARM()
H A DCommandLine.cpp544 auto I = Sub.OptionsMap.find(Arg.substr(0, EqualPos)); in LookupOption()
552 Value = Arg.substr(EqualPos + 1); in LookupOption()
553 Arg = Arg.substr(0, EqualPos); in LookupOption()
632 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence()
635 Val = Val.substr(Pos + 1); in CommaSeparateAndAddOccurrence()
731 Name = Name.substr(0, Name.size() - 1); // Chop off the last character. in getOptionPred()
763 (Length < Arg.size()) ? Arg.substr(Length) : StringRef(); in HandlePrefixedOrGroupedOption()
764 Arg = Arg.substr(0, Length); in HandlePrefixedOrGroupedOption()
776 Value = MaybeValue.substr(1); in HandlePrefixedOrGroupedOption()
1463 ArgName = ArgName.substr( in ParseCommandLineOptions()
[all...]
/third_party/skia/third_party/externals/tint/samples/
H A Dmain.cc211 std::string substr; in split_transform_names() local
212 getline(str, substr, ','); in split_transform_names()
213 res.push_back(substr); in split_transform_names()
972 options.input_filename.substr(options.input_filename.size() - 5) == in main()
976 options.input_filename.substr(options.input_filename.size() - 4) == in main()
980 options.input_filename.substr(options.input_filename.size() - 7) == in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_btree.cc72 << CordRepBtree::EdgeData(r).substr(0, kMaxDataLength) in DumpAll()
144 return edge_type == kBack ? s.substr(n) : s.substr(0, s.size() - n); in Consume()
151 return s.substr(n); in Consume()
155 return s.substr(0, offset); in Consume()
836 if (fragment) *fragment = EdgeData(edge).substr(front.n, n); in IsFlat()
/kernel/linux/linux-5.10/scripts/
H A Dkernel-doc472 $sphinx_minor = substr($2,1);
477 $sphinx_patch = substr($3,1)
652 if ($output_mode eq "man" && substr($line, 0, 1) eq ".") {
1917 if (substr($prototype, $ix, 1) eq ',') {
1920 substr($prototype, $ix, 1) = ' ';
2174 while (substr($contents, 0, 1) eq " ") {
2175 $contents = substr($contents, 1);
2305 while (substr($contents, 0, 1) eq " ") {
2306 $contents = substr($contents, 1);
H A Dget_dvb_firmware909 $len=ord(substr($buf,0,1));
910 print OUTFILE substr($buf,0,1);
911 print OUTFILE substr($buf,2,$len+3);
/kernel/linux/linux-6.6/scripts/
H A Dkernel-doc352 $sphinx_minor = substr($2,1);
357 $sphinx_patch = substr($3,1)
553 if ($output_mode eq "man" && substr($line, 0, 1) eq ".") {
1882 if (substr($prototype, $ix, 1) eq ',') {
1885 substr($prototype, $ix, 1) = ' ';
2143 while (substr($contents, 0, 1) eq " ") {
2144 $contents = substr($contents, 1);
2272 while (substr($contents, 0, 1) eq " ") {
2273 $contents = substr($contents, 1);
H A Dget_dvb_firmware909 $len=ord(substr($buf,0,1));
910 print OUTFILE substr($buf,0,1);
911 print OUTFILE substr($buf,2,$len+3);
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
H A Dcommand_parser.cc550 auto substr = str.substr(1, str.size()); in ProcessSSBO() local
551 uint64_t binding_val = strtoul(substr.c_str(), nullptr, 10); in ProcessSSBO()
703 auto substr = str.substr(1, str.size()); in ProcessUniform() local
704 uint64_t binding_val = strtoul(substr.c_str(), nullptr, 10); in ProcessUniform()
2051 auto substr = str.substr(1, str.size()); in ProcessProbeSSBO() local
2052 uint64_t binding_val = strtoul(substr.c_str(), nullptr, 10); in ProcessProbeSSBO()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureSwizzleTests.cpp535 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
562 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
588 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
616 const string caseName = de::toLower(formatStr.substr(10)) + "_2d" in populateTextureSwizzleTests()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DCodedOutputStreamTest.java518 String substr = source.substring(pos, pos + 2); in testSerializeUtf8_MultipleSmallWrites()
520 expectedBytesStream.write(substr.getBytes(Internal.UTF_8)); in testSerializeUtf8_MultipleSmallWrites()
528 String substr = source.substring(pos, pos + 2); in testSerializeUtf8_MultipleSmallWrites()
529 coder.stream().writeStringNoTag(substr); in testSerializeUtf8_MultipleSmallWrites()
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dtest_intel_pt.sh179 $0 = substr($0, RSTART, RLENGTH)
191 $0 = substr($0, RSTART, RLENGTH)
204 $0 = substr($0, RSTART, RLENGTH)
/third_party/glslang/glslang/MachineIndependent/
H A DpropagateNoContraction.cpp209 return pos_delimiter == std::string::npos ? chain : chain.substr(0, pos_delimiter); in getFrontElement()
216 return pos_delimiter == std::string::npos ? "" : chain.substr(pos_delimiter + 1); in subAccessChainFromSecondElement()
226 return chain.substr(prefix.length() + sizeof(ObjectAccesschainDelimiter)); in getSubAccessChainAfterPrefix()

Completed in 37 milliseconds

1...<<11121314151617181920>>...43