/base/hiviewdfx/hiview_lite/ |
D | hiview_util.c | 45 #define BUFFER_SIZE 128 macro 211 uint8 *dataBuf = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, BUFFER_SIZE); in HIVIEW_FileCopy() 216 int32 nLen = HIVIEW_FileRead(fdSrc, dataBuf, BUFFER_SIZE); in HIVIEW_FileCopy() 221 nLen = HIVIEW_FileRead(fdSrc, dataBuf, BUFFER_SIZE); in HIVIEW_FileCopy()
|
/base/hiviewdfx/hiview/core/ |
D | event_server.cpp | 46 constexpr int BUFFER_SIZE = 384 * 1024; variable 61 int sendBuffSize = BUFFER_SIZE; in InitRecvBuffer() 142 char* recvbuf = new char[BUFFER_SIZE]; in ReceiveMsg() 143 int n = recvfrom(socketId_, recvbuf, sizeof(char) * BUFFER_SIZE, 0, in ReceiveMsg() 149 recvbuf[BUFFER_SIZE - 1] = 0; in ReceiveMsg()
|
/base/update/updater/services/fs_manager/ |
D | partitions.cpp | 76 char buf[BUFFER_SIZE]; in ReadDeviceSysfsFile() 84 …UPDATER_CHECK_ONLY_RETURN(fgets(buf, BUFFER_SIZE, f) != nullptr, fclose(f); free(realPath); return… in ReadDeviceSysfsFile() 133 char buf[BUFFER_SIZE] = {0}; in ReadPartitionFromSys() 136 char *partInf = (char *)calloc(BUFFER_SIZE, sizeof(char)); in ReadPartitionFromSys() 150 …UPDATER_CHECK_ONLY_RETURN(fgets(buf, BUFFER_SIZE, f) != nullptr, fclose(f); free(partInf); return … in ReadPartitionFromSys() 154 UPDATER_CHECK_ONLY_RETURN(memcpy_s(partInf, BUFFER_SIZE, buf + table.size(), in ReadPartitionFromSys() 161 UPDATER_CHECK_ONLY_RETURN(memcpy_s(partInf, BUFFER_SIZE, buf, sizeof(buf) - 1) == 0, in ReadPartitionFromSys() 167 UPDATER_CHECK_ONLY_RETURN(memcpy_s(partInf, BUFFER_SIZE, buf, sizeof(buf) - 1) == 0, in ReadPartitionFromSys()
|
D | partition_const.h | 22 constexpr int BUFFER_SIZE = 256; variable
|
/base/update/updater/services/diffpatch/bzip2/ |
D | deflate_adapter.h | 24 static constexpr uint32_t BUFFER_SIZE = 1024 * 32;
|
D | zip_adapter.cpp | 43 buffer_.resize(BUFFER_SIZE); in Open()
|
/base/update/updater/test/unittest/fs_manager/ |
D | do_partition_unittest.cpp | 43 constexpr size_t BUFFER_SIZE = 100; variable 125 char aaa[BUFFER_SIZE] = {0};
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/ |
D | native_token_receptor.h | 32 constexpr size_t BUFFER_SIZE = 1024; variable
|
/base/startup/appspawn_standard/test/moduletest/ |
D | appspawn_module_test.cpp | 41 const int32_t BUFFER_SIZE = 512; variable 51 char buffer[BUFFER_SIZE] = {"\0"}; 89 int t = read(fd, buffer, BUFFER_SIZE); in readFileInfo() 152 if (groupsPtr == nullptr || strlen(groupsPtr) > BUFFER_SIZE) { in getGids() 161 if (groupsPtr == nullptr || strlen(groupsPtr) > BUFFER_SIZE) { in getGids() 166 if (line == nullptr || strlen(line) > BUFFER_SIZE) { in getGids() 222 char procName[BUFFER_SIZE]; in checkProcName() 269 char pid[BUFFER_SIZE]; in checkAppspawnPID() 335 auto ret = memset_s(buffer, sizeof(buffer), 0x00, BUFFER_SIZE); in SetUp()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | native_token_receptor.cpp | 139 char buff[BUFFER_SIZE] = { 0 }; in ReadCfgFile() 141 while ((readLen = read(fd, buff, BUFFER_SIZE)) > 0) { in ReadCfgFile()
|
/base/update/updater/services/flashd/ |
D | flash_utils.h | 36 static constexpr size_t BUFFER_SIZE = 64 * 1024; variable
|
D | partition.cpp | 80 std::vector<uint8_t> content(BUFFER_SIZE); in DoFlash()
|
/base/powermgr/thermal_manager/test/systemtest/include/ |
D | thermal_mgr_system_test.h | 24 const int32_t BUFFER_SIZE = 512; variable
|
/base/telephony/core_service/services/sim/include/ |
D | ruim_file.h | 69 static const int BUFFER_SIZE = 50; variable
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_gzipfile.cpp | 28 constexpr int32_t BUFFER_SIZE = 1024; variable 70 PkgBuffer buffer(BUFFER_SIZE); in EncodeHeader() 290 PkgBuffer buffer(BUFFER_SIZE); in LoadPackage()
|
D | pkg_upgradefile.cpp | 46 constexpr size_t BUFFER_SIZE = 4 * 1024 * 1024; variable 223 size_t buffSize = BUFFER_SIZE; in Verify()
|
/base/update/updater/test/unittest/diffpatch/ |
D | bzip2_unittest.cpp | 235 size_t writeSize = (memInfo.length > (offset + DeflateAdapter::BUFFER_SIZE)) ? in DeflateAdapterTest() 236 DeflateAdapter::BUFFER_SIZE : (memInfo.length - offset); in DeflateAdapterTest()
|
/base/telephony/core_service/services/sim/src/ |
D | ruim_file.cpp | 285 unsigned char spnData[BUFFER_SIZE] = {0}; in ProcessGetSpnDone()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_managerImpl.cpp | 34 constexpr int32_t BUFFER_SIZE = 4096; variable 584 size_t buffSize = BUFFER_SIZE; in GenerateFileDigest()
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_system_test.cpp | 85 char pid[BUFFER_SIZE]; in CheckThermalProtectorPID()
|