/external/tensorflow/tensorflow/go/ |
D | operation_test.go | 48 if got, want := op.Name(), "my_placeholder"; got != want { 49 t.Errorf("Got '%s', want '%s'", got, want) 51 if got, want := op.Type(), "Placeholder"; got != want { 52 t.Errorf("Got '%s', want '%s'", got, want) 78 if got, want := n, 2; got != want { 79 t.Errorf("Got %d, want %d", got, want) 81 if got, want := op.NumOutputs(), 2; got != want { 82 t.Errorf("Got %d, want %d", got, want) 141 if got, want := c.DataType(), test.dtype; got != want { 142 t.Errorf("Got DataType %v, want %v", got, want) [all …]
|
D | shape_test.go | 53 if got, want := test.shape.NumDimensions(), len(test.slice); got != want { 54 t.Errorf("Got %v, want %v", got, want) 59 if got, want := test.shape.IsFullySpecified(), test.full; got != want { 60 t.Errorf("Got %v, want %v", got, want) 62 if got, want := test.shape.String(), test.str; got != want { 63 t.Errorf("Got %v, want %v", got, want) 81 if got, want := s.String(), "?"; got != want { 82 t.Errorf("Got %q, want %q", got, want)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/ |
D | macro-la-pic.s | 9 la $5, symbol # CHECK: lw $5, %got(symbol)($gp) # encoding: [0x8f,0x85,A,A] 10 …# CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mip… 11 la $5, symbol($6) # CHECK: lw $5, %got(symbol)($gp) # encoding: [0x8f,0x85,A,A] 12 …# CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mip… 14 la $6, symbol($6) # CHECK: lw $1, %got(symbol)($gp) # encoding: [0x8f,0x81,A,A] 15 …# CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mip… 17 la $5, symbol+8 # CHECK: lw $5, %got(symbol+8)($gp) # encoding: [0x8f,0x85,A,A] 18 …# CHECK: # fixup A - offset: 0, value: %got(symbol+8), kind: fixup_M… 19 la $5, symbol+8($6) # CHECK: lw $5, %got(symbol+8)($gp) # encoding: [0x8f,0x85,A,A] 20 …# CHECK: # fixup A - offset: 0, value: %got(symbol+8), kind: fixup_M… [all …]
|
/external/llvm/test/MC/Mips/ |
D | macro-la-pic.s | 9 la $5, symbol # CHECK: lw $5, %got(symbol)($gp) # encoding: [0x8f,0x85,A,A] 10 …# CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mip… 11 la $5, symbol($6) # CHECK: lw $5, %got(symbol)($gp) # encoding: [0x8f,0x85,A,A] 12 …# CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mip… 14 la $6, symbol($6) # CHECK: lw $1, %got(symbol)($gp) # encoding: [0x8f,0x81,A,A] 15 …# CHECK: # fixup A - offset: 0, value: %got(symbol), kind: fixup_Mip… 17 la $5, symbol+8 # CHECK: lw $5, %got(symbol+8)($gp) # encoding: [0x8f,0x85,A,A] 18 …# CHECK: # fixup A - offset: 0, value: %got(symbol+8), kind: fixup_M… 19 la $5, symbol+8($6) # CHECK: lw $5, %got(symbol+8)($gp) # encoding: [0x8f,0x85,A,A] 20 …# CHECK: # fixup A - offset: 0, value: %got(symbol+8), kind: fixup_M… [all …]
|
/external/autotest/frontend/afe/ |
D | rpc_utils_unittest.py | 62 got = rpc_utils._convert_to_kwargs_only(func, (1, 2), {}) 63 self.assertEquals(got, {'a': 1, 'b': 2}) 69 got = rpc_utils._convert_to_kwargs_only(func, (), {'a': 1, 'b': 2}) 70 self.assertEquals(got, {'a': 1, 'b': 2}) 76 got = rpc_utils._convert_to_kwargs_only(func, (1, 2), {'c': 3}) 77 self.assertEquals(got, {'a': 1, 'b': 2, 'c': 3}) 83 got = rpc_utils._convert_to_kwargs_only(func, (1,), {'b': 2, 'c': 3}) 84 self.assertEquals(got, {'a': 1, 'b': 2, 'c': 3}) 90 got = rpc_utils._convert_to_kwargs_only(func, (1, 2), {}) 91 self.assertEquals(got, {'a': 1, 'b': 2}) [all …]
|
/external/syzkaller/vm/vmimpl/ |
D | merger_test.go | 48 got := string(<-merger.Output) 49 if want := "111333\n"; got != want { 50 t.Fatalf("bad line: '%s', want '%s'", got, want) 54 got = string(<-merger.Output) 55 if want := "222555\n666\n"; got != want { 56 t.Fatalf("bad line: '%s', want '%s'", got, want) 60 got = string(<-merger.Output) 61 if want := "444\n"; got != want { 62 t.Fatalf("bad line: '%s', want '%s'", got, want) 72 got = string(<-merger.Output) [all …]
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-fixup-explicit.s | 21 addi 4, 3, target@got 29 ld 1, target@got(2) 31 # CHECK-BE: addis 3, 2, target@got@ha # encoding: [0x3c,0x62,A,A] 32 # CHECK-LE: addis 3, 2, target@got@ha # encoding: [A,A,0x62,0x3c] 33 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@got@ha, kind: fi… 34 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target@got@ha, kind: fi… 37 addis 3, 2, target@got@ha 39 # CHECK-BE: addi 4, 3, target@got@l # encoding: [0x38,0x83,A,A] 40 # CHECK-LE: addi 4, 3, target@got@l # encoding: [A,A,0x83,0x38] 41 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@got@l, kind: fix… [all …]
|
D | ppc64-fixups.s | 274 addi 4, 3, target@got 282 ld 1, target@got(2) 284 # CHECK-BE: addis 3, 2, target@got@ha # encoding: [0x3c,0x62,A,A] 285 # CHECK-LE: addis 3, 2, target@got@ha # encoding: [A,A,0x62,0x3c] 286 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@got@ha, kind: fi… 287 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target@got@ha, kind: fi… 290 addis 3, 2, target@got@ha 292 # CHECK-BE: addi 4, 3, target@got@l # encoding: [0x38,0x83,A,A] 293 # CHECK-LE: addi 4, 3, target@got@l # encoding: [A,A,0x83,0x38] 294 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@got@l, kind: fix… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/PowerPC/ |
D | ppc64-fixup-explicit.s | 21 addi 4, 3, target@got 29 ld 1, target@got(2) 31 # CHECK-BE: addis 3, 2, target@got@ha # encoding: [0x3c,0x62,A,A] 32 # CHECK-LE: addis 3, 2, target@got@ha # encoding: [A,A,0x62,0x3c] 33 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@got@ha, kind: fi… 34 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target@got@ha, kind: fi… 37 addis 3, 2, target@got@ha 39 # CHECK-BE: addi 4, 3, target@got@l # encoding: [0x38,0x83,A,A] 40 # CHECK-LE: addi 4, 3, target@got@l # encoding: [A,A,0x83,0x38] 41 # CHECK-BE-NEXT: # fixup A - offset: 2, value: target@got@l, kind: fix… [all …]
|
/external/e2fsprogs/contrib/ |
D | make-sparse.c | 29 int got, total = 0; in full_read() local 33 got = read(fd, buf, count); in full_read() 34 if (got == -1) { in full_read() 39 if (got == 0) { in full_read() 45 buf += got; in full_read() 46 total += got; in full_read() 47 count -= got; in full_read() 54 int fd, got, i; in main() local 68 got = full_read(0, buf, sizeof(buf)); in main() 69 if (got == 0) in main() [all …]
|
/external/protobuf/examples/ |
D | add_person_test.go | 25 got, err := promptForAddress(strings.NewReader(in)) 29 if got.Id != 12345 { 30 t.Errorf("promptForAddress(%q) got %d, want ID %d", in, got.Id, 12345) 32 if got.Name != "Example Name" { 33 t.Errorf("promptForAddress(%q) => want name %q, got %q", "Example Name", got.Name) 35 if got.Email != "name@example.com" { 36 t.Errorf("promptForAddress(%q) => want email %q, got %q", "name@example.com", got.Email) 45 if len(got.Phones) != len(want) { 46 t.Errorf("want %d phone numbers, got %d", len(want), len(got.Phones)) 48 phones := len(got.Phones) [all …]
|
/external/flatbuffers/tests/ |
D | go_test.go | 151 if got := monster.Hp(); 80 != got { 152 fail(FailString("hp", 80, got)) 156 if got := monster.Mana(); 150 != got { 157 fail(FailString("mana", 150, got)) 160 if got := monster.Name(); !bytes.Equal([]byte("MyMonster"), got) { 161 fail(FailString("name", "MyMonster", got)) 164 if got := monster.Color(); example.ColorBlue != got { 165 fail(FailString("color", example.ColorBlue, got)) 168 if got := monster.Testbool(); true != got { 169 fail(FailString("testbool", true, got)) [all …]
|
/external/golang-protobuf/proto/ |
D | any_test.go | 55 func anyEqual(got, want proto.Message) bool { argument 57 if proto.Equal(got, want) { 60 g := expandedMarshaler.Text(got) 212 if got, want := expandedMarshaler.Text(tt.m), tt.t; got != want { 213 t.Errorf("message %v: got:\n%s\nwant:\n%s", tt.m, got, want) 215 if got, want := expandedCompactMarshaler.Text(tt.m), tt.c; got != want { 216 t.Errorf("message %v: got:\n`%s`\nwant:\n`%s`", tt.m, got, want) 224 got := proto.Clone(tt.m) 225 got.Reset() 226 if err := proto.UnmarshalText(tt.t, got); err != nil { [all …]
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 370 long got; in do_read() local 392 got = read (dev, buffer, try * block_size); in do_read() 395 if (got < 0) in do_read() 396 got = 0; in do_read() 397 if (got & 511) in do_read() 398 fprintf(stderr, _("Weird value (%ld) in do_read\n"), got); in do_read() 399 got /= block_size; in do_read() 400 if (d_flag && got == try) { in do_read() 436 return got; in do_read() 446 long got; in do_write() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | tls-pie-xform.ll | 12 ; CHECK: addis 3, 2, var_char@got@tprel@ha 13 ; CHECK-NEXT: ld 3, var_char@got@tprel@l(3) 23 ; CHECK: addis 4, 2, var_char@got@tprel@ha 24 ; CHECK-NEXT: ld 4, var_char@got@tprel@l(4) 35 ; CHECK: addis 4, 2, var_char@got@tprel@ha 36 ; CHECK-NEXT: ld 4, var_char@got@tprel@l(4) 49 ; CHECK: addis 3, 2, var_short@got@tprel@ha 50 ; CHECK-NEXT: ld 3, var_short@got@tprel@l(3) 60 ; CHECK: addis 4, 2, var_short@got@tprel@ha 61 ; CHECK-NEXT: ld 4, var_short@got@tprel@l(4) [all …]
|
/external/llvm/test/CodeGen/Mips/ |
D | hf16_1.ll | 168 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_1)(${{[0-9]+}}) 171 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_2)(${{[0-9]+}}) 174 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_5)(${{[0-9]+}}) 177 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_6)(${{[0-9]+}}) 180 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_10)(${{[0-9]+}}) 183 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_0)(${{[0-9]+}}) 186 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_1)(${{[0-9]+}}) 189 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_2)(${{[0-9]+}}) 192 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_5)(${{[0-9]+}}) 195 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_6)(${{[0-9]+}}) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/ |
D | hf16_1.ll | 168 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_1)(${{[0-9]+}}) 171 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_2)(${{[0-9]+}}) 174 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_5)(${{[0-9]+}}) 177 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_6)(${{[0-9]+}}) 180 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_10)(${{[0-9]+}}) 183 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_0)(${{[0-9]+}}) 186 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_1)(${{[0-9]+}}) 189 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_2)(${{[0-9]+}}) 192 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_5)(${{[0-9]+}}) 195 ; 1: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_6)(${{[0-9]+}}) [all …]
|
/external/autotest/utils/ |
D | labellib_unittest.py | 18 got = labellib.parse_keyval_label('pool:suites') 19 self.assertEqual(got, labellib.KeyvalLabel('pool', 'suites')) 22 got = labellib.parse_keyval_label('pool:suites:penthouse') 23 self.assertEqual(got, labellib.KeyvalLabel('pool', 'suites:penthouse')) 30 got = labellib.format_keyval_label( 32 self.assertEqual(got, 'pool:suites') 35 got = labellib.format_keyval_label( 37 self.assertEqual(got, 'pool:suites:penthouse') 136 got = labellib.parse_cros_version('lumpy-release/R27-3773.0.0') 137 self.assertEqual(got, labellib.CrosVersion('lumpy-release', 'lumpy', [all …]
|
/external/golang-protobuf/ptypes/ |
D | timestamp_test.go | 80 got := validateTimestamp(s.ts) 81 if (got == nil) != s.valid { 82 t.Errorf("validateTimestamp(%v) = %v, want %v", s.ts, got, s.valid) 89 got, err := Timestamp(s.ts) 92 } else if s.valid && got != s.t { 93 t.Errorf("Timestamp(%v) = %v, want %v", s.ts, got, s.t) 97 got, err := Timestamp(nil) 99 if got != want { 100 t.Errorf("Timestamp(nil) = %v, want %v", got, want) 109 got, err := TimestampProto(s.t) [all …]
|
/external/autotest/server/hosts/ |
D | host_info_unittest.py | 194 got = self.store.get() 195 self._verify_host_info_data(got, ['label1'], {'attrib1': 'val1'}) 201 got = self.store.get() 202 self._verify_host_info_data(got, ['label1'], {'attrib1': 'val1'}) 205 got = self.store.get() 206 self._verify_host_info_data(got, ['label1'], {'attrib1': 'val1'}) 212 got = self.store.get(force_refresh=True) 213 self._verify_host_info_data(got, ['label1'], {'attrib1': 'val1'}) 216 got = self.store.get(force_refresh=True) 217 self._verify_host_info_data(got, ['label1', 'label2'], {}) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_popen2.py | 64 got = r.read() 65 self.assertEqual(expected_out, got.strip(), "wrote %r read %r" % 66 (teststr, got)) 69 got = e.read() 70 self.assertFalse(got, "unexpected %r on stderr" % got) 91 got = r.read() 92 self.assertEqual(got, self.teststr + "\n") 104 got = r.read() 105 self.assertEqual(got, self.teststr + "\n") 106 got = e.read() [all …]
|
/external/e2fsprogs/util/ |
D | copy_sparse.c | 67 int got, total = 0; in full_read() local 71 got = read(fd, buf, count); in full_read() 72 if (got == -1) { in full_read() 77 if (got == 0) { in full_read() 83 buf += got; in full_read() 84 total += got; in full_read() 85 count -= got; in full_read() 94 ssize_t got, got2; in copy_sparse_file() local 167 got = full_read(fd, buf, bs); in copy_sparse_file() 169 if (fd == 0 && got == 0) in copy_sparse_file() [all …]
|
/external/deqp/modules/egl/ |
D | teglApiCase.cpp | 107 void ApiCase::expectBoolean (EGLBoolean expected, EGLBoolean got) in expectBoolean() argument 109 if (expected != got) in expectBoolean() 111 …d: " << eglu::getBooleanStr(expected) << ", Got: " << eglu::getBooleanStr(got) << TestLog::EndMes… in expectBoolean() 117 void ApiCase::expectNoContext (EGLContext got) in expectNoContext() argument 119 if (got != EGL_NO_CONTEXT) in expectNoContext() 124 eglDestroyContext(getDisplay(), got); in expectNoContext() 128 void ApiCase::expectNoSurface (EGLSurface got) in expectNoSurface() argument 130 if (got != EGL_NO_SURFACE) in expectNoSurface() 135 eglDestroySurface(getDisplay(), got); in expectNoSurface() 139 void ApiCase::expectNoDisplay (EGLDisplay got) in expectNoDisplay() argument [all …]
|
/external/tensorflow/tensorflow/go/op/ |
D | 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 … 92 t.Fatalf("Got %v, want %v", got, want) 126 got := results[0].Value().([]int32) 127 if len(got) != 2 || got[0] != 21718 || got[1] != 31415 { 128 t.Errorf("Got %v, want {21718, 31415}", got)
|
/external/vulkan-validation-layers/layers/ |
D | vk_layer_data.h | 30 typename std::unordered_map<void *, DATA_T *>::const_iterator got; in GetLayerDataPtr() local 33 got = layer_data_map.find(data_key); in GetLayerDataPtr() 35 if (got == layer_data_map.end()) { in GetLayerDataPtr() 39 debug_data = got->second; in GetLayerDataPtr() 47 auto got = layer_data_map.find(data_key); in FreeLayerDataPtr() local 48 assert(got != layer_data_map.end()); in FreeLayerDataPtr() 50 delete got->second; in FreeLayerDataPtr() 51 layer_data_map.erase(got); in FreeLayerDataPtr()
|