Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
H A Dfile_descriptor.cpp82 ssize_t nBytes; in FileIOOnThread() local
127 nBytes = 0; in FileIOOnThread()
131 nBytes = read(thisClass->fdIO, buf, bufSize); in FileIOOnThread()
136 if ((nBytes > 0) && !thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
141 if (nBytes < 0 && (errno == EINTR || errno == EAGAIN)) { in FileIOOnThread()
145 if (nBytes > 0) { in FileIOOnThread()
146 if (!thisClass->callbackRead(thisClass->callerContext, buf, nBytes)) { in FileIOOnThread()
153 WRITE_LOG(LOG_INFO, "FileIOOnThread fd:%d nBytes:%d errno:%d", in FileIOOnThread()
154 thisClass->fdIO, nBytes, errn in FileIOOnThread()
[all...]
/developtools/profiler/device/plugins/ftrace_plugin/src/
H A Dftrace_data_reader.cpp47 ssize_t nBytes = TEMP_FAILURE_RETRY(read(readFd_, data, size)); in Read() local
48 return nBytes; in Read()
H A 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/
H A Dmemory_data_plugin.cpp468 ssize_t nBytes = read(fd, &content[count], content.size() - count); in ReadFile() local
469 if (nBytes <= 0) { in ReadFile()
472 count += static_cast<size_t>(nBytes); in ReadFile()

Completed in 4 milliseconds