Searched refs:READ_BUFFER_SIZE (Results 1 – 9 of 9) sorted by relevance
| /developtools/profiler/device/plugins/diskio_plugin/src/ |
| D | diskio_data_plugin.cpp | 23 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 49 buffer_ = malloc(READ_BUFFER_SIZE); in Start() 117 bytesRead = read(fd, buffer_, READ_BUFFER_SIZE - 1); in ReadFile()
|
| /developtools/profiler/device/plugins/bytrace_plugin/src/ |
| D | bytrace_module.cpp | 31 constexpr uint32_t READ_BUFFER_SIZE = 4096; variable 72 std::array<char, READ_BUFFER_SIZE> buffer; in RunCommand()
|
| /developtools/profiler/device/plugins/network_plugin/src/ |
| D | network_plugin.cpp | 23 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 28 : buffer_(new (std::nothrow) uint8_t[READ_BUFFER_SIZE]), fp_(nullptr, nullptr) in NetworkPlugin() 211 …size_t rsize = static_cast<size_t>(fread(buffer_.get(), sizeof(char), READ_BUFFER_SIZE - 1, fp_.ge… in ReadTxRxBytes() 279 …size_t rsize = static_cast<size_t>(fread(buffer_.get(), sizeof(char), READ_BUFFER_SIZE - 1, fp_.ge… in ReadSystemTxRxBytes()
|
| /developtools/profiler/device/plugins/api/test/unittest/ |
| D | plugin_module_test.cpp | 28 constexpr size_t READ_BUFFER_SIZE = 4 * 1024 * 1024; variable 74 EXPECT_EQ(size, READ_BUFFER_SIZE);
|
| /developtools/profiler/device/cmds/test/unittest/ |
| D | hiprofiler_cmd_test.cpp | 45 constexpr uint32_t READ_BUFFER_SIZE = 1024; variable 87 std::array<char, READ_BUFFER_SIZE> buffer; in RunCommand()
|
| /developtools/profiler/device/plugins/memory_plugin/src/ |
| D | memory_data_plugin.cpp | 25 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 33 : buffer_(new (std::nothrow) uint8_t[READ_BUFFER_SIZE]), meminfoFd_(-1), vmstatFd_(-1), err_(-1) in MemoryDataPlugin() 442 int readsize = pread(fd, buffer_.get(), READ_BUFFER_SIZE - 1, 0); in ReadFile() 576 bytesRead = read(fd, buffer_.get(), READ_BUFFER_SIZE - 1); in ReadProcPidFile()
|
| /developtools/profiler/device/plugins/cpu_plugin/src/ |
| D | cpu_data_plugin.cpp | 24 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 71 buffer_ = malloc(READ_BUFFER_SIZE); in Start() 188 bytesRead = read(fd, buffer_, READ_BUFFER_SIZE - 1); in ReadFile()
|
| /developtools/profiler/device/plugins/process_plugin/src/ |
| D | process_data_plugin.cpp | 26 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 36 : buffer_(new (std::nothrow) uint8_t[READ_BUFFER_SIZE]), err_(-1) in ProcessDataPlugin() 144 bytesRead = read(fd, buffer_.get(), READ_BUFFER_SIZE - 1); in ReadProcPidFile()
|
| /developtools/packing_tool/adapter/ohos/ |
| D | Uncompress.java | 66 private static final int READ_BUFFER_SIZE = 1024; field in Uncompress 906 byte[] temp = new byte[READ_BUFFER_SIZE]; in getByte() 909 while ((length = zis.read(temp, 0, READ_BUFFER_SIZE)) != -1) { in getByte()
|