Lines Matching refs:file_buffer
1247 - prv = file_buffer(ms, -1, NULL, name, newbuf, nsz);
1248 + prv = file_buffer(ms, NULL, NULL, name, newbuf, nsz);
1253 * XXX: If file_buffer fails here, we overwrite
1256 - if (file_buffer(ms, -1, NULL, NULL, buf, nbytes) == -1) {
1257 + if (file_buffer(ms, NULL, NULL, NULL, buf, nbytes) == -1) {
1475 -protected int file_buffer(struct magic_set *, int, struct stat *, const char *,
1478 +protected int file_buffer(struct magic_set *, php_stream *, zend_stat_t *, const char *, const voi…
1937 -file_buffer(struct magic_set *ms, int fd, struct stat *st,
1939 +file_buffer(struct magic_set *ms, php_stream *stream, zend_stat_t *st,
2625 - if (file_buffer(ms, fd, okstat ? &sb : NULL, inname, buf, CAST(size_t, nbytes)) == -1)
2626 + if (file_buffer(ms, stream, &sb, inname, buf, CAST(size_t, nbytes)) == -1)
2646 - if (file_buffer(ms, -1, NULL, NULL, buf, nb) == -1) {
2647 + if (file_buffer(ms, NULL, NULL, NULL, buf, nb) == -1) {