Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 16 of 16) sorted by relevance

/busybox-1.35.0/libbb/
Dhash_md5_sha.c146 uint32_t A = ctx->hash[0]; in md5_process_block64()
147 uint32_t B = ctx->hash[1]; in md5_process_block64()
148 uint32_t C = ctx->hash[2]; in md5_process_block64()
149 uint32_t D = ctx->hash[3]; in md5_process_block64()
245 ctx->hash[0] += A; in md5_process_block64()
246 ctx->hash[1] += B; in md5_process_block64()
247 ctx->hash[2] += C; in md5_process_block64()
248 ctx->hash[3] += D; in md5_process_block64()
396 ctx->hash[0] += A; in md5_process_block64()
397 ctx->hash[1] += B; in md5_process_block64()
[all …]
/busybox-1.35.0/modutils/
Dmodutils.c22 unsigned i, hash; in helper_get_module() local
26 hash = 0; in helper_get_module()
28 hash = ((hash << 5) + hash) + modname[i]; in helper_get_module()
29 hash %= MODULE_HASH_SIZE; in helper_get_module()
31 for (e = db->buckets[hash]; e; e = e->next) in helper_get_module()
39 e->next = db->buckets[hash]; in helper_get_module()
40 db->buckets[hash] = e; in helper_get_module()
Dmodutils-24.c613 unsigned long (*hash)(const char *) FAST_FUNC);
1974 unsigned long (*hash) (const char *) FAST_FUNC) in obj_set_symbol_compare()
1978 if (hash) { in obj_set_symbol_compare()
1982 f->symbol_hash = hash; in obj_set_symbol_compare()
1989 unsigned long h = hash(sym->name) % HASH_BUCKETS; in obj_set_symbol_compare()
2007 unsigned long hash = f->symbol_hash(name) % HASH_BUCKETS; in obj_add_symbol() local
2011 for (sym = f->symtab[hash]; sym; sym = sym->next) { in obj_add_symbol()
2038 for (p = &f->symtab[hash]; *p != sym; p = &(*p)->next) in obj_add_symbol()
2074 sym->next = f->symtab[hash]; in obj_add_symbol()
2075 f->symtab[hash] = sym; in obj_add_symbol()
[all …]
/busybox-1.35.0/archival/libarchive/unxz/
Dxz_dec_stream.c93 struct xz_dec_hash hash; member
115 struct xz_dec_hash hash; member
259 s->block.hash.unpadded += s->block_header.size in dec_block()
263 s->block.hash.unpadded += check_sizes[s->check_type]; in dec_block()
266 s->block.hash.unpadded += 4; in dec_block()
269 s->block.hash.uncompressed += s->block.uncompressed; in dec_block()
270 s->block.hash.crc32 = xz_crc32( in dec_block()
271 (const uint8_t *)&s->block.hash, in dec_block()
272 sizeof(s->block.hash), s->block.hash.crc32); in dec_block()
323 s->index.hash.unpadded += s->vli; in dec_index()
[all …]
/busybox-1.35.0/testsuite/
Dmkfs.minix.tests26 "$hash -\n" \
/busybox-1.35.0/scripts/kconfig/
Dsymbol.c651 int hash = 0; in sym_lookup() local
662 hash += *ptr; in sym_lookup()
663 hash &= 0xff; in sym_lookup()
665 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) { in sym_lookup()
675 hash = 256; in sym_lookup()
686 symbol->next = symbol_hash[hash]; in sym_lookup()
687 symbol_hash[hash] = symbol; in sym_lookup()
696 int hash = 0; in sym_find() local
709 hash += *ptr; in sym_find()
710 hash &= 0xff; in sym_find()
[all …]
Dzconf.gperf2 %define hash-function-name kconf_id_hash
Dzconf.tab.c_shipped152 #include "zconf.hash.c"
/busybox-1.35.0/editors/
Dawk.c698 static void hash_clear(xhash *hash) in hash_clear() argument
703 for (i = 0; i < hash->csize; i++) { in hash_clear()
704 hi = hash->items[i]; in hash_clear()
712 hash->items[i] = NULL; in hash_clear()
714 hash->glen = hash->nel = 0; in hash_clear()
718 static void hash_free(xhash *hash)
720 hash_clear(hash);
721 free(hash->items);
722 free(hash);
727 static NOINLINE void *hash_search3(xhash *hash, const char *name, unsigned idx) in hash_search3() argument
[all …]
Ddiff.c462 unsigned hash; in create_J() local
480 unsigned o = hash - TOK2CHAR(tok); in create_J()
481 hash = hash * 128 - o; /* we want SPEED here */ in create_J()
489 nfile[i][nlen[i]].value = hash & INT_MAX; in create_J()
498 hash = tok = 0; in create_J()
/busybox-1.35.0/networking/udhcp/
Ddhcpd.c277 unsigned i, hash; in find_free_or_expired_nip() local
282 hash = 0; in find_free_or_expired_nip()
284 hash += safe_mac[i] + (hash << 6) + (hash << 16) - hash; in find_free_or_expired_nip()
288 + (hash % (1 + server_data.end_ip - server_data.start_ip)); in find_free_or_expired_nip()
/busybox-1.35.0/util-linux/
Dmkfs_ext2.txt49 Default directory hash: half_md4 Default directory hash: h…
/busybox-1.35.0/include/
Dbb_e2fs_defs.h131 uint32_t hash; member
Dlibbb.h2138 uint32_t hash[8]; /* 4 elements for md5, 5 for sha1, 8 for sha256 */ member
2144 uint64_t hash[8]; member
/busybox-1.35.0/networking/
Dntpd.c835 hash(key_entry_t *key_entry, const msg_t *msg, uint8_t *output) in hash() function
863 hash(p->key_entry, &p->p_xmt_msg, p->p_xmt_msg.m_digest); in hash_peer()
870 hash(p->key_entry, msg, digest); in hashes_differ()
/busybox-1.35.0/docs/
Dposix_conformance.txt19 alias, bg, cd, fg, getopts, hash, jobs, read, type, umask, ulimit,