/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/hiviewdfx/hilog/platform/interface/native/ |
D | log.cpp | 56 constexpr uint32_t MAX_BUFFER_SIZE = 4096; variable 66 char buf[MAX_BUFFER_SIZE] = { '\0' }; in LogPrint()
|
/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(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/ |
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/msdp/device_status/interfaces/innerkits/interaction/include/ |
D | drag_data.h | 28 constexpr size_t MAX_BUFFER_SIZE { 512 };
|
/base/hiviewdfx/hiview/base/utility/include/ |
D | time_util.h | 37 constexpr int MAX_BUFFER_SIZE = 80; variable
|
/base/update/updater/services/include/updater/ |
D | updater_const.h | 77 constexpr int32_t MAX_BUFFER_SIZE = 512; variable
|
/base/update/sys_installer_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/hiviewdfx/hilog/frameworks/libhilog/include/ |
D | hilog_common.h | 39 constexpr size_t MAX_BUFFER_SIZE = (512 * 1024 * 1024); variable
|
/base/update/updater/services/ |
D | updater.cpp | 386 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/ |
D | time_util.cpp | 132 char buffer[MAX_BUFFER_SIZE] = {0}; in FormatTime()
|
/base/telephony/cellular_data/services/include/common/ |
D | cellular_data_constant.h | 213 static const int MAX_BUFFER_SIZE = 1024; variable
|
/base/msdp/device_status/frameworks/native/interaction/src/ |
D | drag_manager_impl.cpp | 51 if ((dragData.dragNum <= 0) || (dragData.buffer.size() > MAX_BUFFER_SIZE) || in StartDrag()
|
/base/hiviewdfx/hitrace/cmd/src/ |
D | hitrace_cmd.cpp | 74 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/ |
D | data_connection_manager.cpp | 377 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/ |
D | log_utils.cpp | 117 + ", " + Size2Str(MAX_BUFFER_SIZE) + "]")},
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_buffer.cpp | 371 if (buffSize < MIN_BUFFER_SIZE || buffSize > MAX_BUFFER_SIZE) { in SetBuffLen()
|
/base/msdp/device_status/services/communication/service/src/ |
D | devicestatus_srv_stub.cpp | 345 if ((dragData.dragNum <= 0) || (dragData.buffer.size() > MAX_BUFFER_SIZE) || in StartDragStub()
|
/base/msdp/device_status/frameworks/native/interaction/test/unittest/src/ |
D | interaction_drag_drawing_test.cpp | 122 dragData.buffer = std::vector<uint8_t>(MAX_BUFFER_SIZE, 0); in CreateDragData()
|
D | interaction_manager_test.cpp | 221 dragData.buffer = std::vector<uint8_t>(MAX_BUFFER_SIZE, 0); in CreateDragData()
|