Searched refs:filePathLen (Results 1 - 3 of 3) sorted by relevance
/test/xts/device_attest_lite/services/core/utils/ |
H A D | attest_utils_file.c | 32 uint32_t filePathLen = strlen(dirPath) + 1 + strlen(fileName) + 1; in GenFilePath() local 33 if (filePathLen > PATH_MAX) { in GenFilePath() 36 char* filePath = (char *)ATTEST_MEM_MALLOC(filePathLen); in GenFilePath() 40 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenFilePath()
|
/test/xts/device_attest/services/oem_adapter/src/ |
H A D | device_attest_oem_file.c | 33 uint32_t filePathLen = strlen(dirPath) + 1 + strlen(fileName) + 1; in OEMGenFilePath() local 34 if (filePathLen > PATH_MAX) { in OEMGenFilePath() 37 char* filePath = (char *)malloc(filePathLen); in OEMGenFilePath() 41 (void)memset_s(filePath, filePathLen, 0, filePathLen); in OEMGenFilePath() 42 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in OEMGenFilePath()
|
/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils_file.c | 33 uint32_t filePathLen = strlen(dirPath) + 1 + strlen(fileName) + 1; in GenFilePath() local 34 if (filePathLen > PATH_MAX) { in GenFilePath() 37 char* filePath = (char *)ATTEST_MEM_MALLOC(filePathLen); in GenFilePath() 41 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenFilePath()
|
Completed in 2 milliseconds