Home
last modified time | relevance | path

Searched refs:filePath (Results 1 - 3 of 3) sorted by relevance

/vendor/hisilicon/hispark_taurus/hals/utils/token/
H A Dhal_token.c65 char* filePath = (char *)malloc(filePathLen); in GenTokenFilePath() local
66 if (filePath == NULL) { in GenTokenFilePath()
70 (void)memset_s(filePath, filePathLen, 0, filePathLen); in GenTokenFilePath()
71 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenTokenFilePath()
72 free(filePath); in GenTokenFilePath()
75 return filePath; in GenTokenFilePath()
84 char* filePath = GenTokenFilePath(path, fileName); in GetTokenFileSize() local
85 if (filePath == NULL) { in GetTokenFileSize()
89 char* formatPath = realpath(filePath, NULL); in GetTokenFileSize()
121 char* filePath in ReadTokenFile() local
158 char* filePath = GenTokenFilePath(formatPath, fileName); WriteTokenFile() local
[all...]
/vendor/hisilicon/hispark_taurus_linux/hals/utils/token/
H A Dhal_token.c65 char* filePath = (char *)malloc(filePathLen); in GenTokenFilePath() local
66 if (filePath == NULL) { in GenTokenFilePath()
70 (void)memset_s(filePath, filePathLen, 0, filePathLen); in GenTokenFilePath()
71 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenTokenFilePath()
72 free(filePath); in GenTokenFilePath()
75 return filePath; in GenTokenFilePath()
84 char* filePath = GenTokenFilePath(path, fileName); in GetTokenFileSize() local
85 if (filePath == NULL) { in GetTokenFileSize()
89 char* formatPath = realpath(filePath, NULL); in GetTokenFileSize()
121 char* filePath in ReadTokenFile() local
158 char* filePath = GenTokenFilePath(formatPath, fileName); WriteTokenFile() local
[all...]
/vendor/hisilicon/hispark_taurus_mini_system/hals/utils/token/
H A Dhal_token.c65 char* filePath = (char *)malloc(filePathLen); in GenTokenFilePath() local
66 if (filePath == NULL) { in GenTokenFilePath()
70 (void)memset_s(filePath, filePathLen, 0, filePathLen); in GenTokenFilePath()
71 if (sprintf_s(filePath, filePathLen, "%s%s%s", dirPath, "/", fileName) < 0) { in GenTokenFilePath()
72 free(filePath); in GenTokenFilePath()
75 return filePath; in GenTokenFilePath()
84 char* filePath = GenTokenFilePath(path, fileName); in GetTokenFileSize() local
85 if (filePath == NULL) { in GetTokenFileSize()
89 char* formatPath = realpath(filePath, NULL); in GetTokenFileSize()
121 char* filePath in ReadTokenFile() local
158 char* filePath = GenTokenFilePath(formatPath, fileName); WriteTokenFile() local
[all...]

Completed in 3 milliseconds