Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/file/src/
H A Dfsmagic.c77 file_error(ms, err, in bad_link()
160 file_error(ms, errno, "cannot stat `%s'", fn); in file_fsmagic()
294 file_error(ms, errno, "unreadable symlink `%s'", in file_fsmagic()
323 file_error(ms, 0, in file_fsmagic()
406 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.c123 file_error(struct magic_set *ms, int error, const char *f, ...) in file_error() function
147 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
154 file_error(ms, errno, "error seeking"); in file_badseek()
160 file_error(ms, errno, "error reading"); in file_badread()
348 file_error(ms, 0, "no magic files loaded"); in file_reset()
H A Dapprentice.c439 file_error(ms, 0, "magic element size %lu != %lu", in apprentice_1()
726 file_error(ms, 0, "Invalid action %d", action); in file_apprentice()
1152 file_error(ms, errno, "cannot read magic file `%s'", in load_1()
1183 file_error(ms, 0, in load_1()
1189 file_error(ms, 0, in load_1()
2757 file_error(ms, 0, "string too long: `%s'", origs); in getstr()
3052 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
3056 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
3066 file_error(ms, errno, "cannot map `%s'", dbname); in apprentice_map()
3117 file_error(ms, 0, "bad magic in `%s'", dbname); in check_buffer()
[all …]
H A Dcompress.c421 file_error(ms, errno, in file_pipe2file()
436 file_error(ms, errno, "error copying from pipe to temp file"); in file_pipe2file()
441 file_error(ms, errno, "error while writing to temp file"); in file_pipe2file()
451 file_error(ms, errno, "could not dup descriptor for temp file"); in file_pipe2file()
H A Dmagic.c512 file_error(ms, errno, "cannot read fd %d", fd); in file_or_fd()
514 file_error(ms, errno, "cannot read `%s'", in file_or_fd()
H A Dsoftmagic.c920 file_error(ms, 0, "Offset out of range %zu > %zu", in moffset()
1422 file_error(ms, 0, "negative offset %d at continuation" in msetoffset()
1474 file_error(ms, 0, "indirect count (%hu) exceeded", in mget()
1480 file_error(ms, 0, "name use count (%hu) exceeded", in mget()
1738 file_error(ms, 0, "cannot find entry `%s'", rbuf); in mget()
2031 file_error(ms, errno, in magiccheck()
H A Dfile.h488 protected void file_error(struct magic_set *, int, const char *, ...)
H A Dreadelf.c984 file_error(ms, 0, "Too many ELF Auxv elements"); in do_auxv_note()
1349 file_error(ms, errno, "Cannot allocate memory" in doshn()
/freebsd-12.1/crypto/openssl/crypto/store/
H A Dloader_file.c1246 static int file_error(OSSL_STORE_LOADER_CTX *ctx);
1365 } while (matchcount == 0 && !file_eof(ctx) && !file_error(ctx)); in file_load()
1382 static int file_error(OSSL_STORE_LOADER_CTX *ctx) in file_error() function
1425 file_error,