Home
last modified time | relevance | path

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

/PHP-7.4/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.c118 file_error(struct magic_set *ms, int error, const char *f, ...) in file_error() function
142 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
149 file_error(ms, errno, "error seeking"); in file_badseek()
155 file_error(ms, errno, "error reading"); in file_badread()
389 file_error(ms, 0, "no magic files loaded"); in file_reset()
H A Dapprentice.c422 file_error(ms, 0, "magic element size %lu != %lu", in apprentice_1()
673 file_error(ms, 0, "Invalid action %d", action); in file_apprentice()
1108 file_error(ms, errno, "cannot read magic file `%s'", in load_1()
1138 file_error(ms, 0, in load_1()
1144 file_error(ms, 0, in load_1()
2706 file_error(ms, 0, "string too long: `%s'", origs); in getstr()
3025 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
3030 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
3051 file_error(ms, 0, "bad magic in `%s'", dbname); in apprentice_map()
3134 file_error(ms, 0, "bad magic in `%s'", dbname);
[all …]
H A Dmagic.c269 file_error(ms, errno, "cannot stat `%s'", inname); in file_or_stream()
280 file_error(ms, errno, "cannot read `%s'", inname); in file_or_stream()
H A Dcompress.c445 file_error(ms, errno, in file_pipe2file()
460 file_error(ms, errno, "error copying from pipe to temp file"); in file_pipe2file()
465 file_error(ms, errno, "error while writing to temp file"); in file_pipe2file()
475 file_error(ms, errno, "could not dup descriptor for temp file"); in file_pipe2file()
H A Dsoftmagic.c960 file_error(ms, 0, "Offset out of range %" SIZE_T_FORMAT in moffset()
1464 file_error(ms, 0, "negative offset %d at continuation" in msetoffset()
1518 file_error(ms, 0, "indirect count (%hu) exceeded", in mget()
1524 file_error(ms, 0, "name use count (%hu) exceeded", in mget()
1795 file_error(ms, 0, "cannot find entry `%s'", rbuf); in mget()
H A Dfile.h491 protected void file_error(struct magic_set *, int, const char *, ...);
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch134 file_error(ms, 0, "magic element size %lu != %lu",
728 file_error(ms, errno, "cannot stat `%s'", dbname);
734 file_error(ms, 0, "file `%s' is too %s", dbname,
745 - file_error(ms, errno, "cannot map `%s'", dbname);
776 + file_error(ms, 0, "bad magic in `%s'", dbname);
902 file_error(ms, errno, "cannot open `%s'", dbname);
1958 - file_error(ms, err,
2183 - file_error(ms, 0,
2353 file_error(ms, errno, "error reading");
3013 - file_error(ms, errno, "cannot read `%s'",
[all …]

Completed in 53 milliseconds