Home
last modified time | relevance | path

Searched refs:Errorf (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/external/brotli/go/cbrotli/
Dcbrotli_test.go22 return fmt.Errorf("brotli decompress failed: %v", err)
26 return fmt.Errorf(""+
34 return fmt.Errorf(""+
49 t.Errorf("Close()=%v, want nil", err)
53 t.Errorf("No error after Close() + Write()")
62 t.Errorf("Write()=%v,%v, want 0, nil", n, err)
65 t.Errorf("Close()=%v, want nil", err)
77 t.Errorf("Copy Error: %v", err)
80 t.Errorf("Copy() n=%v, want %v", n, len(input))
83 t.Errorf("Close Error after copied %d bytes: %v", n, err)
[all …]
/external/toolchain-utils/compiler_wrapper/
Drusage_flag_test.go29 t.Errorf("unexpected exit code. Got: %d", exitCode)
32 t.Errorf("stdout was not forwarded. Got: %s", ctx.stdoutString())
35 t.Errorf("stderr was not forwarded. Got: %s", ctx.stderrString())
48 return fmt.Errorf("unexpected stdin. Got: %s", stdinStr)
68 t.Errorf("unexpected error. Got: %s", stderr)
80 t.Errorf("rusage log file does not exist: %s", err)
93 t.Errorf("could not read the rusage log file. Error: %s", err)
99 t.Errorf("unexpected number of rusage log parts. Got: %s", logParts)
105 t.Errorf("unexpected value for index %d. Got: %s", i, logParts[i])
110 t.Errorf("unexpected mem usage. Got: %s", logParts[3])
[all …]
Derrors_test.go17 t.Errorf("Error message incorrect. Got: %s", err.Error())
25 t.Errorf("Error message incorrect. Got: %s", err.Error())
32 t.Errorf("Error message incorrect. Got: %s", err.Error())
39 t.Errorf("unexpected exit code. Got: %d", exitCode)
42 t.Errorf("unexpected error. Got: %s", err)
49 t.Errorf("unexpected exit code. Got: %d", exitCode)
52 t.Errorf("unexpected error. Got: %s", err)
59 t.Errorf("unexpected error type. Got: %T", err)
62 t.Errorf("unexpected error message. Got: %s", err)
70 t.Errorf("Error message incorrect. Got: %s", err.Error())
Ddisable_werror_flag_test.go23 t.Errorf("expected 1 call. Got: %d", ctx.cmdCount)
38 t.Errorf("unexpected error. Got: %s", stderr)
41 t.Errorf("expected 1 call. Got: %d", ctx.cmdCount)
68 t.Errorf("expected 2 calls. Got: %d", ctx.cmdCount)
77 t.Errorf("%q isn't considered a conf test file", f)
101 t.Errorf("expected 1 call. Got: %d", ctx.cmdCount)
131 t.Errorf("expected 2 calls. Got: %d", ctx.cmdCount)
158 t.Errorf("unexpected stdout. Got: %s", ctx.stdoutString())
182 t.Errorf("unexpected exitcode. Got: %d", exitCode)
188 t.Errorf("unexpected stdout. Got: %s", ctx.stdoutString())
[all …]
Dclang_tidy_flag_test.go40 t.Errorf("expected 3 calls. Got: %d", ctx.cmdCount)
83 t.Errorf("expected 3 calls. Got: %d", ctx.cmdCount)
101 t.Errorf("expected 3 calls. Got: %d", ctx.cmdCount)
118 t.Errorf("stdout was not forwarded. Got: %s", ctx.stdoutString())
121 t.Errorf("stderr was not forwarded. Got: %s", ctx.stderrString())
157 t.Errorf("unexpected error. Got: %s", stderr)
167 t.Errorf("expected 1 command. Got: %d", ctx.cmdCount)
177 t.Errorf("expected 2 commands. Got: %d", ctx.cmdCount)
202 t.Errorf("expected a call to clang tidy but got none for args %s", tt.args)
205 t.Errorf("expected no call to clang tidy but got one for args %s", tt.args)
[all …]
/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
DkeyedMac.go71 …return nil, fmt.Errorf("%d bit key in test group %d: fractional bytes not supported", group.KeyBit…
74 …return nil, fmt.Errorf("%d bit message in test group %d: fractional bytes not supported", group.Ke…
77 …return nil, fmt.Errorf("%d bit MAC in test group %d: fractional bytes not supported", group.KeyBit…
87 return nil, fmt.Errorf("unknown test direction %q in test group %d", group.Direction, group.ID)
97 …return nil, fmt.Errorf("test case %d/%d contains key of length %d bits, but expected %d-bit value"…
100 …return nil, fmt.Errorf("test case %d/%d contains message of length %d bits, but expected %d-bit va…
105 return nil, fmt.Errorf("test case %d/%d contains MAC but should not", group.ID, test.ID)
109 …return nil, fmt.Errorf("test case %d/%d contains MAC of length %d bits, but expected %d-bit value"…
116 return nil, fmt.Errorf("failed to decode KeyHex in test case %d/%d: %v", group.ID, test.ID, err)
121 return nil, fmt.Errorf("failed to decode MsgHex in test case %d/%d: %v", group.ID, test.ID, err)
[all …]
Decdsa.go87 return nil, fmt.Errorf("curve %q in test group %d not supported", group.Curve, group.ID)
101 …return nil, fmt.Errorf("invalid secret generation mode in test group %d: %q", group.ID, group.Secr…
105 return nil, fmt.Errorf("key generation failed for test case %d/%d: %s", group.ID, test.ID, err)
114 return nil, fmt.Errorf("failed to decode qx in test case %d/%d: %s", group.ID, test.ID, err)
118 return nil, fmt.Errorf("failed to decode qy in test case %d/%d: %s", group.ID, test.ID, err)
122 … return nil, fmt.Errorf("key verification failed for test case %d/%d: %s", group.ID, test.ID, err)
133 return nil, fmt.Errorf("key verification returned unexpected result: %q", result[0])
140 … return nil, fmt.Errorf("unsupported hash algorithm %q in test group %d", group.HashAlgo, group.ID)
147 … return nil, fmt.Errorf("key generation failed for test case %d/%d: %s", group.ID, test.ID, err)
157 …return nil, fmt.Errorf("failed to decode message hex in test case %d/%d: %s", group.ID, test.ID, e…
[all …]
Daead.go86 return nil, fmt.Errorf("test group %d has unknown direction %q", group.ID, group.Direction)
95 …return nil, fmt.Errorf("test group %d contains non-byte-multiple key length %d", group.ID, group.K…
100 …return nil, fmt.Errorf("test group %d contains non-byte-multiple tag length %d", group.ID, group.T…
106 …return nil, fmt.Errorf("test case %d/%d contains key %q of length %d, but expected %d-bit key", gr…
111 return nil, fmt.Errorf("failed to decode key in test case %d/%d: %s", group.ID, test.ID, err)
116 return nil, fmt.Errorf("failed to decode nonce in test case %d/%d: %s", group.ID, test.ID, err)
121 return nil, fmt.Errorf("failed to decode aad in test case %d/%d: %s", group.ID, test.ID, err)
132 … return nil, fmt.Errorf("test case %d/%d has unexpected plain/ciphertext input", group.ID, test.ID)
137 return nil, fmt.Errorf("failed to decode hex in test case %d/%d: %s", group.ID, test.ID, err)
143 …return nil, fmt.Errorf("test case %d/%d has unexpected tag input (should be merged into ciphertext…
[all …]
Ddrbg.go90 …return nil, fmt.Errorf("test group %d specifies mode %q, which is not supported for the %s algorit…
94 …return nil, fmt.Errorf("Test group %d specifies prediction-resistance mode, which is not supported…
98 return nil, fmt.Errorf("Test group %d requests re-seeding, which is not supported", group.ID)
102 …return nil, fmt.Errorf("Test group %d requests %d-bit outputs, but fractional-bytes are not suppor…
108 …return nil, fmt.Errorf("failed to extract entropy hex from test case %d/%d: %s", group.ID, test.ID…
113 …return nil, fmt.Errorf("failed to extract nonce hex from test case %d/%d: %s", group.ID, test.ID, …
118 …return nil, fmt.Errorf("failed to extract personalization hex from test case %d/%d: %s", group.ID,…
123 …return nil, fmt.Errorf("test case %d/%d provides %d additional inputs, but subprocess only expects…
129 …return nil, fmt.Errorf("other %d from test case %d/%d has use %q, but expected 'generate'", i, gro…
133 …return nil, fmt.Errorf("failed to extract additional input %d from test case %d/%d: %s", i, group.…
[all …]
Dxts.go75 return nil, fmt.Errorf("unknown XTS test type %q", group.Type)
85 return nil, fmt.Errorf("unknown XTS direction %q", group.Direction)
92 …return nil, fmt.Errorf("test case %d/%d contains hex message of length %d but specifies a key leng…
96 return nil, fmt.Errorf("failed to decode hex in test case %d/%d: %s", group.ID, test.ID, err)
103 return nil, fmt.Errorf("failed to decode hex in test case %d/%d: %s", group.ID, test.ID, err)
106 …return nil, fmt.Errorf("wrong tweak length (%d bytes) in test case %d/%d", len(t), group.ID, test.…
115 …return nil, fmt.Errorf("neither sector number nor explicit tweak in test case %d/%d", group.ID, te…
126 return nil, fmt.Errorf("failed to decode hex in test case %d/%d: %s", group.ID, test.ID, err)
131 return nil, fmt.Errorf("submodule failed on test case %d/%d: %s", group.ID, test.ID, err)
/external/starlark-go/starlark/
Dunpack.go100 return fmt.Errorf("%s: got %d arguments, want at most %d",
107 return fmt.Errorf("%s: for parameter %s: %s", fnname, name, err)
119 return fmt.Errorf("%s: got multiple values for keyword argument %s",
124 return fmt.Errorf("%s: for parameter %s: %s", fnname, name, err)
129 return fmt.Errorf("%s: unexpected keyword argument %s", fnname, name)
140 return fmt.Errorf("%s: missing argument for %s", fnname, name)
158 return fmt.Errorf("%s: unexpected keyword arguments", fnname)
166 return fmt.Errorf("%s: got %d arguments, want %s%d", fnname, len(args), atleast, min)
173 return fmt.Errorf("%s: got %d arguments, want %s%d", fnname, len(args), atmost, max)
177 return fmt.Errorf("%s: for parameter %d: %s", fnname, i+1, err)
[all …]
Deval.go585 return nil, fmt.Errorf("%s has no .%s field or method", x.Type(), name)
607 return nil, fmt.Errorf("%s", errmsg)
617 err = fmt.Errorf("%s (did you mean .%s?)", err, n)
623 return fmt.Errorf("can't assign to .%s field of %s", name, x.Type())
635 return nil, fmt.Errorf("key %v not in %s", y, x.Type())
643 return nil, fmt.Errorf("%s index: %s", x.Type(), err)
654 return nil, fmt.Errorf("unhandled index operation %s[%s]", x.Type(), y.Type())
659 return fmt.Errorf("index %d out of range: empty %s", i, x.Type())
661 return fmt.Errorf("%s index %d out of range [%d:%d]", x.Type(), i, -n, n-1)
689 return fmt.Errorf("%s value does not support item assignment", x.Type())
[all …]
/external/boringssl/src/util/fipstools/acvp/acvptool/testmodulewrapper/
Dtestmodulewrapper.go31 return fmt.Errorf("getConfig received %d args", len(args))
78 return fmt.Errorf("KDF received %d args", len(args))
86 return fmt.Errorf("KDF received unsupported PRF %q", string(prf))
89 return fmt.Errorf("KDF received unsupported counter location %q", counterLocation)
92 return fmt.Errorf("KDF received unsupported counter length %d", counterBits)
102 return fmt.Errorf("KDF received excessive output length %d", outputBytes)
124 return fmt.Errorf("%d responses is too many", len(responses))
135 return fmt.Errorf("write failed: %s", err)
140 return fmt.Errorf("write failed: %s", err)
157 return fmt.Errorf("XTS received %d args, wanted 3", len(args))
[all …]
/external/llvm-project/llvm/bindings/go/llvm/
Dir_test.go33 t.Errorf("got attribute %p, want %p", newattr.C, attr.C)
38 t.Errorf("expected attribute '%s', got:\n%s", name, text)
44 t.Errorf("got attribute %p, want 0", newattr.C)
130 t.Errorf("Got line %d, though wanted 10", loc.Line)
133 t.Errorf("Got column %d, though wanted 20", loc.Col)
136 t.Errorf("Got metadata %v as scope, though wanted %v", loc.Scope.C, scope.C)
147 t.Errorf("Got size %d, though wanted 1", len(int_inner))
150 t.Errorf("Expected int32 type")
156 t.Errorf("Got size %d, though wanted 2", len(int_inner))
159 t.Errorf("Expected first struct field to be int32")
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
Dutf16.go29 return -1, fmt.Errorf("ToUTF16Column: missing content")
32 return -1, fmt.Errorf("ToUTF16Column: point is missing position")
35 return -1, fmt.Errorf("ToUTF16Column: point is missing offset")
43 return -1, fmt.Errorf("ToUTF16Column: column is invalid (%v)", colZero)
48 …return -1, fmt.Errorf("ToUTF16Column: offsets %v-%v outside file contents (%v)", lineOffset, offse…
68 return Point{}, fmt.Errorf("FromUTF16Column: point is missing offset")
75 …return p, fmt.Errorf("FromUTF16Column: offset (%v) greater than length of content (%v)", p.Offset(…
81 return Point{}, fmt.Errorf("FromUTF16Column: chr goes beyond the content")
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/span/
Dutf16.go29 return -1, fmt.Errorf("ToUTF16Column: missing content")
32 return -1, fmt.Errorf("ToUTF16Column: point is missing position")
35 return -1, fmt.Errorf("ToUTF16Column: point is missing offset")
43 return -1, fmt.Errorf("ToUTF16Column: column is invalid (%v)", colZero)
48 …return -1, fmt.Errorf("ToUTF16Column: offsets %v-%v outside file contents (%v)", lineOffset, offse…
68 return Point{}, fmt.Errorf("FromUTF16Column: point is missing offset")
75 …return p, fmt.Errorf("FromUTF16Column: offset (%v) greater than length of content (%v)", p.Offset(…
81 return Point{}, fmt.Errorf("FromUTF16Column: chr goes beyond the content")
/external/golang-protobuf/ptypes/
Dany_test.go47 t.Errorf("MarshalAny(%+v): got: _, %v exp: _, nil", orig, err)
53 t.Errorf("got: %v, %+v; want nil, %+v", err, unpacked, orig)
79 …t.Errorf("message with type url %q didn't satisfy Is for type %q", a.TypeUrl, proto.MessageName(m))
86 t.Errorf("message with nil type url incorrectly claimed to be %q", proto.MessageName(m))
90 …t.Errorf("message with type url %q incorrectly claimed to be %q", noPrefix.TypeUrl, proto.MessageN…
94 …t.Errorf("message with type url %q didn't satisfy Is for type %q", shortPrefix.TypeUrl, proto.Mess…
109 t.Errorf("invalid result from UnmarshalAny, got %q want %q", got.Message, want)
124 t.Errorf("unequal empty message, got %q, want %q", got, want)
131 …t.Errorf("got no error for an attempt to create a message of type %q, which shouldn't be linked in…
144 t.Errorf("expected Empty for any type %q to fail", noPrefix.TypeUrl)
[all …]
Dtimestamp_test.go82 t.Errorf("validateTimestamp(%v) = %v, want %v", s.ts, got, s.valid)
91 t.Errorf("Timestamp(%v) error = %v, but valid = %t", s.ts, err, s.valid)
93 t.Errorf("Timestamp(%v) = %v, want %v", s.ts, got, s.t)
100 t.Errorf("Timestamp(nil) = %v, want %v", got, want)
103 t.Errorf("Timestamp(nil) error = nil, expected error")
111 t.Errorf("TimestampProto(%v) error = %v, but valid = %t", s.t, err, s.valid)
113 t.Errorf("TimestampProto(%v) = %v, want %v", s.t, got, s.ts)
131 t.Errorf("TimestampString(%v) = %q, want %q", test.ts, got, test.want)
148 t.Errorf("between %v and %v\nTimestampNow() = %v\nwhich is invalid (%v)", before, after, ts, err)
151 t.Errorf("between %v and %v\nTimestamp(TimestampNow()) = %v", before, after, tm)
/external/tensorflow/tensorflow/go/
Dtensor_test.go93 t.Errorf("NewTensor(%v): %v", test.value, err)
97 t.Errorf("Tensor.Shape(): got %v, want %v", tensor.Shape(), test.shape)
105 t.Errorf("encode/decode: got %v, want %v", got, test.value)
113 t.Errorf("NewTensor(%v): %v", test, err)
116 t.Errorf("NewTensor(%v) = %v, want nil", test, tensor)
147 t.Errorf("(%v): %v", v, err)
153 t.Errorf("(%v): %v", v, err)
157 t.Errorf("(%v): WriteContentsTo said it wrote %v bytes, but wrote %v", v, n, buf.Len())
161 t.Errorf("(%v): %v", v, err)
165 t.Errorf("(%v): %v bytes written by WriteContentsTo not read by ReadTensor", v, buf.Len())
[all …]
/external/libcap/cap/
Dcap_test.go35 t.Errorf("[%d] %v(%d) - index: got=%d want=%d", i, v.val, v.val, index, v.index)
38 t.Errorf("[%d] %v(%d) - bit: got=%b want=%b", i, v.val, v.val, bit, v.bit)
41 t.Errorf("[%d] %v(%d) - mask: got=%b want=%b", i, v.val, v.val, mask, v.mask)
70 t.Errorf("[%d] parsing %q failed: got=%v, want=%v", i, v.from, err, v.err)
78 t.Errorf("[%d] failed to stringify cap: %q -> got=%q, want=%q", i, v.from, to, v.to)
81 t.Errorf("[%d] failed to reparse %q: %v", i, to, err)
83 t.Errorf("[%d] failed to stringify %q getting %q", i, to, got)
90 return fmt.Errorf("nil-ness miscompare: %q vs %v", a, b)
96 return fmt.Errorf("capabilities differ in nsRoot: a=%d b=%d", a.nsRoot, b.nsRoot)
102 …return fmt.Errorf("capabilities differ: a[%d].flat[%v]=0x%08x b[%d].flat[%v]=0x%08x", i, s, got, i…
[all …]
/external/libcap/psx/
Dpsx_test.go12 t.Errorf("failed to get PID via libpsx: %v", err)
14 t.Errorf("pid mismatch: got=%d want=%d", got, want)
17 t.Errorf("malformed capget returned %d: %v (want 14: %v)", err, err, syscall.Errno(14))
19 t.Errorf("malformed capget did not return -1, got=%d", got)
26 t.Errorf("failed to get PID via libpsx: %v", err)
28 t.Errorf("pid mismatch: got=%d want=%d", got, want)
31 t.Errorf("malformed capget errno %d: %v (want 14: %v)", err, err, syscall.Errno(14))
33 t.Errorf("malformed capget did not return -1, got=%d", got)
/external/boringssl/src/ssl/test/runner/hpke/
Dhpke_test.go43 t.Errorf("failed to generate key pair: %s", err)
50 t.Errorf("failed to set up sender: %s", err)
55 t.Errorf("failed to set up receiver: %s", err)
65 t.Errorf("encryption round trip failed: %s", err)
103 t.Errorf("error reading test vectors: %s", err)
110 t.Errorf("error parsing test vectors: %s", err)
139 t.Errorf("failed to set up sender: %s", err)
146 t.Errorf("failed to set up receiver: %s", err)
155 t.Errorf("failed to set up sender: %s", err)
162 t.Errorf("failed to set up receiver: %s", err)
[all …]
/external/golang-protobuf/proto/
Dall_test.go67 t.Errorf("wrong lengths: 2*%d != %d", len(b1), len(b2))
72 t.Errorf("bad byte[%d]:%x %x: %s %s", i, b1[i], b2[i], b1, b2)
201 t.Errorf("overify marshal-2 err = %v", err)
349 t.Errorf("%s: got err %T(%v) wanted %T", test.name, err, err, test.errType)
352 t.Errorf("%s: got bytes %v wanted %v", test.name, b.Bytes(), test.want)
355 t.Errorf("%s: Size(_) = %v, but marshaled to %v bytes", test.name, size, len(b.Bytes()))
360 t.Errorf("%s: Marshal returned %v, but (*Buffer).Marshal wrote %v", test.name, m, b.Bytes())
363 t.Errorf("%s: Marshal err = %q, but (*Buffer).Marshal returned %q",
383 t.Errorf("Marshal err = %q", err)
404 t.Errorf("needed %dB, allocated %dB total (ratio %.1f), allocated %dB at runtime (ratio %.1f)",
[all …]
Dextensions_test.go62 t.Errorf("ext1 not in returned extensions: %T %v", exts[0], exts[0])
65 t.Errorf("ext2 in returned extensions: %T %v", exts[1], exts[1])
76 t.Errorf("unexpected error in GetExtension from empty buffer: got %v, want %v", err, want)
173 t.Errorf("proto.ExtensionDescs: got %d descs, error %v; want 0, nil", len(descs), err)
207 t.Errorf("proto.ExtensionDescs(msg) sorted extension ids: got %+v, want %+v", descs, wantDescs)
239 t.Errorf("GetExtension() not stable before marshaling")
251 t.Errorf("GetExtension() not stable after unmarshaling")
314 return fmt.Errorf("GetExtension(): %s", err)
317 return fmt.Errorf("Unexpected error: got %v, want %v", err, want)
326 return fmt.Errorf("unexpected reflect.TypeOf(): got %v want %v", got, want)
[all …]
/external/starlark-go/syntax/
Dquote.go62 err = fmt.Errorf("string literal too short")
67 err = fmt.Errorf("string literal has invalid quotes")
124 err = fmt.Errorf(`truncated escape sequence \`)
133 err = fmt.Errorf("invalid escape sequence \\%c", quoted[1])
159 …err = fmt.Errorf(`non-ASCII octal escape \%o (use \u%04X for the UTF-8 encoding of U+%04X)`, n, n,…
166 err = fmt.Errorf(`invalid escape sequence \%03o`, n)
174 err = fmt.Errorf(`truncated escape sequence %s`, quoted)
179 err = fmt.Errorf(`invalid escape sequence %s`, quoted[:4])
183 err = fmt.Errorf(`non-ASCII hex escape %s (use \u%04X for the UTF-8 encoding of U+%04X)`,
197 err = fmt.Errorf(`truncated escape sequence %s`, quoted)
[all …]

12345678910>>...12