Lines Matching defs:bufptr
53 int av_file_map(const char *filename, uint8_t **bufptr, size_t *size,
62 *bufptr = NULL;
90 *bufptr = NULL;
104 *bufptr = ptr;
126 *bufptr = ptr;
129 *bufptr = av_malloc(*size);
130 if (!*bufptr) {
136 read(fd, *bufptr, *size);
144 void av_file_unmap(uint8_t *bufptr, size_t size)
146 if (!size || !bufptr)
149 munmap(bufptr, size);
151 UnmapViewOfFile(bufptr);
153 av_free(bufptr);