Home
last modified time | relevance | path

Searched refs:endStr (Results 1 - 14 of 14) sorted by relevance

/foundation/ai/intelligent_voice_framework/utils/
H A Dstring_util.cpp145 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 Drtsp_parse.cpp143 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 Drtsp_parse.h60 const std::string &endStr);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_parse.cpp143 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 Drtsp_parse.h60 const std::string &endStr);
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/server_demo/
H A Dfile_server_demo.cpp102 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 Dhttp_server_demo.cpp109 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 Drs_animation_trace_utils.cpp148 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 Dfile_path_utils.h24 bool StringEndWith(const std::string& str, const char* endStr, size_t endStrLen);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmoving_photo_file_utils.cpp686 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 Dfile_path_utils.cpp67 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 DTestUtils.cpp255 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 Dkey_backup.cpp177 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 Drich_editor_pattern.cpp1425 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);

Completed in 20 milliseconds