/freebsd-current/contrib/ntp/libntp/lib/isc/unix/ |
H A D | dir.c | 33 #include <isc/magic.h> 52 dir->magic = ISC_DIR_MAGIC;
|
/freebsd-current/usr.sbin/ppp/ |
H A D | lqr.c | 67 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 D | hash.h | 62 int32_t magic; /* Magic NO for hash tables */ member in struct:hashhdr 287 #define MAGIC hdr.magic
|
/freebsd-current/sys/x86/x86/ |
H A D | ucode_subr.c | 84 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 D | regex2.h | 135 int magic; member in struct:re_guts
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | readdir.sh | 131 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 D | ELFHeader.cpp | 157 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 D | buffer.h | 111 #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 D | socket.h | 309 * 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 D | coredump.h | 18 char magic[16]; member in struct:mt7915_coredump
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectFile/PDB/ |
H A D | ObjectFilePDB.cpp | 169 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 D | elfhints.c | 223 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 D | Makefile.in | 140 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 D | memtest.c | 44 #include <magic.h>
|
/freebsd-current/crypto/openssl/apps/ |
H A D | passwd.c | 307 * 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 D | enc.c | 116 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 D | arch.c | 421 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 D | bt_open.c | 223 if (m.magic == BTREEMAGIC) 227 M_32_SWAP(m.magic); 234 if (m.magic != BTREEMAGIC || m.version != BTREEVERSION)
|
H A D | bt_close.c | 165 m.magic = BTREEMAGIC;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | regex2.h | 133 int magic; member in struct:re_guts
|
/freebsd-current/stand/i386/libi386/ |
H A D | multiboot.h | 29 /* The magic field should contain this. */ 103 multiboot_uint32_t magic; member in struct:multiboot_header
|
/freebsd-current/usr.bin/sdiotool/ |
H A D | sdiotool.c | 81 * 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 D | amd.c | 119 if ((fw_header->magic >> 8) != AMD_MAGIC) {
|
/freebsd-current/contrib/libfido2/src/ |
H A D | tpm.c | 75 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 D | RegisterContextLinux_i386.cpp | 74 uint32_t magic; // Identifier for core dumps. member in struct:UserArea
|