Home
last modified time | relevance | path

Searched refs:srcStr (Results 1 – 8 of 8) sorted by relevance

/base/telephony/ril_adapter/services/hril/src/
Dhril_base.cpp82 bool HRilBase::ConvertToString(char **dest, const std::string &srcStr) in ConvertToString() argument
88 size_t size = srcStr.size(); in ConvertToString()
103 if (strncpy_s(*dest, len, reinterpret_cast<const char *>(srcStr.c_str()), size) != EOK) { in ConvertToString()
/base/startup/init/interfaces/innerkits/modulemgr/
Dmodulemgr.c187 static int StringEndsWith(const char *srcStr, const char *endStr) in StringEndsWith() argument
189 int srcStrLen = strlen(srcStr); in StringEndsWith()
194 srcStr += (srcStrLen - endStrLen); in StringEndsWith()
195 BEGET_CHECK(strcmp(srcStr, endStr) != 0, return (srcStrLen - endStrLen)); in StringEndsWith()
/base/telephony/ril_adapter/services/vendor/include/
Dvendor_util.h95 int32_t FindCommaCharNum(const char *srcStr);
Dat_network.h75 void ProcessPhyChnlCfgNotify(struct ReportInfo reportInfo, char *srcStr);
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Dcommon_lib_test.cpp283 HcString srcStr = CreateString(); variable
284 HcBool ret = StringSetPointer(&srcStr, TEST_STR);
286 ret = StringAppend(nullptr, srcStr);
288 ret = StringAppend(&selfStr, srcStr);
298 ret = StringSet(nullptr, srcStr);
300 ret = StringSet(&selfStr, srcStr);
317 DeleteString(&srcStr);
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_rkc.c337 static char *CloneNewStr(const char *srcStr, const uint32_t strLenMax) in CloneNewStr() argument
339 HKS_IF_NULL_LOGE_RETURN(srcStr, NULL, "Invalid input string!") in CloneNewStr()
341 const uint32_t strLen = strlen(srcStr); in CloneNewStr()
350 if (memcpy_s(newBuf, strLen, srcStr, strLen) != EOK) { in CloneNewStr()
/base/telephony/ril_adapter/services/vendor/src/
Dvendor_util.c469 int32_t FindCommaCharNum(const char *srcStr) in FindCommaCharNum() argument
471 char *str = (char *)srcStr; in FindCommaCharNum()
Dat_network.c146 static int32_t FindSemicolonCharNum(const char *srcStr) in FindSemicolonCharNum() argument
148 char *str = (char *)srcStr; in FindSemicolonCharNum()
222 static int32_t ParseRegStatusStr(const char *srcStr, HRilRegStatusInfo *hrilRegInfo) in ParseRegStatusStr() argument
224 if (srcStr == NULL || hrilRegInfo == NULL) { in ParseRegStatusStr()
227 if (ReportStrWith(srcStr, "+CREG:")) { in ParseRegStatusStr()
229 } else if (ReportStrWith(srcStr, "+CGREG:")) { in ParseRegStatusStr()
234 char *str = (char *)srcStr; in ParseRegStatusStr()
1829 void ProcessPhyChnlCfgNotify(struct ReportInfo reportInfo, char *srcStr) in ProcessPhyChnlCfgNotify() argument