/freebsd-10-stable/contrib/file/src/ |
H A D | der.h | 27 extern int der_offs(struct magic_set *, struct magic *, size_t); 28 extern int der_cmp(struct magic_set *, struct magic *);
|
H A D | Makefile.am | 1 MAGIC = $(pkgdatadir)/magic 3 nodist_include_HEADERS = magic.h 10 libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \ 24 CLEANFILES = magic.h 25 EXTRA_DIST = magic.h.in 26 HDR= $(top_srcdir)/src/magic.h.in 27 BUILT_SOURCES = magic.h 29 magic.h: ${HDR}
|
H A D | tar.h | 63 char magic[8]; member in struct:record::header 71 /* The magic field is filled with this if uname and gname are valid. */
|
/freebsd-10-stable/contrib/file/python/ |
H A D | example.py | 3 import magic 5 ms = magic.open(magic.NONE)
|
/freebsd-10-stable/sys/dev/drm/ |
H A D | drm_auth.c | 41 static int drm_hash_magic(drm_magic_t magic) argument 43 return magic & (DRM_HASH_SIZE-1); 47 * Returns the file private associated with the given magic number. 49 static struct drm_file *drm_find_file(struct drm_device *dev, drm_magic_t magic) argument 52 int hash = drm_hash_magic(magic); 57 if (pt->magic == magic) { 66 * Inserts the given magic number into the hash table of used magic number 70 drm_magic_t magic) 69 drm_add_magic(struct drm_device *dev, struct drm_file *priv, drm_magic_t magic) argument 102 drm_remove_magic(struct drm_device *dev, drm_magic_t magic) argument [all...] |
/freebsd-10-stable/usr.sbin/fifolog/lib/ |
H A D | miniobj.h | 33 (to)->magic = (type_magic); \ 38 (to)->magic = (0); \ 43 ((ptr) != NULL && (ptr)->magic == (type_magic)) 47 assert((ptr)->magic == type_magic); \ 53 assert((ptr)->magic == type_magic); \ 59 assert((ptr)->magic == type_magic); \
|
/freebsd-10-stable/contrib/sendmail/src/ |
H A D | statusd_shm.h | 29 unsigned long magic; member in struct:__anon4400
|
/freebsd-10-stable/sys/dev/cx/ |
H A D | cronyxfw.h | 17 #define CRONYX_DAT_MAGIC 2001107011L /* firmware file magic */ 25 unsigned long magic; /* firmware magic */ member in struct:__anon8138
|
/freebsd-10-stable/sys/xen/interface/ |
H A D | xencomm.h | 36 uint32_t magic; member in struct:xencomm_desc
|
/freebsd-10-stable/usr.bin/mkuzip/ |
H A D | mkuz_format.h | 33 const char *magic; member in struct:mkuz_format
|
H A D | mkuz_cloop.h | 47 char magic[CLOOP_MAGIC_LEN]; /* cloop magic */ member in struct:cloop_header
|
/freebsd-10-stable/lib/libmagic/ |
H A D | Makefile | 8 LIB= magic 12 MAN= libmagic.3 magic.5 16 is_tar.c magic.c print.c readcdf.c readelf.c softmagic.c 17 INCS= magic.h 21 CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H 26 CLEANFILES+= magic magic.mgc 28 FILES= magic magic.mgc 31 MAGFILES= ${CONTRDIR}/magic/Heade [all...] |
/freebsd-10-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | magic.h | 18 /* $Id: magic.h,v 1.18 2007/06/19 23:47:18 tbox Exp $ */ 23 /*! \file isc/magic.h */ 26 unsigned int magic; member in struct:__anon81 31 * To use this macro the magic number MUST be the first thing in the 33 * The intent of this is to allow magic numbers to be checked even though 37 (((const isc__magic_t *)(a))->magic == (b)))
|
/freebsd-10-stable/contrib/file/tests/ |
H A D | Makefile.am | 17 MAGIC=$(top_builddir)/magic/magic ./test 18 set -e; for i in $T/*.testfile; do echo Running test: $$i; TZ=UTC MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done
|
/freebsd-10-stable/sys/dev/drm2/ |
H A D | drm_auth.c | 44 * Find the file with the given magic number. 47 * \param magic magic number. 50 * the one with matching magic number, while holding the drm_device::struct_mutex 53 static struct drm_file *drm_find_file(struct drm_master *master, drm_magic_t magic) argument 61 if (!drm_ht_find_item(&master->magiclist, (unsigned long)magic, &hash)) { 70 * Adds a magic number. 74 * \param magic magic number. 77 * associated the magic numbe 80 drm_add_magic(struct drm_master *master, struct drm_file *priv, drm_magic_t magic) argument 109 drm_remove_magic(struct drm_master *master, drm_magic_t magic) argument [all...] |
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | magic.c | 2 * magic.c: wrappers around libmagic 45 #include <magic.h> 50 magic_t magic; 57 /* Close the magic database. */ 62 magic_close(mc->magic); 98 mc->magic = magic_open(MAGIC_MIME | MAGIC_ERROR); 100 mc->magic = magic_open(MAGIC_MIME_TYPE | MAGIC_ERROR); 102 if (mc->magic) 104 /* This loads the default magic database. 107 if (magic_load(mc->magic, NUL 49 magic_t magic; member in struct:svn_magic__cookie_t [all...] |
/freebsd-10-stable/contrib/groff/src/include/ |
H A D | index.h | 25 int magic; member in struct:index_header
|
/freebsd-10-stable/include/ |
H A D | elf-hints.h | 36 u_int32_t magic; /* Magic number */ member in struct:elfhints_hdr
|
/freebsd-10-stable/sys/amd64/include/ |
H A D | minidump.h | 36 char magic[24]; member in struct:minidumphdr
|
/freebsd-10-stable/sys/arm/include/ |
H A D | minidump.h | 37 char magic[24]; member in struct:minidumphdr
|
/freebsd-10-stable/sys/i386/include/ |
H A D | minidump.h | 36 char magic[24]; member in struct:minidumphdr
|
/freebsd-10-stable/sys/mips/include/ |
H A D | minidump.h | 36 char magic[24]; member in struct:minidumphdr
|
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_options_private.h | 40 int magic, const char *fn, option_handler use_option); 44 int magic, const char *fn, option_handler use_option);
|
/freebsd-10-stable/contrib/gdb/gdb/mi/ |
H A D | mi-console.c | 36 int *magic; member in struct:mi_console_file 51 mi_console->magic = &mi_console_file_magic; 66 if (mi_console->magic != &mi_console_file_magic) 68 "mi_console_file_delete: bad magic number"); 77 if (mi_console->magic != &mi_console_file_magic) 79 "mi_console_file_fputs: bad magic number"); 94 if (mi_console->magic != &mi_console_file_magic) 96 "mi_console_file_transform: bad magic number"); 120 if (mi_console->magic != &mi_console_file_magic) 122 "mi_console_file_flush: bad magic numbe [all...] |
/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | regfree.c | 58 if (g == NULL || g->magic != MAGIC2) /* oops again */ 61 g->magic = 0; /* mark it invalid */
|