Home
last modified time | relevance | path

Searched refs:item1 (Results 1 – 25 of 52) sorted by relevance

123

/external/cbor-java/src/test/java/co/nstant/in/cbor/model/
DChunkableDataItemTest.java20 TestDataItem item1 = new TestDataItem(); in testEquals() local
22 assertEquals(item1, item2); in testEquals()
23 item1.setChunked(true); in testEquals()
25 assertFalse(item1.equals(item2)); in testEquals()
26 assertFalse(item1.equals(null)); in testEquals()
/external/libchrome/base/containers/
Dmru_cache_unittest.cc54 CachedItem item1(10); in TEST() local
55 Cache::iterator inserted_item = cache.Put(kItem1Key, item1); in TEST()
68 EXPECT_EQ(item1.value, found->second.value); in TEST()
81 EXPECT_EQ(item1.value, oldest->second.value); in TEST()
89 EXPECT_EQ(item1.value, test_item->second.value); in TEST()
108 EXPECT_EQ(item1.value, next->second.value); in TEST()
115 cache.Put(kItem1Key, item1); in TEST()
127 CachedItem item1(10); in TEST() local
128 cache.Put(kItem1Key, item1); in TEST()
142 EXPECT_EQ(item1.value, iter->second.value); in TEST()
[all …]
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DCopyOnWriteMultisetTest.java34 String item1 = "a string"; in multipleEqualObjectsCountedAsExpected() local
40 multiset.add(item1); in multipleEqualObjectsCountedAsExpected()
50 String item1 = "a string"; in removingObjectDecrementsCount() local
56 multiset.add(item1); in removingObjectDecrementsCount()
68 String item1 = "a string"; in removingLastObjectRemovesCompletely() local
74 multiset.add(item1); in removingLastObjectRemovesCompletely()
/external/pigweed/pw_containers/
Dintrusive_list_test.cc145 TestItem item1(kMagicValue); in TEST() local
147 list.push_back(item1); in TEST()
153 TestItem item1(1); in TEST() local
158 list.push_back(item1); in TEST()
171 TestItem item1(1); in TEST() local
176 list.push_back(item1); in TEST()
257 TestItem item1(42); in TEST() local
260 list.push_back(item1); in TEST()
295 TestItem item1(kValue1); in TEST() local
302 list.push_front(item1); in TEST()
[all …]
/external/fmtlib/test/fuzzing/
Dtwo-args.cc17 const Item1 item1 = assign_from_buf<Item1>(data); in invoke_fmt() local
27 std::string message = fmt::format(format_str, item1, item2); in invoke_fmt()
30 fmt::format_to(message, format_str, item1, item2); in invoke_fmt()
/external/cldr/tools/java/org/unicode/cldr/util/
DSetComparator.java19 T item1 = i1.next(); in compare() local
21 diff = item1.compareTo(item2); in compare()
DTestStateDictionaryBuilder.java297 Entry<CharSequence, T> item1 = it1.hasNext() ? it1.next() : null; in showDifference() local
299 System.out.println(item1 + ", " + item2); in showDifference()
300 if (item1 == null || item2 == null || !item1.equals(item2)) { in showDifference()
301 return item1 + "!=" + item2; in showDifference()
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_widgets.py1440 item1 = self.tv.insert('', 'end')
1442 self.assertEqual(self.tv.get_children(), (item1, item2))
1444 self.tv.delete(item1, item2)
1505 item1 = self.tv.insert('', 'end')
1506 self.tv.focus(item1)
1507 self.assertEqual(self.tv.focus(), item1)
1509 self.tv.delete(item1)
1574 item1 = self.tv.insert('', 'end')
1576 c1 = self.tv.insert(item1, 'end')
1577 c2 = self.tv.insert(item1, 'end')
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py1264 item1 = self.tv.insert('', 'end')
1266 self.assertEqual(self.tv.get_children(), (item1, item2))
1268 self.tv.delete(item1, item2)
1329 item1 = self.tv.insert('', 'end')
1330 self.tv.focus(item1)
1331 self.assertEqual(self.tv.focus(), item1)
1333 self.tv.delete(item1)
1396 item1 = self.tv.insert('', 'end')
1398 c1 = self.tv.insert(item1, 'end')
1399 c2 = self.tv.insert(item1, 'end')
[all …]
/external/rust/crates/syn/src/
Dtt.rs23 for item1 in s1 { in eq()
28 if TokenTreeHelper(&item1) != TokenTreeHelper(&item2) { in eq()
/external/markdown/tests/misc/
Dlists4.txt2 * item1
/external/rust/crates/futures-util/src/stream/stream/
Dzip.rs87 Poll::Ready(Some(item1)) => *this.queued1 = Some(item1), in poll_next()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DStreamServiceTest.java94 StreamItem item1 = readItem(); in testReadOutput() local
95 assertEquals(Kind.DATA, item1.kind()); in testReadOutput()
97 lines.add(item1.content().toString()); in testReadOutput()
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB20341001.input40 item1,
DB20341001.output300 item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12,
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java256 LogItem item1 = new LogItem(Log.VERBOSE, "Foo", "Bar", null); in identicalLogItemInstancesAreEqual() local
258 assertThat(item1).isEqualTo(item2); in identicalLogItemInstancesAreEqual()
259 assertThat(item2).isEqualTo(item1); in identicalLogItemInstancesAreEqual()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder_test.cc301 std::unique_ptr<GrapplerItem> item1 = in TEST_F() local
303 ASSERT_TRUE(item1 != nullptr); in TEST_F()
305 ASSERT_EQ(item1->feed.size(), 1); in TEST_F()
306 EXPECT_EQ(item1->feed[0].second.NumElements(), 64); in TEST_F()
/external/python/apitools/apitools/base/protorpclite/
Dtest_util.py106 item1 = list1[0]
109 if item1 == list2[index]:
113 unmatched1.append(item1)
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java414 protected List list(Object item1, Object item2) { in list() argument
416 list.add(item1); in list()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java408 protected List list(Object item1, Object item2) { in list() argument
410 list.add(item1); in list()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java414 protected List list(Object item1, Object item2) { in list() argument
416 list.add(item1); in list()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java414 protected List list(Object item1, Object item2) { in list() argument
416 list.add(item1); in list()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java414 protected List list(Object item1, Object item2) { in list() argument
416 list.add(item1); in list()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java414 protected List list(Object item1, Object item2) { in list() argument
416 list.add(item1); in list()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java414 protected List list(Object item1, Object item2) { in list() argument
416 list.add(item1); in list()

123