/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | CodedOutputStreamTest.java | 518 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 D | json_stream_parser_test.cc | 99 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 D | sql_analyzer.cpp | 124 sql.substr(start, count); in FindIllegalWords()
|
/base/hiviewdfx/hiview/base/utility/ |
H A D | hiview_db_util.cpp | 72 return startPos < endPos ? dbFileName.substr(startPos + 1, endPos - startPos - 1) : "";
in GetDateFromDbFile()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
H A D | list_dumper.cpp | 110 spaces = NAME_SPACE.substr(str.length()); in AppendBlank()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/ |
H A D | zip_helper.cpp | 75 std::string path = name.substr(1); // may skip first . in IsModuleNameValid()
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/ |
H A D | faultlogger_client.cpp | 47 return str.substr(0, index); in GetPrintableStr()
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/ |
H A D | hisysevent_operation.cpp | 96 text = item.substr(0, MAX_STRING_LENGTH); in AppendValue()
|
/base/request/request/frameworks/js/napi/src/upload/ |
H A D | obtain_file.cpp | 113 fileName = fileUri.substr(pattern.size(), fileUri.size());
in SplitPath()
|
/base/security/security_guard/frameworks/common/utils/src/ |
H A D | security_guard_utils.cpp | 52 if (str.substr(0, STR_INDEX) == "0x") {
in StrToI64Hex()
|
/base/telephony/sms_mms/utils/ |
H A D | string_utils.cpp | 93 std::string byte = str.substr(i, hexStep); in HexToString()
|
/base/update/sys_installer/services/module_update/util/src/ |
H A D | module_update_verify.cpp | 124 ForceRemoveDirectory(path.substr(0, path.rfind("/"))); in CleanErrDir()
|
/base/update/updater/utils/ |
H A D | utils_fs.cpp | 53 auto subDir = pathName.substr(0, slashPos); in MkdirRecursive()
|
/test/xts/hats/kernel/prctl/ |
H A D | PrctlApiTest.cpp | 83 result.push_back(s.substr(base, found - base)); in str_split()
|
/third_party/glslang/StandAlone/ |
H A D | DirStackFileIncluder.h | 147 return last == std::string::npos ? "." : path.substr(0, last); in getDirectory()
|
/third_party/icu/icu4c/source/common/unicode/ |
H A D | stringpiece.h | 313 StringPiece substr(int32_t pos, int32_t len = npos) const { in substr() function in StringPiece
|
/third_party/node/src/inspector/ |
H A D | node_string.h | 50 return string.substr(start, count); in substring()
|
/third_party/ninja/src/ |
H A D | includes_normalize_test.cc | 143 EXPECT_EQ(forward_slashes.substr(cwd_len + 1), in TEST()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | stringpiece.h | 313 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 D | parse.js | 75 fileName = fileName.substr(1, fileName.length - 2);
|
/third_party/protobuf/benchmarks/util/ |
H A D | protoc-gen-proto2_to_proto3.cc | 26 return filename.substr(0, filename.rfind(".proto")); in StripProto()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | system_utils_win.cpp | 34 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 D | gles_conformance_tests.cpp | 41 executableLocation = executableLocation.substr(0, lastPathSepLoc); in GetExecutableDirectory()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | DynamicPromotionPerfTest.cpp | 39 os << params.backendAndStory().substr(1); in operator <<()
|
H A D | DispatchComputePerf.cpp | 48 os << params.backendAndStory().substr(1); in operator <<()
|