Home
last modified time | relevance | path

Searched refs:substr (Results 501 - 525 of 2564) sorted by relevance

1...<<21222324252627282930>>...103

/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()
/third_party/protobuf/src/google/protobuf/util/internal/
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()));
/applications/standard/contacts_data/ability/common/utils/src/
H A Dsql_analyzer.cpp124 sql.substr(start, count); in FindIllegalWords()
/base/hiviewdfx/hiview/base/utility/
H A Dhiview_db_util.cpp72 return startPos < endPos ? dbFileName.substr(startPos + 1, endPos - startPos - 1) : ""; in GetDateFromDbFile()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dlist_dumper.cpp110 spaces = NAME_SPACE.substr(str.length()); in AppendBlank()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
H A Dzip_helper.cpp75 std::string path = name.substr(1); // may skip first . in IsModuleNameValid()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/
H A Dfaultlogger_client.cpp47 return str.substr(0, index); in GetPrintableStr()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/
H A Dhisysevent_operation.cpp96 text = item.substr(0, MAX_STRING_LENGTH); in AppendValue()
/base/request/request/frameworks/js/napi/src/upload/
H A Dobtain_file.cpp113 fileName = fileUri.substr(pattern.size(), fileUri.size()); in SplitPath()
/base/security/security_guard/frameworks/common/utils/src/
H A Dsecurity_guard_utils.cpp52 if (str.substr(0, STR_INDEX) == "0x") { in StrToI64Hex()
/base/telephony/sms_mms/utils/
H A Dstring_utils.cpp93 std::string byte = str.substr(i, hexStep); in HexToString()
/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_update_verify.cpp124 ForceRemoveDirectory(path.substr(0, path.rfind("/"))); in CleanErrDir()
/base/update/updater/utils/
H A Dutils_fs.cpp53 auto subDir = pathName.substr(0, slashPos); in MkdirRecursive()
/test/xts/hats/kernel/prctl/
H A DPrctlApiTest.cpp83 result.push_back(s.substr(base, found - base)); in str_split()
/third_party/glslang/StandAlone/
H A DDirStackFileIncluder.h147 return last == std::string::npos ? "." : path.substr(0, last); in getDirectory()
/third_party/icu/icu4c/source/common/unicode/
H A Dstringpiece.h313 StringPiece substr(int32_t pos, int32_t len = npos) const { in substr() function in StringPiece
/third_party/node/src/inspector/
H A Dnode_string.h50 return string.substr(start, count); in substring()
/third_party/ninja/src/
H A Dincludes_normalize_test.cc143 EXPECT_EQ(forward_slashes.substr(cwd_len + 1), in TEST()
/third_party/node/deps/icu-small/source/common/unicode/
H A Dstringpiece.h313 StringPiece substr(int32_t pos, int32_t len = npos) const { in substr() function in StringPiece
/third_party/node/deps/npm/node_modules/diff/lib/patch/
H A Dparse.js75 fileName = fileName.substr(1, fileName.length - 2);
/third_party/protobuf/benchmarks/util/
H A Dprotoc-gen-proto2_to_proto3.cc26 return filename.substr(0, filename.rfind(".proto")); in StripProto()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dsystem_utils_win.cpp34 return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; in GetDirectory()
/third_party/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/
H A Dgles_conformance_tests.cpp41 executableLocation = executableLocation.substr(0, lastPathSepLoc); in GetExecutableDirectory()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DDynamicPromotionPerfTest.cpp39 os << params.backendAndStory().substr(1); in operator <<()
H A DDispatchComputePerf.cpp48 os << params.backendAndStory().substr(1); in operator <<()

Completed in 13 milliseconds

1...<<21222324252627282930>>...103