Searched refs:endStrLen (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/startup/init/interfaces/innerkits/modulemgr/ |
H A D | modulemgr.c | 190 int endStrLen = strlen(endStr); in StringEndsWith() local 192 BEGET_CHECK(!(srcStrLen < endStrLen), return -1); in StringEndsWith() 194 srcStr += (srcStrLen - endStrLen); in StringEndsWith() 195 BEGET_CHECK(strcmp(srcStr, endStr) != 0, return (srcStrLen - endStrLen)); in StringEndsWith()
|
/ohos5.0/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()
|
/ohos5.0/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);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/file_path_utils_test/ |
H A D | file_path_utils_test.cpp | 78 size_t endStrLen = 2; variable 79 EXPECT_TRUE(StringEndWith(longStr, shortStr, endStrLen));
|