Searched refs:HASH_MAGIC (Results 1 – 5 of 5) sorted by relevance
77 #define HASH_MAGIC 0xdeadbeef macro114 table->magic = HASH_MAGIC; in drmHashCreate()131 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashDestroy()180 if (!table || table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashLookup()194 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashInsert()216 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashDelete()248 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashFirst()
82 #define HASH_MAGIC 0xdeadbeef macro165 table->magic = HASH_MAGIC; in __glxHashCreate()183 if (table->magic != HASH_MAGIC) in __glxHashDestroy()236 if (!table || table->magic != HASH_MAGIC) in __glxHashLookup()253 if (table->magic != HASH_MAGIC) in __glxHashInsert()279 if (table->magic != HASH_MAGIC) in __glxHashDelete()315 if (table->magic != HASH_MAGIC) in __glxHashFirst()
54 static const uint32_t HASH_MAGIC = 0x48415348u; variable71 magic (HASH_MAGIC), in Header()130 if (magic != HASH_MAGIC) in Read()231 header.magic = HASH_MAGIC; in Save()
79 if (l < sizeof(HASH_MAGIC) - 1) { in extract_salt()83 if (strncmp(s, HASH_MAGIC, sizeof(HASH_MAGIC) - 1) != 0) { in extract_salt()87 s += sizeof(HASH_MAGIC) - 1; in extract_salt()88 l -= sizeof(HASH_MAGIC) - 1; in extract_salt()152 snprintf(encoded, sizeof(encoded), "%s%s%c%s", HASH_MAGIC, uu_salt, in host_hash()
51 #define HASH_MAGIC "|1|" macro