Searched refs:MAX_BUF_SIZE (Results 1 – 4 of 4) sorted by relevance
/base/startup/init/services/utils/ |
D | init_utils.c | 34 #define MAX_BUF_SIZE 1024 macro 478 char *fileName = calloc(1, MAX_BUF_SIZE); in ReadFileInDir() 497 … int ret = snprintf_s(fileName, MAX_BUF_SIZE, MAX_BUF_SIZE - 1, "%s/%s", dirPath, dp->d_name); in ReadFileInDir()
|
/base/startup/init/services/param/adapter/ |
D | param_dac.c | 29 #define MAX_BUF_SIZE 1024 macro 182 char *fileName = malloc(MAX_BUF_SIZE); in DacGetParamSecurityLabel() 199 int ret = ParamSprintf(fileName, MAX_BUF_SIZE, "%s/%s", path, dp->d_name); in DacGetParamSecurityLabel()
|
/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_storage_lite.c | 33 #define MAX_BUF_SIZE 65536 macro 136 if ((size == 0) || (size > MAX_BUF_SIZE)) { in ApplyImageBuffer()
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_core_service_three_stage.c | 60 #define MAX_BUF_SIZE (5 * 1024 * 1024) macro 310 if ((cachedBlob->size > MAX_BUF_SIZE) || (inData->size > (MAX_BUF_SIZE - cachedBlob->size))) { in GetNewCachedData()
|