strbuf_add 167 abspath.c strbuf_add(&path, pfx, pfx_len); strbuf_add 176 abspath.c strbuf_add(&path, pfx, pfx_len); strbuf_add 136 archive-tar.c strbuf_add(sb, value, valuelen); strbuf_add 53 archive.c strbuf_add(&fmt, b + 8, c - b - 8); strbuf_add 55 archive.c strbuf_add(buf, src, b - src); strbuf_add 60 archive.c strbuf_add(buf, src, len); strbuf_add 133 archive.c strbuf_add(&path, args->base, args->baselen); strbuf_add 134 archive.c strbuf_add(&path, base, baselen); strbuf_add 613 attr.c strbuf_add(&pathbuf, path, cp - path); strbuf_add 1412 builtin/am.c strbuf_add(&sb, ident_line, ident_len); strbuf_add 1418 builtin/am.c strbuf_add(&sb, ident_split.name_begin, strbuf_add 1426 builtin/am.c strbuf_add(&sb, ident_split.mail_begin, strbuf_add 2388 builtin/apply.c strbuf_add(&fixed, img->buf + try, imgoff); strbuf_add 2389 builtin/apply.c strbuf_add(&fixed, preimage_eof, extra_chars); strbuf_add 2764 builtin/apply.c strbuf_add(&newlines, patch + 1, plen); strbuf_add 3275 builtin/apply.c strbuf_add(&buf, previous->result, previous->resultsize); strbuf_add 1625 builtin/blame.c strbuf_add(tz, ident.tz_begin, ident.tz_end - ident.tz_begin); strbuf_add 1636 builtin/blame.c strbuf_add(name, namebuf, namelen); strbuf_add 1690 builtin/blame.c strbuf_add(&ret->summary, subject, len); strbuf_add 589 builtin/commit.c strbuf_add(&date_buf, ident.date_begin, ident.date_end - ident.date_begin); strbuf_add 591 builtin/commit.c strbuf_add(&date_buf, ident.tz_begin, ident.tz_end - ident.tz_begin); strbuf_add 150 builtin/fast-export.c strbuf_add(out, c, len); strbuf_add 508 builtin/fast-export.c strbuf_add(out, *beg, end_of_header - *beg); strbuf_add 518 builtin/fast-export.c strbuf_add(out, ident, len); strbuf_add 520 builtin/fast-export.c strbuf_add(out, split.date_begin, split.tz_end - split.date_begin); strbuf_add 474 builtin/fmt-merge-msg.c strbuf_add(tagbuf, tag_body, buf + len - tag_body); strbuf_add 190 builtin/grep.c strbuf_add(&w->out, buf, size); strbuf_add 427 builtin/grep.c strbuf_add(base, entry.path, te_len); strbuf_add 481 builtin/grep.c strbuf_add(&base, name, len); strbuf_add 1714 builtin/index-pack.c strbuf_add(&index_name_buf, pack_name, len); strbuf_add 1723 builtin/index-pack.c strbuf_add(&keep_name_buf, pack_name, len); strbuf_add 68 builtin/mailinfo.c strbuf_add(&email, bra + 1, ket - bra - 1); strbuf_add 71 builtin/mailinfo.c strbuf_add(&name, line->buf, bra - line->buf); strbuf_add 114 builtin/mailinfo.c strbuf_add(&email, at, el); strbuf_add 173 builtin/mailinfo.c strbuf_add(attr, ap, sz); strbuf_add 327 builtin/mailinfo.c strbuf_add(&sb, line->buf + len + 2, line->len - len - 2); strbuf_add 338 builtin/mailinfo.c strbuf_add(&sb, line->buf + len, line->len - len); strbuf_add 347 builtin/mailinfo.c strbuf_add(&sb, line->buf + len, line->len - len); strbuf_add 355 builtin/mailinfo.c strbuf_add(&sb, line->buf + len, line->len - len); strbuf_add 560 builtin/mailinfo.c strbuf_add(&outbuf, in, ep - in); strbuf_add 574 builtin/mailinfo.c strbuf_add(&charset_q, ep, cp - ep); strbuf_add 582 builtin/mailinfo.c strbuf_add(&piecebuf, cp + 3, ep - cp - 3); strbuf_add 56 builtin/mktree.c strbuf_add(&buf, ent->sha1, 20); strbuf_add 262 builtin/notes.c strbuf_add(&d->buf, buf, len); strbuf_add 837 builtin/notes.c strbuf_add(&(o.commit_msg), msg.buf + 7, msg.len - 7); /* skip "notes: " */ strbuf_add 395 builtin/replace.c strbuf_add(&buf, buffer, size); strbuf_add 53 builtin/shortlog.c strbuf_add(&namemailbuf, namebuf, namelen); strbuf_add 387 cache-tree.c strbuf_add(&buffer, sha1, 20); strbuf_add 447 cache-tree.c strbuf_add(buffer, path, pathlen); strbuf_add 461 cache-tree.c strbuf_add(buffer, it->sha1, 20); strbuf_add 1157 commit.c strbuf_add(signature, sig, next - sig); strbuf_add 1164 commit.c strbuf_add(payload, line, next - line); strbuf_add 1353 commit.c strbuf_add(&buf, line + 1, next - (line + 1)); strbuf_add 1374 commit.c strbuf_add(&buf, eof + 1, next - (eof + 1)); strbuf_add 1573 commit.c strbuf_add(&buffer, msg, msg_len); strbuf_add 125 config.c strbuf_add(&buf, cf->path, slash - cf->path + 1); strbuf_add 44 connected.c strbuf_add(&idx_file, transport->pack_lockfile, base_len); strbuf_add 298 convert.c strbuf_add(buf, src, nl + 1 - src); strbuf_add 300 convert.c strbuf_add(buf, src, nl - src); strbuf_add 306 convert.c strbuf_add(buf, src, len); strbuf_add 602 convert.c strbuf_add(buf, src, dollar + 1 - src); strbuf_add 651 convert.c strbuf_add(buf, sha1_to_hex(sha1), 40); strbuf_add 654 convert.c strbuf_add(buf, src, len); strbuf_add 1207 convert.c strbuf_add(&ident->left, head, ident->state); strbuf_add 1252 convert.c strbuf_add(&ident->left, head, ident->state); strbuf_add 578 diff.c strbuf_add(&msgbuf, line, ep - line); strbuf_add 594 diff.c strbuf_add(&msgbuf, cp, ep - cp); strbuf_add 600 diff.c strbuf_add(&msgbuf, ep, line + len - ep); strbuf_add 604 diff.c strbuf_add(&msgbuf, line + len, org_len - len); strbuf_add 1383 diff.c strbuf_add(&name, a, pfx_length); strbuf_add 1386 diff.c strbuf_add(&name, a + pfx_length, a_midlen); strbuf_add 1388 diff.c strbuf_add(&name, b + pfx_length, b_midlen); strbuf_add 1391 diff.c strbuf_add(&name, a + len_a - sfx_length, sfx_length); strbuf_add 114 dir.c strbuf_add(&pat_buf, pattern, patternlen); strbuf_add 118 dir.c strbuf_add(&str_buf, string, stringlen); strbuf_add 1049 dir.c strbuf_add(&dir->basebuf, base + current, stk->baselen - current); strbuf_add 1685 dir.c strbuf_add(&path, base, baselen); strbuf_add 1813 dir.c strbuf_add(&sb, path, baselen); strbuf_add 2303 dir.c strbuf_add(&wd->sb_stat, &stat_data, sizeof(stat_data)); strbuf_add 2307 dir.c strbuf_add(&wd->sb_sha1, untracked->exclude_sha1, 20); strbuf_add 2311 dir.c strbuf_add(out, intbuf, intlen); strbuf_add 2318 dir.c strbuf_add(out, intbuf, intlen); strbuf_add 2320 dir.c strbuf_add(out, untracked->name, strlen(untracked->name) + 1); strbuf_add 2323 dir.c strbuf_add(out, untracked->untracked[i], strbuf_add 2348 dir.c strbuf_add(out, varbuf, varint_len); strbuf_add 2349 dir.c strbuf_add(out, untracked->ident.buf, untracked->ident.len); strbuf_add 2351 dir.c strbuf_add(out, ouc, ouc_size(len)); strbuf_add 2357 dir.c strbuf_add(out, varbuf, varint_len); strbuf_add 2371 dir.c strbuf_add(out, varbuf, varint_len); strbuf_add 2555 dir.c strbuf_add(&uc->ident, ident, ident_len); strbuf_add 258 entry.c strbuf_add(&path, state->base_dir, state->base_dir_len); strbuf_add 259 entry.c strbuf_add(&path, ce->name, ce_namelen(ce)); strbuf_add 117 ewah/ewah_io.c strbuf_add(sb, data, len); strbuf_add 1425 fast-import.c strbuf_add(b, e->versions[v].sha1, 20); strbuf_add 2042 fast-import.c strbuf_add(&ident, buf, name_len); strbuf_add 2425 fast-import.c strbuf_add(&s_uq, s, endp - s); strbuf_add 397 http-push.c strbuf_add(&buf, request->lock->tmpfile_suffix, 41); strbuf_add 290 http-walker.c strbuf_add(&target, base, serverlen); strbuf_add 291 http-walker.c strbuf_add(&target, data + i, posn - i - 7); strbuf_add 130 http.c strbuf_add(buffer, ptr, size); strbuf_add 1297 http.c strbuf_add(base, got->buf, got->len - tail_len); strbuf_add 1246 imap-send.c strbuf_add(&buf, msg->buf, body - msg->buf - 1); strbuf_add 1324 imap-send.c strbuf_add(msg, data, len); strbuf_add 648 notes.c strbuf_add(buf, sha1, 20); strbuf_add 1259 notes.c strbuf_add(sb, msg_p, linelen); strbuf_add 255 pathspec.c strbuf_add(&sb, elt, long_magic_end - elt); strbuf_add 91 pkt-line.c strbuf_add(buf, "0000", 4); strbuf_add 450 pretty.c strbuf_add(&buf, namebuf, namelen); strbuf_add 452 pretty.c strbuf_add(&buf, mailbuf, maillen); strbuf_add 694 pretty.c strbuf_add(sb, name, namelen); strbuf_add 698 pretty.c strbuf_add(sb, mail, maillen); strbuf_add 706 pretty.c strbuf_add(sb, s.date_begin, s.date_end - s.date_begin); strbuf_add 884 pretty.c strbuf_add(sb, line, linelen); strbuf_add 911 pretty.c strbuf_add(&tmp, sb->buf, pos); strbuf_add 1533 pretty.c strbuf_add(sb, line, linelen); strbuf_add 1657 pretty.c strbuf_add(sb, line, linelen); strbuf_add 34 quote.c strbuf_add(dst, src, len); strbuf_add 205 quote.c if (sb) strbuf_add(sb, (s), (l)); \ strbuf_add 324 quote.c strbuf_add(sb, quoted, len); strbuf_add 1451 read-cache.c strbuf_add(name, cp, ep - cp); strbuf_add 298 reflog-walk.c strbuf_add(sb, info->message, len); strbuf_add 912 refs.c strbuf_add(&dirname, refname + dirname.len, slash - refname - dirname.len); strbuf_add 1374 refs.c strbuf_add(&refname, dirname, dirnamelen); strbuf_add 879 remote.c strbuf_add(&sb, value, vstar - value); strbuf_add 880 remote.c strbuf_add(&sb, name + klen, namelen - klen - ksuffixlen); strbuf_add 293 rerere.c strbuf_add(sb, io->input.buf, len); strbuf_add 47 resolve-undo.c strbuf_add(sb, ui->sha1[i], 20); strbuf_add 112 run-command.c strbuf_add(&buf, p, end - p); strbuf_add 1649 sha1_file.c strbuf_add(header, buffer, stream->next_out - (unsigned char *)buffer); strbuf_add 1655 sha1_file.c strbuf_add(header, buffer, stream->next_out - (unsigned char *)buffer); strbuf_add 1734 sha1_file.c strbuf_add(oi->typename, type_buf, type_len); strbuf_add 3582 sha1_file.c strbuf_add(&buf, alt->base, alt->name - alt->base - 1); strbuf_add 934 sha1_name.c strbuf_add(&cb->buf, match, len); strbuf_add 995 sha1_name.c strbuf_add(&sb, name, dots - name); strbuf_add 1039 sha1_name.c strbuf_add(buf, "HEAD", 4); strbuf_add 1050 sha1_name.c strbuf_add(buf, name + len, namelen - len); strbuf_add 1175 sha1_name.c strbuf_add(sb, name + used, len - used); strbuf_add 48 split-index.c strbuf_add(sb, si->base_sha1, 20); strbuf_add 133 strbuf.c strbuf_add(t, str, len); strbuf_add 235 strbuf.c strbuf_add(out, buf, next - buf); strbuf_add 300 strbuf.c strbuf_add(sb, format, percent - format); strbuf_add 555 strbuf.c strbuf_add(buf, s, len); strbuf_add 247 strbuf.h extern void strbuf_add(struct strbuf *, const void *, size_t); strbuf_add 260 strbuf.h strbuf_add(sb, s, strlen(s)); strbuf_add 269 strbuf.h strbuf_add(sb, sb2->buf, sb2->len); strbuf_add 174 submodule-config.c strbuf_add(name, subsection, subsection_len); strbuf_add 317 symlinks.c strbuf_add(&removal, &name[match_len], last_slash - match_len); strbuf_add 584 trailer.c strbuf_add(tok, trailer, len); strbuf_add 277 tree-diff.c strbuf_add(base, path, pathlen); strbuf_add 581 tree-walk.c strbuf_add(result_path, namebuf.buf, strbuf_add 966 tree-walk.c strbuf_add(base, entry->path, pathlen); strbuf_add 111 tree.c strbuf_add(base, entry.path, len); strbuf_add 131 tree.c strbuf_add(&sb, base, baselen); strbuf_add 921 unpack-trees.c strbuf_add(prefix, name, len); strbuf_add 101 url.c strbuf_add(&out, url, colon - url); strbuf_add 261 urlmatch.c strbuf_add(&norm, url, slash_ptr - url); strbuf_add 252 utf8.c strbuf_add(buf, text, eol - text); strbuf_add 302 utf8.c strbuf_add(buf, start, text - start); strbuf_add 298 vcs-svn/fast_export.c strbuf_add(dataref, response, tab - response); strbuf_add 177 vcs-svn/svndiff.c strbuf_add(&ctx->out, ctx->in->buf.buf + offset, nbytes); strbuf_add 200 vcs-svn/svndiff.c strbuf_add(&ctx->out, ctx->data.buf + pos, nbytes); strbuf_add 388 ws.c strbuf_add(dst, src, len); strbuf_add 74 wt-status.c strbuf_add(&linebuf, line, eol - line); strbuf_add 1328 wt-status.c strbuf_add(&cb->buf, target, end - target); strbuf_add 81 xdiff-interface.c strbuf_add(&priv->remainder, mb[i].ptr, mb[i].size); strbuf_add 90 xdiff-interface.c strbuf_add(&priv->remainder, mb[i].ptr, mb[i].size);