Home
last modified time | relevance | path

Searched refs:versionLen (Results 1 – 2 of 2) sorted by relevance

/base/startup/init/simulator/parameter/src/
Dparameter_common.c212 const int versionLen = strlen(versionValue); in BuildDisplayVersion() local
213 if (versionLen > 0) { in BuildDisplayVersion()
214 if (versionValue[versionLen - 1] != ')') { in BuildDisplayVersion()
218 char tempValue[versionLen]; in BuildDisplayVersion()
219 (void)memset_s(tempValue, versionLen, 0, versionLen); in BuildDisplayVersion()
220 if (strncpy_s(tempValue, versionLen, versionValue, versionLen - 1) != 0) { in BuildDisplayVersion()
223 tempValue[versionLen - 1] = '\0'; in BuildDisplayVersion()
/base/security/huks/interfaces/inner_api/huks_standard/main/src/
Dhks_api.c68 uint32_t versionLen = strlen(HKS_SDK_VERSION); in HksGetSdkVersion() local
69 if (sdkVersion->size < (versionLen + 1)) { in HksGetSdkVersion()
73 (void)memcpy_s(sdkVersion->data, sdkVersion->size, HKS_SDK_VERSION, versionLen); in HksGetSdkVersion()
75 sdkVersion->data[versionLen] = '\0'; in HksGetSdkVersion()
76 sdkVersion->size = versionLen; in HksGetSdkVersion()