Searched refs:nBytes (Results 1 – 4 of 4) sorted by relevance
| /developtools/hdc/src/common/ |
| D | file_descriptor.cpp | 74 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/ |
| D | ftrace_data_reader.cpp | 47 ssize_t nBytes = TEMP_FAILURE_RETRY(read(readFd_, data, size)); in Read() local 48 return nBytes; in Read()
|
| D | file_utils.cpp | 39 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/ |
| D | memory_data_plugin.cpp | 485 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()
|