/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_analysis_album_operation_test/src/ |
H A D | medialibrary_analysis_album_operation_test.cpp | 389 string tmp = uri.substr(PhotoColumn::PHOTO_URI_PREFIX.size()); in GetPhotoId() 390 return tmp.substr(0, tmp.find_first_of('/')); in GetPhotoId()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_operation_utils.cpp | 784 realPath = path.substr(0, position + 1) + real + path.substr(position, path.size()); in GetPathByHandle()
|
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/ |
H A D | player_mock.cpp | 377 std::string rawFile = path.substr(strlen("file://")); in SetSource() 703 std::string rawFile = path.substr(strlen("file://")); in AddSubSource()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | p2p_monitor.cpp | 693 std::string type = notifyParam.substr(0, begPos); in WpaEventStaNotifyCallBack() 702 std::string data = notifyParam.substr(freqPos + strlen("freq=")); in WpaEventStaNotifyCallBack()
|
/foundation/communication/nfc/services/src/external_deps/ |
H A D | app_data_parser.cpp | 293 std::string tech = uri.type.substr(0, pos); in UpdateTagAppList() 298 std::string nfcType = uri.type.substr(pos + 1, uri.type.size()); in UpdateTagAppList()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_service.cpp | 352 return imsi.substr(EAP_AUTH_IMSI_MCC_POS, EAP_AUTH_MAX_MCC_LEN); in GetMcc() 357 return imsi.substr(EAP_AUTH_IMSI_MNC_POS, mncLen); in GetMnc()
|
/foundation/distributedhardware/distributed_audio/common/src/ |
H A D | daudio_util.cpp | 234 value = params.substr(pos + step + 1, splitPosEnd - pos - step - 1); in GetAudioParamStr() 236 value = params.substr(pos + step + 1); in GetAudioParamStr()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | softbus_channel_adapter.cpp | 599 std::string peerDevId = (it->first).substr(position + 1);
in GetPeerDevIdBySessId() 611 return sessName.substr(0, position);
in GetOwnerFromSessName()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/ |
H A D | daemon.cpp | 516 physicalPath = physicalPath.substr(0, pos); in CheckCopyRule() 528 checkPath = checkPath.substr(0, pos); in CheckCopyRule()
|
/test/xts/acts/multimedia/av_codec/audio_encoder/src/ |
H A D | avcodec_audio_avbuffer_encoder_demo.cpp | 88 substring = str.substr(start, index - start); in SplitStringFully() 96 substring = str.substr(start); in SplitStringFully()
|
/test/xts/acts/multimedia/av_codec/audio_decoder/src/ |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 104 substring = str.substr(start, index - start); in SplitStringFully() 112 substring = str.substr(start); in SplitStringFully()
|
/third_party/gn/src/gn/ |
H A D | xcode_writer.cc | 208 return SourceFile("//" + file_path_utf8.substr( in FilePathToSourceFile() 1025 pbxtarget_name = target_name.substr( in AddBundleTarget()
|
/third_party/json/tests/src/ |
H A D | unit-testsuites.cpp | 1349 return str.substr(first, (last - first + 1)); 1377 line = line.substr(0, line.find_last_of(','));
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_virtualvalues.cpp | 620 assert(s.substr(0, 5) == "Param"); 700 std::istringstream is(s.substr(2));
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageViewTests.cpp | 361 return de::toLower(fullName.substr(10)); in getFormatCaseName() 616 return de::toLower(fullName.substr(21)); in getComponentSwizzleCaseName()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassSparseRenderTargetTests.cpp | 802 DE_ASSERT(formatStr.substr(0, prefix.length()) == prefix); in formatToName() 804 return de::toLower(formatStr.substr(prefix.length())); in formatToName()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureCompressedFormatTests.cpp | 597 const string nameBase = de::toLower(formatStr.substr(10)); in populateTextureCompressedFormatTests() 623 const string nameBase = de::toLower(formatStr.substr(10)); in populate3DTextureCompressedFormatTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrViewTests.cpp | 829 name << de::toLower(de::toString(params.format).substr(10)); in addPlaneViewCase() 839 name << "_compatible_format_" << de::toLower(de::toString(params.planeCompatibleFormat).substr(10)); in addPlaneViewCase()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiImageCompressionControlTests.cpp | 480 const string caseName = de::toLower(string(enumName).substr(10)); in addImageCompressionControlTests() 725 const string caseName = de::toLower(string(enumName).substr(10)); in addAhbCompressionControlTests()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | DataLayout.cpp | 259 Tok = Tok.substr(1); in parseSpecifier() 407 Tok = Tok.substr(1); in parseSpecifier()
|
/third_party/vk-gl-cts/external/amber/src/samples/ |
H A D | amber.cc | 502 delegate.SetScriptPath(file.substr(0, file.find_last_of("/\\") + 1)); 650 pos != std::string::npos && image_filename.substr(pos + 1) == "png";
|
/third_party/skia/third_party/externals/spirv-tools/tools/fuzz/ |
H A D | fuzz.cpp | 741 // substr to mean "the end of the string"; there is no need to check the in main() 744 std::string in_facts_file = in_binary_file.substr(0, dot_pos) + ".facts"; in main() 810 // substr to mean "the end of the string"; there is no need to check the in main() 813 std::string output_file_prefix = out_binary_file.substr(0, dot_pos); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/fuzz/ |
H A D | fuzz.cpp | 741 // substr to mean "the end of the string"; there is no need to check the in main() 744 std::string in_facts_file = in_binary_file.substr(0, dot_pos) + ".facts"; in main() 810 // substr to mean "the end of the string"; there is no need to check the in main() 813 std::string output_file_prefix = out_binary_file.substr(0, dot_pos); in main()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrViewTests.cpp | 739 name << de::toLower(de::toString(params.format).substr(10)); in addPlaneViewCase() 749 name << "_compatible_format_" << de::toLower(de::toString(params.planeCompatibleFormat).substr(10)); in addPlaneViewCase()
|
/third_party/spirv-tools/tools/fuzz/ |
H A D | fuzz.cpp | 722 // substr to mean "the end of the string"; there is no need to check the in main() 725 std::string in_facts_file = in_binary_file.substr(0, dot_pos) + ".facts"; in main() 787 // substr to mean "the end of the string"; there is no need to check the in main() 790 std::string output_file_prefix = out_binary_file.substr(0, dot_pos); in main()
|