result 178 archive-zip.c int result; result 190 archive-zip.c result = git_deflate(&stream, Z_FINISH); result 191 archive-zip.c } while (result == Z_OK); result 193 archive-zip.c if (result != Z_STREAM_END) { result 425 archive-zip.c int result; result 446 archive-zip.c result = git_deflate(&zstream, 0); result 447 archive-zip.c if (result != Z_OK) result 448 archive-zip.c die("deflate error (%d)", result); result 465 archive-zip.c result = git_deflate(&zstream, Z_FINISH); result 466 archive-zip.c if (result != Z_STREAM_END) result 467 archive-zip.c die("deflate error (%d)", result); result 775 bisect.c struct commit_list *result; result 779 bisect.c result = get_merge_bases_many(rev[0], rev_nr - 1, rev + 1); result 781 bisect.c for (; result; result = result->next) { result 782 bisect.c const unsigned char *mb = result->item->object.sha1; result 796 bisect.c free_commit_list(result); result 204 builtin/apply.c char *result; result 231 builtin/apply.c free(patch->result); result 297 builtin/apply.c int result = 0; result 315 builtin/apply.c while (!result) { result 316 builtin/apply.c result = *s1++ - *s2++; result 340 builtin/apply.c return !result; result 1532 builtin/apply.c static void record_ws_error(unsigned result, const char *line, int len, int linenr) result 1536 builtin/apply.c if (!result) result 1544 builtin/apply.c err = whitespace_error_string(result); result 1552 builtin/apply.c unsigned result = ws_check(line + 1, len - 1, ws_rule); result 1554 builtin/apply.c record_ws_error(result, line + 1, len - 2, linenr); result 2614 builtin/apply.c char *result; result 2639 builtin/apply.c result = xmalloc(img->len + insert_count - remove_count + 1); result 2640 builtin/apply.c memcpy(result, img->buf, applied_at); result 2641 builtin/apply.c memcpy(result + applied_at, postimage->buf, postimage->len); result 2642 builtin/apply.c memcpy(result + applied_at + postimage->len, result 2646 builtin/apply.c img->buf = result; result 2648 builtin/apply.c result[img->len] = '\0'; result 3022 builtin/apply.c char *result; result 3024 builtin/apply.c result = read_sha1_file(sha1, &type, &size); result 3025 builtin/apply.c if (!result) result 3030 builtin/apply.c img->buf = result; result 3084 builtin/apply.c char *result; result 3086 builtin/apply.c result = read_sha1_file(sha1, &type, &sz); result 3087 builtin/apply.c if (!result) result 3090 builtin/apply.c strbuf_attach(buf, result, sz, sz + 1); result 3275 builtin/apply.c strbuf_add(&buf, previous->result, previous->resultsize); result 3307 builtin/apply.c mmbuffer_t result = { NULL }; result 3313 builtin/apply.c status = ll_merge(&result, path, result 3320 builtin/apply.c if (status < 0 || !result.ptr) { result 3321 builtin/apply.c free(result.ptr); result 3325 builtin/apply.c image->buf = result.ptr; result 3326 builtin/apply.c image->len = result.size; result 3457 builtin/apply.c patch->result = image.buf; result 3875 builtin/apply.c struct index_state result = { NULL }; result 3910 builtin/apply.c if (add_index_entry(&result, ce, ADD_CACHE_OK_TO_ADD)) result 3915 builtin/apply.c if (write_locked_index(&result, &lock, COMMIT_LOCK)) result 3918 builtin/apply.c discard_index(&result); result 4210 builtin/apply.c char *buf = patch->result; result 283 builtin/cat-file.c enum follow_symlinks_result result; result 285 builtin/cat-file.c result = get_sha1_with_context(obj_name, flags, data->sha1, &ctx); result 286 builtin/cat-file.c if (result != FOUND) { result 287 builtin/cat-file.c switch (result) { result 305 builtin/cat-file.c result); result 525 builtin/checkout.c struct tree *result; result 571 builtin/checkout.c old->commit->tree, &result); result 567 builtin/clean.c int *chosen, *result; result 630 builtin/clean.c result = xmalloc(sizeof(int)); result 631 builtin/clean.c *result = EOF; result 644 builtin/clean.c result = xcalloc(nr + 1, sizeof(int)); result 647 builtin/clean.c result[j++] = i; result 649 builtin/clean.c result[j] = EOF; result 654 builtin/clean.c return result; result 20 builtin/diff-files.c int result; result 68 builtin/diff-files.c result = run_diff_files(&rev, options); result 69 builtin/diff-files.c return diff_result_code(&rev.diffopt, result); result 18 builtin/diff-index.c int result; result 54 builtin/diff-index.c result = run_diff_index(&rev, cached); result 55 builtin/diff-index.c return diff_result_code(&rev.diffopt, result); result 267 builtin/diff.c int result = 0; result 429 builtin/diff.c result = builtin_diff_files(&rev, argc, argv); result 434 builtin/diff.c result = builtin_diff_b_f(&rev, argc, argv, blob); result 439 builtin/diff.c result = builtin_diff_blobs(&rev, argc, argv, blob); result 448 builtin/diff.c result = builtin_diff_index(&rev, argc, argv); result 450 builtin/diff.c result = builtin_diff_tree(&rev, argc, argv, result 461 builtin/diff.c result = builtin_diff_tree(&rev, argc, argv, result 465 builtin/diff.c result = builtin_diff_combined(&rev, argc, argv, result 467 builtin/diff.c result = diff_result_code(&rev.diffopt, result); result 470 builtin/diff.c return result; result 774 builtin/fetch.c int url_len, i, result = 0; result 800 builtin/fetch.c result = delete_refs(&refnames); result 819 builtin/fetch.c return result; result 1055 builtin/fetch.c int i, result = 0; result 1074 builtin/fetch.c result = 1; result 1080 builtin/fetch.c return result; result 1139 builtin/fetch.c int result = 0; result 1185 builtin/fetch.c result = fetch_multiple(&list); result 1189 builtin/fetch.c result = fetch_one(remote, argc, argv); result 1195 builtin/fetch.c result = fetch_multiple(&list); result 1203 builtin/fetch.c result = fetch_multiple(&list); result 1207 builtin/fetch.c result = fetch_one(remote, argc-1, argv+1); result 1211 builtin/fetch.c if (!result && (recurse_submodules != RECURSE_SUBMODULES_OFF)) { result 1215 builtin/fetch.c result = fetch_populated_submodules(&options, result 1232 builtin/fetch.c return result; result 537 builtin/fmt-merge-msg.c static void find_merge_parents(struct merge_parents *result, result 571 builtin/fmt-merge-msg.c add_merge_parent(result, obj->sha1, parent->object.sha1); result 579 builtin/fmt-merge-msg.c for (i = 0; i < result->nr; i++) result 580 builtin/fmt-merge-msg.c if (!hashcmp(result->item[i].commit, result 582 builtin/fmt-merge-msg.c result->item[i].used = 1; result 588 builtin/fmt-merge-msg.c for (i = j = 0; i < result->nr; i++) { result 589 builtin/fmt-merge-msg.c if (result->item[i].used) { result 591 builtin/fmt-merge-msg.c result->item[j] = result->item[i]; result 595 builtin/fmt-merge-msg.c result->nr = j; result 144 builtin/fsck.c int result; result 152 builtin/fsck.c result = fsck_walk(obj, obj, &fsck_walk_options); result 155 builtin/fsck.c return result; result 162 builtin/fsck.c int result = 0; result 171 builtin/fsck.c result |= traverse_one_object(obj); result 175 builtin/fsck.c return !!result; result 927 builtin/index-pack.c struct base_data *base, struct base_data *result) result 943 builtin/index-pack.c result->obj = delta_obj; result 944 builtin/index-pack.c result->data = patch_delta(base_data, base->size, result 945 builtin/index-pack.c delta_data, delta_obj->size, &result->size); result 947 builtin/index-pack.c if (!result->data) result 949 builtin/index-pack.c hash_sha1_file(result->data, result->size, result 951 builtin/index-pack.c sha1_object(result->data, NULL, result->size, delta_obj->real_type, result 1000 builtin/index-pack.c struct base_data *result = alloc_base_data(); result 1006 builtin/index-pack.c resolve_delta(child, base, result); result 1011 builtin/index-pack.c return result; result 1016 builtin/index-pack.c struct base_data *result = alloc_base_data(); result 1020 builtin/index-pack.c resolve_delta(child, base, result); result 1025 builtin/index-pack.c return result; result 11 builtin/merge-base.c struct commit_list *result; result 13 builtin/merge-base.c result = get_merge_bases_many_dirty(rev[0], rev_nr - 1, rev + 1); result 15 builtin/merge-base.c if (!result) result 18 builtin/merge-base.c while (result) { result 19 builtin/merge-base.c printf("%s\n", sha1_to_hex(result->item->object.sha1)); result 22 builtin/merge-base.c result = result->next; result 54 builtin/merge-base.c struct commit_list *result; result 60 builtin/merge-base.c result = reduce_heads(revs); result 61 builtin/merge-base.c if (!result) result 64 builtin/merge-base.c while (result) { result 65 builtin/merge-base.c printf("%s\n", sha1_to_hex(result->item->object.sha1)); result 66 builtin/merge-base.c result = result->next; result 74 builtin/merge-base.c struct commit_list *result; result 80 builtin/merge-base.c result = reduce_heads(get_octopus_merge_bases(revs)); result 82 builtin/merge-base.c if (!result) result 85 builtin/merge-base.c while (result) { result 86 builtin/merge-base.c printf("%s\n", sha1_to_hex(result->item->object.sha1)); result 89 builtin/merge-base.c result = result->next; result 27 builtin/merge-file.c mmbuffer_t result = {NULL, 0}; result 87 builtin/merge-file.c ret = xdl_merge(mmfs + 1, mmfs + 0, mmfs + 2, &xmp, &result); result 99 builtin/merge-file.c else if (result.size && result 100 builtin/merge-file.c fwrite(result.ptr, result.size, 1, f) != 1) result 104 builtin/merge-file.c free(result.ptr); result 29 builtin/merge-recursive.c struct commit *result; result 76 builtin/merge-recursive.c failed = merge_recursive_generic(&o, h1, h2, bases_count, bases, &result); result 117 builtin/merge-tree.c dst.ptr = result(entry, &size); result 181 builtin/merge-tree.c static void resolve(const struct traverse_info *info, struct name_entry *ours, struct name_entry *result) result 190 builtin/merge-tree.c path = traverse_path(info, result); result 192 builtin/merge-tree.c final = create_entry(0, result->mode, result->sha1, path); result 650 builtin/merge.c struct commit *result; result 680 builtin/merge.c remoteheads->item, reversed, &result); result 1329 builtin/merge.c switch (signature_check.result) { result 1341 builtin/merge.c if (verbosity >= 0 && signature_check.result == 'G') result 27 builtin/mv.c const char **result = xmalloc((count + 1) * sizeof(const char *)); result 28 builtin/mv.c memcpy(result, pathspec, count * sizeof(const char *)); result 29 builtin/mv.c result[count] = NULL; result 31 builtin/mv.c int length = strlen(result[i]); result 34 builtin/mv.c to_copy > 0 && is_dir_sep(result[i][to_copy - 1])) result 37 builtin/mv.c char *it = xmemdupz(result[i], to_copy); result 39 builtin/mv.c result[i] = xstrdup(basename(it)); result 42 builtin/mv.c result[i] = it; result 45 builtin/mv.c return get_pathspec(prefix, result); result 761 builtin/notes.c int verbosity = 0, result; result 839 builtin/notes.c result = notes_merge(&o, t, result_sha1); result 841 builtin/notes.c if (result >= 0) /* Merge resulted (trivially) in result_sha1 */ result 867 builtin/notes.c return result < 0; /* return non-zero on conflicts */ result 973 builtin/notes.c int result; result 994 builtin/notes.c result = list(argc, argv, prefix); result 996 builtin/notes.c result = add(argc, argv, prefix); result 998 builtin/notes.c result = copy(argc, argv, prefix); result 1000 builtin/notes.c result = append_edit(argc, argv, prefix); result 1002 builtin/notes.c result = show(argc, argv, prefix); result 1004 builtin/notes.c result = merge(argc, argv, prefix); result 1006 builtin/notes.c result = remove_cmd(argc, argv, prefix); result 1008 builtin/notes.c result = prune(argc, argv, prefix); result 1010 builtin/notes.c result = get_ref(argc, argv, prefix); result 1012 builtin/notes.c result = error(_("Unknown subcommand: %s"), argv[0]); result 1016 builtin/notes.c return result ? 1 : 0; result 3 builtin/patch-id.c static void flush_current_id(int patchlen, struct object_id *id, struct object_id *result) result 11 builtin/patch-id.c printf("%s %s\n", oid_to_hex(result), name); result 56 builtin/patch-id.c static void flush_one_hunk(struct object_id *result, git_SHA_CTX *ctx) result 66 builtin/patch-id.c carry += result->hash[i] + hash[i]; result 67 builtin/patch-id.c result->hash[i] = carry; result 72 builtin/patch-id.c static int get_one_patchid(struct object_id *next_oid, struct object_id *result, result 80 builtin/patch-id.c oidclr(result); result 129 builtin/patch-id.c flush_one_hunk(result, &ctx); result 148 builtin/patch-id.c flush_one_hunk(result, &ctx); result 155 builtin/patch-id.c struct object_id oid, n, result; result 161 builtin/patch-id.c patchlen = get_one_patchid(&n, &result, &line_buf, stable); result 162 builtin/patch-id.c flush_current_id(patchlen, &oid, &result); result 307 builtin/pull.c int result; result 313 builtin/pull.c result = run_diff_files(&rev_info, 0); result 314 builtin/pull.c return diff_result_code(&rev_info.diffopt, result); result 323 builtin/pull.c int result; result 333 builtin/pull.c result = run_diff_index(&rev_info, 1); result 334 builtin/pull.c return diff_result_code(&rev_info.diffopt, result); result 734 builtin/pull.c struct commit_list *revs = NULL, *result; result 741 builtin/pull.c result = reduce_heads(get_octopus_merge_bases(revs)); result 743 builtin/pull.c if (!result) result 746 builtin/pull.c hashcpy(merge_base, result->item->object.sha1); result 506 builtin/receive-pack.c sigcheck.result = 'N'; result 532 builtin/receive-pack.c sigcheck.result); result 757 builtin/remote.c int i, result; result 798 builtin/remote.c result = for_each_ref(add_branch_for_removal, &cb_data); result 801 builtin/remote.c if (!result) result 802 builtin/remote.c result = delete_refs(&branches); result 818 builtin/remote.c if (!result) { result 824 builtin/remote.c return result; result 1099 builtin/remote.c int result; result 1102 builtin/remote.c result = for_each_remote(get_one_entry, &list); result 1104 builtin/remote.c if (!result) { result 1121 builtin/remote.c return result; result 1126 builtin/remote.c int no_query = 0, result = 0, query_flag = 0; result 1225 builtin/remote.c return result; result 1230 builtin/remote.c int i, opt_a = 0, opt_d = 0, result = 0; result 1253 builtin/remote.c result |= error(_("Cannot determine remote HEAD")); result 1255 builtin/remote.c result |= error(_("Multiple remote HEAD branches. " result 1265 builtin/remote.c result |= error(_("Could not delete %s"), buf.buf); result 1273 builtin/remote.c result |= error(_("Not a valid ref: %s"), buf2.buf); result 1275 builtin/remote.c result |= error(_("Could not setup %s"), buf.buf); result 1283 builtin/remote.c return result; result 1288 builtin/remote.c int result = 0; result 1315 builtin/remote.c result |= delete_refs(&refs_to_prune); result 1332 builtin/remote.c return result; result 1337 builtin/remote.c int dry_run = 0, result = 0; result 1350 builtin/remote.c result |= prune_remote(*argv, dry_run); result 1352 builtin/remote.c return result; result 1562 builtin/remote.c int result; result 1568 builtin/remote.c result = show_all(); result 1570 builtin/remote.c result = add(argc, argv); result 1572 builtin/remote.c result = mv(argc, argv); result 1574 builtin/remote.c result = rm(argc, argv); result 1576 builtin/remote.c result = set_head(argc, argv); result 1578 builtin/remote.c result = set_branches(argc, argv); result 1580 builtin/remote.c result = set_url(argc, argv); result 1582 builtin/remote.c result = show(argc, argv); result 1584 builtin/remote.c result = prune(argc, argv); result 1586 builtin/remote.c result = update(argc, argv); result 1592 builtin/remote.c return result ? 1 : 0; result 241 builtin/replace.c struct strbuf result = STRBUF_INIT; result 251 builtin/replace.c if (strbuf_read(&result, cmd.out, 41) < 0) result 257 builtin/replace.c if (get_sha1_hex(result.buf, sha1) < 0) result 260 builtin/replace.c strbuf_release(&result); result 143 builtin/tag.c int result = contains_test(candidate, want); result 145 builtin/tag.c if (result != CONTAINS_UNKNOWN) result 146 builtin/tag.c return result; result 425 builtin/tag.c static int build_tag_object(struct strbuf *buf, int sign, unsigned char *result) result 429 builtin/tag.c if (write_sha1_file(buf->buf, buf->len, tag_type, result) < 0) result 446 builtin/tag.c unsigned char *prev, unsigned char *result) result 508 builtin/tag.c if (build_tag_object(buf, opt->sign, result) < 0) { result 273 builtin/unpack-objects.c void *result; result 276 builtin/unpack-objects.c result = patch_delta(base, base_size, result 279 builtin/unpack-objects.c if (!result) result 282 builtin/unpack-objects.c write_object(nr, type, result, result_size); result 215 bundle.c int result = 1; result 231 bundle.c result = (revs->max_age == -1 || revs->max_age < date) && result 235 bundle.c return result; result 977 combine-diff.c char *result, *cp; result 996 combine-diff.c result = grab_blob(&elem->oid, elem->mode, &result_size, result 1015 combine-diff.c result = strbuf_detach(&buf, NULL); result 1020 combine-diff.c result = grab_blob(&elem->oid, elem->mode, result 1023 combine-diff.c result = grab_blob(&oid, elem->mode, result 1028 combine-diff.c result_size = fill_textconv(textconv, df, &result); result 1046 combine-diff.c result = xmalloc(len + 1); result 1048 combine-diff.c done = read_in_full(fd, result, len); result 1054 combine-diff.c result[len] = 0; result 1060 combine-diff.c if (convert_to_git(elem->path, result, len, &buf, safe_crlf)) { result 1061 combine-diff.c free(result); result 1062 combine-diff.c result = strbuf_detach(&buf, &len); result 1072 combine-diff.c result = xcalloc(1, 1); result 1091 combine-diff.c is_binary = buffer_is_binary(result, result_size); result 1107 combine-diff.c free(result); result 1111 combine-diff.c for (cnt = 0, cp = result; cp < result + result_size; cp++) { result 1115 combine-diff.c if (result_size && result[result_size-1] != '\n') result 1119 combine-diff.c sline[0].bol = result; result 1120 combine-diff.c for (lno = 0, cp = result; cp < result + result_size; cp++) { result 1128 combine-diff.c if (result_size && result[result_size-1] != '\n') result 1129 combine-diff.c sline[cnt-1].len = result_size - (sline[cnt-1].bol - result); result 1131 combine-diff.c result_file.ptr = result; result 1166 combine-diff.c free(result); result 793 commit.c struct commit_list *result = NULL; result 798 commit.c commit_list_append(one, &result); result 799 commit.c return result; result 817 commit.c commit_list_insert_by_date(commit, &result); result 836 commit.c return result; result 842 commit.c struct commit_list *result = NULL; result 851 commit.c return commit_list_insert(one, &result); result 866 commit.c commit_list_insert_by_date(list->item, &result); result 870 commit.c return result; result 963 commit.c struct commit_list *result; result 966 commit.c result = merge_bases_many(one, n, twos); result 969 commit.c return result; result 971 commit.c if (!result || !result->next) { result 976 commit.c return result; result 980 commit.c cnt = commit_list_count(result); result 982 commit.c for (list = result, i = 0; list; list = list->next) result 984 commit.c free_commit_list(result); result 990 commit.c result = NULL; result 992 commit.c commit_list_insert_by_date(rslt[i], &result); result 994 commit.c return result; result 1068 commit.c struct commit_list *result = NULL, **tail = &result; result 1094 commit.c return result; result 1253 commit.c sigc->result = 'N'; result 1398 commit.c int result; result 1401 commit.c result = commit_tree_extended(msg, msg_len, tree, parents, ret, result 1404 commit.c return result; result 1528 commit.c int result; result 1582 commit.c result = write_sha1_file(buffer.buf, buffer.len, commit_type, ret); result 1584 commit.c return result; result 40 compat/bswap.h uint32_t result; result 42 compat/bswap.h result = default_swab32(x); result 44 compat/bswap.h __asm__("bswap %0" : "=r" (result) : "0" (x)); result 45 compat/bswap.h return result; result 52 compat/bswap.h uint64_t result; result 54 compat/bswap.h result = default_bswap64(x); result 56 compat/bswap.h __asm__("bswap %q0" : "=r" (result) : "0" (x)); result 57 compat/bswap.h return result; result 62 compat/bswap.h union { uint64_t i64; uint32_t i32[2]; } tmp, result; result 64 compat/bswap.h result.i64 = default_bswap64(x); result 67 compat/bswap.h result.i32[0] = git_bswap32(tmp.i32[1]); result 68 compat/bswap.h result.i32[1] = git_bswap32(tmp.i32[0]); result 70 compat/bswap.h return result.i64; result 7 compat/gmtime.c static struct tm result; result 8 compat/gmtime.c return git_gmtime_r(timep, &result); result 11 compat/gmtime.c struct tm *git_gmtime_r(const time_t *timep, struct tm *result) result 15 compat/gmtime.c memset(result, 0, sizeof(*result)); result 16 compat/gmtime.c ret = gmtime_r(timep, result); result 692 compat/mingw.c struct tm *gmtime_r(const time_t *timep, struct tm *result) result 695 compat/mingw.c memcpy(result, gmtime(timep), sizeof(struct tm)); result 696 compat/mingw.c return result; result 699 compat/mingw.c struct tm *localtime_r(const time_t *timep, struct tm *result) result 702 compat/mingw.c memcpy(result, localtime(timep), sizeof(struct tm)); result 703 compat/mingw.c return result; result 2048 compat/mingw.c void *result = malloc(size); result 2049 compat/mingw.c if (!result) result 2051 compat/mingw.c return result; result 179 compat/mingw.h struct tm *gmtime_r(const time_t *timep, struct tm *result); result 180 compat/mingw.h struct tm *localtime_r(const time_t *timep, struct tm *result); result 448 compat/mingw.h int result = xutftowcsn(wcs, utf, MAX_PATH, -1); result 449 compat/mingw.h if (result < 0 && errno == ERANGE) result 451 compat/mingw.h return result; result 4964 compat/nedmalloc/malloc.c.h int result = 0; result 4966 compat/nedmalloc/malloc.c.h result = sys_trim(gm, pad); result 4969 compat/nedmalloc/malloc.c.h return result; result 5397 compat/nedmalloc/malloc.c.h int result = 0; result 5401 compat/nedmalloc/malloc.c.h result = sys_trim(ms, pad); result 5408 compat/nedmalloc/malloc.c.h return result; result 5422 compat/nedmalloc/malloc.c.h size_t result = 0; result 5425 compat/nedmalloc/malloc.c.h result = ms->footprint; result 5430 compat/nedmalloc/malloc.c.h return result; result 5435 compat/nedmalloc/malloc.c.h size_t result = 0; result 5438 compat/nedmalloc/malloc.c.h result = ms->max_footprint; result 5443 compat/nedmalloc/malloc.c.h return result; result 1766 compat/regex/regcomp.c fetch_token (re_token_t *result, re_string_t *input, reg_syntax_t syntax) result 1768 compat/regex/regcomp.c re_string_skip_bytes (input, peek_token (result, input, syntax)); result 405 compat/regex/regexec.c reg_errcode_t result; result 453 compat/regex/regexec.c result = re_search_internal (bufp, string, length, start, range, stop, result 459 compat/regex/regexec.c if (result != REG_NOERROR) result 3050 compat/regex/regexec.c int result; result 3087 compat/regex/regexec.c result = re_node_set_insert (&union_set, next_node); result 3088 compat/regex/regexec.c if (BE (result < 0, 0)) result 3107 compat/regex/regexec.c result = re_node_set_insert (next_nodes, dfa->nexts[cur_node]); result 3108 compat/regex/regexec.c if (BE (result < 0, 0)) result 3555 compat/regex/regexec.c int result; result 3704 compat/regex/regexec.c result = re_node_set_insert (&dests_node[j], cur_nodes->elems[i]); result 3705 compat/regex/regexec.c if (BE (result < 0, 0)) result 40 compat/win32/pthread.c DWORD result = WaitForSingleObject(thread->handle, INFINITE); result 41 compat/win32/pthread.c switch (result) { result 63 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c static const char *gnome_keyring_result_to_message(GnomeKeyringResult result) result 65 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c switch (result) { result 96 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c static void gnome_keyring_done_cb(GnomeKeyringResult result, gpointer user_data) result 102 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c *r = result; result 116 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c GnomeKeyringResult result; result 117 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c gpointer data[] = { &done, &result }; result 124 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c return result; result 172 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c GnomeKeyringResult result; result 179 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c result = gnome_keyring_find_network_password_sync( result 191 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result == GNOME_KEYRING_RESULT_NO_MATCH) result 194 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result == GNOME_KEYRING_RESULT_CANCELLED) result 197 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result != GNOME_KEYRING_RESULT_OK) { result 198 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c g_critical("%s", gnome_keyring_result_to_message(result)); result 221 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c GnomeKeyringResult result; result 236 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c result = gnome_keyring_set_network_password_sync( result 250 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result != GNOME_KEYRING_RESULT_OK && result 251 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c result != GNOME_KEYRING_RESULT_CANCELLED) { result 252 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c g_critical("%s", gnome_keyring_result_to_message(result)); result 264 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c GnomeKeyringResult result; result 279 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c result = gnome_keyring_find_network_password_sync( result 291 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result == GNOME_KEYRING_RESULT_NO_MATCH) result 294 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result == GNOME_KEYRING_RESULT_CANCELLED) result 297 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result != GNOME_KEYRING_RESULT_OK) { result 298 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c g_critical("%s", gnome_keyring_result_to_message(result)); result 305 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c result = gnome_keyring_item_delete_sync( result 310 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c if (result != GNOME_KEYRING_RESULT_OK) { result 311 contrib/credential/gnome-keyring/git-credential-gnome-keyring.c g_critical("%s", gnome_keyring_result_to_message(result)); result 513 contrib/examples/builtin-fetch--tool.c int result; result 523 contrib/examples/builtin-fetch--tool.c result = append_fetch_head(fp, argv[2], argv[3], result 528 contrib/examples/builtin-fetch--tool.c return result; result 531 contrib/examples/builtin-fetch--tool.c int result; result 541 contrib/examples/builtin-fetch--tool.c result = fetch_native_store(fp, argv[2], argv[3], argv[4], result 544 contrib/examples/builtin-fetch--tool.c return result; result 56 csum-file.c int sha1close(struct sha1file *f, unsigned char *result, unsigned int flags) result 62 csum-file.c if (result) result 63 csum-file.c hashcpy(result, f->buffer); result 763 date.c int parse_date(const char *date, struct strbuf *result) result 769 date.c date_string(timestamp, offset, result); result 4531 diff.c int result = diff_get_patch_id(options, sha1); result 4539 diff.c return result; result 4889 diff.c int result = 0; result 4899 diff.c result |= 01; result 4902 diff.c result |= 02; result 4903 diff.c return result; result 123 entry.c int result = 0; result 130 entry.c result |= stream_blob_to_fd(fd, ce->sha1, filter, 1); result 132 entry.c result |= close(fd); result 134 entry.c if (result) result 136 entry.c return result; result 1994 fast-import.c static int validate_raw_date(const char *src, struct strbuf *result) result 2015 fast-import.c strbuf_addstr(result, orig_src); result 149 fsck.c int result = read_in_full(fd, buffer, sizeof(buffer)); result 150 fsck.c if (result < 0) result 152 fsck.c if (!result) result 273 fsck.c int msg_type = fsck_msg_type(id, options), result; result 291 fsck.c result = options->error_func(object, msg_type, sb.buf); result 295 fsck.c return result; result 309 fsck.c int result; result 314 fsck.c result = options->walk(&lookup_tree(entry.sha1)->object, OBJ_TREE, data, options); result 316 fsck.c result = options->walk(&lookup_blob(entry.sha1)->object, OBJ_BLOB, data, options); result 318 fsck.c result = error("in tree %s: entry %s has bad mode %.6o", result 321 fsck.c if (result < 0) result 322 fsck.c return result; result 324 fsck.c res = result; result 333 fsck.c int result; result 338 fsck.c result = options->walk((struct object *)commit->tree, OBJ_TREE, data, options); result 339 fsck.c if (result < 0) result 340 fsck.c return result; result 341 fsck.c res = result; result 345 fsck.c result = options->walk((struct object *)parents->item, OBJ_COMMIT, data, options); result 346 fsck.c if (result < 0) result 347 fsck.c return result; result 349 fsck.c res = result; result 815 git-compat-util.h static inline int strtoul_ui(char const *s, int base, unsigned int *result) result 824 git-compat-util.h *result = ul; result 828 git-compat-util.h static inline int strtol_i(char const *s, int base, int *result) result 837 git-compat-util.h *result = ul; result 28 gpg-interface.c char result; result 52 gpg-interface.c sigc->result = sigcheck_gpg_status[i].result; result 54 gpg-interface.c if (sigc->result != 'U') { result 70 gpg-interface.c sigc->result = 'N'; result 85 gpg-interface.c return sigc->result != 'G' && sigc->result != 'U'; result 20 gpg-interface.h char result; result 901 http-push.c enum XML_Status result; result 911 http-push.c result = XML_Parse(parser, in_buffer.buf, result 914 http-push.c if (result != XML_STATUS_OK) { result 1155 http-push.c enum XML_Status result; result 1165 http-push.c result = XML_Parse(parser, in_buffer.buf, result 1169 http-push.c if (result != XML_STATUS_OK) { result 1229 http-push.c enum XML_Status result; result 1238 http-push.c result = XML_Parse(parser, in_buffer.buf, result 1242 http-push.c if (result != XML_STATUS_OK) { result 179 http.c int curl_result = curl_message->data.result; result 281 http.c static void init_curl_http_auth(CURL *result) result 289 http.c curl_easy_setopt(result, CURLOPT_USERNAME, http_auth.username); result 290 http.c curl_easy_setopt(result, CURLOPT_PASSWORD, http_auth.password); result 303 http.c curl_easy_setopt(result, CURLOPT_USERPWD, up.buf); result 359 http.c CURL *result = curl_easy_init(); result 362 http.c if (!result) result 366 http.c curl_easy_setopt(result, CURLOPT_SSL_VERIFYPEER, 0); result 367 http.c curl_easy_setopt(result, CURLOPT_SSL_VERIFYHOST, 0); result 370 http.c curl_easy_setopt(result, CURLOPT_SSL_VERIFYPEER, 1); result 372 http.c curl_easy_setopt(result, CURLOPT_SSL_VERIFYHOST, 2); result 376 http.c curl_easy_setopt(result, CURLOPT_NETRC, CURL_NETRC_OPTIONAL); result 379 http.c curl_easy_setopt(result, CURLOPT_HTTPAUTH, CURLAUTH_ANY); result 383 http.c init_curl_http_auth(result); result 391 http.c curl_easy_setopt(result, CURLOPT_SSLVERSION, result 404 http.c curl_easy_setopt(result, CURLOPT_SSL_CIPHER_LIST, result 408 http.c curl_easy_setopt(result, CURLOPT_SSLCERT, ssl_cert); result 410 http.c curl_easy_setopt(result, CURLOPT_KEYPASSWD, cert_auth.password); result 413 http.c curl_easy_setopt(result, CURLOPT_SSLKEY, ssl_key); result 417 http.c curl_easy_setopt(result, CURLOPT_CAPATH, ssl_capath); result 420 http.c curl_easy_setopt(result, CURLOPT_CAINFO, ssl_cainfo); result 423 http.c curl_easy_setopt(result, CURLOPT_LOW_SPEED_LIMIT, result 425 http.c curl_easy_setopt(result, CURLOPT_LOW_SPEED_TIME, result 429 http.c curl_easy_setopt(result, CURLOPT_FOLLOWLOCATION, 1); result 430 http.c curl_easy_setopt(result, CURLOPT_MAXREDIRS, 20); result 432 http.c curl_easy_setopt(result, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); result 434 http.c curl_easy_setopt(result, CURLOPT_POST301, 1); result 445 http.c curl_easy_setopt(result, CURLOPT_REDIR_PROTOCOLS, allowed_protocols); result 453 http.c curl_easy_setopt(result, CURLOPT_VERBOSE, 1); result 455 http.c curl_easy_setopt(result, CURLOPT_USERAGENT, result 459 http.c curl_easy_setopt(result, CURLOPT_FTP_USE_EPSV, 0); result 463 http.c curl_easy_setopt(result, CURLOPT_USE_SSL, CURLUSESSL_TRY); result 467 http.c curl_easy_setopt(result, CURLOPT_PROXY, curl_http_proxy); result 470 http.c curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY); result 473 http.c set_curl_keepalive(result); result 475 http.c return result; result 1181 http.c void *result, int target, result 1194 http.c if (result == NULL) { result 1198 http.c curl_easy_setopt(slot->curl, CURLOPT_FILE, result); result 1201 http.c long posn = ftell(result); result 1302 http.c void *result, int target, result 1305 http.c int ret = http_request(url, result, target, options); result 1327 http.c strbuf_reset(result); result 1336 http.c return http_request(url, result, target, options); result 1340 http.c struct strbuf *result, result 1343 http.c return http_request_reauth(url, result, HTTP_REQUEST_STRBUF, options); result 1357 http.c FILE *result; result 1360 http.c result = fopen(tmpfile.buf, "a"); result 1361 http.c if (!result) { result 1367 http.c ret = http_request_reauth(url, result, HTTP_REQUEST_FILE, options); result 1368 http.c fclose(result); result 116 http.h static inline int missing__target(int code, int result) result 119 http.h (result == CURLE_FILE_COULDNT_READ_FILE) || result 121 http.h (code == 404 && result == CURLE_HTTP_RETURNED_ERROR) || result 123 http.h (code == 550 && result == CURLE_FTP_COULDNT_RETR_FILE) result 179 http.h int http_get_strbuf(const char *url, struct strbuf *result, struct http_get_options *options); result 17 ll-merge.c mmbuffer_t *result, result 38 ll-merge.c mmbuffer_t *result, result 69 ll-merge.c result->ptr = stolen->ptr; result 70 ll-merge.c result->size = stolen->size; result 81 ll-merge.c mmbuffer_t *result, result 98 ll-merge.c return ll_binary_merge(drv_unused, result, result 117 ll-merge.c return xdl_merge(orig, src1, src2, &xmp, result); result 121 ll-merge.c mmbuffer_t *result, result 134 ll-merge.c return ll_xdl_merge(drv_unused, result, path_unused, result 163 ll-merge.c mmbuffer_t *result, result 191 ll-merge.c result->ptr = NULL; result 192 ll-merge.c result->size = 0; result 207 ll-merge.c result->size = st.st_size; result 208 ll-merge.c result->ptr = xmalloc(result->size + 1); result 209 ll-merge.c if (read_in_full(fd, result->ptr, result->size) != result->size) { result 210 ll-merge.c free(result->ptr); result 211 ll-merge.c result->ptr = NULL; result 212 ll-merge.c result->size = 0; result 300 log-tree.c unsigned int i = 10, result = 1; result 303 log-tree.c result++; result 305 log-tree.c return result; result 167 match-trees.c unsigned char *result) result 219 match-trees.c status = write_sha1_file(buf, sz, tree_type, result); result 251 merge-recursive.c struct tree *result = NULL; result 272 merge-recursive.c result = lookup_tree(active_cache_tree->sha1); result 274 merge-recursive.c return result; result 895 merge-recursive.c struct merge_file_info result; result 896 merge-recursive.c result.merge = 0; result 897 merge-recursive.c result.clean = 1; result 900 merge-recursive.c result.clean = 0; result 902 merge-recursive.c result.mode = a->mode; result 903 merge-recursive.c hashcpy(result.sha, a->sha1); result 905 merge-recursive.c result.mode = b->mode; result 906 merge-recursive.c hashcpy(result.sha, b->sha1); result 910 merge-recursive.c result.merge = 1; result 916 merge-recursive.c result.mode = b->mode; result 918 merge-recursive.c result.mode = a->mode; result 920 merge-recursive.c result.clean = 0; result 921 merge-recursive.c result.merge = 1; result 926 merge-recursive.c hashcpy(result.sha, b->sha1); result 928 merge-recursive.c hashcpy(result.sha, a->sha1); result 940 merge-recursive.c blob_type, result.sha)) result 945 merge-recursive.c result.clean = (merge_status == 0); result 947 merge-recursive.c result.clean = merge_submodule(result.sha, result 952 merge-recursive.c hashcpy(result.sha, a->sha1); result 955 merge-recursive.c result.clean = 0; result 961 merge-recursive.c return result; result 1807 merge-recursive.c struct tree **result) result 1818 merge-recursive.c *result = head; result 1872 merge-recursive.c *result = write_tree_from_memory(o); result 1896 merge-recursive.c struct commit **result) result 1966 merge-recursive.c *result = make_virtual_commit(mrtree, "merged tree"); result 1967 merge-recursive.c commit_list_insert(h1, &(*result)->parents); result 1968 merge-recursive.c commit_list_insert(h2, &(*result)->parents->next); result 1998 merge-recursive.c struct commit **result) result 2019 merge-recursive.c result); result 37 merge-recursive.h struct commit **result); result 44 merge-recursive.h struct tree **result); result 55 merge-recursive.h struct commit **result); result 543 notes-merge.c int result = 0; result 640 notes-merge.c result = merge_from_diffs(o, base_tree_sha1, local->tree->object.sha1, result 643 notes-merge.c if (result != 0) { /* non-trivial merge (with or without conflicts) */ result 657 notes-merge.c result, sha1_to_hex(result_sha1)); result 658 notes-merge.c return result; result 1129 notes.c int write_notes_tree(struct notes_tree *t, unsigned char *result) result 1152 notes.c write_sha1_file(root.buf.buf, root.buf.len, tree_type, result); result 215 notes.h int write_notes_tree(struct notes_tree *t, unsigned char *result); result 87 pack-bitmap.c struct bitmap *result; result 202 pack-bitmap.c uint32_t result = get_be32(buffer + *pos); result 203 pack-bitmap.c (*pos) += sizeof(result); result 204 pack-bitmap.c return result; result 751 pack-bitmap.c bitmap_git.result = wants_bitmap; result 767 pack-bitmap.c struct bitmap *result = bitmap_git.result; result 771 pack-bitmap.c assert(result); result 773 pack-bitmap.c for (i = 0; i < result->word_alloc; ++i) { result 774 pack-bitmap.c if (result->words[i] != (eword_t)~0) { result 775 pack-bitmap.c reuse_objects += ewah_bit_ctz64(~result->words[i]); result 791 pack-bitmap.c reuse_objects, result->words[i]); result 806 pack-bitmap.c reuse_threshold = bitmap_popcount(bitmap_git.result) * REUSE_PERCENT; result 820 pack-bitmap.c assert(bitmap_git.result); result 822 pack-bitmap.c show_objects_for_type(bitmap_git.result, bitmap_git.commits, result 824 pack-bitmap.c show_objects_for_type(bitmap_git.result, bitmap_git.trees, result 826 pack-bitmap.c show_objects_for_type(bitmap_git.result, bitmap_git.blobs, result 828 pack-bitmap.c show_objects_for_type(bitmap_git.result, bitmap_git.tags, result 831 pack-bitmap.c show_extended_objects(bitmap_git.result, show_reachable); result 833 pack-bitmap.c bitmap_free(bitmap_git.result); result 834 pack-bitmap.c bitmap_git.result = NULL; result 884 pack-bitmap.c assert(bitmap_git.result); result 887 pack-bitmap.c *commits = count_object_type(bitmap_git.result, OBJ_COMMIT); result 890 pack-bitmap.c *trees = count_object_type(bitmap_git.result, OBJ_TREE); result 893 pack-bitmap.c *blobs = count_object_type(bitmap_git.result, OBJ_BLOB); result 896 pack-bitmap.c *tags = count_object_type(bitmap_git.result, OBJ_TAG); result 936 pack-bitmap.c struct bitmap *result = NULL; result 960 pack-bitmap.c result = ewah_to_bitmap(bm); result 963 pack-bitmap.c if (result == NULL) result 970 pack-bitmap.c result_popcnt = bitmap_popcount(result); result 983 pack-bitmap.c if (bitmap_equals(result, tdata.base)) result 988 pack-bitmap.c bitmap_free(result); result 1216 pretty.c if (!c->signature_check.result) result 1224 pretty.c switch (c->signature_check.result) { result 1229 pretty.c strbuf_addch(sb, c->signature_check.result); result 63 prio-queue.c void *result; result 71 prio-queue.c result = queue->array[0].data; result 73 prio-queue.c return result; result 89 prio-queue.c return result; result 1853 read-cache.c int result; result 1896 read-cache.c result = ce_write(c, fd, ondisk, size); result 1898 read-cache.c return result; result 96 reflog-walk.c struct commit_info *result = &lifo->items[i]; result 105 reflog-walk.c return result; result 333 refs.c int result; result 341 refs.c result = !normalize_path_copy(buf, refname + strlen("refs/")); result 343 refs.c return result; result 2986 refs.c int i, result = 0; result 2991 refs.c result = repack_without_refs(refnames, &err); result 2992 refs.c if (result) { result 3013 refs.c result |= error(_("could not remove reference %s"), refname); result 3018 refs.c return result; result 3144 refs.c int result; result 3147 refs.c result = remove_empty_directories(&path); result 3150 refs.c if (result) { result 3349 refs.c int logfd, result, oflags = O_APPEND | O_WRONLY; result 3354 refs.c result = log_ref_setup(refname, logfile, err, flags & REF_FORCE_CREATE_REFLOG); result 3356 refs.c if (result) result 3357 refs.c return result; result 3362 refs.c result = log_ref_write_fd(logfd, old_sha1, new_sha1, result 3364 refs.c if (result) { result 373 remote-curl.c struct strbuf result; result 656 remote-curl.c strbuf_init(&rpc->result, 0); result 679 remote-curl.c strbuf_read(&rpc->result, client.out, 0); result 780 remote-curl.c if (rpc.result.len) result 781 remote-curl.c write_or_die(1, rpc.result.buf, rpc.result.len); result 782 remote-curl.c strbuf_release(&rpc.result); result 911 remote-curl.c if (rpc.result.len) result 912 remote-curl.c write_or_die(1, rpc.result.buf, rpc.result.len); result 913 remote-curl.c strbuf_release(&rpc.result); result 1017 remote-curl.c int result; result 1024 remote-curl.c result = set_option(arg, value); result 1025 remote-curl.c if (!result) result 1027 remote-curl.c else if (result < 0) result 770 remote.c int i, result = 0; result 772 remote.c for (i = 0; i < remotes_nr && !result; i++) { result 782 remote.c result = fn(r, priv); result 784 remote.c return result; result 860 remote.c const char *value, char **result) result 882 remote.c *result = strbuf_detach(&sb, NULL); result 900 remote.c char **result = find_src ? &query->src : &query->dst; result 905 remote.c if (match_name_with_pattern(key, needle, value, result)) result 906 remote.c string_list_append_nodup(results, *result); result 918 remote.c char **result = find_src ? &query->src : &query->dst; result 931 remote.c if (match_name_with_pattern(key, needle, value, result)) { result 936 remote.c *result = xstrdup(value); result 301 rerere.c mmbuffer_t result = {NULL, 0}; result 338 rerere.c ll_merge(&result, path, &mmfile[0], NULL, result 351 rerere.c strbuf_attach(&io.input, result.ptr, result.size, result.size); result 439 rerere.c mmbuffer_t result = {NULL, 0}; result 450 rerere.c ret = ll_merge(&result, path, &base, NULL, &cur, "", &other, "", NULL); result 462 rerere.c if (fwrite(result.ptr, result.size, 1, f) != 1) result 473 rerere.c free(result.ptr); result 281 sequencer.c struct tree *result, *next_tree, *base_tree, *head_tree; result 304 sequencer.c next_tree, base_tree, &result); result 253 sh-i18n--envsubst.c int result = strcmp (slp->item[j], s); result 255 sh-i18n--envsubst.c if (result > 0) result 257 sh-i18n--envsubst.c else if (result == 0) result 168 sha1_file.c enum scld_error result = safe_create_leading_directories(buf); result 170 sha1_file.c return result; result 596 sha1_name.c unsigned char *result, int idx) result 609 sha1_name.c hashcpy(result, commit->object.sha1); result 615 sha1_name.c hashcpy(result, p->item->object.sha1); result 624 sha1_name.c unsigned char *result, int generation) result 642 sha1_name.c hashcpy(result, commit->object.sha1); result 80 shallow.c struct commit_list *result = NULL; result 111 shallow.c commit_list_insert(commit, &result); result 138 shallow.c return result; result 684 strbuf.c char *result; result 688 strbuf.c result = xmalloc(len + 1); result 690 strbuf.c result[i] = tolower(string[i]); result 691 strbuf.c result[i] = '\0'; result 692 strbuf.c return result; result 507 streaming.c int result = -1; result 513 streaming.c return result; result 548 streaming.c result = 0; result 552 streaming.c return result; result 615 submodule.c int i, result = 0; result 697 submodule.c result = 1; result 709 submodule.c return result; result 857 submodule.c static int find_first_merges(struct object_array *result, const char *path, result 871 submodule.c memset(result, 0, sizeof(struct object_array)); result 908 submodule.c add_object_array(merges.objects[i].item, NULL, result); result 912 submodule.c return result->nr; result 928 submodule.c int merge_submodule(unsigned char result[20], const char *path, result 939 submodule.c hashcpy(result, a); result 970 submodule.c hashcpy(result, b); result 974 submodule.c hashcpy(result, a); result 38 submodule.h int merge_submodule(unsigned char result[20], const char *path, const unsigned char base[20], result 22 test-date.c struct strbuf result = STRBUF_INIT; result 28 test-date.c strbuf_reset(&result); result 29 test-date.c parse_date(*argv, &result); result 30 test-date.c if (sscanf(result.buf, "%lu %d", &t, &tz) == 2) result 36 test-date.c strbuf_release(&result); result 223 trailer.c const char *result; result 238 trailer.c result = xstrdup(""); result 241 trailer.c result = strbuf_detach(&buf, NULL); result 245 trailer.c return result; result 326 transport.c int result = 0, i; result 380 transport.c result = error("Could not push to %s", result 390 transport.c return result; result 401 transport.c struct ref *result = NULL; result 416 transport.c ref->next = result; result 417 transport.c result = ref; result 419 transport.c return result; result 424 tree-walk.c static int find_tree_entry(struct tree_desc *t, const char *name, unsigned char *result, unsigned *mode) result 443 tree-walk.c hashcpy(result, sha1); result 451 tree-walk.c hashcpy(result, sha1); result 454 tree-walk.c return get_tree_entry(sha1, name + entrylen, result, mode); result 509 tree-walk.c enum follow_symlinks_result get_tree_entry_follow_symlinks(unsigned char *tree_sha1, const char *name, unsigned char *result, struct strbuf *result_path, unsigned *mode) result 548 tree-walk.c hashcpy(result, root); result 598 tree-walk.c hashcpy(result, parents[parents_nr - 1].sha1); result 612 tree-walk.c hashcpy(result, current_tree_sha1); result 622 tree-walk.c hashcpy(result, current_tree_sha1); result 59 tree-walk.h enum follow_symlinks_result get_tree_entry_follow_symlinks(unsigned char *tree_sha1, const char *name, unsigned char *result, struct strbuf *result_path, unsigned *mode); result 111 unpack-trees.c return add_index_entry(&o->result, ce, result 192 unpack-trees.c struct index_state *index = &o->result; result 209 unpack-trees.c git_attr_set_direction(GIT_ATTR_CHECKOUT, &o->result); result 220 unpack-trees.c remove_marked_cache_entries(&o->result); result 625 unpack-trees.c discard_index(&o->result); result 1026 unpack-trees.c state.istate = &o->result; result 1040 unpack-trees.c memset(&o->result, 0, sizeof(o->result)); result 1041 unpack-trees.c o->result.initialized = 1; result 1042 unpack-trees.c o->result.timestamp.sec = o->src_index->timestamp.sec; result 1043 unpack-trees.c o->result.timestamp.nsec = o->src_index->timestamp.nsec; result 1044 unpack-trees.c o->result.version = o->src_index->version; result 1045 unpack-trees.c o->result.split_index = o->src_index->split_index; result 1046 unpack-trees.c if (o->result.split_index) result 1047 unpack-trees.c o->result.split_index->refcount++; result 1048 unpack-trees.c hashcpy(o->result.sha1, o->src_index->sha1); result 1118 unpack-trees.c mark_new_skip_worktree(o->el, &o->result, CE_ADDED, CE_SKIP_WORKTREE | CE_NEW_SKIP_WORKTREE); result 1121 unpack-trees.c for (i = 0; i < o->result.cache_nr; i++) { result 1122 unpack-trees.c struct cache_entry *ce = o->result.cache[i]; result 1139 unpack-trees.c if (apply_sparse_checkout(&o->result, ce, o)) { result 1156 unpack-trees.c if (o->result.cache_nr && empty_worktree) { result 1166 unpack-trees.c if (!o->result.cache_tree) result 1167 unpack-trees.c o->result.cache_tree = cache_tree(); result 1168 unpack-trees.c if (!cache_tree_fully_valid(o->result.cache_tree)) result 1169 unpack-trees.c cache_tree_update(&o->result, result 1174 unpack-trees.c *o->dst_index = o->result; result 1176 unpack-trees.c discard_index(&o->result); result 1389 unpack-trees.c const struct cache_entry *result; result 1426 unpack-trees.c result = index_file_exists(&o->result, name, len, 0); result 1427 unpack-trees.c if (result) { result 1428 unpack-trees.c if (result->ce_flags & CE_REMOVE) result 72 unpack-trees.h struct index_state result; result 636 upload-pack.c struct commit_list *result = NULL, *backup = NULL; result 644 upload-pack.c backup = result = result 647 upload-pack.c while (result) { result 648 upload-pack.c struct object *object = &result->item->object; result 655 upload-pack.c result = result->next; result 109 urlmatch.c char *result; result 364 urlmatch.c result = strbuf_detach(&norm, &result_len); result 366 urlmatch.c out_info->url = result; result 380 urlmatch.c return result; result 106 vcs-svn/svndiff.c static int read_int(struct line_buffer *in, uintmax_t *result, off_t *len) result 120 vcs-svn/svndiff.c *result = rv; result 127 vcs-svn/svndiff.c static int parse_int(const char **buf, size_t *result, const char *end) result 139 vcs-svn/svndiff.c *result = rv; result 146 vcs-svn/svndiff.c static int read_offset(struct line_buffer *in, off_t *result, off_t *len) result 153 vcs-svn/svndiff.c *result = val; result 157 vcs-svn/svndiff.c static int read_length(struct line_buffer *in, size_t *result, off_t *len) result 164 vcs-svn/svndiff.c *result = val; result 207 vcs-svn/svndiff.c size_t result = (unsigned char) *(*buf)++ & OPERAND_MASK; result 208 vcs-svn/svndiff.c if (result) { /* immediate operand */ result 209 vcs-svn/svndiff.c *out = result; result 154 ws.c unsigned result = 0; result 177 ws.c result |= WS_BLANK_AT_EOL; result 194 ws.c result |= WS_SPACE_BEFORE_TAB; result 202 ws.c result |= WS_TAB_IN_INDENT; result 217 ws.c result |= WS_INDENT_WITH_NON_TAB; result 252 ws.c return result; result 295 wt-status.c int result = 0, i; result 300 wt-status.c if (len > result) result 301 wt-status.c result = len; result 303 wt-status.c return result; result 223 xdiff-interface.c int result = -1; result 247 xdiff-interface.c result = pmatch[i].rm_eo - pmatch[i].rm_so; result 248 xdiff-interface.c if (result > buffer_size) result 249 xdiff-interface.c result = buffer_size; result 250 xdiff-interface.c while (result > 0 && (isspace(line[result - 1]))) result 251 xdiff-interface.c result--; result 252 xdiff-interface.c memcpy(buffer, line, result); result 255 xdiff-interface.c return result; result 133 xdiff/xdiff.h xmparam_t const *xmp, mmbuffer_t *result); result 267 xdiff/xhistogram.c int result = -1; result 323 xdiff/xhistogram.c result = fall_back_to_classic_diff(&index, line1, count1, line2, count2); result 330 xdiff/xhistogram.c result = 0; result 332 xdiff/xhistogram.c result = histogram_diff(xpp, env, result 335 xdiff/xhistogram.c if (result) result 337 xdiff/xhistogram.c result = histogram_diff(xpp, env, result 340 xdiff/xhistogram.c if (result) result 351 xdiff/xhistogram.c return result; result 104 xdiff/xmerge.c int result = xdl_recmatch(rec1[i]->ptr, rec1[i]->size, result 106 xdiff/xmerge.c if (!result) result 374 xdiff/xmerge.c int result = 0; result 377 xdiff/xmerge.c return result; result 383 xdiff/xmerge.c return result; result 394 xdiff/xmerge.c result++; result 411 xdiff/xmerge.c xmparam_t const *xmp, mmbuffer_t *result) result 552 xdiff/xmerge.c if (result) { result 558 xdiff/xmerge.c result->ptr = xdl_malloc(size); result 559 xdiff/xmerge.c if (!result->ptr) { result 563 xdiff/xmerge.c result->size = size; result 566 xdiff/xmerge.c result->ptr, style, marker_size); result 572 xdiff/xmerge.c xmparam_t const *xmp, mmbuffer_t *result) result 579 xdiff/xmerge.c result->ptr = NULL; result 580 xdiff/xmerge.c result->size = 0; result 600 xdiff/xmerge.c result->ptr = xdl_malloc(mf2->size); result 601 xdiff/xmerge.c memcpy(result->ptr, mf2->ptr, mf2->size); result 602 xdiff/xmerge.c result->size = mf2->size; result 604 xdiff/xmerge.c result->ptr = xdl_malloc(mf1->size); result 605 xdiff/xmerge.c memcpy(result->ptr, mf1->ptr, mf1->size); result 606 xdiff/xmerge.c result->size = mf1->size; result 610 xdiff/xmerge.c xmp, result); result 132 xdiff/xpatience.c struct hashmap *result, result 135 xdiff/xpatience.c result->file1 = file1; result 136 xdiff/xpatience.c result->file2 = file2; result 137 xdiff/xpatience.c result->xpp = xpp; result 138 xdiff/xpatience.c result->env = env; result 141 xdiff/xpatience.c result->alloc = count1 * 2; result 142 xdiff/xpatience.c result->entries = (struct entry *) result 143 xdiff/xpatience.c xdl_malloc(result->alloc * sizeof(struct entry)); result 144 xdiff/xpatience.c if (!result->entries) result 146 xdiff/xpatience.c memset(result->entries, 0, result->alloc * sizeof(struct entry)); result 150 xdiff/xpatience.c insert_record(line1++, result, 1); result 154 xdiff/xpatience.c insert_record(line2++, result, 2); result 309 xdiff/xpatience.c int result = 0; result 339 xdiff/xpatience.c result = walk_common_sequence(&map, first, result 342 xdiff/xpatience.c result = fall_back_to_classic_diff(&map, result 346 xdiff/xpatience.c return result;