Home
last modified time | relevance | path

Searched refs:MAX_BUFFER_SIZE (Results 1 – 15 of 15) sorted by relevance

/base/startup/init/test/exec_test/
Dserver.c19 #define MAX_BUFFER_SIZE 1024 macro
28 char buffer[MAX_BUFFER_SIZE] = { 0 }; in main()
32 (void)memset_s(buffer, MAX_BUFFER_SIZE, 0, MAX_BUFFER_SIZE); in main()
/base/startup/init/test/moduletest/
Dtest_utils.cpp34 constexpr size_t MAX_BUFFER_SIZE = 4096; variable
54 char buffer[MAX_BUFFER_SIZE] = {}; in ReadFileContent()
55 while ((n = fread(buffer, 1, MAX_BUFFER_SIZE, fp.get())) > 0) { in ReadFileContent()
/base/hiviewdfx/hiview/utility/common_utils/include/
Dcommon_defines.h30 static const int MAX_BUFFER_SIZE = 8 * 1024 * 1024; // 8:8M variable
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algorithm.cpp23 constexpr uint32_t MAX_BUFFER_SIZE = (4 * 1024 * 1024); variable
69 PkgBuffer buffer(MAX_BUFFER_SIZE); in Pack()
115 PkgBuffer buffer(MAX_BUFFER_SIZE); in Unpack()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Ddlp_permission_set_parser.cpp106 char buff[MAX_BUFFER_SIZE] = { 0 }; in ReadCfgFile()
108 while ((readLen = read(fd, buff, MAX_BUFFER_SIZE)) > 0) { in ReadCfgFile()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Ddlp_permission_set_parser.h31 constexpr size_t MAX_BUFFER_SIZE = 1024; variable
/base/telephony/cellular_data/services/src/
Ddata_connection_manager.cpp271 char bandWidthBuffer[MAX_BUFFER_SIZE] = {0}; in GetDefaultBandWidthsConfig()
272 GetParameter(CONFIG_BANDWIDTH, DEFAULT_BANDWIDTH_CONFIG, bandWidthBuffer, MAX_BUFFER_SIZE); in GetDefaultBandWidthsConfig()
295 char tcpBufferConfig[MAX_BUFFER_SIZE] = {0}; in GetDefaultTcpBufferConfig()
296 GetParameter(CONFIG_TCP_BUFFER, DEFAULT_TCP_BUFFER_CONFIG, tcpBufferConfig, MAX_BUFFER_SIZE); in GetDefaultTcpBufferConfig()
/base/update/updater/services/include/updater/
Dupdater_const.h66 constexpr int32_t MAX_BUFFER_SIZE = 512; variable
/base/update/ota_lite/frameworks/source/updater/
Dhota_updater.c38 #define MAX_BUFFER_SIZE 1500 macro
423 if (g_currentDloadComp.currentSize + buffSize > MAX_BUFFER_SIZE) { in CopyToDloadCompBuffer()
428 …if (memcpy_s(g_infoCompBuff + g_currentDloadComp.currentSize, MAX_BUFFER_SIZE - g_currentDloadComp… in CopyToDloadCompBuffer()
594 g_infoCompBuff = (unsigned char *)malloc(MAX_BUFFER_SIZE); in HotaInit()
/base/update/updater/services/
Dupdater.cpp379 char buffer[MAX_BUFFER_SIZE] = {0}; in StartUpdaterProc()
383 while (fgets(buffer, MAX_BUFFER_SIZE - 1, fromChild) != nullptr) { in StartUpdaterProc()
388 HandleChildOutput(buffer, MAX_BUFFER_SIZE, retryUpdate, upParams); in StartUpdaterProc()
/base/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_common.h39 constexpr size_t MAX_BUFFER_SIZE = (512 * 1024 * 1024); variable
/base/telephony/cellular_data/services/include/common/
Dcellular_data_constant.h213 static const int MAX_BUFFER_SIZE = 1024; variable
/base/hiviewdfx/hitrace/cmd/src/
Dhitrace_cmd.cpp71 const int MAX_BUFFER_SIZE = 307200; // 300 MB variable
412 } else if (g_bufferSizeKB < MIN_BUFFER_SIZE || g_bufferSizeKB > MAX_BUFFER_SIZE) { in ParseLongOpt()
474 } else if (g_bufferSizeKB < MIN_BUFFER_SIZE || g_bufferSizeKB > MAX_BUFFER_SIZE) { in ParseOpt()
/base/hiviewdfx/hilog/services/hilogd/
Dlog_buffer.cpp347 if (buffSize < MIN_BUFFER_SIZE || buffSize > MAX_BUFFER_SIZE) { in SetBuffLen()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp117 + ", " + Size2Str(MAX_BUFFER_SIZE) + "]")},