Searched refs:magic (Results 126 - 150 of 432) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Ddir.c33 #include <isc/magic.h>
52 dir->magic = ISC_DIR_MAGIC;
/freebsd-current/usr.sbin/ppp/
H A Dlqr.c67 u_int32_t magic; member in struct:echolqr
80 echo.magic = htonl(lcp->want_magic);
97 lqr.magic = ntohl(lqr.magic);
101 /* Tolerate echo replies with either magic number */
102 if (lqr.magic != 0 && lqr.magic != lcp->his_magic &&
103 lqr.magic != lcp->want_magic) {
104 log_Printf(LogWARN, "%s: lqr_RecvEcho: Bad magic: expected 0x%08x,"
105 " got 0x%08x\n", fp->link->name, lcp->his_magic, lqr.magic);
[all...]
/freebsd-current/lib/libc/db/hash/
H A Dhash.h62 int32_t magic; /* Magic NO for hash tables */ member in struct:hashhdr
287 #define MAGIC hdr.magic
/freebsd-current/sys/x86/x86/
H A Ducode_subr.c84 uint32_t magic; member in struct:container_header
127 if (container_header->magic != AMD_10H_MAGIC) {
128 WARNX(2, "%s is not a valid amd firmware: bad magic", path);
/freebsd-current/contrib/nvi/regex/
H A Dregex2.h135 int magic; member in struct:re_guts
/freebsd-current/tools/test/stress2/misc/
H A Dreaddir.sh131 long dd_seek; /* magic cookie returned by getdirentries */
132 long dd_rewind; /* magic cookie for rewinding */
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp157 bool ELFHeader::MagicBytesMatch(const uint8_t *magic) { argument
158 return memcmp(magic, ElfMagic, strlen(ElfMagic)) == 0;
161 unsigned ELFHeader::AddressSizeInBytes(const uint8_t *magic) { argument
164 switch (magic[EI_CLASS]) {
/freebsd-current/contrib/ntp/libntp/lib/isc/include/isc/
H A Dbuffer.h111 #include <isc/magic.h>
169 unsigned int magic; member in struct:isc_buffer
696 (_b)->magic = ISC_BUFFER_MAGIC; \
703 (_b)->magic = 0; \
H A Dsocket.h309 * may change the structure. 'magic' must be ISCAPI_SOCKETMGR_MAGIC for any
320 unsigned int magic; member in struct:isc_socketmgr
327 (m)->magic == ISCAPI_SOCKETMGR_MAGIC)
336 unsigned int magic; member in struct:isc_socket
343 (s)->magic == ISCAPI_SOCKET_MAGIC)
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dcoredump.h18 char magic[16]; member in struct:mt7915_coredump
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.cpp169 llvm::file_magic magic; local
170 auto ec = llvm::identify_magic(PdbPath, magic);
171 if (ec || magic != llvm::file_magic::pdb)
/freebsd-current/sbin/ldconfig/
H A Delfhints.c223 is_be = hdr->magic == htobe32(ELFHINTS_MAGIC);
224 if (COND_SWAP(hdr->magic) != ELFHINTS_MAGIC)
284 hdr.magic = COND_SWAP(ELFHINTS_MAGIC);
/freebsd-current/contrib/file/src/
H A DMakefile.in140 am_libmagic_la_OBJECTS = buffer.lo magic.lo apprentice.lo softmagic.lo \
185 ./$(DEPDIR)/magic.Plo ./$(DEPDIR)/print.Plo \
361 MAGIC = $(pkgdatadir)/magic
363 nodist_include_HEADERS = magic.h
366 libmagic_la_SOURCES = buffer.c magic.c apprentice.c softmagic.c ascmagic.c \
377 CLEANFILES = magic.h
378 EXTRA_DIST = magic.h.in cdf.mk BNF memtest.c
379 HDR = $(top_srcdir)/src/magic.h.in
380 BUILT_SOURCES = magic.h
543 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/magic
[all...]
H A Dmemtest.c44 #include <magic.h>
/freebsd-current/crypto/openssl/apps/
H A Dpasswd.c307 * function; then the static buffer would not be acceptable). For magic
309 * algorithm. For 'magic' string "apr1", this is compatible to the MD5-based
311 * identical except that the 'magic' string was changed -- the laziest
314 static char *md5crypt(const char *passwd, const char *magic, const char *salt) argument
331 magic_len = strlen(magic);
332 OPENSSL_strlcpy(ascii_magic, magic, sizeof(ascii_magic));
334 if ((magic[0] & 0x80) != 0) /* High bit is 1 in EBCDIC alnums */
496 static char *shacrypt(const char *passwd, const char *magic, const char *salt) argument
528 magic_len = strlen(magic);
534 switch (magic[
[all...]
H A Denc.c116 static const char magic[] = "Salted__"; local
128 char mbuf[sizeof(magic) - 1];
460 && (BIO_write(wbio, magic,
461 sizeof(magic) - 1) != sizeof(magic) - 1
475 if (memcmp(mbuf, magic, sizeof(mbuf)) == 0) { /* file IS salted */
482 BIO_printf(bio_err, "bad magic number\n");
/freebsd-current/contrib/bmake/
H A Darch.c421 char magic[SARMAG]; local
476 if (fread(magic, SARMAG, 1, arch) != 1 ||
477 strncmp(magic, ARMAG, SARMAG) != 0) {
510 /* svr4 magic mode; handle it */
696 char magic[SARMAG]; local
703 if (fread(magic, SARMAG, 1, arch) != 1 ||
704 strncmp(magic, ARMAG, SARMAG) != 0) {
/freebsd-current/lib/libc/db/btree/
H A Dbt_open.c223 if (m.magic == BTREEMAGIC)
227 M_32_SWAP(m.magic);
234 if (m.magic != BTREEMAGIC || m.version != BTREEVERSION)
H A Dbt_close.c165 m.magic = BTREEMAGIC;
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A Dregex2.h133 int magic; member in struct:re_guts
/freebsd-current/stand/i386/libi386/
H A Dmultiboot.h29 /* The magic field should contain this. */
103 multiboot_uint32_t magic; member in struct:multiboot_header
/freebsd-current/usr.bin/sdiotool/
H A Dsdiotool.c81 * The driver does black magic by copying func struct for F2 and setting func number to zero there, to create an F0 func structure :)
545 uint32_t magic = brcmf_sdiod_regrl(&brcmf_dev, 0x18000000, &ret); local
546 printf("Magic = %08x\n", magic);
547 if (magic != REPLY_MAGIC) {
548 errx(1, "Reply magic is incorrect: expected %08x, got %08x",
549 REPLY_MAGIC, magic);
/freebsd-current/usr.sbin/cpucontrol/
H A Damd.c119 if ((fw_header->magic >> 8) != AMD_MAGIC) {
/freebsd-current/contrib/libfido2/src/
H A Dtpm.c75 uint32_t magic; /* TPM_MAGIC */
217 x->magic = htobe32(x->magic);
322 expected.magic = TPM_MAGIC;
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextLinux_i386.cpp74 uint32_t magic; // Identifier for core dumps. member in struct:UserArea

Completed in 500 milliseconds

1234567891011>>