func fmt.Fprintf
171 uses
fmt (current package)
print.go#L202: func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) {
print.go#L213: return Fprintf(os.Stdout, format, a...)
crypto/x509
root_darwin.go#L48: fmt.Fprintf(os.Stderr, "crypto/x509: domain %d, certificate #%d: %v\n", domain, i, err)
root_darwin.go#L63: fmt.Fprintf(os.Stderr, "crypto/x509: trust settings for %v: %v\n", cert.Subject, err)
root_darwin.go#L68: fmt.Fprintf(os.Stderr, "crypto/x509: trust settings for %v: %d\n", cert.Subject, result)
root_darwin.go#L100: fmt.Fprintf(os.Stderr, "crypto/x509: unknown trust setting for %v: %d\n", cert.Subject, result)
root_darwin.go#L154: fmt.Fprintf(os.Stderr, "crypto/x509: SecTrustSettingsCopyTrustSettings for SecTrustSettingsDomainUser failed: %s\n", err)
root_darwin.go#L171: fmt.Fprintf(os.Stderr, "crypto/x509: SecTrustSettingsCopyTrustSettings for SecTrustSettingsDomainAdmin failed: %s\n", err)
encoding/gob
type.go#L607: fmt.Fprintf(os.Stderr, "checkId: %d should be %d\n", int(got), int(want))
flag
flag.go#L567: fmt.Fprintf(f.Output(), "Usage:\n")
flag.go#L569: fmt.Fprintf(f.Output(), "Usage of %s:\n", f.name)
flag.go#L588: fmt.Fprintf(CommandLine.Output(), "Usage of %s:\n", os.Args[0])
go.etcd.io/bbolt
page.go#L93: fmt.Fprintf(os.Stderr, "%x\n", buf)
math/big
ftoa.go#L486: fmt.Fprintf(s, "%%!%c(*big.Float=%s)", format, x.String())
intconv.go#L81: fmt.Fprintf(s, "%%!%c(big.Int=%s)", ch, x.String())
mime/multipart
writer.go#L105: fmt.Fprintf(&b, "\r\n--%s\r\n", w.boundary)
writer.go#L107: fmt.Fprintf(&b, "--%s\r\n", w.boundary)
writer.go#L117: fmt.Fprintf(&b, "%s: %s\r\n", k, v)
writer.go#L120: fmt.Fprintf(&b, "\r\n")
writer.go#L177: _, err := fmt.Fprintf(w.w, "\r\n--%s--\r\n", w.boundary)
net/http
fs.go#L152: fmt.Fprintf(w, "\n")
fs.go#L162: fmt.Fprintf(w, "%s\n", url.String(), htmlReplacer.Replace(name))
fs.go#L164: fmt.Fprintf(w, "
\n")
h2_bundle.go#L1441: fmt.Fprintf(buf, "0x%x", 1<h2_bundle.go#L1446: fmt.Fprintf(buf, " stream=%d", h.StreamID)
h2_bundle.go#L1448: fmt.Fprintf(buf, " len=%d", h.Length)
h2_bundle.go#L2827: fmt.Fprintf(&buf, " %v=%v,", s.ID, s.Val)
h2_bundle.go#L2839: fmt.Fprintf(&buf, " data=%q", data)
h2_bundle.go#L2841: fmt.Fprintf(&buf, " (%d bytes omitted)", len(f.Data())-max)
h2_bundle.go#L2847: fmt.Fprintf(&buf, " incr=%v", f.Increment)
h2_bundle.go#L2849: fmt.Fprintf(&buf, " ping=%q", f.Data[:])
h2_bundle.go#L2851: fmt.Fprintf(&buf, " LastStreamID=%v ErrCode=%v Debug=%q",
h2_bundle.go#L2854: fmt.Fprintf(&buf, " ErrCode=%v", f.ErrCode)
request.go#L610: _, err = fmt.Fprintf(w, "%s %s HTTP/1.1\r\n", valueOrDefault(r.Method, "GET"), ruri)
request.go#L616: _, err = fmt.Fprintf(w, "Host: %s\r\n", host)
request.go#L631: _, err = fmt.Fprintf(w, "User-Agent: %s\r\n", userAgent)
response.go#L260: if _, err := fmt.Fprintf(w, "HTTP/%d.%d %03d %s\r\n", r.ProtoMajor, r.ProtoMinor, r.StatusCode, text); err != nil {
server.go#L377: _, err = fmt.Fprintf(cw.res.conn.bufw, "%x\r\n", len(p))
server.go#L1525: fmt.Fprintf(bw, "%03d status code %d\r\n", code, code)
server.go#L1894: fmt.Fprintf(c.rwc, "HTTP/1.1 "+publicErr+errorHeaders+publicErr)
server.go#L1907: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s%sUnsupported transfer encoding", code, StatusText(code), errorHeaders)
server.go#L1915: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s: %s%s%d %s: %s", v.code, StatusText(v.code), v.text, errorHeaders, v.code, StatusText(v.code), v.text)
server.go#L1919: fmt.Fprintf(c.rwc, "HTTP/1.1 "+publicErr+errorHeaders+publicErr)
net/http/internal
chunked.go#L203: if _, err = fmt.Fprintf(cw.Wire, "%x\r\n", len(data)); err != nil {
net/textproto
writer.go#L31: fmt.Fprintf(w.W, format, args...)
runtime/pprof
pprof.go#L409: fmt.Fprintf(&buf, "@")
pprof.go#L411: fmt.Fprintf(&buf, " %#x", pc)
pprof.go#L437: fmt.Fprintf(tw, "%s profile: total %d\n", name, p.Len())
pprof.go#L439: fmt.Fprintf(tw, "%d %s\n", count[k], k)
pprof.go#L500: fmt.Fprintf(w, "#\t%#x\n", frame.PC)
pprof.go#L505: fmt.Fprintf(w, "#\t%#x\t%s+%#x\t%s:%d\n", frame.PC, name, frame.PC-frame.Entry, frame.File, frame.Line)
pprof.go#L517: fmt.Fprintf(w, "\n")
pprof.go#L597: fmt.Fprintf(w, "heap profile: %d: %d [%d: %d] @ heap/%d\n",
pprof.go#L604: fmt.Fprintf(w, "%d: %d [%d: %d] @",
pprof.go#L608: fmt.Fprintf(w, " %#x", pc)
pprof.go#L610: fmt.Fprintf(w, "\n")
pprof.go#L617: fmt.Fprintf(w, "\n# runtime.MemStats\n")
pprof.go#L618: fmt.Fprintf(w, "# Alloc = %d\n", s.Alloc)
pprof.go#L619: fmt.Fprintf(w, "# TotalAlloc = %d\n", s.TotalAlloc)
pprof.go#L620: fmt.Fprintf(w, "# Sys = %d\n", s.Sys)
pprof.go#L621: fmt.Fprintf(w, "# Lookups = %d\n", s.Lookups)
pprof.go#L622: fmt.Fprintf(w, "# Mallocs = %d\n", s.Mallocs)
pprof.go#L623: fmt.Fprintf(w, "# Frees = %d\n", s.Frees)
pprof.go#L625: fmt.Fprintf(w, "# HeapAlloc = %d\n", s.HeapAlloc)
pprof.go#L626: fmt.Fprintf(w, "# HeapSys = %d\n", s.HeapSys)
pprof.go#L627: fmt.Fprintf(w, "# HeapIdle = %d\n", s.HeapIdle)
pprof.go#L628: fmt.Fprintf(w, "# HeapInuse = %d\n", s.HeapInuse)
pprof.go#L629: fmt.Fprintf(w, "# HeapReleased = %d\n", s.HeapReleased)
pprof.go#L630: fmt.Fprintf(w, "# HeapObjects = %d\n", s.HeapObjects)
pprof.go#L632: fmt.Fprintf(w, "# Stack = %d / %d\n", s.StackInuse, s.StackSys)
pprof.go#L633: fmt.Fprintf(w, "# MSpan = %d / %d\n", s.MSpanInuse, s.MSpanSys)
pprof.go#L634: fmt.Fprintf(w, "# MCache = %d / %d\n", s.MCacheInuse, s.MCacheSys)
pprof.go#L635: fmt.Fprintf(w, "# BuckHashSys = %d\n", s.BuckHashSys)
pprof.go#L636: fmt.Fprintf(w, "# GCSys = %d\n", s.GCSys)
pprof.go#L637: fmt.Fprintf(w, "# OtherSys = %d\n", s.OtherSys)
pprof.go#L639: fmt.Fprintf(w, "# NextGC = %d\n", s.NextGC)
pprof.go#L640: fmt.Fprintf(w, "# LastGC = %d\n", s.LastGC)
pprof.go#L641: fmt.Fprintf(w, "# PauseNs = %d\n", s.PauseNs)
pprof.go#L642: fmt.Fprintf(w, "# PauseEnd = %d\n", s.PauseEnd)
pprof.go#L643: fmt.Fprintf(w, "# NumGC = %d\n", s.NumGC)
pprof.go#L644: fmt.Fprintf(w, "# NumForcedGC = %d\n", s.NumForcedGC)
pprof.go#L645: fmt.Fprintf(w, "# GCCPUFraction = %v\n", s.GCCPUFraction)
pprof.go#L646: fmt.Fprintf(w, "# DebugGC = %v\n", s.DebugGC)
pprof.go#L867: fmt.Fprintf(w, "--- contention:\n")
pprof.go#L868: fmt.Fprintf(w, "cycles/second=%v\n", runtime_cyclesPerSecond())
pprof.go#L871: fmt.Fprintf(w, "%v %v @", r.Cycles, r.Count)
pprof.go#L873: fmt.Fprintf(w, " %#x", pc)
pprof.go#L919: fmt.Fprintf(w, "--- mutex:\n")
pprof.go#L920: fmt.Fprintf(w, "cycles/second=%v\n", runtime_cyclesPerSecond())
pprof.go#L921: fmt.Fprintf(w, "sampling period=%d\n", runtime.SetMutexProfileFraction(-1))
pprof.go#L924: fmt.Fprintf(w, "%v %v @", r.Cycles, r.Count)
pprof.go#L926: fmt.Fprintf(w, " %#x", pc)
pprof_rusage.go#L30: fmt.Fprintf(w, "# MaxRSS = %d\n", uintptr(rusage.Maxrss)*rssToBytes)
src.elv.sh/pkg/buildinfo
buildinfo.go#L43: fmt.Fprintf(fds[1],
json.go#L17: fmt.Fprintf(&b, `\u%04x`, r)
src.elv.sh/pkg/cli/term
buffer.go#L152: fmt.Fprintf(sb, "Width = %d, Dot = (%d, %d)\n", b.Width, b.Dot.Line, b.Dot.Col)
writer.go#L54: fmt.Fprintf(buf, "\033[%dB", to.Line-from.Line)
writer.go#L57: fmt.Fprintf(buf, "\033[%dA", from.Line-to.Line)
writer.go#L61: fmt.Fprintf(buf, "\033[%dC", to.Col)
writer.go#L85: fmt.Fprintf(bytesBuf, "\033[%dA", pLine)
writer.go#L106: fmt.Fprintf(bytesBuf, "\033[0;%sm", newstyle)
writer.go#L154: fmt.Fprintf(bytesBuf, "\033[%dC", firstCol)
src.elv.sh/pkg/diag
show_error.go#L20: fmt.Fprintf(w, "\033[31;1m%s\033[m\n", msg)
src.elv.sh/pkg/edit
buf_to_html.go#L30: fmt.Fprintf(&sb,
buf_to_html.go#L36: fmt.Fprintf(&sb, "%s", html.EscapeString(c.Text))
src.elv.sh/pkg/eval
builtin_fn_io.go#L281: fmt.Fprintf(fm.OutputFile(), template, wrappedArgs...)
builtin_fn_io.go#L309: fmt.Fprintf(state, "%%!%c(%s)", r, err.Error())
builtin_fn_io.go#L316: fmt.Fprintf(state, "%%!%c(%s)", r, err.Error())
builtin_fn_io.go#L321: fmt.Fprintf(state, "%%!%c(unsupported formatting verb)", r)
builtin_fn_io.go#L345: fmt.Fprintf(state, sb.String(), val)
exception.go#L94: fmt.Fprintf(buf, "Exception: %s", causeDescription)
frame.go#L235: fmt.Fprintf(fm.ErrorFile(), "deprecation: \033[31;1m%s\033[m\n", msg)
port.go#L76: fmt.Fprintf(os.Stderr,
src.elv.sh/pkg/parse
error.go#L43: fmt.Fprintf(sb, "multiple parse errors in %s: ", er.Entries[0].Context.Name)
error.go#L48: fmt.Fprintf(sb, "%d-%d: %s", e.Context.From, e.Context.To, e.Message)
error.go#L66: fmt.Fprintf(sb, "\033[31;1m%s\033[m\n", e.Message)
pprint.go#L75: fmt.Fprintf(wr, "%*s%s%s", indent, "", leading, nt.Name())
pprint.go#L80: fmt.Fprintf(wr, " %s="+fmtstring, pf.name, pf.value)
pprint.go#L86: fmt.Fprintf(wr, " %s=%v", pf.name, value)
pprint.go#L120: fmt.Fprintf(wr, "%*s%s%s\n", indent, "", leading, summary(n))
src.elv.sh/pkg/shell
editor.go#L39: fmt.Fprintf(ed.out, "%s> ", wd)
paths.go#L57: fmt.Fprintf(stderr, "warning: cannot create %v: %v\n", what, err)
runtime.go#L112: fmt.Fprintf(stderr, connectionShutdownFmt, sockpath)
script.go#L42: fmt.Fprintf(fds[2],
script.go#L48: fmt.Fprintf(fds[2], "cannot read script %q: %v\n", name, err)
script.go#L57: fmt.Fprintf(fds[1], "%s\n", errorsToJSON(parseErr, compileErr))
src.elv.sh/pkg/testutil
testdir.go#L30: fmt.Fprintf(os.Stderr, "failed to remove temp dir %s: %v\n", dir, err)
src.elv.sh/pkg/ui
key.go#L150: fmt.Fprintf(&b, "(bad function key %d)", k.Rune)
text_segment.go#L33: fmt.Fprintf(buf, "&%s=%s ", key, valString)
testing
benchmark.go#L236: fmt.Fprintf(b.w, "--- FAIL: %s\n%s", b.name, b.output)
benchmark.go#L248: fmt.Fprintf(b.w, "--- %s: %s\n%s", tag, b.name, b.output)
benchmark.go#L261: fmt.Fprintf(b.w, "goos: %s\n", runtime.GOOS)
benchmark.go#L262: fmt.Fprintf(b.w, "goarch: %s\n", runtime.GOARCH)
benchmark.go#L264: fmt.Fprintf(b.w, "pkg: %s\n", b.importPath)
benchmark.go#L267: fmt.Fprintf(b.w, "cpu: %s\n", cpu)
benchmark.go#L417: fmt.Fprintf(buf, "%8d", r.N)
benchmark.go#L430: fmt.Fprintf(buf, "\t%7.2f MB/s", mbs)
benchmark.go#L476: fmt.Fprintf(w, format, x, unit)
benchmark.go#L563: fmt.Fprintf(b.w, "%-*s\t", ctx.maxLen, benchName)
benchmark.go#L585: fmt.Fprintf(b.w, "--- FAIL: %s\n%s", benchName, b.output)
benchmark.go#L590: fmt.Fprintf(b.w, "%-*s\t", ctx.maxLen, benchName)
benchmark.go#L600: fmt.Fprintf(b.w, "--- BENCH: %s\n%s", benchName, b.output)
benchmark.go#L603: fmt.Fprintf(os.Stderr, "testing: %s left GOMAXPROCS set to %d\n", benchName, p)
cover.go#L74: fmt.Fprintf(os.Stderr, "testing: %s\n", err)
cover.go#L86: fmt.Fprintf(f, "mode: %s\n", cover.Mode)
cover.go#L102: _, err := fmt.Fprintf(f, "%s:%d.%d,%d.%d %d %d\n", name,
example.go#L37: fmt.Fprintf(os.Stderr, "testing: invalid regexp for -test.run: %s\n", err)
match.go#L38: fmt.Fprintf(os.Stderr, "testing: invalid regexp for element %d of %s (%q): %s\n", i, name, s, err)
run_example.go#L40: fmt.Fprintf(os.Stderr, "testing: copying pipe: %v\n", err)
testing.go#L360: fmt.Fprintf(p.w, format, args...)
testing.go#L372: fmt.Fprintf(p.w, "=== CONT %s\n", testName)
testing.go#L376: fmt.Fprintf(p.w, format, args...)
testing.go#L550: fmt.Fprintf(buf, "%s:%d: ", file, line)
testing.go#L596: fmt.Fprintf(p.w, format, args...)
testing.go#L1139: fmt.Fprintf(root.parent.w, "cleanup panicked with %v", r)
testing.go#L1453: fmt.Fprintf(os.Stderr, "testing: invalid regexp in -test.list (%q): %s\n", *matchList, err)
testing.go#L1533: fmt.Fprintf(os.Stderr, "testing: %s\n", err)
testing.go#L1537: fmt.Fprintf(os.Stderr, "testing: can't start cpu profile: %s\n", err)
testing.go#L1546: fmt.Fprintf(os.Stderr, "testing: %s\n", err)
testing.go#L1550: fmt.Fprintf(os.Stderr, "testing: can't start tracing: %s\n", err)
testing.go#L1563: fmt.Fprintf(os.Stderr, "testing: cannot use -test.coverprofile because test binary was not built with coverage enabled\n")
testing.go#L1580: fmt.Fprintf(os.Stderr, "testing: %s\n", err)
testing.go#L1608: fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *testlog, err)
testing.go#L1612: fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *testlog, err)
testing.go#L1625: fmt.Fprintf(os.Stderr, "testing: %s\n", err)
testing.go#L1630: fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *memProfile, err)
testing.go#L1638: fmt.Fprintf(os.Stderr, "testing: %s\n", err)
testing.go#L1642: fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *blockProfile, err)
testing.go#L1650: fmt.Fprintf(os.Stderr, "testing: %s\n", err)
testing.go#L1654: fmt.Fprintf(os.Stderr, "testing: can't write %s: %s\n", *mutexProfile, err)
testing.go#L1720: fmt.Fprintf(os.Stderr, "testing: invalid value %q for -test.cpu\n", val)