Home
last modified time | relevance | path

Searched refs:DEFAULT_PATH_LEN (Results 1 - 5 of 5) sorted by relevance

/base/security/huks/utils/compatibility_bin/
H A Dcompatibility_small_bin.c33 #define DEFAULT_PATH_LEN 1024 macro
50 char curPath[DEFAULT_PATH_LEN] = { 0 }; in ChangeDirAndFilesPerm()
52 ret = strcpy_s(curPath, DEFAULT_PATH_LEN, path); in ChangeDirAndFilesPerm()
56 ret = strcat_s(curPath, DEFAULT_PATH_LEN, "/"); in ChangeDirAndFilesPerm()
60 ret = strcat_s(curPath, DEFAULT_PATH_LEN, ptr->d_name); in ChangeDirAndFilesPerm()
118 int ret = strcpy_s(curPath, DEFAULT_PATH_LEN, srcPath); in ConstructSrcAndTargetPath()
122 ret = strcat_s(curPath, DEFAULT_PATH_LEN, "/"); in ConstructSrcAndTargetPath()
127 ret = strcat_s(curPath, DEFAULT_PATH_LEN, ptr->d_name); in ConstructSrcAndTargetPath()
132 ret = strcpy_s(desPath, DEFAULT_PATH_LEN, tarPath); in ConstructSrcAndTargetPath()
136 ret = strcat_s(desPath, DEFAULT_PATH_LEN, "/"); in ConstructSrcAndTargetPath()
[all...]
H A Dcompatibility_standard_bin.c41 #define DEFAULT_PATH_LEN 1024 macro
62 char curPath[DEFAULT_PATH_LEN] = { 0 }; in ChangeDirAndFilesPerm()
64 ret = strcpy_s(curPath, DEFAULT_PATH_LEN, path); in ChangeDirAndFilesPerm()
68 ret = strcat_s(curPath, DEFAULT_PATH_LEN, "/"); in ChangeDirAndFilesPerm()
72 ret = strcat_s(curPath, DEFAULT_PATH_LEN, ptr->d_name); in ChangeDirAndFilesPerm()
/base/security/huks/test/unittest/modify_old_version_key_test_util/
H A Dhks_test_modify_old_key.c38 #define DEFAULT_PATH_LEN 1024 macro
111 char curPath[DEFAULT_PATH_LEN] = { 0 }; in ChangeDirAndFiles()
113 ret = strcpy_s(curPath, DEFAULT_PATH_LEN, path); in ChangeDirAndFiles()
117 ret = strcat_s(curPath, DEFAULT_PATH_LEN, "/"); in ChangeDirAndFiles()
121 ret = strcat_s(curPath, DEFAULT_PATH_LEN, ptr->d_name); in ChangeDirAndFiles()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/
H A Dhks_sa.cpp315 #define DEFAULT_PATH_LEN 1024 macro
329 char curPath[DEFAULT_PATH_LEN] = { 0 }; in MoveMineOldFile()
330 if (strcpy_s(curPath, DEFAULT_PATH_LEN, oldDir) != EOK) { in MoveMineOldFile()
333 if (strcat_s(curPath, DEFAULT_PATH_LEN, "/") != EOK) { in MoveMineOldFile()
336 if (strcat_s(curPath, DEFAULT_PATH_LEN, ptr->d_name) != EOK) { in MoveMineOldFile()
339 char newPath[DEFAULT_PATH_LEN] = { 0 }; in MoveMineOldFile()
340 if (strcpy_s(newPath, DEFAULT_PATH_LEN, newDir) != EOK) { in MoveMineOldFile()
343 if (strcat_s(newPath, DEFAULT_PATH_LEN, "/") != EOK) { in MoveMineOldFile()
346 if (strcat_s(newPath, DEFAULT_PATH_LEN, ptr->d_name) != EOK) { in MoveMineOldFile()
/base/security/huks/utils/file_iterative_reader/src/
H A Dhks_iterative_reader.c31 #define DEFAULT_PATH_LEN 256 macro
119 int ret = strcpy_s(subPath, DEFAULT_PATH_LEN, curPath); in ConstructSubPath()
123 ret = strcat_s(subPath, DEFAULT_PATH_LEN, "/"); in ConstructSubPath()
128 ret = strcat_s(subPath, DEFAULT_PATH_LEN, ptr->d_name); in ConstructSubPath()
150 char subPath[DEFAULT_PATH_LEN] = { 0 }; in HksGetOldStoreFileInfo()

Completed in 3 milliseconds