Home
last modified time | relevance | path

Searched refs:readsize (Results 1 – 3 of 3) sorted by relevance

/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dbuffer_splitter_unittest.cpp52 int readsize = 0; variable
53 BufferSplitter totalbuffer(text, readsize);
68 int readsize = sizeof(text); variable
69 BufferSplitter totalbuffer(text, readsize);
84 int readsize = sizeof(text); variable
85 BufferSplitter totalbuffer(text, readsize);
100 int readsize = sizeof(text); variable
101 BufferSplitter totalbuffer(text, readsize);
116 int readsize = sizeof(text); variable
117 BufferSplitter totalbuffer(text, readsize);
[all …]
/developtools/profiler/hiebpf/src/
Delf_file.cpp79 size_t readsize = ReadFile(ehdrBuf, ehdr64Size); in ParseElfHeader() local
80 CHECK_TRUE(readsize >= ehdr64Size, false, in ParseElfHeader()
81 "file size not enough, try read %zu, only have %zu", ehdr64Size, readsize); in ParseElfHeader()
82 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, readsize); in ParseElfHeader()
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp206 int readsize = ReadFile(meminfoFd_); in WriteMeminfo() local
207 if (readsize == RET_FAIL) { in WriteMeminfo()
210 BufferSplitter totalbuffer((const char*)buffer_.get(), readsize); in WriteMeminfo()
265 int readsize = ReadFile(vmstatFd_); in WriteVmstat() local
266 if (readsize == RET_FAIL) { in WriteVmstat()
269 BufferSplitter totalbuffer((const char*)buffer_.get(), readsize); in WriteVmstat()
453 int readsize = pread(fd, buffer_.get(), READ_BUFFER_SIZE - 1, 0); in ReadFile() local
454 if (readsize <= 0) { in ReadFile()
462 return readsize; in ReadFile()