Home
last modified time | relevance | path

Searched refs:MAX_BUFFER_SIZE (Results 1 – 23 of 23) 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/hiviewdfx/hilog/platform/interface/native/
Dlog.cpp56 constexpr uint32_t MAX_BUFFER_SIZE = 4096; variable
66 char buf[MAX_BUFFER_SIZE] = { '\0' }; in LogPrint()
/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(nullptr, MAX_BUFFER_SIZE); in Unpack()
161 PkgBuffer buffer(nullptr, MAX_BUFFER_SIZE); in UnpackWithVerify()
/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/msdp/device_status/interfaces/innerkits/interaction/include/
Ddrag_data.h28 constexpr size_t MAX_BUFFER_SIZE { 512 };
/base/hiviewdfx/hiview/base/utility/include/
Dtime_util.h37 constexpr int MAX_BUFFER_SIZE = 80; variable
/base/update/updater/services/include/updater/
Dupdater_const.h77 constexpr int32_t MAX_BUFFER_SIZE = 512; variable
/base/update/sys_installer_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/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_common.h39 constexpr size_t MAX_BUFFER_SIZE = (512 * 1024 * 1024); variable
/base/update/updater/services/
Dupdater.cpp386 char buffer[MAX_BUFFER_SIZE] = {0}; in HandlePipeMsg()
392 while (fgets(buffer, MAX_BUFFER_SIZE - 1, fromChild) != nullptr) { in HandlePipeMsg()
397 HandleChildOutput(buffer, MAX_BUFFER_SIZE, retryUpdate, upParams); in HandlePipeMsg()
/base/hiviewdfx/hiview/base/utility/
Dtime_util.cpp132 char buffer[MAX_BUFFER_SIZE] = {0}; in FormatTime()
/base/telephony/cellular_data/services/include/common/
Dcellular_data_constant.h213 static const int MAX_BUFFER_SIZE = 1024; variable
/base/msdp/device_status/frameworks/native/interaction/src/
Ddrag_manager_impl.cpp51 if ((dragData.dragNum <= 0) || (dragData.buffer.size() > MAX_BUFFER_SIZE) || in StartDrag()
/base/hiviewdfx/hitrace/cmd/src/
Dhitrace_cmd.cpp74 const int MAX_BUFFER_SIZE = 307200; // 300 MB variable
423 } else if (g_bufferSizeKB < MIN_BUFFER_SIZE || g_bufferSizeKB > MAX_BUFFER_SIZE) { in ParseLongOpt()
489 } else if (g_bufferSizeKB < MIN_BUFFER_SIZE || g_bufferSizeKB > MAX_BUFFER_SIZE) { in ParseOpt()
/base/telephony/cellular_data/services/src/
Ddata_connection_manager.cpp377 char tcpBufferConfig[MAX_BUFFER_SIZE] = {0}; in GetDefaultTcpBufferConfig()
378 GetParameter(CONFIG_TCP_BUFFER, DEFAULT_TCP_BUFFER_CONFIG, tcpBufferConfig, MAX_BUFFER_SIZE); in GetDefaultTcpBufferConfig()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp117 + ", " + Size2Str(MAX_BUFFER_SIZE) + "]")},
/base/hiviewdfx/hilog/services/hilogd/
Dlog_buffer.cpp371 if (buffSize < MIN_BUFFER_SIZE || buffSize > MAX_BUFFER_SIZE) { in SetBuffLen()
/base/msdp/device_status/services/communication/service/src/
Ddevicestatus_srv_stub.cpp345 if ((dragData.dragNum <= 0) || (dragData.buffer.size() > MAX_BUFFER_SIZE) || in StartDragStub()
/base/msdp/device_status/frameworks/native/interaction/test/unittest/src/
Dinteraction_drag_drawing_test.cpp122 dragData.buffer = std::vector<uint8_t>(MAX_BUFFER_SIZE, 0); in CreateDragData()
Dinteraction_manager_test.cpp221 dragData.buffer = std::vector<uint8_t>(MAX_BUFFER_SIZE, 0); in CreateDragData()