Searched refs:realPath (Results 1 – 6 of 6) sorted by relevance
/test/xts/acts/kernel_lite/fs_posix/src/ |
D | FsStdlibTest.cpp | 67 char *realPath = (char *)malloc(256); variable 68 if (realpath(FILE0, realPath) == nullptr) 71 free(realPath); 75 EXPECT_STREQ(realPath, realPathStandard); 76 LOG("> realPath = %s", realPath); 77 free(realPath);
|
/test/xts/device_attest/services/oem_adapter/src/ |
D | device_attest_oem_file.c | 180 char* realPath = (char *)malloc(realPathLen); in OEMCreateFile() local 181 if (realPath == NULL) { in OEMCreateFile() 185 (void)memset_s(realPath, realPathLen, 0, realPathLen); in OEMCreateFile() 186 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in OEMCreateFile() 188 free(realPath); in OEMCreateFile() 193 FILE* fp = fopen(realPath, "w"); in OEMCreateFile() 195 free(realPath); in OEMCreateFile() 198 free(realPath); in OEMCreateFile()
|
/test/xts/device_attest_lite/services/core/small/utils/ |
D | attest_utils_file_detail.c | 179 char* realPath = (char *)ATTEST_MEM_MALLOC(realPathLen); in CreateFile() local 180 if (realPath == NULL) { in CreateFile() 184 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in CreateFile() 186 ATTEST_MEM_FREE(realPath); in CreateFile() 191 FILE* fp = fopen(realPath, "w"); in CreateFile() 193 ATTEST_MEM_FREE(realPath); in CreateFile() 196 ATTEST_MEM_FREE(realPath); in CreateFile()
|
/test/xts/device_attest/services/core/utils/ |
D | attest_utils_file.c | 196 char* realPath = (char *)ATTEST_MEM_MALLOC(realPathLen); in CreateFile() local 197 if (realPath == NULL) { in CreateFile() 201 if (sprintf_s(realPath, realPathLen, "%s%s%s", formatPath, "/", fileName) < 0) { in CreateFile() 203 ATTEST_MEM_FREE(realPath); in CreateFile() 208 FILE* fp = fopen(realPath, "w"); in CreateFile() 210 ATTEST_MEM_FREE(realPath); in CreateFile() 213 ATTEST_MEM_FREE(realPath); in CreateFile()
|
/test/xts/hats/hdf/hdf_lite/display/ |
D | loadbmp_test.c | 67 char realPath[PATH_MAX] = {0}; in GetBmpInfo() local 69 if (realpath((char*)fileName, realPath) == NULL) { in GetBmpInfo() 73 if ((file = fopen((const char*)realPath, "rb")) == NULL) { in GetBmpInfo() 122 char realPath[PATH_MAX] = {0}; in LoadPicToBuffer() local 133 if (realpath((char*)fileName, realPath) == NULL) { in LoadPicToBuffer() 137 if ((file = fopen((const char*)realPath, "rb")) == NULL) { in LoadPicToBuffer()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/ets/test/ |
D | StdlibNdk.test.ets | 2486 * @tc.desc : test realPath 2492 let result: number = stdlib.realPath();
|