hash 972 core/conf.c unsigned hash=0; hash 974 core/conf.c hash = *mem ^ (hash<<6) ^ (hash>>25); hash 975 core/conf.c return hash; hash 233 lib/lang/lang.c unsigned hash=0; hash 235 lib/lang/lang.c hash = *str ^ (hash<<6) ^ (hash>>25); hash 236 lib/lang/lang.c if ( hash<MAX_LANGID ) hash 237 lib/lang/lang.c hash |= (1<<31); hash 238 lib/lang/lang.c return hash; hash 489 lib/lua/lgc.c sweepwholelist(L, &g->strt.hash[i]); hash 574 lib/lua/lgc.c sweepwholelist(L, &g->strt.hash[g->sweepstrgc++]); hash 204 lib/lua/lobject.h unsigned int hash; hash 111 lib/lua/lstate.c luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size, TString *); hash 165 lib/lua/lstate.c g->strt.hash = NULL; hash 39 lib/lua/lstate.h GCObject **hash; hash 33 lib/lua/lstring.c GCObject *p = tb->hash[i]; hash 36 lib/lua/lstring.c unsigned int h = gco2ts(p)->hash; hash 44 lib/lua/lstring.c luaM_freearray(L, tb->hash, tb->size, TString *); hash 46 lib/lua/lstring.c tb->hash = newhash; hash 58 lib/lua/lstring.c ts->tsv.hash = h; hash 66 lib/lua/lstring.c ts->tsv.next = tb->hash[h]; /* chain new entry */ hash 67 lib/lua/lstring.c tb->hash[h] = obj2gco(ts); hash 82 lib/lua/lstring.c for (o = G(L)->strt.hash[lmod(h, G(L)->strt.size)]; hash 52 lib/lua/ltable.c #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) hash 7 modules/module_hash.h unsigned int hash; hash 46 modules/module_load.c unsigned int hash = 5381; hash 51 modules/module_load.c hash = ((hash << 5) + hash) ^ toupper(c); /* hash * 33 xor c */ hash 53 modules/module_load.c return hash; hash 167 modules/module_load.c static int module_find(unsigned int hash) hash 173 modules/module_load.c if (modules[i].hdr && (modules[i].hName == hash)) hash 229 modules/module_load.c if (importid == symbol_hash_table[mid].hash) hash 231 modules/module_load.c else if (importid > symbol_hash_table[mid].hash) hash 414 modules/module_load.c unsigned int hash = get_module_path(path, name); hash 417 modules/module_load.c module_unload_idx(module_find(hash)); hash 592 modules/module_load.c unsigned int hash = get_module_path(path, hMod->name); hash 595 modules/module_load.c idx = module_find(hash); hash 626 modules/module_load.c modules[idx].hName = hash; hash 131 modules/sha1.c u8 hash[SHA1_MAC_LEN]; hash 154 modules/sha1.c hash); hash 155 modules/sha1.c memcpy(&buf[pos], hash, plen); hash 182 modules/sha1.c u8 hash[SHA1_MAC_LEN]; hash 188 modules/sha1.c addr[0] = hash; hash 205 modules/sha1.c hmac_sha1_vector(key, key_len, 5, addr, len, hash); hash 207 modules/sha1.c memcpy(&buf[pos], hash, SHA1_MAC_LEN); hash 210 modules/sha1.c memcpy(&buf[pos], hash, plen); hash 18 tools/makeexport.c unsigned int hash; hash 31 tools/makeexport.c if (hash_vals[i].hash == val) hash 39 tools/makeexport.c hash_vals[hash_idx].hash = val; hash 49 tools/makeexport.c if (ha->hash < hb->hash) return -1; hash 50 tools/makeexport.c else if (ha->hash > hb->hash) return 1; hash 61 tools/makeexport.c unsigned int hash = 5381; hash 66 tools/makeexport.c hash = ((hash << 5) + hash) ^ c; /* hash * 33 xor c */ hash 68 tools/makeexport.c return hash; hash 119 tools/makeexport.c unsigned int hash_val = hash((unsigned char*)symbol); hash 208 tools/makeexport.c fprintf(out_hash,"{ 0x%08x, %s },\n",hash_vals[n].hash,hash_vals[n].symbol);