Home
last modified time | relevance | path

Searched refs:eof (Results 1 – 8 of 8) sorted by relevance

/system/core/libcutils/
Dopen_memstream.c70 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/
Dsysutil.cpp95 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/
Dpostinstall_runner_action.cc214 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/
Dsubprocess.cc122 bool eof; in OnStdoutReady() local
124 record->stdout_fd, buf, arraysize(buf), &bytes_read, &eof); in OnStdoutReady()
126 if (!ok || eof) { in OnStdoutReady()
Dutils.cc206 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()
Dutils.h84 int fd, void* buf, size_t count, size_t* out_bytes_read, bool* eof);
/system/core/adb/
Dsysdeps_win32.cpp178 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/
Dmain.cpp873 if (istream.eof() || should_exit.load()) { in main()