Home
last modified time | relevance | path

Searched refs:nBytes (Results 1 – 4 of 4) sorted by relevance

/developtools/hdc/src/common/
Dfile_descriptor.cpp65 ssize_t nBytes; in FileIOOnThread() local
79 nBytes = write(thisClass->fdIO, buf, bufSize); in FileIOOnThread()
80 if (nBytes < 0 && (errno == EINTR || errno == EAGAIN)) { in FileIOOnThread()
84 bufSize -= nBytes; in FileIOOnThread()
99 nBytes = read(thisClass->fdIO, buf, bufSize); in FileIOOnThread()
100 if (nBytes < 0 && (errno == EINTR || errno == EAGAIN)) { in FileIOOnThread()
105 if (nBytes > 0) { in FileIOOnThread()
108 … } else if (!isWrite && !thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
115 if (nBytes != 0) { in FileIOOnThread()
124 WRITE_LOG(LOG_INFO, "FileIOOnThread fd:%d nBytes:%u", thisClass->fdIO, nBytes); in FileIOOnThread()
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dftrace_data_reader.cpp47 ssize_t nBytes = TEMP_FAILURE_RETRY(read(readFd_, data, size)); in Read() local
48 return nBytes; in Read()
Dfile_utils.cpp39 ssize_t nBytes = TEMP_FAILURE_RETRY(read(fd, &content[count], content.size() - count)); in ReadFile() local
40 if (nBytes <= 0) { in ReadFile()
43 count += nBytes; in ReadFile()
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp474 ssize_t nBytes = read(fd, &content[count], content.size() - count); in ReadFile() local
475 if (nBytes <= 0) { in ReadFile()
478 count += static_cast<size_t>(nBytes); in ReadFile()