Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
Dfile_descriptor.cpp74 ssize_t nBytes; in FileIOOnThread() local
116 nBytes = 0; in FileIOOnThread()
118 nBytes = read(fd, buf, bufSize); in FileIOOnThread()
123 if ((nBytes > 0) && !thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
128 if (nBytes < 0 && (errno == EINTR || errno == EAGAIN)) { in FileIOOnThread()
132 if (nBytes > 0) { in FileIOOnThread()
133 if (!thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
141 thisClass->fdIO, nBytes, errno); in FileIOOnThread()
147 nBytes = read(thisClass->fdIO, buf, bufSize); in FileIOOnThread()
148 if (nBytes < 0 && (errno == EINTR || errno == EAGAIN)) { in FileIOOnThread()
[all …]
/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 == -1 && errno == EAGAIN) { in ReadFile()
43 if (nBytes <= 0) { in ReadFile()
46 count += nBytes; in ReadFile()
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp485 ssize_t nBytes = read(fd, &content[count], content.size() - count); in ReadFile() local
486 if (nBytes <= 0) { in ReadFile()
489 count += static_cast<size_t>(nBytes); in ReadFile()