Searched refs:eof (Results 1 – 8 of 8) sorted by relevance
/system/core/libcutils/ |
D | open_memstream.c | 70 size_t eof; /* furthest point we've written to */ member 129 if (stream->eof < stream->offset) { in write_memstream() 131 stream->eof, stream->offset-1)); in write_memstream() 132 memset(*stream->bufp + stream->eof, '\0', in write_memstream() 133 stream->offset - stream->eof); in write_memstream() 140 if (stream->offset > stream->eof) { in write_memstream() 144 stream->eof = stream->offset; in write_memstream() 170 newPosn += stream->eof; in seek_memstream() 180 if (stream->offset < stream->eof) { in seek_memstream() 192 if (stream->offset < stream->eof) { in seek_memstream() [all …]
|
/system/extras/tests/sdcard/ |
D | sysutil.cpp | 95 bool eof = false; in readStringFromFile() local 101 while (size > 0 && !error && !eof && attempts < kMaxAttempts) in readStringFromFile() 117 eof = true; in readStringFromFile() 136 if (!eof) in readStringFromFile() 476 bool eof = false; in writePidAndWaitForReply() local 482 while (size > 0 && !error && !eof && attempts < kMaxAttempts) in writePidAndWaitForReply() 498 eof = true; in writePidAndWaitForReply() 529 bool eof = false; in waitForChildrenAndSignal() local 537 while (size > 0 && !error && !eof && attempts < kMaxAttempts) in waitForChildrenAndSignal() 553 eof = true; in waitForChildrenAndSignal()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 214 bool eof; in OnProgressFdReady() local 216 utils::ReadAll(progress_fd_, buf, arraysize(buf), &bytes_read, &eof); in OnProgressFdReady() 228 if (!ok || eof) { in OnProgressFdReady()
|
/system/update_engine/common/ |
D | subprocess.cc | 122 bool eof; in OnStdoutReady() local 124 record->stdout_fd, buf, arraysize(buf), &bytes_read, &eof); in OnStdoutReady() 126 if (!ok || eof) { in OnStdoutReady()
|
D | utils.cc | 206 int fd, void* buf, size_t count, size_t* out_bytes_read, bool* eof) { in ReadAll() argument 209 *eof = false; in ReadAll() 224 *eof = true; in ReadAll()
|
D | utils.h | 84 int fd, void* buf, size_t count, size_t* out_bytes_read, bool* eof);
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 178 int eof; member 256 f->eof = 0; in _fh_alloc() 280 f->eof = 0; in _fh_close() 331 f->eof = 1; in _fh_file_read() 344 f->eof = 1; in _fh_file_write() 368 f->eof = 0; in _fh_file_lseek()
|
/system/bt/service/client/ |
D | main.cpp | 873 if (istream.eof() || should_exit.load()) { in main()
|