hash 181 archive.c hashcpy(d->oid.hash, sha1); hash 195 archive.c write_archive_entry(d->oid.hash, d->path, d->baselen, hash 366 archive.c if (!dwim_ref(name, refnamelen, oid.hash, &ref)) hash 371 archive.c if (get_sha1(name, oid.hash)) hash 374 archive.c commit = lookup_commit_reference_gently(oid.hash, 1); hash 383 archive.c tree = parse_tree_indirect(oid.hash); hash 393 archive.c tree_oid.hash, &mode); hash 397 archive.c tree = parse_tree_indirect(tree_oid.hash); hash 416 bisect.c sha1_array_append(&good_revs, oid->hash); hash 418 bisect.c sha1_array_append(&skipped_revs, oid->hash); hash 578 bisect.c if (hashcmp(cur->item->object.sha1, current_bad_oid->hash)) hash 715 bisect.c rev[n++] = get_commit_reference(current_bad_oid->hash); hash 752 bisect.c char *bad_hex = sha1_to_hex(current_bad_oid->hash); hash 783 bisect.c if (!hashcmp(mb, current_bad_oid->hash)) { hash 973 bisect.c if (!hashcmp(bisect_rev, current_bad_oid->hash)) { hash 251 builtin/apply.c unsigned hash : 24; hash 347 builtin/apply.c img->line_allocated[img->nr].hash = hash_line(bol, len); hash 2297 builtin/apply.c (preimage->line[i].hash != img->line[try_lno + i].hash)) hash 3434 builtin/apply.c hashcpy(patch->threeway_stage[0].hash, pre_sha1); hash 3435 builtin/apply.c hashcpy(patch->threeway_stage[1].hash, our_sha1); hash 3436 builtin/apply.c hashcpy(patch->threeway_stage[2].hash, post_sha1); hash 4199 builtin/apply.c hashcpy(ce->sha1, patch->threeway_stage[stage - 1].hash); hash 367 builtin/branch.c commit = lookup_commit_reference_gently(oid->hash, 1); hash 698 builtin/checkout.c add_pending_sha1(cb_data, refname, oid->hash, UNINTERESTING); hash 137 builtin/describe.c if (!peel_ref(path, peeled.hash)) { hash 157 builtin/describe.c add_to_known_names(all ? path + 5 : path + 10, peeled.hash, prio, oid->hash); hash 88 builtin/fast-export.c struct hashmap_entry hash; hash 124 builtin/fast-export.c hashmap_entry_init(&ret->hash, key.hash.hash); hash 879 builtin/fast-export.c struct object_decoration *deco = idnums.hash; hash 930 builtin/fetch.c hashcpy(rm->peer_ref->old_sha1, old_oid->hash); hash 518 builtin/fsck.c obj = parse_object(oid->hash); hash 590 builtin/fsck.c head_points_at = resolve_ref_unsafe("HEAD", 0, head_oid.hash, &flag); hash 143 builtin/name-rev.c struct object *o = parse_object(oid->hash); hash 163 builtin/name-rev.c add_to_tip_table(oid->hash, path, can_abbreviate_output); hash 547 builtin/pack-objects.c struct object_entry *entry = packlist_find(&to_pack, oid->hash, NULL); hash 985 builtin/pack-objects.c uint32_t hash, hash 995 builtin/pack-objects.c entry->hash = hash; hash 1213 builtin/pack-objects.c static int done_pbase_path_pos(unsigned hash) hash 1219 builtin/pack-objects.c if (done_pbase_paths[mi] == hash) hash 1221 builtin/pack-objects.c if (done_pbase_paths[mi] < hash) hash 1229 builtin/pack-objects.c static int check_pbase_path(unsigned hash) hash 1231 builtin/pack-objects.c int pos = (!done_pbase_paths) ? -1 : done_pbase_path_pos(hash); hash 1243 builtin/pack-objects.c done_pbase_paths[pos] = hash; hash 1251 builtin/pack-objects.c unsigned hash = pack_name_hash(name); hash 1253 builtin/pack-objects.c if (!num_preferred_base || check_pbase_path(hash)) hash 1510 builtin/pack-objects.c if (a->hash > b->hash) hash 1512 builtin/pack-objects.c if (a->hash < b->hash) hash 2001 builtin/pack-objects.c list[sub_size]->hash && hash 2002 builtin/pack-objects.c list[sub_size]->hash == list[sub_size-1]->hash) hash 2056 builtin/pack-objects.c while (sub_size && list[0]->hash && hash 2057 builtin/pack-objects.c list[0]->hash == list[-1]->hash) { hash 2105 builtin/pack-objects.c !peel_ref(path, peeled.hash) && /* peelable? */ hash 2106 builtin/pack-objects.c packlist_find(&to_pack, peeled.hash, NULL)) /* object packed? */ hash 2107 builtin/pack-objects.c add_object_entry(oid->hash, OBJ_TAG, NULL, 0); hash 58 builtin/patch-id.c unsigned char hash[GIT_SHA1_RAWSZ]; hash 62 builtin/patch-id.c git_SHA1_Final(hash, ctx); hash 66 builtin/patch-id.c carry += result->hash[i] + hash[i]; hash 67 builtin/patch-id.c result->hash[i] = carry; hash 235 builtin/receive-pack.c show_ref(path, oid->hash); hash 325 builtin/reflog.c tip_commit = lookup_commit_reference_gently(oid->hash, 1); hash 392 builtin/reflog.c hashcpy(e->sha1, oid->hash); hash 570 builtin/remote.c orig_oid.hash, &flag); hash 703 builtin/remote.c read_ref_full(item->string, RESOLVE_REF_READING, oid.hash, &flag); hash 52 builtin/replace.c if (get_sha1(refname, object.hash)) hash 55 builtin/replace.c obj_type = sha1_object_info(object.hash, NULL); hash 56 builtin/replace.c repl_type = sha1_object_info(oid->hash, NULL); hash 197 builtin/rev-parse.c show_rev(NORMAL, oid->hash, refname); hash 203 builtin/rev-parse.c show_rev(REVERSED, oid->hash, refname); hash 375 builtin/show-branch.c struct commit *commit = lookup_commit_reference_gently(oid->hash, 1); hash 407 builtin/show-branch.c if (get_sha1(refname + ofs, tmp.hash) || oidcmp(&tmp, oid)) hash 422 builtin/show-branch.c if (get_sha1(refname + ofs, tmp.hash) || oidcmp(&tmp, oid)) hash 540 builtin/show-branch.c if (!get_sha1(av, revkey.hash)) { hash 742 builtin/show-branch.c oid.hash, NULL); hash 753 builtin/show-branch.c if (!dwim_ref(*av, strlen(*av), oid.hash, &ref)) hash 764 builtin/show-branch.c read_ref_at(ref, flags, at, -1, oid.hash, NULL, hash 776 builtin/show-branch.c if (read_ref_at(ref, flags, 0, base+i, oid.hash, &logmsg, hash 808 builtin/show-branch.c head_oid.hash, NULL); hash 827 builtin/show-branch.c head_oid.hash, NULL)) hash 847 builtin/show-branch.c if (get_sha1(ref_name[num_rev], revkey.hash)) hash 849 builtin/show-branch.c commit = lookup_commit_reference(revkey.hash); hash 886 builtin/show-branch.c head_oid.hash, hash 22 builtin/show-ref.c const char *hex = find_unique_abbrev(oid->hash, abbrev); hash 73 builtin/show-ref.c if (!has_sha1_file(oid->hash)) hash 85 builtin/show-ref.c if (!peel_ref(refname, peeled.hash)) { hash 86 builtin/show-ref.c hex = find_unique_abbrev(peeled.hash, abbrev); hash 216 builtin/show-ref.c !read_ref(*pattern, oid.hash)) { hash 187 builtin/tag.c buf = read_sha1_file(oid->hash, &type, &size); hash 227 builtin/tag.c commit = lookup_commit_reference_gently(oid->hash, 1); hash 234 builtin/tag.c if (points_at.nr && !match_points_at(refname, oid->hash)) hash 39 bulk-checkin.c sha1close(state->f, oid.hash, CSUM_FSYNC); hash 41 bulk-checkin.c int fd = sha1close(state->f, oid.hash, 0); hash 42 bulk-checkin.c fixup_pack_header_footer(fd, oid.hash, state->pack_tmp_name, hash 43 bulk-checkin.c state->nr_written, oid.hash, hash 51 bulk-checkin.c &state->pack_idx_opts, oid.hash); hash 51 cache.h unsigned char hash[GIT_SHA1_RAWSZ]; hash 812 cache.h return hashcmp(oid1->hash, oid2->hash); hash 822 cache.h return !hashcmp(oid->hash, null_sha1); hash 832 cache.h hashcpy(dst->hash, src->hash); hash 835 cache.h static inline void hashclr(unsigned char *hash) hash 837 cache.h memset(hash, 0, GIT_SHA1_RAWSZ); hash 842 cache.h hashclr(oid->hash); hash 47 combine-diff.c hashcpy(p->oid.hash, q->queue[i]->two->sha1); hash 49 combine-diff.c hashcpy(p->parent[n].oid.hash, q->queue[i]->one->sha1); hash 80 combine-diff.c hashcpy(p->parent[n].oid.hash, q->queue[i]->one->sha1); hash 304 combine-diff.c fill_filespec(df, oid->hash, 1, mode); hash 308 combine-diff.c blob = read_sha1_file(oid->hash, &type, size); hash 919 combine-diff.c abb = find_unique_abbrev(elem->parent[i].oid.hash, hash 923 combine-diff.c abb = find_unique_abbrev(elem->oid.hash, abbrev); hash 1019 combine-diff.c if (resolve_gitlink_ref(elem->path, "HEAD", oid.hash) < 0) hash 1211 combine-diff.c printf(" %s", diff_unique_abbrev(p->parent[i].oid.hash, hash 1213 combine-diff.c printf(" %s ", diff_unique_abbrev(p->oid.hash, opt->abbrev)); hash 1276 combine-diff.c hashcpy(pair->one[i].sha1, p->parent[i].oid.hash); hash 1284 combine-diff.c hashcpy(pair->two->sha1, p->oid.hash); hash 61 commit.c if (get_sha1_committish(name, oid.hash)) hash 63 commit.c commit = lookup_commit_reference(oid.hash); hash 102 commit.c return commit_graft_table[index]->oid.hash; hash 113 commit.c int pos = commit_graft_pos(graft->oid.hash); hash 157 commit.c if (get_sha1_hex(buf + i + 1, graft->parent[i/entry_size].hash)) hash 331 commit.c if (get_sha1_hex(bufptr + 5, parent.hash) < 0) hash 334 commit.c item->tree = lookup_tree(parent.hash); hash 343 commit.c get_sha1_hex(bufptr + 7, parent.hash) || hash 353 commit.c new_parent = lookup_commit(parent.hash); hash 361 commit.c new_parent = lookup_commit(graft->parent[i].hash); hash 1592 commit.c if (get_sha1(name, oid.hash)) hash 1594 commit.c obj = parse_object(oid.hash); hash 9 compat/apple-common-crypto.h #define HMAC_Final(hmac, hash, ptr) CCHmacFinal(hmac, hash) hash 2803 compat/regex/regcomp.c int32_t hash = elem_hash ((const char *) name, name_len); hash 2804 compat/regex/regcomp.c int32_t elem = hash % table_size; hash 2807 compat/regex/regcomp.c int32_t second = hash % (table_size - 2) + 1; hash 2812 compat/regex/regcomp.c if (symb_table[2 * elem] == hash hash 27 compat/regex/regex_internal.c unsigned int hash) internal_function; hash 31 compat/regex/regex_internal.c unsigned int hash) internal_function; hash 1472 compat/regex/regex_internal.c unsigned int hash = nodes->nelem + context; hash 1475 compat/regex/regex_internal.c hash += nodes->elems[i]; hash 1476 compat/regex/regex_internal.c return hash; hash 1493 compat/regex/regex_internal.c unsigned int hash; hash 1502 compat/regex/regex_internal.c hash = calc_state_hash (nodes, 0); hash 1503 compat/regex/regex_internal.c spot = dfa->state_table + (hash & dfa->state_hash_mask); hash 1508 compat/regex/regex_internal.c if (hash != state->hash) hash 1515 compat/regex/regex_internal.c new_state = create_ci_newstate (dfa, nodes, hash); hash 1537 compat/regex/regex_internal.c unsigned int hash; hash 1546 compat/regex/regex_internal.c hash = calc_state_hash (nodes, context); hash 1547 compat/regex/regex_internal.c spot = dfa->state_table + (hash & dfa->state_hash_mask); hash 1552 compat/regex/regex_internal.c if (state->hash == hash hash 1558 compat/regex/regex_internal.c new_state = create_cd_newstate (dfa, nodes, context, hash); hash 1571 compat/regex/regex_internal.c unsigned int hash) hash 1577 compat/regex/regex_internal.c newstate->hash = hash; hash 1589 compat/regex/regex_internal.c spot = dfa->state_table + (hash & dfa->state_hash_mask); hash 1626 compat/regex/regex_internal.c unsigned int hash) hash 1661 compat/regex/regex_internal.c err = register_state (dfa, newstate, hash); hash 1676 compat/regex/regex_internal.c unsigned int context, unsigned int hash) hash 1737 compat/regex/regex_internal.c err = register_state (dfa, newstate, hash); hash 535 compat/regex/regex_internal.h unsigned int hash; hash 17 decorate.c struct object_decoration *hash = n->hash; hash 20 decorate.c while (hash[j].base) { hash 21 decorate.c if (hash[j].base == base) { hash 22 decorate.c void *old = hash[j].decoration; hash 23 decorate.c hash[j].decoration = decoration; hash 29 decorate.c hash[j].base = base; hash 30 decorate.c hash[j].decoration = decoration; hash 39 decorate.c struct object_decoration *old_hash = n->hash; hash 42 decorate.c n->hash = xcalloc(n->size, sizeof(struct object_decoration)); hash 77 decorate.c struct object_decoration *ref = n->hash + j; hash 12 decorate.h struct object_decoration *hash; hash 130 diff-delta.c struct index_entry *hash[FLEX_ARRAY]; hash 138 diff-delta.c struct unpacked_index_entry *entry, **hash; hash 163 diff-delta.c memsize = sizeof(*hash) * hsize + hash 168 diff-delta.c hash = mem; hash 169 diff-delta.c mem = hash + hsize; hash 172 diff-delta.c memset(hash, 0, hsize * sizeof(*hash)); hash 177 diff-delta.c free(hash); hash 198 diff-delta.c entry->next = hash[i]; hash 199 diff-delta.c hash[i] = entry++; hash 225 diff-delta.c entry = hash[i]; hash 264 diff-delta.c free(hash); hash 274 diff-delta.c mem = index->hash; hash 285 diff-delta.c for (entry = hash[i]; entry; entry = entry->next) hash 293 diff-delta.c free(hash); hash 375 diff-delta.c for (entry = index->hash[i]; entry < index->hash[i+1]; entry++) { hash 158 diff-lib.c hashcpy(dpath->parent[stage-2].oid.hash, nce->sha1); hash 346 diff-lib.c hashcpy(p->parent[0].oid.hash, new->sha1); hash 349 diff-lib.c hashcpy(p->parent[1].oid.hash, old->sha1); hash 127 diffcore-delta.c struct spanhash_top *hash; hash 133 diffcore-delta.c hash = xmalloc(sizeof(*hash) + sizeof(struct spanhash) * (1<<i)); hash 134 diffcore-delta.c hash->alloc_log2 = i; hash 135 diffcore-delta.c hash->free = INITIAL_FREE(i); hash 136 diffcore-delta.c memset(hash->data, 0, sizeof(struct spanhash) * (1<<i)); hash 155 diffcore-delta.c hash = add_spanhash(hash, hashval, n); hash 159 diffcore-delta.c qsort(hash->data, hash 160 diffcore-delta.c 1ul << hash->alloc_log2, hash 161 diffcore-delta.c sizeof(hash->data[0]), hash 163 diffcore-delta.c return hash; hash 81 fetch-pack.c return rev_list_insert_ref(refname, oid->hash); hash 87 fetch-pack.c struct object *o = deref_tag(parse_object(oid->hash), refname, 0); hash 505 fetch-pack.c return mark_complete(oid->hash); hash 12 hashmap.c unsigned int c, hash = FNV32_BASE; hash 14 hashmap.c hash = (hash * FNV32_PRIME) ^ c; hash 15 hashmap.c return hash; hash 20 hashmap.c unsigned int c, hash = FNV32_BASE; hash 24 hashmap.c hash = (hash * FNV32_PRIME) ^ c; hash 26 hashmap.c return hash; hash 31 hashmap.c unsigned int hash = FNV32_BASE; hash 35 hashmap.c hash = (hash * FNV32_PRIME) ^ c; hash 37 hashmap.c return hash; hash 42 hashmap.c unsigned int hash = FNV32_BASE; hash 48 hashmap.c hash = (hash * FNV32_PRIME) ^ c; hash 50 hashmap.c return hash; hash 81 hashmap.c return (e1 == e2) || (e1->hash == e2->hash && !map->cmpfn(e1, e2, keydata)); hash 87 hashmap.c return key->hash & (map->tablesize - 1); hash 260 hashmap.c hashmap_entry_init(e, key.ent.hash); hash 22 hashmap.h unsigned int hash; hash 23 hashmap.h memcpy(&hash, sha1, sizeof(hash)); hash 24 hashmap.h return hash; hash 31 hashmap.h unsigned int hash; hash 57 hashmap.h static inline void hashmap_entry_init(void *entry, unsigned int hash) hash 60 hashmap.h e->hash = hash; hash 72 hashmap.h unsigned int hash, const void *keydata) hash 75 hashmap.h hashmap_entry_init(&key, hash); hash 61 hex.c return get_sha1_hex(hex, oid->hash); hash 84 hex.c return sha1_to_hex(oid->hash); hash 430 http-backend.c struct object *o = parse_object(oid->hash); hash 486 http-backend.c unused.hash, NULL); hash 866 imap-send.c unsigned char hash[16]; hash 882 imap-send.c HMAC_Final(&hmac, hash, NULL); hash 887 imap-send.c hex[2 * i] = hexchar((hash[i] >> 4) & 0xf); hash 888 imap-send.c hex[2 * i + 1] = hexchar(hash[i] & 0xf); hash 109 log-tree.c obj = parse_object(original_oid.hash); hash 115 log-tree.c obj = parse_object(oid->hash); hash 144 log-tree.c struct commit *commit = lookup_commit(graft->oid.hash); hash 51 match-trees.c const unsigned char *hash) hash 57 match-trees.c buffer = read_sha1_file(hash, &type, &size); hash 59 match-trees.c die("unable to read tree (%s)", sha1_to_hex(hash)); hash 61 match-trees.c die("%s is not a tree", sha1_to_hex(hash)); hash 69 object.c static void insert_obj_hash(struct object *obj, struct object **hash, unsigned int size) hash 73 object.c while (hash[j]) { hash 78 object.c hash[j] = obj; hash 498 pack-bitmap-write.c uint32_t hash_value = htonl(entry->hash); hash 628 pack-bitmap.c uint32_t hash = 0; hash 642 pack-bitmap.c hash = ntohl(bitmap_git.hashes[entry->nr]); hash 644 pack-bitmap.c show_reach(sha1, object_type, 0, hash, bitmap_git.pack, entry->offset); hash 33 pack-bitmap.h uint32_t hash, hash 19 pack-objects.h uint32_t hash; /* name hint hash */ hash 50 pack-objects.h uint32_t c, hash = 0; hash 63 pack-objects.h hash = (hash >> 2) + (c << 24); hash 65 pack-objects.h return hash; hash 13 ppc/sha1.c extern void ppc_sha1_core(uint32_t *hash, const unsigned char *p, hash 18 ppc/sha1.c c->hash[0] = 0x67452301; hash 19 ppc/sha1.c c->hash[1] = 0xEFCDAB89; hash 20 ppc/sha1.c c->hash[2] = 0x98BADCFE; hash 21 ppc/sha1.c c->hash[3] = 0x10325476; hash 22 ppc/sha1.c c->hash[4] = 0xC3D2E1F0; hash 41 ppc/sha1.c ppc_sha1_core(c->hash, c->buf.b, 1); hash 46 ppc/sha1.c ppc_sha1_core(c->hash, p, nb); hash 55 ppc/sha1.c int ppc_SHA1_Final(unsigned char *hash, ppc_SHA_CTX *c) hash 63 ppc/sha1.c ppc_sha1_core(c->hash, c->buf.b, 1); hash 69 ppc/sha1.c ppc_sha1_core(c->hash, c->buf.b, 1); hash 70 ppc/sha1.c memcpy(hash, c->hash, 20); hash 9 ppc/sha1.h uint32_t hash[5]; hash 20 ppc/sha1.h int ppc_SHA1_Final(unsigned char *hash, ppc_SHA_CTX *c); hash 36 reachable.c object = parse_object_or_die(oid->hash, path); hash 888 ref-filter.c ref = new_ref_array_item(refname, oid->hash, flag); hash 365 refs.c hashcpy(ref->u.value.oid.hash, sha1); hash 688 refs.c if (!has_sha1_file(entry->u.value.oid.hash)) { hash 1272 refs.c hashcpy(last->u.value.peeled.hash, sha1); hash 1478 refs.c hashcpy(sha1, ref->u.value.oid.hash); hash 1566 refs.c hashcpy(sha1, entry->u.value.oid.hash); hash 1890 refs.c status = peel_object(entry->u.value.oid.hash, entry->u.value.peeled.hash); hash 1905 refs.c hashcpy(sha1, current_ref->u.value.peeled.hash); hash 1925 refs.c hashcpy(sha1, r->u.value.peeled.hash); hash 1950 refs.c resolves_to = resolve_ref_unsafe(refname, 0, junk.hash, NULL); hash 2074 refs.c if (resolve_gitlink_ref(submodule, "HEAD", oid.hash) == 0) hash 2080 refs.c if (!read_ref_full("HEAD", RESOLVE_REF_READING, oid.hash, &flag)) hash 2161 refs.c if (!read_ref_full(buf.buf, RESOLVE_REF_READING, oid.hash, &flag)) hash 2276 refs.c lock->old_oid.hash, NULL)) { hash 2282 refs.c if (hashcmp(lock->old_oid.hash, old_sha1)) { hash 2285 refs.c sha1_to_hex(lock->old_oid.hash), hash 2363 refs.c unsigned char hash[20]; hash 2369 refs.c hash, NULL); hash 2380 refs.c hashcpy(sha1, hash); hash 2423 refs.c lock->old_oid.hash, &type); hash 2441 refs.c lock->old_oid.hash, &type); hash 2547 refs.c write_packed_entry(cb_data, entry->name, entry->u.value.oid.hash, hash 2549 refs.c entry->u.value.peeled.hash : NULL); hash 2684 refs.c packed_entry = create_ref_entry(entry->name, entry->u.value.oid.hash, hash 2694 refs.c hashcpy(n->sha1, entry->u.value.oid.hash); hash 3171 refs.c hashcpy(lock->old_oid.hash, orig_sha1); hash 3443 refs.c if (log_ref_write(lock->ref_name, lock->old_oid.hash, sha1, logmsg, flags, err) < 0 || hash 3445 refs.c log_ref_write(lock->orig_ref_name, lock->old_oid.hash, sha1, logmsg, flags, err) < 0)) { hash 3474 refs.c if (log_ref_write("HEAD", lock->old_oid.hash, sha1, hash 3880 refs.c if (read_ref_full(name->buf, 0, oid.hash, NULL)) hash 4193 refs.c !hashcmp(update->lock->old_oid.hash, update->new_sha1)) { hash 179 remote.c hashmap_entry_init(ret, lookup_entry.hash); hash 2184 remote.c hashcpy(ref->new_sha1, oid->hash); hash 2277 remote.c hashcpy(ref->new_sha1, oid->hash); hash 61 replace_object.c const char *hash = slash ? slash + 1 : refname; hash 64 replace_object.c if (strlen(hash) != 40 || get_sha1_hex(hash, repl_obj->original)) { hash 71 replace_object.c hashcpy(repl_obj->replacement, oid->hash); hash 1234 revision.c object = get_reference(cb->all_revs, path, oid->hash, cb->all_flags); hash 1236 revision.c add_pending_sha1(cb->all_revs, path, oid->hash, cb->all_flags); hash 54 server-info.c struct object *o = parse_object(oid->hash); hash 2138 sha1_file.c unsigned long hash; hash 2140 sha1_file.c hash = (unsigned long)(intptr_t)p + (unsigned long)base_offset; hash 2141 sha1_file.c hash += (hash >> 8) + (hash >> 16); hash 2142 sha1_file.c return hash % MAX_DELTA_CACHE; hash 2148 sha1_file.c unsigned long hash = pack_entry_hash(p, base_offset); hash 2149 sha1_file.c return delta_base_cache + hash; hash 2216 sha1_file.c unsigned long hash = pack_entry_hash(p, base_offset); hash 2217 sha1_file.c struct delta_base_cache_entry *ent = delta_base_cache + hash; hash 852 sha1_name.c struct object *object = parse_object(oid->hash); hash 35 shallow.c hashcpy(graft->oid.hash, sha1); hash 167 shallow.c struct commit *c = lookup_commit(graft->oid.hash); hash 460 shallow.c struct commit *commit = lookup_commit_reference_gently(oid->hash, 1); hash 570 shallow.c ca->commits[ca->nr] = lookup_commit_reference_gently(oid->hash, 1); hash 92 submodule-config.c unsigned int hash = hash_sha1_string(submodule->gitmodules_sha1, hash 95 submodule-config.c hashmap_entry_init(e, hash); hash 103 submodule-config.c unsigned int hash = hash_sha1_string(submodule->gitmodules_sha1, hash 107 submodule-config.c hashmap_entry_init(&e, hash); hash 116 submodule-config.c unsigned int hash = hash_sha1_string(submodule->gitmodules_sha1, hash 119 submodule-config.c hashmap_entry_init(e, hash); hash 128 submodule-config.c unsigned int hash = hash_sha1_string(gitmodules_sha1, path); hash 135 submodule-config.c hashmap_entry_init(&key, hash); hash 148 submodule-config.c unsigned int hash = hash_sha1_string(gitmodules_sha1, name); hash 155 submodule-config.c hashmap_entry_init(&key, hash); hash 545 submodule.c sha1_array_append(data, oid->hash); hash 28 test-hashmap.c static struct test_entry *alloc_test_entry(int hash, char *key, int klen, hash 33 test-hashmap.c hashmap_entry_init(entry, hash); hash 50 test-hashmap.c unsigned int hash = 0; hash 54 test-hashmap.c hash = strhash(key); hash 57 test-hashmap.c hash = i; hash 60 test-hashmap.c hash = i / 10; hash 63 test-hashmap.c hash = 0; hash 68 test-hashmap.c hash = 2 * hash; hash 69 test-hashmap.c return hash; hash 89 test-hashmap.c hashes[i] = hash(method, i, entries[i]->key); hash 155 test-hashmap.c int l1 = 0, l2 = 0, hash = 0; hash 167 test-hashmap.c hash = icase ? strihash(p1) : strhash(p1); hash 182 test-hashmap.c entry = alloc_test_entry(hash, p1, l1, p2, l2); hash 190 test-hashmap.c entry = alloc_test_entry(hash, p1, l1, p2, l2); hash 202 test-hashmap.c entry = hashmap_get_from_hash(&map, hash, p1); hash 216 test-hashmap.c hashmap_entry_init(&key, hash); hash 310 transport.c if (dwim_ref(refspec[i], strlen(refspec[i]), oid.hash, &ref) != 1) hash 67 tree-diff.c opt->change(opt, p0->mode, p->mode, p0->oid.hash, p->oid.hash, hash 77 tree-diff.c sha1 = p->oid.hash; hash 81 tree-diff.c sha1 = p0->oid.hash; hash 154 tree-diff.c hashcpy(p->oid.hash, sha1 ? sha1 : null_sha1); hash 241 tree-diff.c hashcpy(p->parent[i].oid.hash, sha1_i ? sha1_i : null_sha1); hash 695 upload-pack.c struct object *o = lookup_unknown_object(oid->hash); hash 753 upload-pack.c if (!peel_ref(refname, peeled.hash)) hash 767 upload-pack.c symref_target = resolve_ref_unsafe(refname, 0, unused.hash, &flag); hash 206 walker.c struct commit *commit = lookup_commit_reference_gently(oid->hash, 1); hash 52 xdiff/xpatience.c unsigned long hash; hash 93 xdiff/xpatience.c if (map->entries[index].hash != record->ha || hash 112 xdiff/xpatience.c map->entries[index].hash = record->ha; hash 306 xdiff/xutils.c unsigned long hash = 5381; hash 316 xdiff/xutils.c hash += hash << 5; hash 317 xdiff/xutils.c hash ^= a; hash 351 xdiff/xutils.c hash += hash << 5; hash 352 xdiff/xutils.c hash ^= a & mask; hash 364 xdiff/xutils.c return hash;