Home
last modified time | relevance | path

Searched refs:MAX_BUF_SIZE (Results 1 – 4 of 4) sorted by relevance

/base/startup/init/services/utils/
Dinit_utils.c34 #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/
Dparam_dac.c29 #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/
Dhks_storage_lite.c33 #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/
Dhks_core_service_three_stage.c60 #define MAX_BUF_SIZE (5 * 1024 * 1024) macro
310 if ((cachedBlob->size > MAX_BUF_SIZE) || (inData->size > (MAX_BUF_SIZE - cachedBlob->size))) { in GetNewCachedData()