Home
last modified time | relevance | path

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

/PHP-7.2/ext/fileinfo/libmagic/
H A Dfsmagic.c115 file_error(ms, errno, "cannot stat `%s'", fn); in file_fsmagic()
124 file_error(ms, errno, "cannot stat `%s'", fn); in file_fsmagic()
212 file_error(ms, errno, "unreadable symlink `%s'", fn); in file_fsmagic()
254 file_error(ms, 0, "invalid mode 0%o", sb->st_mode); in file_fsmagic()
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 Dfuncs.c121 file_error(struct magic_set *ms, int error, const char *f, ...) in file_error() function
145 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
152 file_error(ms, errno, "error seeking"); in file_badseek()
158 file_error(ms, errno, "error reading"); in file_badread()
333 file_error(ms, 0, "no magic files loaded"); in file_reset()
H A Dapprentice.c419 file_error(ms, 0, "magic element size %lu != %lu", in apprentice_1()
666 file_error(ms, 0, "Invalid action %d", action); in file_apprentice()
1054 file_error(ms, errno, "cannot read magic file `%s'", in load_1()
1084 file_error(ms, 0, in load_1()
1090 file_error(ms, 0, in load_1()
2604 file_error(ms, 0, "string too long: `%s'", origs); in getstr()
2920 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
2924 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
2948 file_error(ms, 0, "bad magic in `%s'", dbname); in apprentice_map()
3030 file_error(ms, 0, "bad magic in `%s'", dbname); in check_buffer()
[all …]
H A Dcompress.c363 file_error(ms, errno, in file_pipe2file()
378 file_error(ms, errno, "error copying from pipe to temp file"); in file_pipe2file()
383 file_error(ms, errno, "error while writing to temp file"); in file_pipe2file()
393 file_error(ms, errno, "could not dup descriptor for temp file"); in file_pipe2file()
H A Dmagic.c270 file_error(ms, errno, "cannot read `%s'", inname); in file_or_stream()
H A Dfile.h473 protected void file_error(struct magic_set *, int, const char *, ...);
H A Dsoftmagic.c832 file_error(ms, 0, "Offset out of range %zu > %zu", in moffset()
1340 file_error(ms, 0, "indirect count (%hu) exceeded", in mget()
1346 file_error(ms, 0, "name use count (%hu) exceeded", in mget()
1575 file_error(ms, 0, "cannot find entry `%s'", rbuf); in mget()
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch133 file_error(ms, 0, "magic element size %lu != %lu",
704 file_error(ms, 0, "file `%s' is too %s", dbname,
715 - file_error(ms, errno, "cannot map `%s'", dbname);
746 + file_error(ms, 0, "bad magic in `%s'", dbname);
1653 - file_error(ms, err,
1743 + file_error(ms, errno, "cannot stat `%s'", fn);
1754 - file_error(ms, errno, "cannot stat `%s'", fn);
1905 - file_error(ms, 0,
2083 file_error(ms, errno, "error reading");
2771 - file_error(ms, errno, "cannot read `%s'",
[all …]

Completed in 42 milliseconds