Home
last modified time | relevance | path

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

/base/telephony/ril_adapter/services/hril/src/
Dhril_base.cpp90 bool HRilBase::ConvertToString(char **dest, const std::string &srcStr) in ConvertToString() argument
96 size_t size = srcStr.size(); in ConvertToString()
111 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.cpp281 HcString srcStr = CreateString(); variable
282 HcBool ret = StringSetPointer(&srcStr, TEST_STR);
284 ret = StringAppend(nullptr, srcStr);
286 ret = StringAppend(&selfStr, srcStr);
296 ret = StringSet(nullptr, srcStr);
298 ret = StringSet(&selfStr, srcStr);
315 DeleteString(&srcStr);
/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
Dhks_rkc.c338 static char *CloneNewStr(const char *srcStr, const uint32_t strLenMax) in CloneNewStr() argument
340 HKS_IF_NULL_LOGE_RETURN(srcStr, NULL, "Invalid input string!") in CloneNewStr()
342 const uint32_t strLen = strlen(srcStr); in CloneNewStr()
351 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.c147 static int32_t FindSemicolonCharNum(const char *srcStr) in FindSemicolonCharNum() argument
149 char *str = (char *)srcStr; in FindSemicolonCharNum()
223 static int32_t ParseRegStatusStr(const char *srcStr, HRilRegStatusInfo *hrilRegInfo) in ParseRegStatusStr() argument
225 if (srcStr == NULL || hrilRegInfo == NULL) { in ParseRegStatusStr()
228 if (ReportStrWith(srcStr, "+CREG:")) { in ParseRegStatusStr()
230 } else if (ReportStrWith(srcStr, "+CGREG:")) { in ParseRegStatusStr()
235 char *str = (char *)srcStr; in ParseRegStatusStr()
1868 void ProcessPhyChnlCfgNotify(struct ReportInfo reportInfo, char *srcStr) in ProcessPhyChnlCfgNotify() argument
/base/tee/tee_client/interfaces/kits/c/src/
Dtee_client.cpp216 static bool WriteChar(const char *srcStr, MessageParcel &data) in WriteChar() argument
219 if (srcStr == nullptr) { in WriteChar()
223 if (strnlen(srcStr, PATH_MAX) == PATH_MAX) { in WriteChar()
227 string tempStr = srcStr; in WriteChar()
228 writeRet = data.WriteUint32(strlen(srcStr)); in WriteChar()