Lines Matching refs:seek_offset
102 read_binary_file(const char *filename, int64 seek_offset, int64 bytes_to_read, in read_binary_file() argument
126 if (fseeko(file, (off_t) seek_offset, in read_binary_file()
127 (seek_offset >= 0) ? SEEK_SET : SEEK_END) != 0) in read_binary_file()
211 read_text_file(const char *filename, int64 seek_offset, int64 bytes_to_read, in read_text_file() argument
216 buf = read_binary_file(filename, seek_offset, bytes_to_read, missing_ok); in read_text_file()
239 int64 seek_offset = 0; in pg_read_file() local
254 seek_offset = PG_GETARG_INT64(1); in pg_read_file()
267 result = read_text_file(filename, seek_offset, bytes_to_read, missing_ok); in pg_read_file()
284 int64 seek_offset = 0; in pg_read_file_v2() local
293 seek_offset = PG_GETARG_INT64(1); in pg_read_file_v2()
306 result = read_text_file(filename, seek_offset, bytes_to_read, missing_ok); in pg_read_file_v2()
320 int64 seek_offset = 0; in pg_read_binary_file() local
329 seek_offset = PG_GETARG_INT64(1); in pg_read_binary_file()
342 result = read_binary_file(filename, seek_offset, in pg_read_binary_file()