Home
last modified time | relevance | path

Searched refs:READ_BUFFER_SIZE (Results 1 – 9 of 9) sorted by relevance

/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_data_plugin.cpp25 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/
Dbytrace_module.cpp31 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/
Dnetwork_plugin.cpp26 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/
Dplugin_module_test.cpp28 constexpr size_t READ_BUFFER_SIZE = 4 * 1024 * 1024; variable
74 EXPECT_EQ(size, READ_BUFFER_SIZE);
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp28 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/
Dcpu_data_plugin.cpp26 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/
Dmemory_data_plugin.cpp32 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/
Dhiprofiler_cmd_test.cpp48 constexpr uint32_t READ_BUFFER_SIZE = 1024; variable
93 std::array<char, READ_BUFFER_SIZE> buffer; in RunCommand()
/developtools/packing_tool/adapter/ohos/
DUncompress.java65 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()