/foundation/ai/intelligent_voice_framework/utils/ |
H A D | string_util.cpp | 145 char *endStr = nullptr; in StringToInt() local 146 long int conVal = std::strtol(str.c_str(), &endStr, 10); // decimal in StringToInt() 147 if (conVal == LONG_MAX || conVal == LONG_MIN || endStr == nullptr || endStr == str.c_str() || *endStr != '\0') { in StringToInt()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_parse.cpp | 143 const std::string &endStr) in GetTargetStr() 155 if (endStr.empty()) { in GetTargetStr() 159 strPos = leftStr.find(endStr); in GetTargetStr() 161 CLOGD("GetTarget [%{public}s] left string not have endStr %{public}s", specificStr.c_str(), endStr.c_str()); in GetTargetStr() 142 GetTargetStr(const std::string &srcStr, const std::string &specificStr, const std::string &endStr) GetTargetStr() argument
|
H A D | rtsp_parse.h | 60 const std::string &endStr);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/ |
H A D | rtsp_parse.cpp | 143 const std::string &endStr) in GetTargetStr() 155 if (endStr.empty()) { in GetTargetStr() 159 strPos = leftStr.find(endStr); in GetTargetStr() 161 CLOGD("GetTarget [%{public}s] left string not have endStr %{public}s", specificStr.c_str(), endStr.c_str()); in GetTargetStr() 142 GetTargetStr(const std::string &srcStr, const std::string &specificStr, const std::string &endStr) GetTargetStr() argument
|
H A D | rtsp_parse.h | 60 const std::string &endStr);
|
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/server_demo/ |
H A D | file_server_demo.cpp | 102 std::string endStr = matchVals[END_INDEX].str(); in GetRange() local 104 endPos = std::regex_match(endStr, regexDigital) ? std::stoi(endStr) : INT32_MAX; in GetRange()
|
/foundation/multimedia/av_codec/test/unittest/common/ |
H A D | http_server_demo.cpp | 109 std::string endStr = matchVals[END_INDEX].str(); in GetRange() local 111 endPos = std::regex_match(endStr, regexDigital) ? std::stoi(endStr) : INT32_MAX; in GetRange()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_animation_trace_utils.cpp | 148 auto endStr = ParseRenderPropertyVaule(endValue); in addAnimationCreateTrace() local 153 endStr.c_str(), animationDelay, animationDur, repeat); in addAnimationCreateTrace()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | file_path_utils.h | 24 bool StringEndWith(const std::string& str, const char* endStr, size_t endStrLen);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | moving_photo_file_utils.cpp | 686 bool EndsWith(const string &str, const string &endStr) in EndsWith() argument 688 if (str.length() < endStr.length()) { in EndsWith() 691 return str.rfind(endStr) == str.length() - endStr.length(); in EndsWith()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_path_utils.cpp | 67 bool StringEndWith(const std::string& str, const char* endStr, size_t endStrLen) in StringEndWith() argument 70 return ((len >= endStrLen) && (str.compare(len - endStrLen, endStrLen, endStr) == 0)); in StringEndWith()
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestUtils.cpp | 255 std::string endStr = "def"; in HWTEST_F() local 259 bool result = stringHelp->EndsWith(srcStr, endStr); in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | key_backup.cpp | 177 std::string endStr = origDir.substr(slashIndex); in GetBackupDir() local 178 backupDir = prefixStr + BACKUP_NAME + endStr; in GetBackupDir()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.cpp | 1425 auto endStr = StringUtils::ToWstring(spanItem->content).substr(end - info.spanStart_); 1426 std::wstring result = beforStr + endStr; 1466 auto endStr = 1468 auto strEnd = StringUtils::ToString(endStr);
|