/prebuilts/go/linux-x86/src/cmd/internal/obj/ |
sizeof_test.go | 30 for _, tt := range tests { 31 want := tt._32bit 33 want = tt._64bit 35 got := reflect.TypeOf(tt.val).Size() 37 t.Errorf("unsafe.Sizeof(%T) = %d, want %d", tt.val, got, want)
|
/prebuilts/go/linux-x86/src/debug/elf/ |
elf_test.go | 43 for i, tt := range nameTests { 44 s := fmt.Sprint(tt.val) 45 if s != tt.str { 46 t.Errorf("#%d: Sprint(%d) = %q, want %q", i, tt.val, s, tt.str)
|
/prebuilts/go/linux-x86/src/net/ |
iprawsock_test.go | 64 for _, tt := range resolveIPAddrTests { 65 addr, err := ResolveIPAddr(tt.network, tt.litAddrOrName) 66 if !reflect.DeepEqual(addr, tt.addr) || !reflect.DeepEqual(err, tt.err) { 67 t.Errorf("ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err) 72 if !reflect.DeepEqual(addr2, tt.addr) || err != tt.err [all...] |
port_test.go | 47 for _, tt := range parsePortTests { 48 if port, needsLookup := parsePort(tt.service); port != tt.port || needsLookup != tt.needsLookup { 49 t.Errorf("parsePort(%q) = %d, %t; want %d, %t", tt.service, port, needsLookup, tt.port, tt.needsLookup)
|
/prebuilts/go/linux-x86/src/os/exec/ |
internal_test.go | 49 for i, tt := range tests { 50 w := &prefixSuffixSaver{N: tt.N} 51 for _, s := range tt.writes { 57 if got := string(w.Bytes()); got != tt.want { 58 t.Errorf("%d. Bytes = %q; want %q", i, got, tt.want)
|
/prebuilts/go/linux-x86/src/testing/ |
allocs_test.go | 24 for _, tt := range allocsPerRunTests { 25 if allocs := testing.AllocsPerRun(100, tt.fn); allocs != tt.allocs { 26 t.Errorf("AllocsPerRun(100, %s) = %v, want %v", tt.name, allocs, tt.allocs)
|
benchmark_test.go | 30 for _, tt := range roundDownTests { 31 actual := testing.RoundDown10(tt.v) 32 if tt.expected != actual { 33 t.Errorf("roundDown10(%d): expected %d, actual %d", tt.v, tt.expected, actual) 58 for _, tt := range roundUpTests { 59 actual := testing.RoundUp(tt.v) 60 if tt.expected != actual { 61 t.Errorf("roundUp(%d): expected %d, actual %d", tt.v, tt.expected, actual [all...] |
/prebuilts/go/darwin-x86/src/net/ |
port_test.go | 47 for _, tt := range parsePortTests { 48 if port, needsLookup := parsePort(tt.service); port != tt.port || needsLookup != tt.needsLookup { 49 t.Errorf("parsePort(%q) = %d, %t; want %d, %t", tt.service, port, needsLookup, tt.port, tt.needsLookup)
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
lex_test.go | 39 for _, tt := range tests { 40 got := pragmaFields(tt.in) 41 if !eq(got, tt.want) { 42 t.Errorf("pragmaFields(%q) = %v; want %v", tt.in, got, tt.want) 72 for _, tt := range tests { 73 got := pragcgo(tt.in) 74 if got != tt.want { 75 t.Errorf("pragcgo(%q) = %q; want %q", tt.in, got, tt.want [all...] |
/prebuilts/go/darwin-x86/src/debug/plan9obj/ |
file_test.go | 45 tt := &fileTests[i] 47 f, err := Open(tt.file) 52 if !reflect.DeepEqual(f.FileHeader, tt.hdr) { 53 t.Errorf("open %s:\n\thave %#v\n\twant %#v\n", tt.file, f.FileHeader, tt.hdr) 58 if i >= len(tt.sections) { 62 want := tt.sections[i] 64 t.Errorf("open %s, section %d:\n\thave %#v\n\twant %#v\n", tt.file, i, have, want) 67 tn := len(tt.sections) 70 t.Errorf("open %s: len(Sections) = %d, want %d", tt.file, fn, tn [all...] |
/prebuilts/go/darwin-x86/src/testing/ |
benchmark_test.go | 30 for _, tt := range roundDownTests { 31 actual := testing.RoundDown10(tt.v) 32 if tt.expected != actual { 33 t.Errorf("roundDown10(%d): expected %d, actual %d", tt.v, tt.expected, actual) 58 for _, tt := range roundUpTests { 59 actual := testing.RoundUp(tt.v) 60 if tt.expected != actual { 61 t.Errorf("roundUp(%d): expected %d, actual %d", tt.v, tt.expected, actual [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
lex_test.go | 39 for _, tt := range tests { 40 got := pragmaFields(tt.in) 41 if !eq(got, tt.want) { 42 t.Errorf("pragmaFields(%q) = %v; want %v", tt.in, got, tt.want) 72 for _, tt := range tests { 73 got := pragcgo(tt.in) 74 if got != tt.want { 75 t.Errorf("pragcgo(%q) = %q; want %q", tt.in, got, tt.want [all...] |
/prebuilts/go/linux-x86/src/debug/plan9obj/ |
file_test.go | 45 tt := &fileTests[i] 47 f, err := Open(tt.file) 52 if !reflect.DeepEqual(f.FileHeader, tt.hdr) { 53 t.Errorf("open %s:\n\thave %#v\n\twant %#v\n", tt.file, f.FileHeader, tt.hdr) 58 if i >= len(tt.sections) { 62 want := tt.sections[i] 64 t.Errorf("open %s, section %d:\n\thave %#v\n\twant %#v\n", tt.file, i, have, want) 67 tn := len(tt.sections) 70 t.Errorf("open %s: len(Sections) = %d, want %d", tt.file, fn, tn [all...] |
/prebuilts/go/darwin-x86/src/bytes/ |
bytes_test.go | 54 for _, tt := range compareTests { 55 eql := Equal(tt.a, tt.b) 56 if eql != (tt.i == 0) { 57 t.Errorf(`Equal(%q, %q) = %v`, tt.a, tt.b, eql) 59 eql = EqualPortable(tt.a, tt.b) 60 if eql != (tt.i == 0) { 61 t.Errorf(`EqualPortable(%q, %q) = %v`, tt.a, tt.b, eql [all...] |
/prebuilts/go/linux-x86/src/bytes/ |
bytes_test.go | 54 for _, tt := range compareTests { 55 eql := Equal(tt.a, tt.b) 56 if eql != (tt.i == 0) { 57 t.Errorf(`Equal(%q, %q) = %v`, tt.a, tt.b, eql) 59 eql = EqualPortable(tt.a, tt.b) 60 if eql != (tt.i == 0) { 61 t.Errorf(`EqualPortable(%q, %q) = %v`, tt.a, tt.b, eql [all...] |
/prebuilts/go/darwin-x86/src/cmd/fix/ |
main_test.go | 76 for _, tt := range testCases { 77 // Apply fix: should get tt.Out. 78 out, fixed, ok := parseFixPrint(t, tt.Fn, tt.Name, tt.In, true) 84 out, _, ok = parseFixPrint(t, fnop, tt.Name, out, false) 89 if out != tt.Out { 90 t.Errorf("%s: incorrect output.\n", tt.Name) 91 if !strings.HasPrefix(tt.Name, "testdata/") { 92 t.Errorf("--- have\n%s\n--- want\n%s", out, tt.Out [all...] |
/prebuilts/go/linux-x86/src/cmd/fix/ |
main_test.go | 76 for _, tt := range testCases { 77 // Apply fix: should get tt.Out. 78 out, fixed, ok := parseFixPrint(t, tt.Fn, tt.Name, tt.In, true) 84 out, _, ok = parseFixPrint(t, fnop, tt.Name, out, false) 89 if out != tt.Out { 90 t.Errorf("%s: incorrect output.\n", tt.Name) 91 if !strings.HasPrefix(tt.Name, "testdata/") { 92 t.Errorf("--- have\n%s\n--- want\n%s", out, tt.Out [all...] |
/external/boringssl/src/crypto/asn1/ |
tasn_fre.c | 80 const ASN1_TEMPLATE *tt = NULL, *seqtt; local 117 tt = it->templates + i; 118 pchval = asn1_get_field_ptr(pval, tt); 119 ASN1_template_free(pchval, tt); 156 tt = it->templates + it->tcount - 1; 157 for (i = 0; i < it->tcount; tt--, i++) { 159 seqtt = asn1_do_adb(pval, tt, 0); 175 void ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) 178 if (tt->flags & ASN1_TFLG_SK_MASK) { 183 asn1_item_combine_free(&vtmp, ASN1_ITEM_ptr(tt->item), 0) [all...] |
/external/boringssl/src/crypto/des/ |
internal.h | 178 uint32_t tt; \ 179 PERM_OP(r, l, tt, 4, 0x0f0f0f0fL); \ 180 PERM_OP(l, r, tt, 16, 0x0000ffffL); \ 181 PERM_OP(r, l, tt, 2, 0x33333333L); \ 182 PERM_OP(l, r, tt, 8, 0x00ff00ffL); \ 183 PERM_OP(r, l, tt, 1, 0x55555555L); \ 188 uint32_t tt; \ 189 PERM_OP(l, r, tt, 1, 0x55555555L); \ 190 PERM_OP(r, l, tt, 8, 0x00ff00ffL); \ 191 PERM_OP(l, r, tt, 2, 0x33333333L); [all...] |
/prebuilts/go/darwin-x86/src/encoding/csv/ |
reader_test.go | 266 for _, tt := range readTests { 267 r := NewReader(strings.NewReader(tt.Input)) 268 r.Comment = tt.Comment 269 if tt.UseFieldsPerRecord { 270 r.FieldsPerRecord = tt.FieldsPerRecord 274 r.LazyQuotes = tt.LazyQuotes 275 r.TrailingComma = tt.TrailingComma 276 r.TrimLeadingSpace = tt.TrimLeadingSpace 277 if tt.Comma != 0 { 278 r.Comma = tt.Comm [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/ |
address_darwin_test.go | 52 for i, tt := range tests { 53 as, err := parseAddrs(tt.attrs, tt.fn, tt.b) 58 if !reflect.DeepEqual(as, tt.as) { 59 t.Errorf("#%d: got %+v; want %+v", i, as, tt.as)
|
/prebuilts/go/linux-x86/src/encoding/csv/ |
reader_test.go | 266 for _, tt := range readTests { 267 r := NewReader(strings.NewReader(tt.Input)) 268 r.Comment = tt.Comment 269 if tt.UseFieldsPerRecord { 270 r.FieldsPerRecord = tt.FieldsPerRecord 274 r.LazyQuotes = tt.LazyQuotes 275 r.TrailingComma = tt.TrailingComma 276 r.TrimLeadingSpace = tt.TrimLeadingSpace 277 if tt.Comma != 0 { 278 r.Comma = tt.Comm [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/ |
address_darwin_test.go | 52 for i, tt := range tests { 53 as, err := parseAddrs(tt.attrs, tt.fn, tt.b) 58 if !reflect.DeepEqual(as, tt.as) { 59 t.Errorf("#%d: got %+v; want %+v", i, as, tt.as)
|
/system/nfc/halimpl/bcm2079x/gki/common/ |
gki_time.c | 47 uint8_t tt; local 56 for (tt = 0; tt < GKI_MAX_TASKS; tt++) { 57 gki_cb.com.OSWaitTmr[tt] = 0; 60 gki_cb.com.OSTaskTmr0[tt] = 0; 61 gki_cb.com.OSTaskTmr0R[tt] = 0; 65 gki_cb.com.OSTaskTmr1[tt] = 0; 66 gki_cb.com.OSTaskTmr1R[tt] = 0; 70 gki_cb.com.OSTaskTmr2[tt] = 0 103 uint8_t tt; local 551 uint8_t tt; local 762 uint8_t tt; local 851 uint8_t tt; local [all...] |
/system/nfc/src/gki/common/ |
gki_time.c | 46 uint8_t tt; local 55 for (tt = 0; tt < GKI_MAX_TASKS; tt++) { 56 gki_cb.com.OSWaitTmr[tt] = 0; 59 gki_cb.com.OSTaskTmr0[tt] = 0; 60 gki_cb.com.OSTaskTmr0R[tt] = 0; 64 gki_cb.com.OSTaskTmr1[tt] = 0; 65 gki_cb.com.OSTaskTmr1R[tt] = 0; 69 gki_cb.com.OSTaskTmr2[tt] = 0 102 uint8_t tt; local 544 uint8_t tt; local 749 uint8_t tt; local 837 uint8_t tt; local [all...] |