Home
last modified time | relevance | path

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

/ndk/sources/android/support/src/stdio/
Dstdio_impl.c17 file->buffer_pos = 0; in fake_file_init_buffer()
36 size_t avail = file->buffer_size - file->buffer_pos; in fake_file_out()
39 memcpy((char*)(file->buffer + file->buffer_pos), in fake_file_out()
42 file->buffer_pos += length; in fake_file_out()
62 size_t avail = (file->buffer_size - file->buffer_pos) / sizeof(wchar_t); in fake_file_outw()
65 memcpy((char*)(file->buffer + file->buffer_pos), in fake_file_outw()
68 file->buffer_pos += length * sizeof(wchar_t); in fake_file_outw()
76 return (file->buffer_pos >= file->buffer_size); in fake_feof()
116 if (file->buffer_pos < file->buffer_size) in fake_fputc()
117 file->buffer[file->buffer_pos++] = ch; in fake_fputc()
[all …]
Dstdio_impl.h19 size_t buffer_pos; member