Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/file/src/
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.c80 file_error(ms, err, in bad_link()
163 file_error(ms, errno, "cannot stat `%s'", fn); in file_fsmagic()
297 file_error(ms, errno, "unreadable symlink `%s'", in file_fsmagic()
335 file_error(ms, 0, in file_fsmagic()
419 file_error(ms, 0, "invalid mode 0%o", sb->st_mode); in file_fsmagic()
H A Dfuncs.c140 file_error(ms, 0, "Bad magic format `%s' (%s)", fmt, tbuf); in file_vprintf()
149 file_error(ms, 0, "Output buffer space exceeded %d+%zu", len, in file_vprintf()
167 file_error(ms, errno, "vasprintf failed"); in file_vprintf()
210 file_error(struct magic_set *ms, int error, const char *f, ...) in file_error() function
234 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
241 file_error(ms, errno, "error seeking"); in file_badseek()
247 file_error(ms, errno, "error reading"); in file_badread()
503 file_error(ms, 0, "no magic files loaded"); in file_reset()
H A Dapprentice.c449 file_error(ms, 0, "magic element size %lu != %lu", in apprentice_1()
755 file_error(ms, 0, "Invalid action %d", action); in file_apprentice()
1230 file_error(ms, 0, in load_1()
1236 file_error(ms, 0, in load_1()
3135 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
3139 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
3149 file_error(ms, errno, "cannot map `%s'", dbname); in apprentice_map()
3198 file_error(ms, 0, "bad magic in `%s'", dbname); in check_buffer()
3268 file_error(ms, errno, "cannot open `%s'", dbname); in apprentice_compile()
3482 file_error(ms, 0, "corrupt magic file " in file_pstring_length_size()
[all …]
H A Dcompress.c473 file_error(ms, errno, in file_pipe2file()
488 file_error(ms, errno, "error copying from pipe to temp file"); in file_pipe2file()
493 file_error(ms, errno, "error while writing to temp file"); in file_pipe2file()
503 file_error(ms, errno, "could not dup descriptor for temp file"); in file_pipe2file()
H A Dmagic.c509 file_error(ms, errno, "cannot read fd %d", fd); in file_or_fd()
511 file_error(ms, errno, "cannot read `%s'", in file_or_fd()
H A Dsoftmagic.c957 file_error(ms, 0, "Offset out of range %" SIZE_T_FORMAT in moffset()
1477 file_error(ms, 0, "negative offset %d at continuation" in msetoffset()
1556 file_error(ms, 0, "indirect count (%hu) exceeded", in mget()
1562 file_error(ms, 0, "name use count (%hu) exceeded", in mget()
1863 file_error(ms, 0, "cannot find entry `%s'", rbuf); in mget()
1867 file_error(ms, errno, "can't allocate continuation"); in mget()
2206 file_error(ms, errno, in magiccheck()
H A Dfile.h538 protected void file_error(struct magic_set *, int, const char *, ...)
H A Dreadelf.c1050 file_error(ms, 0, "Too many ELF Auxv elements"); in do_auxv_note()
1446 file_error(ms, errno, "Cannot allocate memory" in doshn()
/freebsd-13.1/crypto/openssl/crypto/store/
H A Dloader_file.c1283 static int file_error(OSSL_STORE_LOADER_CTX *ctx);
1402 } while (matchcount == 0 && !file_eof(ctx) && !file_error(ctx)); in file_load()
1419 static int file_error(OSSL_STORE_LOADER_CTX *ctx) in file_error() function
1462 file_error,