/prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/ |
scanner_test.go | 54 var got scanner 55 got.init(&bytesReader{buf}, nil, nil) 56 got.next() 60 if got.line != uint(i+linebase) { 61 t.Errorf("got line %d; want %d", got.line, i+linebase) 64 if got.tok != want.tok { 65 t.Errorf("got tok = %s; want %s", got.tok, want.tok) 71 if got.lit != "semicolon" [all...] |
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/ianlancetaylor/demangle/ |
ast_test.go | 35 if got := ASTToString(test.input); got != test.want { 38 if got := fmt.Sprintf("%#v", test.input); got != test.formatted { 39 t.Errorf("Formatted test %d == %s, want %s", i, got, test.formatted)
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
scanner_test.go | 54 var got scanner 55 got.init(&bytesReader{buf}, nil, nil) 56 got.next() 60 if got.line != uint(i+linebase) { 61 t.Errorf("got line %d; want %d", got.line, i+linebase) 64 if got.tok != want.tok { 65 t.Errorf("got tok = %s; want %s", got.tok, want.tok) 71 if got.lit != "semicolon" [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/ianlancetaylor/demangle/ |
ast_test.go | 35 if got := ASTToString(test.input); got != test.want { 38 if got := fmt.Sprintf("%#v", test.input); got != test.formatted { 39 t.Errorf("Formatted test %d == %s, want %s", i, got, test.formatted)
|
/toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/ |
readelf.exp | 50 set got [remote_exec host "$READELF $READELFFLAGS -h $binary_file" "" "/dev/null" "readelf.out"] 55 if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]]} then { 56 send_log $got 88 set got [remote_exec host "$READELF $READELFFLAGS $options $binary_file" "" "/dev/null" "readelf.out"] 94 if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then { 96 send_log $got 158 set got [remote_exec host "$READELF $READELFFLAGS -wi $tempfile" "" "/dev/null" "readelf.out"] 166 set got [prune_readelf_wi_warnings [lindex $got 1] [all...] |
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-aarch64/ |
gc-tls-relocs.d | 11 # got section is empty and text section contains only start function. 17 0+9000 l d \.got 0+ \.got 20 0+9000 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ 25 Contents of section .got:
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-sh/ |
fdpic-funcdesc-shared.d | 4 #objdump: -dsR -j.text -j.data -j.got 13 Contents of section \.got: 26 [ \t]+[0-9a-f]+: R_SH_DIR32[ \t]+\.got 28 Disassembly of section \.got: 30 [0-9a-f]+ <\.got>:
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-vax-elf/ |
vax-elf.exp | 52 # Global offset table tests. Make sure hidden symbols do not get GOT 55 [list "GOT test (auxiliary shared library)" \ 58 { got-local-aux.s } \ 60 "got-local-aux.so"] \ 61 [list "GOT test (object 1)" \ 64 { got-local-ref.s } \ 66 "got-local-ref-r.o"] \ 67 [list "GOT test (object 2)" \ 70 { got-local-def.s } \ 72 "got-local-def-r.o"] [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
crash_cgo_test.go | 35 got := runTestProg(t, "testprogcgo", "CgoSignalDeadlock") 37 if got != want { 38 t.Fatalf("expected %q, but got:\n%s", want, got) 44 got := runTestProg(t, "testprogcgo", "CgoTraceback") 46 if got != want { 47 t.Fatalf("expected %q, but got:\n%s", want, got) 67 got := runTestProg(t, "testprogcgo", "CgoCallbackGC") 69 if got != want [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
crash_cgo_test.go | 35 got := runTestProg(t, "testprogcgo", "CgoSignalDeadlock") 37 if got != want { 38 t.Fatalf("expected %q, but got:\n%s", want, got) 44 got := runTestProg(t, "testprogcgo", "CgoTraceback") 46 if got != want { 47 t.Fatalf("expected %q, but got:\n%s", want, got) 67 got := runTestProg(t, "testprogcgo", "CgoCallbackGC") 69 if got != want [all...] |
/external/e2fsprogs/util/ |
copy_sparse.c | 67 int got, total = 0; local 71 got = read(fd, buf, count); 72 if (got == -1) { 77 if (got == 0) { 83 buf += got; 84 total += got; 85 count -= got; 94 ssize_t got, got2; local 167 got = full_read(fd, buf, bs); 169 if (fd == 0 && got == 0 [all...] |
/prebuilts/go/darwin-x86/test/ |
method7.go | 12 var got, want string var 21 func (S) m() { got += " m()" } 22 func (S) m1(s string) { got += " m1(" + s + ")" } 26 func (T) m2() { got += " m2()" } 53 if got != want { 54 panic("got" + got + ", want" + want)
|
/prebuilts/go/linux-x86/test/ |
method7.go | 12 var got, want string var 21 func (S) m() { got += " m()" } 22 func (S) m1(s string) { got += " m1(" + s + ")" } 26 func (T) m2() { got += " m2()" } 53 if got != want { 54 panic("got" + got + ", want" + want)
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-cris/ |
tls-gc-75.d | 13 # symbol, gc:ed. Check that we have proper NPTL/TLS markings and GOT. 26 0+82078 l d \.got 0+ \.got 27 0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ 29 0+82084 g \.got 0+ __bss_start 30 0+82084 g \.got 0+ _edata 31 0+820a0 g \.got 0+ _end 35 Contents of section \.got:
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/ |
encode_test.go | 37 if got := hex.EncodeToString(buf.Bytes()); got != want { 38 t.Errorf("e.SetDynamicTableSize %v, %v = %q; want %q", tt.size1, tt.size2, got, want) 46 var got []HeaderField 48 got = append(got, f) 77 got = got[:0] 87 if !reflect.DeepEqual(got, tt.hdrs) { 88 t.Errorf("%d. Decoded %+v; want %+v", i, got, tt.hdrs [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/http2/hpack/ |
encode_test.go | 37 if got := hex.EncodeToString(buf.Bytes()); got != want { 38 t.Errorf("e.SetDynamicTableSize %v, %v = %q; want %q", tt.size1, tt.size2, got, want) 46 var got []HeaderField 48 got = append(got, f) 77 got = got[:0] 87 if !reflect.DeepEqual(got, tt.hdrs) { 88 t.Errorf("%d. Decoded %+v; want %+v", i, got, tt.hdrs [all...] |
/external/llvm/test/MC/PowerPC/ |
ppc64-fixup-explicit.s | 10 # GOT references must result in explicit relocations 15 # CHECK-BE: addi 4, 3, target@GOT # encoding: [0x38,0x83,A,A] 16 # CHECK-LE: addi 4, 3, target@GOT # encoding: [A,A,0x83,0x38] 17 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@GOT, kind: fixup_ppc_half16 18 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target@GOT, kind: fixup_ppc_half16 21 addi 4, 3, target@got 23 # CHECK-BE: ld 1, target@GOT(2) # encoding: [0xe8,0x22,A,0bAAAAAA00] 24 # CHECK-LE: ld 1, target@GOT(2) # encoding: [0bAAAAAA00,A,0x22,0xe8] 25 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@GOT, kind: fixup_ppc_half16ds 26 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target@GOT, kind: fixup_ppc_half16d [all...] |
/external/deqp/modules/egl/ |
teglApiCase.cpp | 90 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expected) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage; 92 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error"); 101 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expectedA) << " or " << eglu::getErrorStr(expectedB) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage; 103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error"); 107 void ApiCase::expectBoolean (EGLBoolean expected, EGLBoolean got) 109 if (expected != got) 111 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getBooleanStr(expected) << ", Got: " << eglu::getBooleanStr(got) << TestLog::EndMessage; 113 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value"); 117 void ApiCase::expectNoContext (EGLContext got) 124 eglDestroyContext(getDisplay(), got); local 135 eglDestroySurface(getDisplay(), got); local [all...] |
/external/tensorflow/tensorflow/go/op/ |
op_test.go | 88 if got, want := len(fetched), 1; got != want { 89 t.Fatalf("Fetched %d tensors, expected %d", got, want) 91 if got, want := fetched[0].Value().([]int32), []int32{14}; len(got) != len(want) || len(got) != 1 || got[0] != want[0] { 92 t.Fatalf("Got %v, want %v", got, want) 126 got := results[0].Value().([]int32 [all...] |
/external/expat/tests/ |
structdata.c | 124 sprintf(buffer, "wrong number of entries: got %d, expected %d", 131 const StructDataEntry *got = &storage->entries[i]; local 134 if (xcstrcmp(got->str, want->str) != 0) { 136 fail("structure got bad string"); 138 if (got->data0 != want->data0 || 139 got->data1 != want->data1 || 140 got->data2 != want->data2) { 143 "' expected (%d,%d,%d), got (%d,%d,%d)", 144 got->str, 146 got->data0, got->data1, got->data2) [all...] |
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-mips-elf/ |
mips-elf.exp | 214 # Test multi-got link. We only do this on GNU/Linux because it requires 217 run_dump_test "multi-got-1" 218 run_dump_test "multi-got-no-shared" 219 run_dump_test "multi-got-hidden-1" 220 run_dump_test "multi-got-hidden-2" 243 run_dump_test "elf-rel-got-n32-embed" \ 248 run_dump_test "elf-rel-got-n32" [list [list ld $abi_ldflags(n32)]] 252 run_dump_test "elf-rel-got-n64-linux" \ 257 run_dump_test "elf-rel-got-n64-embed" \ 262 run_dump_test "elf-rel-got-n64" [list [list ld $abi_ldflags(n64)] [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherInputStream1Test.java | 92 + data[i] + ", Got: " + res + "."); 113 int ind = 0; // index into the data array (to check the got data) 114 int got = cis.read(result); // the number of got bytes local 116 for (int j = 0; j < got - ind; j++) { 121 if (got == expected) { 123 } else if (got > expected) { 127 ind = got; 128 got += cis.read(result); 152 int ind = skip; // index into the data array (to check the got data 155 int got = skip + cis.read(result, 0, 1); \/\/ the number of got bytes local 190 int got = skipped + cis.read(result, 0, 1); \/\/ the number of got bytes local [all...] |
/prebuilts/go/darwin-x86/src/html/template/ |
html_test.go | 38 got := htmlNospaceEscaper(input) 39 if got != want { 40 t.Errorf("encode: want\n\t%q\nbut got\n\t%q", want, got) 44 got, want = html.UnescapeString(got), r.Replace(input) 45 if want != got { 46 t.Errorf("decode: want\n\t%q\nbut got\n\t%q", want, got) 69 if got := stripTags(test.input); got != test.want [all...] |
/prebuilts/go/linux-x86/src/html/template/ |
html_test.go | 38 got := htmlNospaceEscaper(input) 39 if got != want { 40 t.Errorf("encode: want\n\t%q\nbut got\n\t%q", want, got) 44 got, want = html.UnescapeString(got), r.Replace(input) 45 if want != got { 46 t.Errorf("decode: want\n\t%q\nbut got\n\t%q", want, got) 69 if got := stripTags(test.input); got != test.want [all...] |
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue21809.go | 26 t.Errorf("got %v but expected %v", ret, 9) 29 t.Errorf("got %v but expected %v", ret, 16) 32 t.Errorf("got %v but expected %v", ret, 25) 37 t.Errorf("got %v but expected %v", ret, 9) 40 t.Errorf("got %v but expected %v", ret, 16) 43 t.Errorf("got %v but expected %v", ret, 25)
|