/external/llvm/bindings/go/llvm/ |
D | string.go | 72 s += fmt.Sprintf("(%v[%v])", ts.typeString(t.ElementType()), t.ArrayLength()) 74 s += fmt.Sprintf("(%v)", ts.typeString(t.ElementType())) 79 s += fmt.Sprintf("%v", ts.typeString(params[0])) 81 s += fmt.Sprintf(", %v", ts.typeString(params[i])) 84 s += fmt.Sprintf("):%v", ts.typeString(t.ReturnType())) 88 s = fmt.Sprintf("%%%s: %s", name, s) 95 s += fmt.Sprintf(", %v", ts.typeString(etypes[i])) 100 s += fmt.Sprintf("(%d bits)", t.IntTypeWidth())
|
/external/llvm-project/llvm/bindings/go/llvm/ |
D | string.go | 73 s += fmt.Sprintf("(%v[%v])", ts.typeString(t.ElementType()), t.ArrayLength()) 75 s += fmt.Sprintf("(%v)", ts.typeString(t.ElementType())) 80 s += fmt.Sprintf("%v", ts.typeString(params[0])) 82 s += fmt.Sprintf(", %v", ts.typeString(params[i])) 85 s += fmt.Sprintf("):%v", ts.typeString(t.ReturnType())) 89 s = fmt.Sprintf("%%%s: %s", name, s) 96 s += fmt.Sprintf(", %v", ts.typeString(etypes[i])) 101 s += fmt.Sprintf("(%d bits)", t.IntTypeWidth())
|
/external/starlark-go/starlark/ |
D | value_test.go | 21 {fmt.Sprintf("%s", s), `"hello"`}, 22 {fmt.Sprintf("%+s", s), `"hello"`}, 23 {fmt.Sprintf("%v", s), `"hello"`}, 24 {fmt.Sprintf("%+v", s), `"hello"`}, 27 {fmt.Sprintf("%#v", s), `hello`},
|
/external/skia/tools/gpu/gl/interface/ |
D | gen_interface.go | 168 … line := fmt.Sprintf(`functions->%s =(%s*)get(ctx, "%s");`, hcf.PtrName, hcf.CastName, hcf.GetName) 215 block = addLine(block, fmt.Sprintf("GET_PROC(%s);", function)) 217 block = addLine(block, fmt.Sprintf("GET_PROC_SUFFIX(%s, %s);", function, suffix)) 233 return fmt.Sprintf("(glVer >= GR_GL_VER(%d,%d))", mv[0], mv[1]) 242 return fmt.Sprintf("%s.has(%q)", extVar, req.Extension) 244 …return fmt.Sprintf("(glVer >= GR_GL_VER(%d,%d) && %s.has(%q))", mv[0], mv[1], extVar, req.Extensio… 325 check = fmt.Sprintf("%s", std.StandardCheck) 328 …check = fmt.Sprintf("(%s && (%s%s))", std.StandardCheck, lineBreak, strings.Join(expr, " ||"+lineB… 332 content += fmt.Sprintf("if (%s) {\n", strings.Join(standardChecks, " ||\n"+SPACER+" ")) 371 preCheck = fmt.Sprintf(`#if GR_TEST_UTILS [all …]
|
/external/llvm-project/lldb/unittests/Utility/ |
D | VASprintfTest.cpp | 25 static bool Sprintf(llvm::SmallVectorImpl<char> &Buffer, const char *Fmt, ...) { in Sprintf() function 37 ASSERT_TRUE(Sprintf(BigBuffer, "%s", TestStr.c_str())); in TEST() 45 ASSERT_TRUE(Sprintf(SmallBuffer, "%s", TestStr.c_str())); in TEST() 61 EXPECT_FALSE(Sprintf(Buffer, "%ls", Invalid)); in TEST()
|
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
D | InstrumentationRuntimeTSan.cpp | 535 static std::string Sprintf(const char *format, ...) { in Sprintf() function 683 summary = summary + " at " + Sprintf("0x%llx", addr); in GenerateSummary() 691 summary = summary + " on file descriptor " + Sprintf("%d", fd); in GenerateSummary() 739 result = Sprintf("'%s' is a global variable (0x%llx)", in GetLocationDescription() 742 result = Sprintf("0x%llx is a global variable", global_addr); in GetLocationDescription() 765 result = Sprintf("Location is a %ld-byte %s object at 0x%llx", size, in GetLocationDescription() 769 Sprintf("Location is a %ld-byte heap object at 0x%llx", size, addr); in GetLocationDescription() 776 result = Sprintf("Location is stack of thread %d", tid); in GetLocationDescription() 782 result = Sprintf("Location is TLS of thread %d", tid); in GetLocationDescription() 788 result = Sprintf("Location is file descriptor %d", fd); in GetLocationDescription() [all …]
|
/external/golang-protobuf/proto/ |
D | discard.go | 169 panic(fmt.Sprintf("%v.%s cannot be a slice of pointers to primitive types", t, f.Name)) 176 panic(fmt.Sprintf("%v.%s cannot be a direct struct value", t, f.Name)) 199 panic(fmt.Sprintf("%v.%s cannot be a pointer to a map or a slice of map values", t, f.Name)) 220 …panic(fmt.Sprintf("%v.%s cannot be a pointer to a interface or a slice of interface values", t, f.… 284 panic(fmt.Sprintf("%T.%s cannot be a slice of pointers to primitive types", m, f.Name)) 291 panic(fmt.Sprintf("%T.%s cannot be a direct struct value", m, f.Name)) 302 panic(fmt.Sprintf("%T.%s cannot be a pointer to a map or a slice of map values", m, f.Name)) 316 …panic(fmt.Sprintf("%T.%s cannot be a pointer to a interface or a slice of interface values", m, f.…
|
D | decode_test.go | 57 b.Run(fmt.Sprintf("Len%v", len(dist)), func(b *testing.B) { 82 b.Run(fmt.Sprintf("Len%v", len(dist)), func(b *testing.B) { 107 b.Run(fmt.Sprintf("Len%v", len(dist)), func(b *testing.B) { 132 b.Run(fmt.Sprintf("Len%v", len(dist)), func(b *testing.B) { 163 b.Run(fmt.Sprintf("Fields%vLen%v", k, i), func(b *testing.B) {
|
/external/toolchain-utils/compiler_wrapper/ |
D | print_cmdline_flag_test.go | 46 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '/somepath'\n", ctx.tempDir) { 57 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '%s/somepath'\n", ctx.tempDir, ctx.tempDir) { 69 if ctx.stderrString() != fmt.Sprintf("cd '%s' && env 'a=b' '/somepath'\n", ctx.tempDir) { 81 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '/somepath' '-a'\n", ctx.tempDir) {
|
D | errors.go | 26 return userError{err: fmt.Sprintf(format, v...)} 34 return newErrorwithSourceLocfInternal(2, "%s: %s", fmt.Sprintf(format, v...), err.Error()) 62 return fmt.Errorf("%s:%d: %s", file, line, fmt.Sprintf(format, v...))
|
/external/tensorflow/tensorflow/go/ |
D | signature_test.go | 174 diff += fmt.Sprintf("Name: %q -> %q\n", a.Name, b.Name) 177 diff += fmt.Sprintf("DType: %v -> %v\n", a.DType, b.DType) 194 diff += fmt.Sprintf("+Shape[%d]: %d\n", i, bShape[i]) 198 diff += fmt.Sprintf("-Shape[%d]: %d\n", i, aShape[i]) 202 diff += fmt.Sprintf("Shape[%d]: %d -> %d\n", i, aShape[i], bShape[i])
|
/external/skia/infra/bots/gen_tasks_logic/ |
D | nano_flags.go | 92 configs = append(configs, fmt.Sprintf("%smsaa%d", glPrefix, sampleCount)) 135 configs = append(configs, fmt.Sprintf("angle_d3d11_es2_msaa%d", sampleCount)) 136 configs = append(configs, fmt.Sprintf("angle_d3d11_es3_msaa%d", sampleCount)) 143 configs = append(configs, fmt.Sprintf("angle_gl_es2_msaa%d", sampleCount)) 144 configs = append(configs, fmt.Sprintf("angle_gl_es3_msaa%d", sampleCount)) 297 b.recipeProp("do_upload", fmt.Sprintf("%t", doUpload))
|
D | dm_flags.go | 236 configs = append(configs, fmt.Sprintf("%smsaa%d", glPrefix, sampleCount)) 291 configs = append(configs, fmt.Sprintf("angle_d3d11_es2_msaa%d", sampleCount)) 292 configs = append(configs, fmt.Sprintf("angle_d3d11_es3_msaa%d", sampleCount)) 298 configs = append(configs, fmt.Sprintf("angle_gl_es2_msaa%d", sampleCount)) 299 configs = append(configs, fmt.Sprintf("angle_gl_es3_msaa%d", sampleCount)) 800 skip(fmt.Sprintf("_ image _ .%s", rawExt)) 812 skip(fmt.Sprintf("_ image _ .%s", rawExt)) 835 glMsaaConfig := fmt.Sprintf("%smsaa%d", glPrefix, sampleCount) 1058 b.recipeProp("do_upload", fmt.Sprintf("%t", b.doUpload()))
|
/external/swiftshader/tests/regres/cmd/regres/ |
D | main.go | 525 …if err := shell.Shell(buildTimeout, r.make, buildDir, fmt.Sprintf("-j%d", runtime.NumCPU())); err … 847 sb.WriteString(fmt.Sprintf("Top %v most common failures:\n", len(failures))) 853 sb.WriteString(fmt.Sprintf(" • %d occurrences: %v: %v\n", f.count, f.status, line)) 855 sb.WriteString(fmt.Sprintf(" • %d occurrences: %v\n", f.count, f.status)) 858 sb.WriteString(fmt.Sprintf(" • %d occurrences: %v:\n", f.count, f.status)) 865 sb.WriteString(fmt.Sprintf(" Example test: %v\n", f.exampleTest)) 889 Query: []string{fmt.Sprintf(`status:open+owner:"%v"`, r.gerritEmail)}, 1088 msg := fmt.Sprintf("Failed to build '%s'", t.commit) 1096 msg := fmt.Sprintf("Failed to test change '%s'", t.commit) 1130 …if err := shell.Shell(buildTimeout, t.r.make, t.buildDir, fmt.Sprintf("-j%d", runtime.NumCPU())); … [all …]
|
/external/skia/infra/bots/task_drivers/canary/ |
D | canary.go | 84 retryText = fmt.Sprintf(" (Retry #%d)", retry) 98 …if err := td.Do(ctx, td.Props(fmt.Sprintf("Trigger canary roll%s", retryText)).Infra(), func(ctx c… 105 …if err := waitForCanaryRoll(ctx, manualRollDB, req.Id, fmt.Sprintf("Wait for canary roll%s", retry… 139 rollStatus = fmt.Sprintf("Canary roll has status %s", roll.Status) 147 rollStatus = fmt.Sprintf("Canary roll [ %s ] has status %s", roll.Url, roll.Status)
|
/external/libcap/goapps/setid/ |
D | setid.go | 108 fs, err := ioutil.ReadDir(fmt.Sprintf("/proc/%d/task", pid)) 113 tf := fmt.Sprintf("/proc/%s/status", f.Name()) 144 …failed := dumpStatus(test+" gid", validate, "Gid:", fmt.Sprintf("Gid:\t%d\t%d\t%d\t%d", wantGID, w… 146 …failed = dumpStatus(test+" uid", validate, "Uid:", fmt.Sprintf("Uid:\t%d\t%d\t%d\t%d", wantUID, wa…
|
/external/golang-protobuf/protoc-gen-go/grpc/ |
D | grpc.go | 146 path := fmt.Sprintf("6,%d", index) // 6 means service. 157 g.P(fmt.Sprintf(`// %sClient is the client API for %s service. 168 g.gen.PrintComments(fmt.Sprintf("%s,2,%d", path, i)) // 2 means method in a service. 200 descExpr = fmt.Sprintf("&%s.Methods[%d]", serviceDescVar, methodIndex) 204 descExpr = fmt.Sprintf("&%s.Streams[%d]", serviceDescVar, streamIndex) 219 g.gen.PrintComments(fmt.Sprintf("%s,2,%d", path, i)) // 2 means method in a service. 332 …return fmt.Sprintf("%s(ctx %s.Context%s, opts ...%s.CallOption) (%s, error)", methName, contextPkg… 336 sname := fmt.Sprintf("/%s/%s", fullServName, method.GetName()) 466 hname := fmt.Sprintf("_%s_%s_Handler", servName, methName) 477 g.P("FullMethod: ", strconv.Quote(fmt.Sprintf("/%s/%s", fullServName, methName)), ",")
|
/external/skia/infra/bots/task_drivers/cifuzz/ |
D | cifuzz.go | 176 "--mount", fmt.Sprintf("type=bind,source=%s,destination=%s", skiaAbsPath, skiaAbsPath), 177 "--mount", fmt.Sprintf("type=bind,source=%s,destination=%s", workDir, workDir), 192 …"--env", "FUZZ_TIME=" + fmt.Sprintf("%d", duration/time.Second), // This is split up between all a… 196 "--mount", fmt.Sprintf("type=bind,source=%s,destination=%s", workDir, workDir), 225 "--mount", fmt.Sprintf("type=bind,source=%s,destination=/OUT", cifuzzOutDir),
|
/external/swiftshader/tests/regres/deqp/ |
D | deqp.go | 95 return fmt.Sprintf("%s: %s (%s)", r.Test, r.Status, r.Err) 97 return fmt.Sprintf("%s: %s", r.Test, r.Status) 303 coverageFile := filepath.Join(c.TempDir, fmt.Sprintf("%v.profraw", goroutineIndex)) 312 logPath = filepath.Join(c.TempDir, fmt.Sprintf("%v.log", goroutineIndex)) 377 out += fmt.Sprintf("\nProcess terminated with code %d", exitErr.ExitCode()) 402 err := fmt.Sprintf("Couldn't parse test '%v' output:\n%s", name, out) 429 err := fmt.Sprintf("Couldn't parse test output:\n%s", out)
|
/external/boringssl/src/crypto/x509/test/ |
D | make_many_constraints.go | 116 caTemplate.ExcludedDNSDomains = append(caTemplate.ExcludedDNSDomains, fmt.Sprintf("x%d.test", i)) 119 …caTemplate.PermittedDNSDomains = append(caTemplate.PermittedDNSDomains, fmt.Sprintf("t%d.test", i)) 158 leafTemplate.DNSNames = append(leafTemplate.DNSNames, fmt.Sprintf("t%d.test", i)) 167 Bytes: []byte(fmt.Sprintf("t%d@test", i)),
|
/external/swiftshader/tests/regres/cov/ |
D | serialization.go | 101 sb.WriteString(fmt.Sprintf("%v,", names[i])) 125 sb.WriteString(fmt.Sprintf("[%v,%v,%v,%v]", 134 sb.WriteString(fmt.Sprintf("[%v,%v,%v,%v]", 166 sb.WriteString(fmt.Sprintf("%v", percentage)) 209 sb.WriteString(fmt.Sprintf("%v", spanID)) 214 sb.WriteString(fmt.Sprintf("%v", *group.Extend)) 244 sb.WriteString(fmt.Sprintf("%v", id)) 261 sb.WriteString(fmt.Sprintf("%v", spanID)) 268 sb.WriteString(fmt.Sprintf("%v", *c.Group))
|
/external/boringssl/src/util/fipstools/delocate/ |
D | delocate.go | 166 panic(fmt.Sprintf("unknown top-level statement type %q", rul3s[node.pegRule])) 588 panic(fmt.Sprintf("unsure how to handle %q instruction using lo12", instructionName)) 604 panic(fmt.Sprintf("unhandled MemoryRef type %s", rul3s[ref.pegRule])) 608 panic(fmt.Sprintf("unknown instruction argument type %q", rul3s[arg.pegRule])) 856 panic(fmt.Sprintf("unexpected token in SymbolRef: %q", rul3s[symRef.pegRule])) 1049 panic(fmt.Sprintf("unknown instruction argument type %q", rul3s[arg.pegRule])) 1159 w.WriteString(fmt.Sprintf("\t%s %s, %s\n", instr, a, b)) 1171 w.WriteString(fmt.Sprintf("\tleaq %s_%s_external(%%rip), %s\n", symbol, section, destination)) 1172 w.WriteString(fmt.Sprintf("\taddq (%s), %s\n", destination, destination)) 1173 w.WriteString(fmt.Sprintf("\tmovq (%s), %s\n", destination, destination)) [all …]
|
/external/boringssl/src/util/ |
D | run_android_tests.go | 144 targetPrefix = fmt.Sprintf("armv7a-linux-androideabi%d-", *apiLevel) 148 targetPrefix = fmt.Sprintf("aarch64-linux-android%d-", *apiLevel) 160 cmd.Env = append(cmd.Env, fmt.Sprintf("CC=%s", filepath.Join(toolchainDir, targetPrefix+"clang"))) 161 …cmd.Env = append(cmd.Env, fmt.Sprintf("CXX=%s", filepath.Join(toolchainDir, targetPrefix+"clang++"… 420 …unitTestExit, err = adbShell(fmt.Sprintf("cd /data/local/tmp/boringssl-tmp && %s./util/all_tests -… 430 …sslTestExit, err = adbShell(fmt.Sprintf("cd /data/local/tmp/boringssl-tmp/ssl/test/runner && %s./r…
|
/external/skia/infra/bots/task_drivers/g3_canary/ |
D | g3_canary.go | 92 taskFileName := fmt.Sprintf("%s-%s.json", rs.Issue, rs.Patchset) 93 taskStoragePath := fmt.Sprintf("gs://%s/%s", g3CanaryBucketName, taskFileName) 180 clLink := fmt.Sprintf("http://cl/%d", task.CL) 187 rollStatus = fmt.Sprintf("Canary roll [ %s ] has status %s", clLink, task.Result)
|
/external/skqp/infra/bots/ |
D | gen_tasks.go | 232 …return fmt.Sprintf("logdog://logs.chromium.org/%s/%s/+/annotations", project, specs.PLACEHOLDER_TA… 348 fmt.Sprintf("machine_type:%s", machineType), 349 fmt.Sprintf("os:%s", DEFAULT_OS_LINUX_GCE), 350 fmt.Sprintf("pool:%s", CONFIG.Pool), 657 rv = append(rv, fmt.Sprintf("%s:%s", k, v)) 913 uploadName := fmt.Sprintf("%s%s%s", PREFIX_UPLOAD, jobNameSchema.Sep, name) 929 fmt.Sprintf("os:%s", DEFAULT_OS_LINUX_GCE), 1010 uploadName := fmt.Sprintf("%s%s%s", PREFIX_UPLOAD, jobNameSchema.Sep, name) 1052 uploadName := fmt.Sprintf("%s%s%s", PREFIX_UPLOAD, jobNameSchema.Sep, name) 1151 uploadName := fmt.Sprintf("%s%s%s", PREFIX_UPLOAD, jobNameSchema.Sep, name) [all …]
|