Lines Matching defs:file_ptr
64 static void *file_ptr; /* current file pointer location */
93 file_ptr = file_map + offset;
96 file_ptr += offset;
99 file_ptr = file_map + (sb.st_size - offset);
102 if (file_ptr < file_map) {
106 return file_ptr - file_map;
117 if (file_ptr + count >= file_end) {
118 off_t aoffset = (file_ptr + count) - file_end;
133 if (file_ptr < file_end) {
134 cnt = file_end - file_ptr;
142 memcpy(file_ptr, buf, cnt);
147 file_ptr += count;
182 file_ptr = NULL;