Home
last modified time | relevance | path

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

/system/core/libcutils/
Dopen_memstream.c72 size_t eof; /* furthest point we've written to */ member
131 if (stream->eof < stream->offset) { in write_memstream()
133 stream->eof, stream->offset-1)); in write_memstream()
134 memset(*stream->bufp + stream->eof, '\0', in write_memstream()
135 stream->offset - stream->eof); in write_memstream()
142 if (stream->offset > stream->eof) { in write_memstream()
146 stream->eof = stream->offset; in write_memstream()
172 newPosn += stream->eof; in seek_memstream()
182 if (stream->offset < stream->eof) { in seek_memstream()
194 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/core/fs_mgr/
Dfs_mgr.c173 int eof = 0; in getline() local
184 eof = 1; in getline()
200 if (eof) { in getline()
/system/core/adb/
Dsysdeps_win32.c97 int eof; member
181 f->eof = 0; in _fh_alloc()
195 f->eof = 0; in _fh_close()
237 f->eof = 1; in _fh_file_read()
252 f->eof = 1; in _fh_file_write()
278 f->eof = 0; in _fh_file_lseek()