Home
last modified time | relevance | path

Searched refs:Equal (Results 1 – 25 of 602) sorted by relevance

12345678910>>...25

/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_text.py45 Equal = self.assertEqual
48 Equal(get('end'), '')
49 Equal(get('end', 'end'), '')
50 Equal(get('1.0'), 'h')
51 Equal(get('1.0', '1.1'), 'h')
52 Equal(get('1.0', '1.3'), 'hel')
53 Equal(get('1.1', '1.3'), 'el')
54 Equal(get('1.0', '1.0 lineend'), 'hello')
55 Equal(get('1.0', '1.10'), 'hello')
56 Equal(get('1.0 lineend'), '\n')
[all …]
Dtest_searchengine.py94 Equal = self.assertEqual
97 Equal(se.search_reverse(prog, line, len(line)).span(), (12, 14))
98 Equal(se.search_reverse(prog, line, 14).span(), (12, 14))
99 Equal(se.search_reverse(prog, line, 13).span(), (5, 7))
100 Equal(se.search_reverse(prog, line, 7).span(), (5, 7))
101 Equal(se.search_reverse(prog, line, 6), None)
114 Equal = self.assertEqual
116 Equal(engine.getpat(), '')
118 Equal(engine.getpat(), 'hello')
120 Equal(engine.isre(), False)
[all …]
Dtest_formatparagraph.py23 Equal = self.assertEqual
24 Equal(fp.get_indent(self.test_comment), '')
25 Equal(fp.get_indent(self.trailingws_comment), '')
26 Equal(fp.get_indent(self.leadingws_comment), ' ')
27 Equal(fp.get_indent(self.leadingws_nocomment), ' ')
30 Equal = self.assertEqual
32 Equal(fp.get_comment_header(self.test_comment), '#')
33 Equal(fp.get_comment_header(self.trailingws_comment), '#')
34 Equal(fp.get_comment_header(self.leadingws_comment), ' #')
36 Equal(fp.get_comment_header(self.leadingws_nocomment), ' ')
[all …]
Dtest_autocomplete.py63 Equal = self.assertEqual
71 Equal(o_c_l.args, None)
76 Equal(o_c_l.args, (False, False, False, 1))
82 Equal(o_c_l.args, (False, False, False, 2))
85 Equal = self.assertEqual
97 Equal(self.autocomplete.autocomplete_event(ev), 'break')
104 Equal(self.autocomplete.autocomplete_event(ev), None)
105 Equal(o_cs.args, (False, True, True))
107 Equal(self.autocomplete.autocomplete_event(ev), 'break')
108 Equal(o_cs.args, (False, True, True))
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_text.py47 Equal = self.assertEqual
50 Equal(get('end'), '')
51 Equal(get('end', 'end'), '')
52 Equal(get('1.0'), 'h')
53 Equal(get('1.0', '1.1'), 'h')
54 Equal(get('1.0', '1.3'), 'hel')
55 Equal(get('1.1', '1.3'), 'el')
56 Equal(get('1.0', '1.0 lineend'), 'hello')
57 Equal(get('1.0', '1.10'), 'hello')
58 Equal(get('1.0 lineend'), '\n')
[all …]
Dtest_searchengine.py95 Equal = self.assertEqual
98 Equal(se.search_reverse(prog, line, len(line)).span(), (12, 14))
99 Equal(se.search_reverse(prog, line, 14).span(), (12, 14))
100 Equal(se.search_reverse(prog, line, 13).span(), (5, 7))
101 Equal(se.search_reverse(prog, line, 7).span(), (5, 7))
102 Equal(se.search_reverse(prog, line, 6), None)
115 Equal = self.assertEqual
117 Equal(engine.getpat(), '')
119 Equal(engine.getpat(), 'hello')
121 Equal(engine.isre(), False)
[all …]
Dtest_autocomplete.py70 Equal = self.assertEqual
87 Equal(acp.autocomplete_event(ev), 'break')
94 Equal(acp.autocomplete_event(ev), None)
95 Equal(open_c.args[0], ac.TAB)
97 Equal(acp.autocomplete_event(ev), 'break')
98 Equal(open_c.args[0], ac.TAB)
101 Equal = self.assertEqual
110 Equal(after.called, 0)
113 Equal(after.called, 0)
119 Equal(acp._delayed_completion_index, text.index('insert'))
[all …]
Dtest_format.py26 Equal = self.assertEqual
27 Equal(ft.get_indent(self.test_comment), '')
28 Equal(ft.get_indent(self.trailingws_comment), '')
29 Equal(ft.get_indent(self.leadingws_comment), ' ')
30 Equal(ft.get_indent(self.leadingws_nocomment), ' ')
33 Equal = self.assertEqual
35 Equal(ft.get_comment_header(self.test_comment), '#')
36 Equal(ft.get_comment_header(self.trailingws_comment), '#')
37 Equal(ft.get_comment_header(self.leadingws_comment), ' #')
39 Equal(ft.get_comment_header(self.leadingws_nocomment), ' ')
[all …]
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dgpu_op_equal.cc23 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL2(Equal, DT_HALF, DT_BOOL);
24 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL2(Equal, DT_FLOAT, DT_BOOL);
25 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL2(Equal, DT_DOUBLE, DT_BOOL);
26 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL2(Equal, DT_BOOL, DT_BOOL);
27 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL2(Equal, DT_INT8, DT_BOOL);
28 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL2(Equal, DT_INT16, DT_BOOL);
30 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL2(Equal, DT_INT64, DT_BOOL);
/external/flatbuffers/tests/
DphpTest.php112 $assert->Equal($pos->GetTest1(), 3.0);
143 $assert->Equal('Fred', $fred->getName());
338 $assert->Equal($uut->capacity(), strlen($buffer));
344 …$assert->Equal("\x63", $uut->_buffer[0]); // don't share buffer as php user might confuse referenc…
359 $assert->Equal(chr(0x01), $uut->_buffer[0]);
360 $assert->Equal(chr(0x00), $uut->_buffer[1]);
367 $assert->Equal(chr(0x00), $uut->_buffer[0]);
368 $assert->Equal(chr(0x80), $uut->_buffer[1]);
395 $assert->Equal(chr(0x0D), $uut->_buffer[0]);
396 $assert->Equal(chr(0x0C), $uut->_buffer[1]);
[all …]
/external/pigweed/pw_bytes/
Darray_test.cc28 constexpr bool Equal(const T& lhs, const U& rhs) { in Equal() function
49 static_assert(Equal(String("Hello"), kHello));
50 static_assert(Equal(String(""), std::array<byte, 0>{}));
51 static_assert(Equal(MakeArray('H', 'e', 'l', 'l', 'o'), kHello));
52 static_assert(Equal(Concat('H', kEllo), kHello));
55 static_assert(Equal(Initialized<3>('?'), kInit));
58 static_assert(Equal(Initialized<3>([](size_t i) { return i; }), kCounting)); in __anon1c74e57a0202()
61 static_assert(Equal(Initialized<3>([](size_t i) { return i; }), kCounting2)); in __anon1c74e57a0302()
64 static_assert(Equal(MakeArray(1, 2, 3, 255), kArray));
67 static_assert(Equal(MakeArray<uint8_t>(1, 2, 3, 255), kUintArray));
Dendian_test.cc91 constexpr bool Equal(const T& lhs, const U& rhs) { in Equal() function
110 static_assert(Equal(CopyInOrder(std::endian::little, '?'),
112 static_assert(Equal(CopyInOrder(std::endian::little, uint8_t{0x10}),
114 static_assert(Equal(CopyInOrder(std::endian::little, static_cast<int8_t>(0x10)),
118 static_assert(Equal(CopyInOrder(std::endian::big, '?'),
120 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<uint8_t>(0x10)),
122 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<int8_t>(0x10)),
126 static_assert(Equal(CopyInOrder(std::endian::little, uint16_t{0xAB12}),
128 static_assert(Equal(CopyInOrder(std::endian::little, static_cast<int16_t>(0xAB12)),
132 static_assert(Equal(CopyInOrder(std::endian::big, uint16_t{0xAB12}),
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util_test.cc39 EXPECT_TRUE(LiteralTestUtil::Equal(literal, literal)); in TEST()
47 EXPECT_TRUE(LiteralTestUtil::Equal(literal, literal)); in TEST()
55 EXPECT_TRUE(LiteralTestUtil::Equal(literal, literal)); in TEST()
75 EXPECT_FALSE(LiteralTestUtil::Equal(literal0, literal1)); in TEST()
76 EXPECT_FALSE(LiteralTestUtil::Equal(literal0, literal2)); in TEST()
77 EXPECT_FALSE(LiteralTestUtil::Equal(literal0, literal3)); in TEST()
78 EXPECT_FALSE(LiteralTestUtil::Equal(literal2, literal3)); in TEST()
98 EXPECT_FALSE(LiteralTestUtil::Equal(literal0, literal1)); in TEST()
99 EXPECT_FALSE(LiteralTestUtil::Equal(literal0, literal2)); in TEST()
100 EXPECT_FALSE(LiteralTestUtil::Equal(literal0, literal3)); in TEST()
[all …]
Dliteral_test_util.h56 static ::testing::AssertionResult Equal(const LiteralSlice& expected,
158 EXPECT_TRUE(Equal(LiteralUtil::CreateR0<NativeT>(expected), actual)); in ExpectR0Equal()
164 EXPECT_TRUE(Equal(LiteralUtil::CreateR1<NativeT>(expected), actual)); in ExpectR1Equal()
171 EXPECT_TRUE(Equal(LiteralUtil::CreateR2<NativeT>(expected), actual)); in ExpectR2Equal()
179 EXPECT_TRUE(Equal(LiteralUtil::CreateR3<NativeT>(expected), actual)); in ExpectR3Equal()
185 EXPECT_TRUE(Equal(LiteralUtil::CreateR2FromArray2D(expected), actual)); in ExpectR2EqualArray2D()
191 EXPECT_TRUE(Equal(LiteralUtil::CreateR3FromArray3D(expected), actual)); in ExpectR3EqualArray3D()
197 EXPECT_TRUE(Equal(LiteralUtil::CreateR4FromArray4D(expected), actual)); in ExpectR4EqualArray4D()
/external/tensorflow/tensorflow/compiler/xla/
Dshape.h183 class Equal {
185 Equal() = default;
189 Equal& IgnoreLayout() { in IgnoreLayout()
193 Equal& IgnoreTilesInLayout() { in IgnoreTilesInLayout()
197 Equal& IgnoreElementSizeInLayout() { in IgnoreElementSizeInLayout()
201 Equal& IgnoreMemorySpaceInLayout() { in IgnoreMemorySpaceInLayout()
205 Equal& MinorToMajorOnlyInLayout() { in MinorToMajorOnlyInLayout()
211 Equal& IgnoreElementType() { in IgnoreElementType()
215 Equal& IgnoreFpPrecision() { in IgnoreFpPrecision()
219 Equal& IgnoreDynamicDimension() { in IgnoreDynamicDimension()
[all …]
Dlayout_test.cc87 Layout::Equal()(Layout({0, 1, 2}, {Tile({42, 44})}), Layout({0, 1, 2}))); in TEST_F()
88 EXPECT_TRUE(Layout::Equal().IgnoreTiles()(Layout({0, 1, 2}, {Tile({42, 44})}), in TEST_F()
91 Layout::Equal()(Layout({0, 1, 2}, {}, 32), Layout({0, 1, 2}, {}, 1))); in TEST_F()
92 EXPECT_TRUE(Layout::Equal().IgnoreElementSize()(Layout({0, 1, 2}, {}, 32), in TEST_F()
94 EXPECT_TRUE(Layout::Equal().IgnoreMemorySpace()( in TEST_F()
Dlayout_util_test.cc231 EXPECT_FALSE(LayoutUtil::Equal(shape.tuple_shapes(0).layout(), in TEST_F()
234 EXPECT_TRUE(LayoutUtil::Equal(shape.tuple_shapes(0).layout(), in TEST_F()
236 EXPECT_TRUE(LayoutUtil::Equal( in TEST_F()
242 EXPECT_TRUE(LayoutUtil::Equal(LayoutUtil::MakeLayout({1, 0}), in TEST_F()
244 EXPECT_TRUE(LayoutUtil::Equal(LayoutUtil::MakeLayout({2, 1, 0}), in TEST_F()
246 EXPECT_TRUE(LayoutUtil::Equal(LayoutUtil::MakeLayout({3, 2, 1, 0}), in TEST_F()
249 LayoutUtil::Equal(LayoutUtil::MakeLayout({4, 3, 2, 1, 0}), in TEST_F()
255 EXPECT_TRUE(LayoutUtil::Equal(LayoutUtil::MakeDescendingLayout(5), in TEST_F()
257 EXPECT_TRUE(LayoutUtil::Equal(LayoutUtil::MakeDescendingLayout(1), in TEST_F()
259 EXPECT_TRUE(LayoutUtil::Equal(LayoutUtil::MakeDescendingLayout(0), in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_simplifier_test.cc432 ShapeUtil::Equal(new_while_op->shape(), in TEST_F()
613 EXPECT_TRUE(ShapeUtil::Equal(new_while->shape(), flat_tuple)); in TEST_F()
614 EXPECT_TRUE(ShapeUtil::Equal( in TEST_F()
616 EXPECT_TRUE(ShapeUtil::Equal( in TEST_F()
618 EXPECT_TRUE(ShapeUtil::Equal( in TEST_F()
621 EXPECT_TRUE(ShapeUtil::Equal( in TEST_F()
697 EXPECT_TRUE(ShapeUtil::Equal(new_while->shape(), new_while_shape)); in TEST_F()
698 EXPECT_TRUE(ShapeUtil::Equal( in TEST_F()
700 EXPECT_TRUE(ShapeUtil::Equal( in TEST_F()
703 EXPECT_TRUE(ShapeUtil::Equal( in TEST_F()
[all …]
Dshape_inference_test.cc70 EXPECT_TRUE(ShapeUtil::Equal(expected_inferred_shape, in ExpectInferredReduceShape()
110 ASSERT_TRUE(ShapeUtil::Equal(matrix_shape, inferred_status.ValueOrDie())); in TEST_F()
136 ASSERT_TRUE(ShapeUtil::Equal(matrix_64_48_, inferred_status.ValueOrDie())); in TEST_F()
174 ASSERT_TRUE(ShapeUtil::Equal(matrix_64_48_, inferred_status.ValueOrDie())); in TEST_F()
181 ASSERT_TRUE(ShapeUtil::Equal(f32_, inferred_status.ValueOrDie())); in TEST_F()
281 ASSERT_TRUE(ShapeUtil::Equal(result, ShapeUtil::MakeShape(C64, {}))); in TEST_F()
283 ASSERT_TRUE(ShapeUtil::Equal(result, c64_32)); in TEST_F()
285 ASSERT_TRUE(ShapeUtil::Equal(result, c64_32)); in TEST_F()
287 ASSERT_TRUE(ShapeUtil::Equal(result, c64_32)); in TEST_F()
292 ASSERT_TRUE(ShapeUtil::Equal(result, c64_32_64)); in TEST_F()
[all …]
/external/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/
Dperf_puppeteer_render_skps_test.go39 assert.Equal(t, "/fake/path/to/node/bin/npm", cmd.Name)
40 assert.Equal(t, []string{"ci"}, cmd.Args)
43 assert.Equal(t, "killall", cmd.Name)
44 assert.Equal(t, []string{"chrome"}, cmd.Args)
82 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name)
83 assert.Equal(t, []string{"perf-canvaskit-with-puppeteer",
156 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name)
157 assert.Equal(t, []string{"perf-canvaskit-with-puppeteer",
199 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name)
200 assert.Equal(t, []string{"perf-canvaskit-with-puppeteer",
[all …]
/external/rust/crates/remain/src/
Dcompare.rs20 Ordering::Equal => {} in cmp()
31 ("_", "_") => return Ordering::Equal, in cmp_segment()
47 Ordering::Equal => {} in cmp_segment()
54 Ordering::Equal => {} in cmp_segment()
59 (None, None) => return Ordering::Equal, in cmp_segment()
/external/skia/infra/bots/task_drivers/perf_puppeteer_canvas/
Dperf_puppeteer_canvas_test.go38 assert.Equal(t, "/fake/path/to/node/bin/npm", cmd.Name)
39 assert.Equal(t, []string{"ci"}, cmd.Args)
71 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name)
72 assert.Equal(t, []string{"perf-canvaskit-with-puppeteer",
107 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name)
108 assert.Equal(t, []string{"perf-canvaskit-with-puppeteer",
156 assert.Equal(t, `{
/external/deqp-deps/amber/src/
Dtype_test.cc120 EXPECT_TRUE(n1.Equal(&n2)); in TEST_F()
121 EXPECT_FALSE(n1.Equal(&n3)); in TEST_F()
122 EXPECT_FALSE(n1.Equal(&n4)); in TEST_F()
123 EXPECT_FALSE(n1.Equal(&l)); in TEST_F()
124 EXPECT_FALSE(n1.Equal(&s)); in TEST_F()
143 EXPECT_TRUE(l1.Equal(&l2)); in TEST_F()
146 EXPECT_FALSE(l1.Equal(&l2)); in TEST_F()
150 EXPECT_FALSE(l1.Equal(&l3)); in TEST_F()
154 EXPECT_FALSE(l1.Equal(&l4)); in TEST_F()
158 EXPECT_FALSE(l1.Equal(&l5)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_pad_for_convolutions_test.cc53 EXPECT_TRUE(ShapeUtil::Equal(root->operand(0)->shape(), in TEST_F()
55 EXPECT_TRUE(ShapeUtil::Equal(root->operand(1)->shape(), in TEST_F()
76 EXPECT_TRUE(ShapeUtil::Equal(root->operand(0)->shape(), in TEST_F()
78 EXPECT_TRUE(ShapeUtil::Equal(root->operand(1)->shape(), in TEST_F()
187 EXPECT_TRUE(ShapeUtil::Equal(root->operand(0)->shape(), in TEST_F()
189 EXPECT_TRUE(ShapeUtil::Equal(root->operand(1)->shape(), in TEST_F()
212 EXPECT_TRUE(ShapeUtil::Equal(root->operand(0)->shape(), in TEST_F()
215 EXPECT_TRUE(ShapeUtil::Equal(root->operand(1)->shape(), in TEST_F()
/external/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/
Dperf_puppeteer_skottie_frames_test.go38 assert.Equal(t, "/fake/path/to/node/bin/npm", cmd.Name)
39 assert.Equal(t, []string{"ci"}, cmd.Args)
77 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name)
78 assert.Equal(t, []string{"perf-canvaskit-with-puppeteer",
118 assert.Equal(t, "/fake/path/to/node/bin/node", cmd.Name)
119 assert.Equal(t, []string{"perf-canvaskit-with-puppeteer",
170 assert.Equal(t, `{
269 assert.Equal(t, `{

12345678910>>...25