Home
last modified time | relevance | path

Searched refs:substr (Results 1176 - 1200 of 3052) sorted by relevance

1...<<41424344454647484950>>...123

/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_serializer.cpp68 arrayPath = propertyPath.substr(0, separatorPosition); in EnsureDynamicArraySize()
69 arrayIndex = propertyPath.substr(separatorPosition + 1, separatorEndPosition - separatorPosition - 1); in EnsureDynamicArraySize()
89 const auto restOfThePath = propertyPath.substr(separatorEndPosition); in EnsureDynamicArraySize()
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/
H A Djpeg_decoder.cpp955 data = dataTime.substr(0, position); in SetOriginalTimes()
956 time = dataTime.substr(position); in SetOriginalTimes()
968 time = timeTmp.substr(0, time.find(".")); in SetOriginalTimes()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp203 return oldUri.substr(0, questionMaskPoint); in GetUriWithoutSeg()
315 string mimePrefix = data_->GetFileMimeType().substr(0, pos) + "/*"; in GetMediaInfo()
384 parentPath = string("/") + parentPath.substr(0, parentPath.length() - 1); in GetParentDirInfo()
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Ddbinder_databus_invoker.cpp566 std::string str = serviceName.substr(DBINDER_SOCKET_NAME_PREFIX.length()); in UpdateClientSession()
568 std::string peerUid = str.substr(0, pos); in UpdateClientSession()
569 std::string peerPid = str.substr(pos + 1); in UpdateClientSession()
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/src/
H A Dwebsocket_exec.cpp498 responseHeader.emplace(str.substr(0, str.size() - 1), std::string(buffer)); in LwsCallbackClientFilterPreEstablish()
509 header->emplace(std::string(name).substr(0, nlen - 1), std::string(name).substr(nlen)); in LwsCallbackClientFilterPreEstablish()
/third_party/gn/src/gn/
H A Dxcode_object.cc637 return group->AddSourceFile(navigator_path.substr(sep + 1), source_path); in AddSourceFile()
863 ? output_name.substr(basename_offset) in AddNativeTarget()
867 ? output_basename.substr(0, ext_offset - 1) in AddNativeTarget()
H A Dvisual_studio_writer.cc840 folder_path = folder_path.substr(0, folder_path.size() - 1); in ResolveSolutionFolders()
873 root_folder_path_ = root_folder_path_.substr(0, common_prefix_len); in ResolveSolutionFolders()
938 s = s.substr(2); in GetNinjaTarget()
/third_party/libfuse/example/
H A Dpassthrough_hp.cc1178 token = s.substr(pos_start, pos_end - pos_start); in string_split()
1183 out.push_back(s.substr(pos_start)); in string_split()
1229 << help.substr(help.find("\n\n") + 1, string::npos); in parse_options()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageCompressionControlTests.cpp654 const string caseName = de::toLower(string(enumName).substr(10)); in addImageCompressionControlTests()
899 const string caseName = de::toLower(string(enumName).substr(10)); in addAhbCompressionControlTests()
924 const string caseName = de::toLower(string(enumName).substr(10)); in AddOHOSCompressionControlTests()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
H A DBTFDebug.cpp948 StringRef IndexPattern = AccessPattern.substr(FirstDollar + 1); in generateFieldReloc()
949 StringRef RelocKindStr = AccessPattern.substr(FirstColon + 1, in generateFieldReloc()
951 StringRef PatchImmStr = AccessPattern.substr(SecondColon + 1, in generateFieldReloc()
/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.cc73 return sp.size() >= x.size() && sp.substr(sp.size() - x.size()) == x; in StrEndsWith()
417 import_statement = "from " + module_name.substr(0, last_dot_pos) + in PrintImports()
418 " import " + module_name.substr(last_dot_pos + 1); in PrintImports()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_file.cc336 std::string path = google3_name.substr(prefix.size()); in DoIncludeFile()
846 format("'$1$', ", CEscape(file_data.substr(i, 1))); in GenerateReflectionInitializationCode()
857 EscapeTrigraphs(CEscape(file_data.substr(i, kBytesPerLine)))); in GenerateReflectionInitializationCode()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderApiTests.cpp113 out.strings.push_back(in.substr(i * sliceSize, sliceSize) + padding); in sliceSourceString()
121 const std::string lastString = in.substr(numSlices * sliceSize); in sliceSourceString()
681 const std::string unpaddedString = sources.strings[ndx].substr(0, unpaddedLength); in insertRandomNullTermStrings()
/third_party/googletest/googletest/src/
H A Dgtest.cc959 const std::string& substr) {
980 if (strstr(r.message(), substr.c_str()) == nullptr) {
982 << "Expected: " << expected << " containing \"" << substr << "\"\n"
995 const std::string& substr)
996 : results_(results), type_(type), substr_(substr) {}
1241 parsed.push_back(str.substr(pos));
1244 parsed.push_back(str.substr(pos, colon - pos));
1548 lines.push_back(str.substr(start, i - start - 1));
1555 lines.push_back(str.substr(start, end - start));
5631 new StreamingListener(target.substr(
[all...]
/third_party/mesa3d/src/gtest/src/
H A Dgtest.cc657 const std::string& substr) { in HasOneFailure()
678 if (strstr(r.message(), substr.c_str()) == nullptr) { in HasOneFailure()
680 << substr << "\"\n" in HasOneFailure()
693 const std::string& substr) in SingleFailureChecker()
694 : results_(results), type_(type), substr_(substr) {} in SingleFailureChecker()
947 parsed.push_back(str.substr(pos)); in SplitString()
950 parsed.push_back(str.substr(pos, colon - pos)); in SplitString()
1292 lines.push_back(str.substr(start, i - start - 1)); in SplitEscapedString()
1299 lines.push_back(str.substr(start, end - start)); in SplitEscapedString()
5093 listeners()->Append(new StreamingListener(target.substr( in ConfigureStreamingOutput()
652 HasOneFailure(const char* , const char* , const char* , const TestPartResultArray& results, TestPartResult::Type type, const std::string& substr) HasOneFailure() argument
691 SingleFailureChecker(const TestPartResultArray* results, TestPartResult::Type type, const std::string& substr) SingleFailureChecker() argument
[all...]
/third_party/node/deps/googletest/src/
H A Dgtest.cc976 const std::string& substr) {
997 if (strstr(r.message(), substr.c_str()) == nullptr) {
999 << "Expected: " << expected << " containing \"" << substr << "\"\n"
1012 const std::string& substr)
1013 : results_(results), type_(type), substr_(substr) {}
1258 parsed.push_back(str.substr(pos));
1261 parsed.push_back(str.substr(pos, colon - pos));
1565 lines.push_back(str.substr(start, i - start - 1));
1572 lines.push_back(str.substr(start, end - start));
5659 new StreamingListener(target.substr(
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_paint_method.cpp81 wText = wText.substr(0, TEXT_END_INDEX); in DrawCalendarText()
542 wText = wText.substr(0, WEEK_TEXT_END_INDEX); in DrawWeek()
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dskills.cpp559 PatternsMatcher pm(type.substr(0, slashpos), patternsMatcher.GetType()); in AddType()
818 std::string typeSubstr = type.substr(0, slashpos); in FindMimeType()
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.cpp80 assetPath = assetPath.substr(0, assetPath.size() - 1); in GetCustomAssetPath()
82 customAssetPath = assetPath.substr(0, assetPath.find_last_of(DELIMITER) + 1); in GetCustomAssetPath()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimation_util.cpp44 if (str.substr(0, leftIndex) != key) { in ParseFunctionValue()
48 auto valueStr = str.substr(leftIndex + 1, rightIndex - leftIndex - 1); in ParseFunctionValue()
/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_decoder.cpp577 return (src.size() > FileSuffixLen && src.substr(src.size() - FileSuffixLen) == ".png") || in IsApngSource()
578 (src.size() > APngFileSuffixLen && src.substr(src.size() - APngFileSuffixLen) == ".apng"); in IsApngSource()
/foundation/arkui/ace_engine/interfaces/napi/kits/animator/
H A Djs_animator.cpp121 auto aniTimFuncName = curveStr.substr(0, leftEmbracePosition); in ParseOptionToMotion()
125 auto params = curveStr.substr(leftEmbracePosition + 1, curveStr.length() - leftEmbracePosition - 2); in ParseOptionToMotion()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dform_info.cpp95 atoi(formInfo.displayName.substr(pos + 1, formInfo.displayName.length() - pos - 1).c_str())); in FormInfo()
100 atoi(formInfo.description.substr(pos + 1, formInfo.description.length() - pos - 1).c_str())); in FormInfo()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_command_processor.cpp251 number = number.substr(1, number.length() - ATD_VALID_LENGTH); in AtdExecuter()
258 number = number.substr(0, number.length() - 1); in AtdExecuter()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dble_service_data.cpp778 AddData(std::string(cdata, BLE_ADV_DATA_FIELD_TYPE_AND_LEN) + name.substr(0, DEVICE_NAME_MAX_LEN)); in SetLongName()
1494 manufacturerData_.insert(std::make_pair(manufacturerId, manufacturerData.substr(BLE_UUID_LEN_16))); in SetManufacturerData()

Completed in 55 milliseconds

1...<<41424344454647484950>>...123