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

/system/core/libcutils/
H A Dopen_memstream.c67 size_t* sizep; /* pointer to eof */
70 size_t eof; /* furthest point we've written to */ member in struct:__anon1610
129 if (stream->eof < stream->offset) {
131 stream->eof, stream->offset-1));
132 memset(*stream->bufp + stream->eof, '\0',
133 stream->offset - stream->eof);
140 if (stream->offset > stream->eof) {
144 stream->eof = stream->offset;
170 newPosn += stream->eof;
180 if (stream->offset < stream->eof) {
[all...]
/system/extras/tests/sdcard/
H A Dsysutil.cpp95 bool eof = false; local
101 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
117 eof = true;
136 if (!eof)
476 bool eof = false; local
482 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
498 eof = true;
529 bool eof = false; local
537 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
553 eof
[all...]
/system/update_engine/common/
H A Dsubprocess.cc122 bool eof; local
124 record->stdout_fd, buf, arraysize(buf), &bytes_read, &eof);
126 if (!ok || eof) {
H A Dutils.h80 // as a success case), sets |eof| to whether the eof was reached and sets
84 int fd, void* buf, size_t count, size_t* out_bytes_read, bool* eof);
H A Dutils.cc193 int fd, void* buf, size_t count, size_t* out_bytes_read, bool* eof) {
196 *eof = false;
211 *eof = true;
192 ReadAll( int fd, void* buf, size_t count, size_t* out_bytes_read, bool* eof) argument
/system/update_engine/payload_consumer/
H A Dpostinstall_runner_action.cc214 bool eof; local
216 utils::ReadAll(progress_fd_, buf, arraysize(buf), &bytes_read, &eof);
228 if (!ok || eof) {
/system/core/adb/
H A Dsysdeps_win32.cpp178 int eof; member in struct:FHRec_
256 f->eof = 0;
280 f->eof = 0;
331 f->eof = 1;
344 f->eof = 1;
368 f->eof = 0;
/system/bt/service/client/
H A Dmain.cpp873 if (istream.eof() || should_exit.load()) {

Completed in 367 milliseconds