Home
last modified time | relevance | path

Searched refs:rsize (Results 1 – 5 of 5) sorted by relevance

/developtools/smartperf_host/trace_streamer/test/unittest/
Dparser_pbreader_test.cpp57 auto rsize = base::Read(fd, buf.get(), readSize); variable
59 if (rsize == 0) {
62 if (rsize < 0) {
66 if (!ta->ParseTraceDataSegment(std::move(buf), rsize)) {
100 auto rsize = base::Read(fd, buf.get(), readSize); variable
101 if (rsize == 0) {
104 if (rsize < 0) {
108 if (!ta->ParseTraceDataSegment(std::move(buf), rsize)) {
142 auto rsize = base::Read(fd, buf.get(), readSize); variable
144 if (rsize == 0) {
[all …]
/developtools/profiler/device/plugins/network_plugin/src/
Dnetwork_plugin.cpp211 …size_t rsize = static_cast<size_t>(fread(buffer_.get(), sizeof(char), READ_BUFFER_SIZE - 1, fp_.ge… in ReadTxRxBytes() local
212 buffer_.get()[rsize] = '\0'; in ReadTxRxBytes()
213 CHECK_TRUE(rsize >= 0, false, "%s:NetworkPlugin, read failed, errno(%d)", __func__, errno); in ReadTxRxBytes()
215 BufferSplitter totalbuffer((const char*)buffer_.get(), rsize + 1); in ReadTxRxBytes()
279 …size_t rsize = static_cast<size_t>(fread(buffer_.get(), sizeof(char), READ_BUFFER_SIZE - 1, fp_.ge… in ReadSystemTxRxBytes() local
280 buffer_.get()[rsize] = '\0'; in ReadSystemTxRxBytes()
281 CHECK_TRUE(rsize >= 0, false, "%s:NetworkPlugin, read failed, errno(%d)", __func__, errno); in ReadSystemTxRxBytes()
283 BufferSplitter totalbuffer((const char*)buffer_.get(), rsize + 1); in ReadSystemTxRxBytes()
/developtools/profiler/host/smartperf/trace_streamer/src/
Dmain.cpp142 auto rsize = Read(fd, buf.get(), G_CHUNK_SIZE); in ReadAndParser() local
143 if (rsize == 0) { in ReadAndParser()
147 if (rsize < 0) { in ReadAndParser()
151 g_loadSize += rsize; in ReadAndParser()
152 if (!ta.ParseTraceDataSegment(std::move(buf), static_cast<size_t>(rsize))) { in ReadAndParser()
/developtools/smartperf_host/trace_streamer/src/
Dmain.cpp142 auto rsize = Read(fd, buf.get(), G_CHUNK_SIZE); in ReadAndParser() local
143 if (rsize == 0) { in ReadAndParser()
147 if (rsize < 0) { in ReadAndParser()
151 g_loadSize += rsize; in ReadAndParser()
152 if (!ta.ParseTraceDataSegment(std::move(buf), static_cast<size_t>(rsize))) { in ReadAndParser()
/developtools/profiler/hiebpf/include/
Dvmlinux.h44398 unsigned int rsize; member