Searched refs:realPathLen (Results 1 - 3 of 3) sorted by relevance
/test/xts/device_attest/services/oem_adapter/src/ |
H A D | device_attest_oem_file.c | 167 uint32_t realPathLen = strlen(formatPath) + 1 + strlen(fileName) + 1; in OEMCreateFileImpl() local 168 if (realPathLen > PATH_MAX) { in OEMCreateFileImpl() 172 char* realPath = (char *)malloc(realPathLen); in OEMCreateFileImpl() 177 (void)memset_s(realPath, realPathLen, 0, realPathLen); in OEMCreateFileImpl() 178 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in OEMCreateFileImpl()
|
/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils_file.c | 179 uint32_t realPathLen = strlen(formatPath) + 1 + strlen(fileName) + 1; in CreateFileImpl() local 180 if (realPathLen > PATH_MAX) { in CreateFileImpl() 184 char* realPath = (char *)ATTEST_MEM_MALLOC(realPathLen); in CreateFileImpl() 189 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in CreateFileImpl()
|
/test/xts/device_attest_lite/services/core/small/utils/ |
H A D | attest_utils_file_detail.c | 175 uint32_t realPathLen = strlen(formatPath) + 1 + strlen(fileName) + 1; in CreateFile() local 176 if (realPathLen > PATH_MAX) { in CreateFile() 179 char* realPath = (char *)ATTEST_MEM_MALLOC(realPathLen); in CreateFile() 184 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in CreateFile()
|
Completed in 2 milliseconds