Home
last modified time | relevance | path

Searched refs:file_error (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/fileinfo/libmagic/
H A Dapptype.c57 file_error(ms, errno, "cannot create tempnam"); in file_os2_apptype()
69 file_error(ms, errno, "cannot open tmp file `%s'", path); in file_os2_apptype()
73 file_error(ms, errno, "cannot write tmp file `%s'", in file_os2_apptype()
H A Dfsmagic.c104 file_error(ms, errno, "cannot stat `%s'", fn); in file_fsmagic()
196 file_error(ms, errno, "unreadable symlink `%s'", fn); in file_fsmagic()
240 file_error(ms, 0, "invalid mode 0%o", sb->st_mode); in file_fsmagic()
H A Dfuncs.c144 file_error(ms, 0, "Bad magic format `%s' (%s)", fmt, tbuf); in file_vprintf()
153 file_error(ms, 0, "Output buffer space exceeded %" SIZE_T_FORMAT "u+%" in file_vprintf()
208 file_error(struct magic_set *ms, int error, const char *f, ...) in file_error() function
232 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
239 file_error(ms, errno, "error seeking"); in file_badseek()
245 file_error(ms, errno, "error reading"); in file_badread()
526 file_error(ms, 0, "no magic files loaded"); in file_reset()
H A Dapprentice.c475 file_error(ms, 0, "magic element size %lu != %lu", in apprentice_1()
753 file_error(ms, 0, "Invalid action %d", action); in file_apprentice()
1304 file_error(ms, 0, in load_1()
1310 file_error(ms, 0, in load_1()
2938 file_error(ms, 0, "string too long: `%s'", origs); in getstr()
3251 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
3256 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
3277 file_error(ms, 0, "bad magic in `%s'", dbname); in apprentice_map()
3375 file_error(ms, errno, "cannot open `%s'", dbname); in apprentice_compile()
3591 file_error(ms, 0, "corrupt magic file "
[all …]
H A Dmagic.c241 file_error(ms, errno, "cannot stat `%s'", inname); in file_or_stream()
252 file_error(ms, errno, "cannot read `%s'", inname); in file_or_stream()
H A Dcompress.c518 file_error(ms, errno, in file_pipe2file()
533 file_error(ms, errno, "error copying from pipe to temp file"); in file_pipe2file()
538 file_error(ms, errno, "error while writing to temp file"); in file_pipe2file()
548 file_error(ms, errno, "could not dup descriptor for temp file"); in file_pipe2file()
H A Dsoftmagic.c986 file_error(ms, 0, "Offset out of range %" SIZE_T_FORMAT in moffset()
1531 file_error(ms, 0, "negative offset %d at continuation" in msetoffset()
1610 file_error(ms, 0, "indirect count (%hu) exceeded", in mget()
1616 file_error(ms, 0, "name use count (%hu) exceeded", in mget()
1944 file_error(ms, 0, "cannot find entry `%s'", rbuf); in mget()
1948 file_error(ms, errno, "can't allocate continuation"); in mget()
H A Dfile.h570 file_protected void file_error(struct magic_set *, int, const char *, ...)
/php-src/ext/fileinfo/
H A Dlibmagic.patch619 file_error(ms, errno, "cannot stat `%s'", dbname);
625 file_error(ms, 0, "file `%s' is too %s", dbname,
636 - file_error(ms, errno, "cannot map `%s'", dbname);
693 file_error(ms, 0, "bad magic in `%s'", dbname);
790 file_error(ms, errno, "cannot open `%s'", dbname);
1602 - file_error(ms, err,
1827 - file_error(ms, 0,
1932 - file_error(ms, errno, "vasprintf failed");
2659 - file_error(ms, errno, "cannot read fd %d", fd);
2661 - file_error(ms, errno, "cannot read `%s'",
[all …]

Completed in 34 milliseconds