Home
last modified time | relevance | path

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

/freebsd/contrib/file/src/
H A Dapptype.c56 file_error(ms, errno, "cannot create tempnam"); in file_os2_apptype()
68 file_error(ms, errno, "cannot open tmp file `%s'", path); in file_os2_apptype()
72 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.c165 file_error(ms, 0, "Bad magic format `%s' (%s)", fmt, tbuf); in file_vprintf()
174 file_error(ms, 0, "Output buffer space exceeded %d+%" in file_vprintf()
192 file_error(ms, errno, "vasprintf failed"); in file_vprintf()
235 file_error(struct magic_set *ms, int error, const char *f, ...) in file_error() function
259 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
266 file_error(ms, errno, "error seeking"); in file_badseek()
272 file_error(ms, errno, "error reading"); in file_badread()
540 file_error(ms, 0, "no magic files loaded"); in file_reset()
H A Dapprentice.c469 file_error(ms, 0, "magic element size %lu != %lu", in apprentice_1()
774 file_error(ms, 0, "could not find any valid magic files!"); in file_apprentice()
798 file_error(ms, 0, "Invalid action %d", action); in file_apprentice()
1337 file_error(ms, errno, "cannot read magic file `%s'", in load_1()
1370 file_error(ms, 0, in load_1()
1376 file_error(ms, 0, in load_1()
1488 file_error(ms, 0, "too many magic entries (%zu)", mentrycount); in coalesce_entries()
3028 file_error(ms, 0, "string too long: `%s'", origs); in getstr()
3345 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
3349 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
[all …]
H A Dcompress.c527 file_error(ms, errno, in file_pipe2file()
542 file_error(ms, errno, "error copying from pipe to temp file"); in file_pipe2file()
547 file_error(ms, errno, "error while writing to temp file"); in file_pipe2file()
557 file_error(ms, errno, "could not dup descriptor for temp file"); in file_pipe2file()
H A Dsoftmagic.c1005 file_error(ms, 0, "Offset out of range %" SIZE_T_FORMAT in moffset()
1579 file_error(ms, 0, "negative offset %d at continuation" in msetoffset()
1668 file_error(ms, 0, "indirect count (%hu) exceeded", in mget()
1674 file_error(ms, 0, "name use count (%hu) exceeded", in mget()
2010 file_error(ms, 0, "cannot find entry `%s'", rbuf); in mget()
2014 file_error(ms, errno, "can't allocate continuation"); in mget()
2155 file_error(ms, errno, "can't allocate %" SIZE_T_FORMAT in alloc_regex()
2396 file_error(ms, errno, in magiccheck()
H A Dmagic.c526 file_error(ms, errno, "cannot read fd %d", fd); in file_or_fd()
528 file_error(ms, errno, "cannot read `%s'", in file_or_fd()
H A Dreadelf.c1133 file_error(ms, 0, "Too many ELF Auxv elements"); in do_auxv_note()
1534 file_error(ms, errno, "Note section size too " in doshn()
1540 file_error(ms, errno, "Cannot allocate memory" in doshn()
H A Dfile.h604 file_protected void file_error(struct magic_set *, int, const char *, ...)
/freebsd/crypto/openssl/engines/
H A De_loader_attic.c1496 static int file_error(OSSL_STORE_LOADER_CTX *ctx);
1617 } while (matchcount == 0 && !file_eof(ctx) && !file_error(ctx)); in file_load()
1636 static int file_error(OSSL_STORE_LOADER_CTX *ctx) in file_error() function
1724 || !OSSL_STORE_LOADER_set_error(loader_attic, file_error) in bind_loader_attic()