/freebsd-9.3-release/contrib/ntp/lib/isc/nls/ |
H A D | msgcat.c | 30 #include <isc/magic.h> 47 unsigned int magic; member in struct:isc_msgcat 81 msgcat->magic = MSGCAT_MAGIC; 103 msgcat->magic = 0;
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | md5crypt.c | 24 static char *magic = "$1$"; variable 47 return (strncmp(salt, magic, strlen(magic)) == 0); 63 /* If it starts with the magic string, then skip that */ 64 if(strncmp(sp, magic, strlen(magic)) == 0) 65 sp += strlen(magic); 85 /* Then our magic string */ 86 MD5_Update(&ctx, magic, strlen(magic)); [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | ui-file.c | 41 int *magic; member in struct:ui_file 58 file->magic = &ui_file_magic; 163 if (file->magic != &ui_file_magic) 165 "ui_file_data: bad magic number"); 309 int *magic; 331 stream->magic = &mem_file_magic; 342 if (stream->magic != &mem_file_magic) 344 "mem_file_delete: bad magic number"); 360 if (stream->magic != &mem_file_magic) 362 "mem_file_rewind: bad magic numbe 308 int *magic; member in struct:mem_file 422 int *magic; member in struct:stdio_file 537 int *magic; member in struct:tee_file [all...] |
/freebsd-9.3-release/contrib/file/src/ |
H A D | file.c | 38 #include "magic.h" 154 struct magic_set *magic = NULL; local 156 const char *magicfile = NULL; /* where the magic is */ 227 if (magic == NULL) 228 if ((magic = load(magicfile, flags)) == NULL) 230 e |= unwrap(magic, optarg); 273 (void)fprintf(stdout, "magic file from %s\n", 300 (void)fprintf(stderr, "%s: compiled magic version [%d] " 301 "does not match with shared library magic version [%d]\n", 309 * Don't try to check/compile ~/.magic unles 374 applyparam(magic_t magic) argument 413 struct magic_set *magic = magic_open(flags); local [all...] |
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/ |
H A D | iptable.h | 23 #include <isc/magic.h> 29 unsigned int magic; member in struct:dns_iptable
|
H A D | rdatasetiter.h | 65 #include <isc/magic.h> 92 * may change the structure. 'magic' must be #DNS_RDATASETITER_MAGIC for 98 unsigned int magic; member in struct:dns_rdatasetiter
|
H A D | diff.h | 38 #include <isc/magic.h> 82 unsigned int magic; member in struct:dns_difftuple 103 unsigned int magic; member in struct:dns_diff
|
/freebsd-9.3-release/sbin/geom/misc/ |
H A D | subr.h | 41 const char *magic); 43 int g_metadata_clear(const char *name, const char *magic);
|
/freebsd-9.3-release/usr.bin/lastcomm/ |
H A D | readrec.c | 137 uint8_t magic, version; local 139 if (fread_record(&magic, sizeof(magic), f) == EOF || 142 ungetc(magic, f) == EOF) 167 int magic, rv; local 169 if ((magic = getc(f)) == EOF) 171 if (ungetc(magic, f) == EOF) 173 if (magic != 0)
|
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/ |
H A D | bitstring.h | 85 unsigned int magic; member in struct:isc_bitstring
|
H A D | timer.h | 134 * may change the structure. 'magic' must be ISCAPI_TIMERMGR_MAGIC for any 140 unsigned int magic; member in struct:isc_timermgr 146 (m)->magic == ISCAPI_TIMERMGR_MAGIC) 154 unsigned int magic; member in struct:isc_timer 160 (s)->magic == ISCAPI_TIMER_MAGIC)
|
/freebsd-9.3-release/lib/libc/locale/ |
H A D | runefile.h | 45 char magic[8]; member in struct:__anon5092
|
/freebsd-9.3-release/sys/dev/sfxge/common/ |
H A D | siena_flash.h | 52 efx_dword_t magic; /* = SIENA_MC_BOOT_MAGIC */ member in struct:siena_mc_boot_hdr_s 72 efx_dword_t magic; /* = SIENA_MC_STATIC_CONFIG_MAGIC */ member in struct:siena_mc_static_config_hdr_s 105 efx_dword_t magic; /* = SIENA_MC_DYNAMIC_CONFIG_MAGIC */ member in struct:siena_mc_dynamic_config_hdr_s 120 efx_dword_t magic; /* = SIENA_MC_EXPROM_COMBO_MAGIC */ member in struct:siena_mc_combo_rom_hdr_s
|
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/ |
H A D | bitstring.h | 85 unsigned int magic; member in struct:isc_bitstring
|
H A D | app.h | 89 #include <isc/magic.h> 105 * functions). magic must be ISCAPI_APPMETHODS_MAGIC. 127 * may change the structure. 'magic' must be ISCAPI_APPCTX_MAGIC for any 133 unsigned int magic; member in struct:isc_appctx 139 (c)->magic == ISCAPI_APPCTX_MAGIC)
|
/freebsd-9.3-release/contrib/libarchive/libarchive/ |
H A D | archive_check_magic.c | 105 * Check magic value and current state; bail if it isn't valid. 111 __archive_check_magic(struct archive *a, unsigned int magic, argument 114 if (a->magic != magic) {
|
/freebsd-9.3-release/contrib/libarchive/libarchive/test/ |
H A D | test_open_failure.c | 30 int magic; member in struct:my_data 45 assertEqualInt(MAGIC, private->magic); 54 assertEqualInt(MAGIC, private->magic); 63 assertEqualInt(MAGIC, private->magic); 72 assertEqualInt(MAGIC, private->magic); 84 private.magic = MAGIC; 99 private.magic = MAGIC; 114 private.magic = MAGIC; 129 private.magic = MAGIC; 148 private.magic [all...] |
/freebsd-9.3-release/lib/libcrypt/ |
H A D | crypt.c | 51 const char *const magic; member in struct:crypt_format 103 * magic string (e.g. "$6$" for sha512), the corresponding format is used; 115 if (cf->magic != NULL && strstr(salt, cf->magic) == salt)
|
H A D | crypt-md5.c | 54 static const char *magic = "$1$"; local 59 /* If it starts with the magic string, then skip that */ 60 if(!strncmp(sp, magic, strlen(magic))) 61 sp += strlen(magic); 75 /* Then our magic string */ 76 MD5Update(&ctx, (const u_char *)magic, strlen(magic)); 102 strcpy(passwd, magic);
|
/freebsd-9.3-release/contrib/file/ |
H A D | README | 16 It knows the 'magic number' of several thousands of file types. 28 The major changes for 5.x are CDF file parsing, indirect magic, name/use 55 Berkeley one. That is, the file /etc/magic contains much of the ritual 57 knows a little more magic (including tar archives) than System V; the 58 /etc/magic parsing seems to be compatible with the (poorly documented) 59 System V /etc/magic format (with one exception; see the man page). 61 In addition, the /etc/magic file is built from a subdirectory 63 magic numbers assigned to all sorts of data files that 64 are in reasonable circulation. Send your magic numbers, 65 in magic( [all...] |
/freebsd-9.3-release/contrib/gcc/config/rs6000/ |
H A D | xcoff.h | 30 /* Define the magic numbers that we recognize as COFF. 37 so accept "#!" (0x2321) magic number. */ 38 #define MY_ISCOFF(magic) \ 39 ((magic) == U802WRMAGIC || (magic) == U802ROMAGIC \ 40 || (magic) == U802TOCMAGIC || (magic) == 0757 || (magic) == 0767 \ 41 || (magic) == 0x2321)
|
/freebsd-9.3-release/tools/regression/netinet6/inet6_rth/ |
H A D | inet6_rth-segments.c | 230 char magic[] = "MAGIC"; local 243 * Copy the same instance of cmsghdr twice. Use a magic value 247 strlcpy((char *)&cmh, (const char *)&magic, sizeof(magic)); 253 checkstr((const char *)&magic, (const char *)cmhnextp, sizeof(magic), 288 char magic[] = "MAGIC"; local 320 strlcpy((char *)&cmh, (const char *)&magic, sizeof(magic)); 323 checkstr((const char *)&magic, (cons [all...] |
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_da_btree.c | 129 node->hdr.info.magic = cpu_to_be16(XFS_DA_NODE_MAGIC); 161 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || 162 state->path.blk[max].magic == XFS_DIRX_LEAF_MAGIC(state->mp)); 175 switch (oldblk->magic) { 362 if (be16_to_cpu(oldroot->hdr.info.magic) == XFS_DA_NODE_MAGIC) { 367 ASSERT(be16_to_cpu(oldroot->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC); 395 if (be16_to_cpu(oldroot->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC) { 427 ASSERT(be16_to_cpu(node->hdr.info.magic) == XFS_DA_NODE_MAGIC); 452 newblk->magic = XFS_DA_NODE_MAGIC; 527 ASSERT(be16_to_cpu(node1->hdr.info.magic) 2193 uint magic, magic1; local [all...] |
/freebsd-9.3-release/usr.bin/apply/ |
H A D | apply.c | 66 int ch, debug, i, magic, n, nargs, offset, rval; local 71 magic = '%'; /* Default magic char is `%'. */ 78 "illegal magic character specification"); 79 magic = optarg[0]; 106 if (p[0] == magic && isdigit(p[1]) && p[1] != '0') { 152 offset = snprintf(p, cmdsize, " %c%d", magic, i); 187 if (p[0] == magic && isdigit(p[1]) && p[1] != '0') { 258 "usage: apply [-a magic] [-d] [-0123456789] command arguments ...\n");
|
/freebsd-9.3-release/usr.bin/gzip/ |
H A D | gzexe | 27 magic="# compressed by gzexe" 34 $magic 56 # Test if a file is compressed by checking the magic line 58 test "X`sed -n 2p "$1" 2> /dev/null`" = "X$magic"
|