Searched refs:versionLen (Results 1 – 2 of 2) sorted by relevance
212 const int versionLen = strlen(versionValue); in BuildDisplayVersion() local213 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()
68 uint32_t versionLen = strlen(HKS_SDK_VERSION); in HksGetSdkVersion() local69 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()