xmemdupz 71 abspath.c last_elem = xmemdupz(sb.buf, sb.len); xmemdupz 340 archive-tar.c ar->name = xmemdupz(name, namelen); xmemdupz 197 attr.c e->setto = xmemdupz(equals + 1, ep - equals - 1); xmemdupz 708 builtin/apply.c return squash_slash(xmemdupz(start, len)); xmemdupz 1259 builtin/apply.c return xmemdupz(name, len); xmemdupz 2965 builtin/apply.c img->buf = xmemdupz(fragment->patch, img->len); xmemdupz 2726 builtin/blame.c sb.final_buf = xmemdupz(o->file.ptr, o->file.size); xmemdupz 583 builtin/commit.c set_ident_var(&name, xmemdupz(ident.name_begin, ident.name_end - ident.name_begin)); xmemdupz 584 builtin/commit.c set_ident_var(&email, xmemdupz(ident.mail_begin, ident.mail_end - ident.mail_begin)); xmemdupz 601 builtin/commit.c set_ident_var(&name, xmemdupz(ident.name_begin, ident.name_end - ident.name_begin)); xmemdupz 602 builtin/commit.c set_ident_var(&email, xmemdupz(ident.mail_begin, ident.mail_end - ident.mail_begin)); xmemdupz 181 builtin/fmt-merge-msg.c origin = xmemdupz(origin + 1, len - 2); xmemdupz 246 builtin/fmt-merge-msg.c name_buf = xmemdupz(name, name_end - name + 1); xmemdupz 1026 builtin/log.c return xmemdupz(a, z - a); xmemdupz 37 builtin/mv.c char *it = xmemdupz(result[i], to_copy); xmemdupz 400 builtin/receive-pack.c return xmemdupz(line + offset, (eol - line) - offset); xmemdupz 272 builtin/remote.c name = xmemdupz(key, key_len); xmemdupz 275 builtin/remote.c name = xmemdupz(key, key_len); xmemdupz 278 builtin/remote.c name = xmemdupz(key, key_len); xmemdupz 95 builtin/repack.c fname = xmemdupz(e->d_name, len); xmemdupz 435 builtin/rev-parse.c o->long_name = xmemdupz(sb.buf, s - sb.buf); xmemdupz 438 builtin/rev-parse.c o->long_name = xmemdupz(sb.buf + 2, s - sb.buf - 2); xmemdupz 463 builtin/rev-parse.c o->argh = xmemdupz(s, help - s); xmemdupz 1370 commit.c it->key = xmemdupz(line, eof-line); xmemdupz 64 connect.c sym = xmemdupz(val, len); xmemdupz 532 connect.c git_proxy_command = xmemdupz(value, matchlen); xmemdupz 234 contrib/examples/builtin-fetch--tool.c return xmemdupz(local_part, retlen); xmemdupz 463 convert.c drv->name = xmemdupz(name, namelen); xmemdupz 52 credential.c char *url = xmemdupz(key, dot - key); xmemdupz 357 credential.c c->protocol = xmemdupz(url, proto_end - url); xmemdupz 45 diffcore-order.c order[cnt] = xmemdupz(cp, ep - cp); xmemdupz 185 dir.c return len ? xmemdupz(pathspec->items[0].match, len) : NULL; xmemdupz 718 git-compat-util.h extern void *xmemdupz(const void *data, size_t len); xmemdupz 55 gpg-interface.c sigc->key = xmemdupz(found, 16); xmemdupz 58 gpg-interface.c sigc->signer = xmemdupz(found, next - found); xmemdupz 76 gpg-interface.c sigc->payload = xmemdupz(payload, plen); xmemdupz 212 grep.c p->pattern = xmemdupz(pat, patlen); xmemdupz 680 http-backend.c cmd_arg = xmemdupz(dir + out[0].rm_so + 1, n - 1); xmemdupz 834 http-push.c ctx->cdata = xmemdupz(s, len); xmemdupz 1583 http-push.c *symref = xmemdupz(name, buffer.len - (name - buffer.buf)); xmemdupz 82 imap-send.c *strp = xmemdupz(tmp, len); xmemdupz 256 ll-merge.c fn->name = xmemdupz(name, namelen); xmemdupz 792 merge-recursive.c char *lnk = xmemdupz(buf, size); xmemdupz 230 parse-options.c arg = xmemdupz(p->opt, len); xmemdupz 335 path.c char *username_z = xmemdupz(username, len); xmemdupz 560 pretty.c return v ? xmemdupz(v, len) : NULL; xmemdupz 117 ref-filter.c used_atom[at] = xmemdupz(atom, ep - atom); xmemdupz 322 ref-filter.c return xmemdupz(buf, eol - buf); xmemdupz 330 ref-filter.c return xmemdupz(buf, cp - buf); xmemdupz 344 ref-filter.c return xmemdupz(email, eoemail + 1 - email); xmemdupz 349 ref-filter.c char *r = xmemdupz(buf, len); xmemdupz 532 ref-filter.c v->s = xmemdupz(bodypos, bodylen); xmemdupz 534 ref-filter.c v->s = xmemdupz(bodypos, nonsiglen); xmemdupz 536 ref-filter.c v->s = xmemdupz(sigpos, siglen); xmemdupz 586 refs.c char *dirname = xmemdupz(refname, refname_len - 1); xmemdupz 2324 remote.c entry->refname = xmemdupz(refname, refnamelen); xmemdupz 402 send-pack.c push_cert_nonce = xmemdupz(push_cert_nonce, len); xmemdupz 708 setup.c gitdir = offset == cwd->len ? "." : xmemdupz(cwd->buf, offset); xmemdupz 278 sh-i18n--envsubst.c char *string = xmemdupz (var_ptr, var_len); xmemdupz 357 sha1_file.c alt_copy = xmemdupz(alt, len); xmemdupz 2189 sha1_file.c ret = xmemdupz(ent->data, ent->size); xmemdupz 2836 sha1_file.c return xmemdupz(co->buf, co->size); xmemdupz 1091 sha1_name.c char *name_str = xmemdupz(name, at); xmemdupz 542 shallow.c used[shallow[i]] = xmemdupz(*map, bitmap_size); xmemdupz 276 string-list.c string_list_append_nodup(list, xmemdupz(p, end - p)); xmemdupz 110 tag.c item->tag = xmemdupz(bufptr, nl - bufptr); xmemdupz 1023 transport.c char *handler = xmemdupz(url, len); xmemdupz 14 unix-socket.c char *path = xmemdupz(orig, len); xmemdupz 1457 unpack-trees.c path = xmemdupz(ce->name, len); xmemdupz 496 urlmatch.c config_url = xmemdupz(key, dot - key); xmemdupz 224 userdiff.c drv->name = xmemdupz(name, namelen); xmemdupz 129 wrapper.c return xmemdupz(str, p ? p - str : len);