Searched refs:readsize (Results 1 – 4 of 4) sorted by relevance
| /developtools/profiler/device/plugins/memory_plugin/test/unittest/ |
| D | buffer_splitter_unittest.cpp | 52 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/hiperf/src/ |
| D | elf_file.cpp | 110 size_t readsize = ReadFile(ehdrBuf, ehdr64Size); in ParseElfHeader() local 111 if (readsize < ehdr64Size) { in ParseElfHeader() 112 HLOGW("file size not enough, try read %zu, only have %zu", ehdr64Size, readsize); in ParseElfHeader() 115 HLOG_ASSERT(readsize > 0); in ParseElfHeader() 116 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, readsize); in ParseElfHeader()
|
| /developtools/profiler/device/plugins/memory_plugin/src/ |
| D | memory_data_plugin.cpp | 181 int readsize = ReadFile(meminfoFd_); in WriteMeminfo() local 182 if (readsize == RET_FAIL) { in WriteMeminfo() 185 BufferSplitter totalbuffer((const char*)buffer_.get(), readsize); in WriteMeminfo() 240 int readsize = ReadFile(vmstatFd_); in WriteVmstat() local 241 if (readsize == RET_FAIL) { in WriteVmstat() 244 BufferSplitter totalbuffer((const char*)buffer_.get(), readsize); in WriteVmstat() 442 int readsize = pread(fd, buffer_.get(), READ_BUFFER_SIZE - 1, 0); in ReadFile() local 443 if (readsize <= 0) { in ReadFile() 451 return readsize; in ReadFile()
|
| /developtools/profiler/hiebpf/src/ |
| D | elf_file.cpp | 79 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()
|