HomeSort by: relevance | last modified time | path
    Searched refs:magic (Results 1 - 25 of 1219) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/bsd/file/dist/src/
der.h 29 extern int der_offs(struct magic_set *, struct magic *, size_t);
30 extern int der_cmp(struct magic_set *, struct magic *);
  /src/tests/usr.bin/xlint/lint1/
gcc_attribute_type.c 14 unsigned long magic; member in struct:packed_record
19 unsigned long magic; member in struct:record_packed
26 unsigned long magic; member in struct:attribute_before_keyword
  /src/sys/dev/pckbport/
elantechvar.h 43 #define ELANTECH_MAGIC(magic) \
44 ((magic)[0] == 0x3c && (magic)[1] == 0x03 && (magic)[2] == 0xc8)
  /src/external/bsd/jemalloc/dist/src/
div.c 26 * n / 2 ^ k < 1 by setting k = 32. This gets us a value of magic that works.
34 * This would make the value of magic too high to fit into a uint32_t
35 * (we would want magic = 2^32 exactly). This would mess with code gen
41 uint32_t magic = (uint32_t)(two_to_k / d); local
44 * We want magic = ceil(2^k / d), but C gives us floor. We have to
49 magic++;
51 div_info->magic = magic;
  /src/external/bsd/jemalloc.old/dist/src/
div.c 26 * n / 2 ^ k < 1 by setting k = 32. This gets us a value of magic that works.
34 * This would make the value of magic too high to fit into a uint32_t
35 * (we would want magic = 2^32 exactly). This would mess with code gen
41 uint32_t magic = (uint32_t)(two_to_k / d); local
44 * We want magic = ceil(2^k / d), but C gives us floor. We have to
49 magic++;
51 div_info->magic = magic;
  /src/external/bsd/ppp/dist/pppd/
magic.h 1 /* $NetBSD: magic.h,v 1.6 2025/01/08 19:59:39 christos Exp $ */
4 * magic.h - PPP Magic Number definitions.
53 void magic_init (void); /* Initialize the magic number generator */
54 u_int32_t magic (void); /* Returns the next magic number */
  /src/external/bsd/file/dist/python/
example.py 3 import magic
5 ms = magic.open(magic.NONE)
tests.py 5 import magic
10 filename = 'magic.py'
21 result = magic.detect_from_filename(self.filename)
26 result = magic.detect_from_fobj(fobj)
31 result = magic.detect_from_content(fobj.read(8192))
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_auth.c 38 static int drm_hash_magic(drm_magic_t magic)
40 return magic & (DRM_HASH_SIZE-1);
44 * Returns the file private associated with the given magic number.
46 static struct drm_file *drm_find_file(struct drm_device *dev, drm_magic_t magic)
49 int hash = drm_hash_magic(magic);
54 if (pt->magic == magic) {
63 * Inserts the given magic number into the hash table of used magic number
67 drm_magic_t magic)
    [all...]
  /src/external/bsd/file/bin/
Makefile 16 MAN= file.1 magic.5
18 CLEANFILES+= magic.mgc
20 realall: file magic.mgc
27 magic.mgc: ${TOOL_MKMAGIC}
29 ${TOOL_MKMAGIC} -C -m ${DIST}/magic/magdir
33 magic.mgc:
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/
xencomm.h 36 uint32_t magic; member in struct:xencomm_desc
  /src/external/bsd/file/lib/
Makefile 10 LIB= magic
26 SRCS= magic.c apprentice.c softmagic.c ascmagic.c compress.c \
30 DPSRCS= magic.h
41 INCS= magic.h
48 magic.c: magic.h
49 magic.h: magic.h.in
51 CLEANFILES+= magic.h
  /src/external/bsd/libpcap/dist/
sf-pcap.h 36 extern pcap_t *pcap_check_header(const uint8_t *magic, FILE *fp,
sf-pcapng.h 29 extern pcap_t *pcap_ng_check_header(const uint8_t *magic, FILE *fp,
  /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.allocations/
alloc_from_assert.d 6 int magic;
11 assert(this.magic == 42);
  /src/sys/arch/evbarm/integrator/
integrator_boot.h 13 struct magic { struct in union:intbootinfo::__anon1314
14 unsigned long magic; member in struct:intbootinfo::__anon1314::magic
  /src/sys/arch/netwinder/include/
netwinder_boot.h 19 struct magic { struct in union:nwbootinfo::__anon1707
20 unsigned long magic; member in struct:nwbootinfo::__anon1707::magic
  /src/external/bsd/ntp/dist/libntp/lib/isc/include/isc/
magic.h 1 /* $NetBSD: magic.h,v 1.2 2024/08/18 20:47:14 christos Exp $ */
20 /* Id: magic.h,v 1.18 2007/06/19 23:47:18 tbox Exp */
25 /*! \file isc/magic.h */
28 unsigned int magic; member in struct:__anon7414
33 * To use this macro the magic number MUST be the first thing in the
35 * The intent of this is to allow magic numbers to be checked even though
39 (((const isc__magic_t *)(a))->magic == (b)))
  /src/external/mpl/bind/dist/lib/isc/include/isc/
magic.h 1 /* $NetBSD: magic.h,v 1.8 2025/01/26 16:25:41 christos Exp $ */
18 /*! \file isc/magic.h */
21 unsigned int magic; member in struct:__anon24131
25 * To use this macro the magic number MUST be the first thing in the
27 * The intent of this is to allow magic numbers to be checked even though
31 ((a) != NULL && ((const isc__magic_t *)(a))->magic == (b))
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_msg.h 51 * @magic: [IN] hypervisor magic value
60 flags, magic, \
70 "a"(magic), \
92 * @magic: [IN] hypervisor magic value
104 flags, magic, bp, \
117 "a"(magic), \
129 flags, magic, bp, \
142 "a"(magic), \
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.linespec/
cp-completion-aliases.cc 21 struct magic struct
31 typedef magic<int> int_magic_t;
64 magic<int> m;
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.linespec/
cp-completion-aliases.cc 21 struct magic struct
31 typedef magic<int> int_magic_t;
64 magic<int> m;
  /src/external/bsd/nsd/dist/simdzone/src/fallback/
bits.h 42 static const uint64_t magic = 0x03f79d71b4cb0a89ull;
54 return magictable[((mask ^ (mask - 1)) * magic) >> 58];
65 static const uint64_t magic = 0x03f79d71b4cb0a89ull;
84 return magictable[(mask * magic) >> 58];
  /src/external/gpl2/groff/dist/src/include/
index.h 27 int magic; member in struct:index_header
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
div.h 17 uint32_t magic; member in struct:div_info_s
34 size_t i = ((uint64_t)n * (uint64_t)div_info->magic) >> 32;

Completed in 35 milliseconds

1 2 3 4 5 6 7 8 91011>>