/base/startup/init/test/exec_test/ |
D | server.c | 19 #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/ |
D | test_utils.cpp | 34 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/ |
D | common_defines.h | 30 static const int MAX_BUFFER_SIZE = 8 * 1024 * 1024; // 8:8M variable
|
/base/update/updater/services/package/pkg_algorithm/ |
D | pkg_algorithm.cpp | 23 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/ |
D | dlp_permission_set_parser.cpp | 106 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/ |
D | dlp_permission_set_parser.h | 31 constexpr size_t MAX_BUFFER_SIZE = 1024; variable
|
/base/telephony/cellular_data/services/src/ |
D | data_connection_manager.cpp | 271 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/ |
D | updater_const.h | 66 constexpr int32_t MAX_BUFFER_SIZE = 512; variable
|
/base/update/ota_lite/frameworks/source/updater/ |
D | hota_updater.c | 38 #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/ |
D | updater.cpp | 379 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/ |
D | hilog_common.h | 39 constexpr size_t MAX_BUFFER_SIZE = (512 * 1024 * 1024); variable
|
/base/telephony/cellular_data/services/include/common/ |
D | cellular_data_constant.h | 213 static const int MAX_BUFFER_SIZE = 1024; variable
|
/base/hiviewdfx/hitrace/cmd/src/ |
D | hitrace_cmd.cpp | 71 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/ |
D | log_buffer.cpp | 347 if (buffSize < MIN_BUFFER_SIZE || buffSize > MAX_BUFFER_SIZE) { in SetBuffLen()
|
/base/hiviewdfx/hilog/frameworks/libhilog/utils/ |
D | log_utils.cpp | 117 + ", " + Size2Str(MAX_BUFFER_SIZE) + "]")},
|