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 | 25 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 51 buffer_ = malloc(READ_BUFFER_SIZE); in Start() 135 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 | 26 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 33 buffer_ = std::make_unique<uint8_t[]>(READ_BUFFER_SIZE); in NetworkPlugin() 222 …size_t rsize = static_cast<size_t>(fread(buffer_.get(), sizeof(char), READ_BUFFER_SIZE - 1, fp_.ge… in ReadTxRxBytes() 290 …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/plugins/process_plugin/src/ |
D | process_data_plugin.cpp | 28 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 40 buffer_ = std::make_unique<uint8_t[]>(READ_BUFFER_SIZE); in ProcessDataPlugin() 157 bytesRead = read(fd, buffer_.get(), READ_BUFFER_SIZE - 1); in ReadProcPidFile()
|
/developtools/profiler/device/plugins/cpu_plugin/src/ |
D | cpu_data_plugin.cpp | 26 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 73 buffer_ = malloc(READ_BUFFER_SIZE); in Start() 209 bytesRead = read(fd, buffer_, READ_BUFFER_SIZE - 1); in ReadFile()
|
/developtools/profiler/device/plugins/memory_plugin/src/ |
D | memory_data_plugin.cpp | 32 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; variable 61 buffer_ = std::make_unique<uint8_t[]>(READ_BUFFER_SIZE); in MemoryDataPlugin() 453 int readsize = pread(fd, buffer_.get(), READ_BUFFER_SIZE - 1, 0); in ReadFile() 587 bytesRead = read(fd, buffer_.get(), READ_BUFFER_SIZE - 1); in ReadProcPidFile() 1051 std::array<char, READ_BUFFER_SIZE> buffer; in RunCommand()
|
/developtools/profiler/device/cmds/test/unittest/ |
D | hiprofiler_cmd_test.cpp | 48 constexpr uint32_t READ_BUFFER_SIZE = 1024; variable 93 std::array<char, READ_BUFFER_SIZE> buffer; in RunCommand()
|
/developtools/packing_tool/adapter/ohos/ |
D | Uncompress.java | 65 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()
|