Searched refs:READ_BUFFER_SIZE (Results 1 - 9 of 9) sorted by relevance
/developtools/profiler/device/plugins/diskio_plugin/src/ |
H A D | diskio_data_plugin.cpp | 25 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; 51 buffer_ = malloc(READ_BUFFER_SIZE); in Start() 135 bytesRead = read(fd, buffer_, READ_BUFFER_SIZE - 1); in ReadFile()
|
/developtools/profiler/device/plugins/cpu_plugin/src/ |
H A D | cpu_data_plugin.cpp | 26 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; 73 buffer_ = malloc(READ_BUFFER_SIZE); in Start() 75 if (memset_s(buffer_, READ_BUFFER_SIZE, 0, READ_BUFFER_SIZE) != EOK) { in Start() 210 if (memset_s(buffer_, READ_BUFFER_SIZE, 0, READ_BUFFER_SIZE) != EOK) { in ReadFile() 213 bytesRead = read(fd, buffer_, READ_BUFFER_SIZE - 1); in ReadFile()
|
/developtools/profiler/device/plugins/network_plugin/src/ |
H A D | network_plugin.cpp | 26 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; 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_.get())); in ReadTxRxBytes() 290 size_t rsize = static_cast<size_t>(fread(buffer_.get(), sizeof(char), READ_BUFFER_SIZE - 1, fp_.get())); in ReadSystemTxRxBytes()
|
/developtools/profiler/device/plugins/api/test/unittest/ |
H A D | plugin_module_test.cpp | 27 constexpr size_t READ_BUFFER_SIZE = 4 * 1024 * 1024; member 73 EXPECT_EQ(size, READ_BUFFER_SIZE); in HWTEST_F()
|
/developtools/profiler/device/plugins/bytrace_plugin/src/ |
H A D | bytrace_module.cpp | 31 constexpr uint32_t READ_BUFFER_SIZE = 4096; member
|
/developtools/profiler/device/plugins/process_plugin/src/ |
H A D | process_data_plugin.cpp | 28 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; 40 buffer_ = std::make_unique<uint8_t[]>(READ_BUFFER_SIZE); in ProcessDataPlugin() 159 bytesRead = read(fd, buffer_.get(), READ_BUFFER_SIZE - 1); in ReadProcPidFile()
|
/developtools/profiler/device/cmds/test/unittest/ |
H A D | hiprofiler_cmd_test.cpp | 47 constexpr uint32_t READ_BUFFER_SIZE = 1024; member 92 std::array<char, READ_BUFFER_SIZE> buffer; in RunCommand()
|
/developtools/profiler/device/plugins/memory_plugin/src/ |
H A D | memory_data_plugin.cpp | 33 constexpr size_t READ_BUFFER_SIZE = 1024 * 16; 63 buffer_ = std::make_unique<uint8_t[]>(READ_BUFFER_SIZE); in MemoryDataPlugin() 436 int readsize = pread(fd, buffer_.get(), READ_BUFFER_SIZE - 1, 0); in ReadFile() 572 bytesRead = read(fd, buffer_.get(), READ_BUFFER_SIZE - 1); in ReadProcPidFile() 1043 std::array<char, READ_BUFFER_SIZE> buffer; in RunCommand()
|
/developtools/packing_tool/adapter/ohos/ |
H A D | Uncompress.java | 65 private static final int READ_BUFFER_SIZE = 1024; field in Uncompress 919 byte[] temp = new byte[READ_BUFFER_SIZE]; in getByte() 922 while ((length = zis.read(temp, 0, READ_BUFFER_SIZE)) != -1) { in getByte()
|
Completed in 11 milliseconds