Lines Matching refs:file
52 php_stream *file; member
55 int file; member
64 php_stream* file = 0; in DBA_OPEN_FUNC() local
67 int file = 0; in DBA_OPEN_FUNC()
76 file = info->fp; in DBA_OPEN_FUNC()
78 file = VCWD_OPEN(info->path, O_RDONLY); in DBA_OPEN_FUNC()
79 if (file < 0) { in DBA_OPEN_FUNC()
88 file = info->fp; in DBA_OPEN_FUNC()
105 cdb_make_start(&cdb->m, file); in DBA_OPEN_FUNC()
107 cdb_init(&cdb->c, file); in DBA_OPEN_FUNC()
111 cdb_init(&cdb->c, file); in DBA_OPEN_FUNC()
113 cdb->file = file; in DBA_OPEN_FUNC()
132 close(cdb->file); in DBA_CLOSE_FUNC()
220 if (cdb_file_read(cdb->file, buf, n) < n) return NULL; \
239 if (cdb_file_lseek(cdb->file, (zend_off_t)n, SEEK_SET) != (zend_off_t) n) return NULL; \
270 if (cdb_file_read(cdb->file, key, klen) < klen) { in DBA_FIRSTKEY_FUNC()
302 if (cdb_file_read(cdb->file, key, klen) < klen) { in DBA_NEXTKEY_FUNC()