Searched defs:magic (Results 1 - 25 of 144) sorted by relevance

123456

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dobject.h123 short magic; /* Magic Number (0432) */ member in struct:header
H A Dscr_ll_dump.c52 short magic = SVR3_DUMP_MAGIC_NUMBER, rv = ERR; local
57 if (fwrite((char *) &magic, sizeof (short), 1, filep) != 1)
78 magic = (!slk) ? 0 : (slk->_win) ? 2 : 1;
79 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1)
81 if (magic) {
107 magic = ((cur_term->_pairs_tbl) ? 1 : 0);
108 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1)
110 if (magic) {
H A Dscr_reset.c82 short magic; local
99 /* check magic number */
100 if (fread((char *) &magic, sizeof (short), 1, filep) != 1)
102 if (magic != SVR3_DUMP_MAGIC_NUMBER)
131 (fread((char *) &magic, sizeof (int), 1, filep) != 1))
138 if (magic) {
183 if (fread((char *) &magic, sizeof (int), 1, filep) != 1)
186 if (magic) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmagic.c2 * magic.c - PPP Magic Number routines.
21 #define RCSID "$Id: magic.c,v 1.9 1999/08/13 06:46:15 paulus Exp $"
30 #include "magic.h"
42 * magic_init - Initialize the magic number generator.
60 * magic - Returns the next magic number.
63 magic() function
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dstatusd_shm.h31 unsigned long magic; member in struct:__anon1393
/illumos-gate/usr/src/lib/libast/common/include/
H A Dmagicid.h25 * generic binary magic id definitions
39 Magicid_data_t magic; /* magic number */ member in struct:Magicid_s
/illumos-gate/usr/src/lib/libtnf/
H A Dreader.c37 tnf_uint32_t magic; local
46 * Check magic number
50 if ((magic = *(tnf_uint32_t *)base) == TNF_MAGIC)
52 else if (magic == TNF_MAGIC_1)
64 tnf->file_magic = magic;
75 fhdr = (tnf_ref32_t *)(base + sizeof (magic)); /* second word */
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dbasemem.c15 uint32_t magic; member in struct:free_base_memory_block
123 free_block->magic = FREE_BLOCK_MAGIC;
155 ( free_block->magic != FREE_BLOCK_MAGIC ) ) {
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmbchk.c70 unsigned long magic = *((unsigned long *) (buf + i)); local
72 if (magic == MULTIBOOT_HEADER_MAGIC)
90 if (mbh->magic + mbh->flags + mbh->checksum != 0)
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deft.h46 uint32_t magic; member in struct:eftheader
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dmagicid.h27 * generic binary magic id definitions
48 Magicid_data_t magic; /* magic number */ member in struct:Magicid_s
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dmagicid.h27 * generic binary magic id definitions
48 Magicid_data_t magic; /* magic number */ member in struct:Magicid_s
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dmagicid.h27 * generic binary magic id definitions
48 Magicid_data_t magic; /* magic number */ member in struct:Magicid_s
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dmagicid.h27 * generic binary magic id definitions
48 Magicid_data_t magic; /* magic number */ member in struct:Magicid_s
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsgsgn.h52 uint32_t magic; member in struct:__anon9969
66 (offsetof(sg_sgnblk_t, magic))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc-int.h39 krb5_magic magic; member in struct:krb5_rc_st
46 krb5_magic magic; member in struct:_krb5_rc_ops
/illumos-gate/usr/src/lib/libc/port/locale/
H A Drunefile.h43 char magic[8]; member in struct:__anon3018
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_auth.c45 drm_hash_magic(drm_magic_t magic) argument
47 return (magic & (DRM_HASH_SIZE-1));
51 drm_find_file(drm_device_t *dev, drm_magic_t magic) argument
57 hash = drm_hash_magic(magic);
59 if (pt->magic == magic) {
69 drm_add_magic(drm_device_t *dev, drm_file_t *priv, drm_magic_t magic) argument
74 hash = drm_hash_magic(magic);
78 entry->magic = magic;
96 drm_remove_magic(drm_device_t *dev, drm_magic_t magic) argument
[all...]
/illumos-gate/usr/src/lib/storage/liba5k/common/hdrs/
H A Drom.h99 ushort_t magic; member in struct:dl_info
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmb_header.h27 unsigned magic; member in struct:multiboot_header
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dauth_con.h6 krb5_magic magic; member in struct:_krb5_auth_context
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_pcu.h44 int32_t magic; /* magic number to distinguish file revs */ member in struct:sdbc_pwf_hdr_s
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dpolicy_db.h62 int magic; member in struct:_osa_adb_db_ent_t
81 krb5_error_code osa_adb_create_db(char *filename, char *lockfile, int magic);
82 krb5_error_code osa_adb_destroy_db(char *filename, char *lockfile, int magic);
84 char *fileto, char *lockto, int magic);
86 char *lockfile, int magic);
87 krb5_error_code osa_adb_fini_db(osa_adb_db_t db, int magic);
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Ddomaind.h38 uint32_t magic; /* magic number */ member in struct:domain_data
59 #define DOMD_MAGIC_OFFSET offsetof(domain_data_t, magic)
/illumos-gate/usr/src/lib/policykit/libpolkit/common/
H A Dlibpolkit-rbac.c47 if (_ctx_->magic != LIBPOLKIT_MAGIC) { \
48 g_warning ("%s: given LibPolKitContext is invalid (read magic 0x%08x, should be 0x%08x)", \
49 __FUNCTION__, _ctx_->magic, LIBPOLKIT_MAGIC); \
57 guint32 magic; member in struct:LibPolKitContext_s
70 ctx->magic = LIBPOLKIT_MAGIC;
85 ctx->magic = 0;

Completed in 85 milliseconds

123456