/foundation/systemabilitymgr/safwk/services/safwk/src/ |
H A D | main.cpp | 88 auto dotPos = fileName.find("."); in SetProcName() local 89 if (dotPos == string::npos) { in SetProcName() 92 string profileName = fileName.substr(0, dotPos); in SetProcName() 95 if (dotPos > MAX_LEN_PID_NAME) { in SetProcName() 96 dotPos = MAX_LEN_PID_NAME; in SetProcName() 98 profileName = fileName.substr(0, dotPos); in SetProcName()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_parse.cpp | 65 auto dotPos = spiltStrings[index].find(":"); in ParseMsg() local 66 if (dotPos == std::string::npos) { in ParseMsg() 70 subStrL = spiltStrings[index].substr(0, dotPos); in ParseMsg() 71 subStrR = spiltStrings[index].substr(dotPos + 1); in ParseMsg()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/ |
H A D | rtsp_parse.cpp | 65 auto dotPos = spiltStrings[index].find(":"); in ParseMsg() local 66 if (dotPos == std::string::npos) { in ParseMsg() 70 subStrL = spiltStrings[index].substr(0, dotPos); in ParseMsg() 71 subStrR = spiltStrings[index].substr(dotPos + 1); in ParseMsg()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/operation/ |
H A D | photo_displayname_operation.h | 129 size_t dotPos = displayName.rfind('.');
in ParseNormalDisplayName() local 130 if (dotPos != std::string::npos) {
in ParseNormalDisplayName() 131 this->prefix = displayName.substr(0, dotPos);
in ParseNormalDisplayName() 132 this->suffix = displayName.substr(dotPos); // include dot, e.g. ".jpg"
in ParseNormalDisplayName()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/ |
H A D | distributed_object_store_impl.cpp | 244 std::size_t dotPos = changedKey.find(ASSET_DOT); in FindChangedAssetKey() local 245 if ((changedKey.size() > MODIFY_TIME_SUFFIX.length() && changedKey.substr(dotPos) == MODIFY_TIME_SUFFIX) || in FindChangedAssetKey() 246 (changedKey.size() > SIZE_SUFFIX.length() && changedKey.substr(dotPos) == SIZE_SUFFIX)) { in FindChangedAssetKey() 247 assetKey = changedKey.substr(0, dotPos); in FindChangedAssetKey()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_sub_statemachine.cpp | 664 std::string::size_type dotPos = btpanIpv4Addr.rfind("."); in GetBtDestinationAddr() local 665 if (dotPos == std::string::npos) { in GetBtDestinationAddr() 675 addrStr = btpanIpv4Addr.substr(0, dotPos) + routeSuffix; in GetBtDestinationAddr() 690 std::string::size_type dotPos = wifiIpv4Addr.rfind("."); in GetWifiApDestinationAddr() local 691 if (dotPos == std::string::npos) { in GetWifiApDestinationAddr() 700 addrStr = wifiIpv4Addr.substr(0, dotPos) + routeSuffix; in GetWifiApDestinationAddr() 739 std::string::size_type dotPos = usbIpv4Addr.rfind("."); in GetUsbDestinationAddr() local 740 if (dotPos == std::string::npos) { in GetUsbDestinationAddr() 749 addrStr = usbIpv4Addr.substr(0, dotPos) + routeSuffix; in GetUsbDestinationAddr()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_image.cpp | 69 auto dotPos = realPath.find_last_of('.'); in LoadLocalImage() local 70 auto format = realPath.substr(dotPos + 1); in LoadLocalImage()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/src/ |
H A D | media_library_tab_old_photos_client.cpp | 194 size_t dotPos = fileNameInData.rfind('.'); in BuildRequestUri() local 195 if (dotPos != std::string::npos) { in BuildRequestUri() 196 fileNameInData = fileNameInData.substr(0, dotPos); in BuildRequestUri()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | backup_file_utils.cpp | 136 size_t dotPos = displayName.find_last_of("."); in ConvertLowQualityPath() local 137 if (dotPos != string::npos) { in ConvertLowQualityPath() 138 displayName.replace(dotPos, displayName.length() - dotPos, ".camera"); in ConvertLowQualityPath()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | js_fwk_common.cpp | 1157 void ExpandImagePathMem(char *&imagePath, const int16_t dotPos, const int16_t suffixLen, const int16_t imagePathLen) in ExpandImagePathMem() argument 1159 if (dotPos < 0 || suffixLen < 0 || imagePathLen < 0) { in ExpandImagePathMem() 1162 int16_t len = dotPos + 1 + suffixLen + 1; in ExpandImagePathMem() 1169 (dotPos + 1 + suffixLen + 1)); in ExpandImagePathMem()
|
H A D | js_fwk_common.h | 287 void ExpandImagePathMem(char *&imagePath, const int16_t dotPos, const int16_t suffixLen, const int16_t imagePathLen);
|
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/ |
H A D | system_sound_manager_impl.cpp | 1834 size_t dotPos = fileName.find_last_of('.'); in ConvertToHapticsFileName() local 1835 if (dotPos != std::string::npos) { in ConvertToHapticsFileName() 1836 std::string baseName = fileName.substr(0, dotPos); in ConvertToHapticsFileName()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_pattern.cpp | 1436 auto dotPos = contentController_->GetWideText().rfind(L'.'); in HandleOnSelectAll() local 1437 if (dotPos != std::string::npos && static_cast<int32_t>(dotPos) < textSize - FIND_TEXT_ZERO_INDEX) { in HandleOnSelectAll() 1438 textSize = static_cast<int32_t>(dotPos); in HandleOnSelectAll()
|