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.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.c144 file_error(ms, 0, "Bad magic format `%s' (%s)", fmt, tbuf); in file_vprintf()
153 file_error(ms, 0, "Output buffer space exceeded %d+%" in file_vprintf()
171 file_error(ms, errno, "vasprintf failed"); in file_vprintf()
214 file_error(struct magic_set *ms, int error, const char *f, ...) in file_error() function
238 file_error(ms, errno, "cannot allocate %" SIZE_T_FORMAT "u bytes", in file_oomem()
245 file_error(ms, errno, "error seeking"); in file_badseek()
251 file_error(ms, errno, "error reading"); in file_badread()
518 file_error(ms, 0, "no magic files loaded"); in file_reset()
H A Dapprentice.c482 file_error(ms, 0, "magic element size %lu != %lu", in apprentice_1()
786 file_error(ms, 0, "could not find any valid magic files!"); in file_apprentice()
810 file_error(ms, 0, "Invalid action %d", action); in file_apprentice()
1339 file_error(ms, errno, "cannot read magic file `%s'", in load_1()
1372 file_error(ms, 0, in load_1()
1378 file_error(ms, 0, in load_1()
3008 file_error(ms, 0, "string too long: `%s'", origs); in getstr()
3321 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
3325 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
3335 file_error(ms, errno, "cannot map `%s'", dbname); in apprentice_map()
[all …]
H A Dcompress.c528 file_error(ms, errno, in file_pipe2file()
543 file_error(ms, errno, "error copying from pipe to temp file"); in file_pipe2file()
548 file_error(ms, errno, "error while writing to temp file"); in file_pipe2file()
558 file_error(ms, errno, "could not dup descriptor for temp file"); in file_pipe2file()
H A Dsoftmagic.c978 file_error(ms, 0, "Offset out of range %" SIZE_T_FORMAT in moffset()
1524 file_error(ms, 0, "negative offset %d at continuation" in msetoffset()
1603 file_error(ms, 0, "indirect count (%hu) exceeded", in mget()
1609 file_error(ms, 0, "name use count (%hu) exceeded", in mget()
1940 file_error(ms, 0, "cannot find entry `%s'", rbuf); in mget()
1944 file_error(ms, errno, "can't allocate continuation"); in mget()
2085 file_error(ms, errno, "can't allocate %" SIZE_T_FORMAT in alloc_regex()
2326 file_error(ms, errno, in magiccheck()
H A Dmagic.c524 file_error(ms, errno, "cannot read fd %d", fd); in file_or_fd()
526 file_error(ms, errno, "cannot read `%s'", in file_or_fd()
H A Dreadelf.c1117 file_error(ms, 0, "Too many ELF Auxv elements"); in do_auxv_note()
1518 file_error(ms, errno, "Note section size too " in doshn()
1524 file_error(ms, errno, "Cannot allocate memory" in doshn()
H A Dfile.h595 file_protected void file_error(struct magic_set *, int, const char *, ...)
/freebsd/crypto/openssl/engines/
H A De_loader_attic.c1512 static int file_error(OSSL_STORE_LOADER_CTX *ctx);
1631 } while (matchcount == 0 && !file_eof(ctx) && !file_error(ctx)); in file_load()
1650 static int file_error(OSSL_STORE_LOADER_CTX *ctx) in file_error() function
1740 || !OSSL_STORE_LOADER_set_error(loader_attic, file_error) in bind_loader_attic()