Searched refs:magic (Results 51 - 75 of 534) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/wpa/src/utils/
H A Dwpabuf.c25 unsigned int magic; member in struct:wpabuf_trace
40 if (trace->magic != WPABUF_MAGIC) {
41 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x",
42 trace->magic);
67 if (trace->magic != WPABUF_MAGIC) {
68 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x",
69 trace->magic);
70 wpa_trace_show("wpabuf_resize invalid magic");
126 trace->magic = WPABUF_MAGIC;
147 trace->magic
[all...]
H A Dos_unix.c32 unsigned int magic; member in struct:os_alloc_trace
249 if (a->magic != ALLOC_MAGIC) {
250 wpa_printf(MSG_INFO, "MEMLEAK[%p]: invalid magic 0x%x "
252 a, a->magic, (unsigned long) a->len);
356 a->magic = ALLOC_MAGIC;
374 if (a->magic != ALLOC_MAGIC) {
375 wpa_printf(MSG_INFO, "REALLOC[%p]: invalid magic 0x%x%s",
376 a, a->magic,
377 a->magic == FREED_MAGIC ? " (already freed)" : "");
400 if (a->magic !
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dtimer.h133 * may change the structure. 'magic' must be ISCAPI_TIMERMGR_MAGIC for any
139 unsigned int magic; member in struct:isc_timermgr
145 (m)->magic == ISCAPI_TIMERMGR_MAGIC)
153 unsigned int magic; member in struct:isc_timer
159 (s)->magic == ISCAPI_TIMER_MAGIC)
H A Drwlock.h45 unsigned int magic; member in struct:isc_rwlock
104 unsigned int magic; member in struct:isc_rwlock
/freebsd-9.3-release/sys/geom/vinum/
H A Dgeom_vinum_drive.c55 * 0 ( 8) 0 ( 8) 0 ( 8) magic
108 * Read the header while taking magic number into account, and write it to
139 m_hdr->magic = GV_GET64(be);
144 * checking the magic against the reverse of GV_OLD_MAGIC.
146 be = (m_hdr->magic == magic_machdep);
147 if (m_hdr->magic == GV_MAGIC) {
159 } else if (m_hdr->magic != GV_OLD_MAGIC &&
160 m_hdr->magic != le64toh(GV_OLD_MAGIC)) {
166 m_hdr->magic = GV_MAGIC;
180 m_hdr->magic
[all...]
/freebsd-9.3-release/contrib/bind9/bin/named/include/named/
H A Dinterfacemgr.h51 #include <isc/magic.h>
72 unsigned int magic; /*%< Magic number. */ member in struct:ns_interface
H A Dlwresd.h33 unsigned int magic; member in struct:ns_lwresd
45 unsigned int magic; member in struct:ns_lwreslistener
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Ddbiterator.h65 #include <isc/magic.h>
97 * may change the structure. 'magic' must be DNS_DBITERATOR_MAGIC for any of
103 unsigned int magic; member in struct:dns_dbiterator
H A Drriterator.h36 #include <isc/magic.h>
61 unsigned int magic; member in struct:dns_rriterator
H A Dkeytable.h45 #include <isc/magic.h>
58 unsigned int magic; member in struct:dns_keytable
73 unsigned int magic; member in struct:dns_keynode
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Drwlock.h45 unsigned int magic; member in struct:isc_rwlock
104 unsigned int magic; member in struct:isc_rwlock
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dondestroy.c27 #include <isc/magic.h>
37 ondest->magic = ONDESTROY_MAGIC;
/freebsd-9.3-release/contrib/bind9/lib/lwres/include/lwres/
H A Dlwbuffer.h117 (b)->magic == LWRES_BUFFER_MAGIC)
149 unsigned int magic; member in struct:lwres_buffer
/freebsd-9.3-release/contrib/binutils/bfd/
H A Dnetbsd.h22 /* Check for our machine type (part of magic number). */
42 #define N_SET_INFO(exec, magic, type, flags) \
43 ((exec).a_info = ((magic) & 0xffff) \
58 /* On NetBSD, the magic number is always in ntohl's "network" (big-endian)
83 /* We must make certain that the magic number has been set. This
107 /* The NetBSD magic number is always big-endian */
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_private.h73 * The magic/state values are used to sanity-check the
78 unsigned int magic; member in struct:archive
105 /* Check magic value and state; exit if it isn't valid. */
106 void __archive_check_magic(struct archive *, unsigned int magic,
/freebsd-9.3-release/contrib/sendmail/include/sm/
H A Dassert.h78 # define SM_REQUIRE_ISA(obj, magic) \
79 SM_REQUIRE((obj) != NULL && (obj)->sm_magic == (magic))
/freebsd-9.3-release/lib/libc/mips/gen/
H A Dsigsetjmp.S74 bne t0, t1, 1f # setjmp or _setjmp magic?
/freebsd-9.3-release/lib/libc/regex/
H A Dregfree.c67 if (g == NULL || g->magic != MAGIC2) /* oops again */
70 g->magic = 0; /* mark it invalid */
/freebsd-9.3-release/lib/libcrypt/
H A Dcrypt-nthash.c55 static const char *magic = "$3$"; local
80 strcpy(passwd, magic);
/freebsd-9.3-release/sys/sys/
H A Dkerneldump.h61 char magic[20]; member in struct:kerneldumpheader
104 void mkdumpheader(struct kerneldumpheader *kdh, char *magic, uint32_t archver,
/freebsd-9.3-release/contrib/file/src/
H A Dis_tar.c46 #include "magic.h"
118 if (strcmp(header->header.magic, GNUTMAGIC) == 0)
120 if (strcmp(header->header.magic, TMAGIC) == 0)
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dondestroy.c27 #include <isc/magic.h>
37 ondest->magic = ONDESTROY_MAGIC;
/freebsd-9.3-release/contrib/libpcap/
H A Dsf-pcap.c130 pcap_check_header(pcap_t *p, bpf_u_int32 magic, FILE *fp, char *errbuf) argument
136 * Check whether the first 4 bytes of the file are the magic
140 if (magic != TCPDUMP_MAGIC && magic != KUZNETZOV_TCPDUMP_MAGIC) {
141 magic = SWAPLONG(magic);
142 if (magic != TCPDUMP_MAGIC && magic != KUZNETZOV_TCPDUMP_MAGIC)
148 * They are. Put the magic number in the header, and read
151 hdr.magic
[all...]
/freebsd-9.3-release/contrib/ipfilter/tools/
H A Dipsyncm.c66 u_32_t magic; local
156 magic = ntohl(sh->sm_magic);
158 if (magic != SYNHDRMAGIC) {
160 "Invalid header magic %x", magic);
166 printf("v:%d p:%d len:%d magic:%x", sh->sm_v,
167 sh->sm_p, len, magic);
/freebsd-9.3-release/contrib/file/magic/
H A DMakefile.am5 MAGIC_DIR = $(top_srcdir)/magic
8 pkgdata_DATA = magic.mgc
134 $(MAGIC_FRAGMENT_DIR)/magic \
273 MAGIC = magic.mgc
277 # the target's magic file; for now we bail if the local version does not match
287 @rm -fr magic
288 @mkdir magic && cp -p $(EXTRA_DIST) magic
300 $(FILE_COMPILE) -C -m magic
301 @rm -fr magic
[all...]

Completed in 303 milliseconds

1234567891011>>