Home
last modified time | relevance | path

Searched refs:bytesWritten (Results 1 – 2 of 2) sorted by relevance

/system/core/libcutils/
Dbuffer.c100 ssize_t bytesWritten = write(fd, in bufferWrite() local
104 if (bytesWritten >= 0) { in bufferWrite()
105 buffer->remaining -= bytesWritten; in bufferWrite()
107 ALOGD("Buffer bytes written: %d", (int) bytesWritten); in bufferWrite()
114 return bytesWritten; in bufferWrite()
/system/core/logcat/
Dlogcat.cpp162 int bytesWritten = 0; in processBuffer() local
183 bytesWritten = write(g_outFD, binaryMsgBuf, 2); in processBuffer()
184 if (bytesWritten < 0) { in processBuffer()
190 bytesWritten = android_log_printLogLine(g_logformat, g_outFD, &entry); in processBuffer()
192 if (bytesWritten < 0) { in processBuffer()
198 g_outByteCount += bytesWritten; in processBuffer()