Home
last modified time | relevance | path

Searched refs:three (Results 1 – 21 of 21) sorted by relevance

/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
DCodeSignerTest.java125 CodeSigner three = new CodeSigner(cpath, null); in testEqualsObject() local
133 assertFalse(one.equals(three)); in testEqualsObject()
134 assertFalse(three.equals(one)); in testEqualsObject()
135 assertTrue(three.equals(three)); in testEqualsObject()
137 assertFalse( three.equals(four)); in testEqualsObject()
DTimestampTest.java155 Timestamp three = new Timestamp(now, new MyCertPath(new byte[] { 10, in testHashCode() local
160 assertTrue(one.hashCode() != three.hashCode()); in testHashCode()
161 assertTrue(two.hashCode() != three.hashCode()); in testHashCode()
/dalvik/tests/047-returns/
Dexpected.txt10 three running
/dalvik/tests/078-polymorphic-virtual/
Dinfo.txt2 calless invoked 10,000,000 times each in three threads.
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DConcurrentModTest.java50 Double three = new Double(3.0); in testGet() local
54 al.add(three); in testGet()
100 Double three = new Double(3.0); in testSet() local
104 al.add(three); in testSet()
136 Double three = new Double(3.0); in testAdd() local
140 al.add(three); in testAdd()
172 Double three = new Double(3.0); in testRemove() local
176 al.add(three); in testRemove()
244 Double three = new Double(3.0); in testAddAll() local
248 al.add(three); in testAddAll()
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
DAtomicReferenceArrayTest.java52 Integer[] a = { two, one, three, four, seven}; in testConstructor2()
124 while(!a.compareAndSet(0, two, three)) Thread.yield(); in testCompareAndSetInMultipleThreads()
131 assertEquals(a.get(0), three); in testCompareAndSetInMultipleThreads()
199 Integer[] a = { two, one, three, four, seven}; in testToString()
DCopyOnWriteArraySetTest.java61 v.add(three); in testAddAll()
75 v.add(three); in testAddAll2()
97 full.add(three); in testAdd3()
98 assertTrue(full.contains(three)); in testAdd3()
DCopyOnWriteArrayListTest.java76 v.add(three); in testAddAll()
90 v.add(three); in testAddAllAbsent()
111 full.addIfAbsent(three); in testAddIfAbsent2()
112 assertTrue(full.contains(three)); in testAddIfAbsent2()
273 full.add(three); in testLastIndexOf1()
284 full.add(three); in testlastIndexOf2()
286 assertEquals(-1, full.lastIndexOf(three, 3)); in testlastIndexOf2()
DAtomicReferenceTest.java73 while(!ai.compareAndSet(two, three)) Thread.yield(); in testCompareAndSetInMultipleThreads()
80 assertEquals(ai.get(), three); in testCompareAndSetInMultipleThreads() local
DAtomicMarkableReferenceTest.java102 while(!ai.compareAndSet(two, three, false, false)) Thread.yield(); in testCompareAndSetInMultipleThreads()
109 assertEquals(ai.getReference(), three); in testCompareAndSetInMultipleThreads() local
DAtomicReferenceFieldUpdaterTest.java140 … while(!a.compareAndSet(AtomicReferenceFieldUpdaterTest.this, two, three)) Thread.yield(); in testCompareAndSetInMultipleThreads()
147 assertEquals(a.get(this), three); in testCompareAndSetInMultipleThreads() local
DAtomicStampedReferenceTest.java102 while(!ai.compareAndSet(two, three, 0, 0)) Thread.yield(); in testCompareAndSetInMultipleThreads()
109 assertEquals(ai.getReference(), three); in testCompareAndSetInMultipleThreads() local
DExchangerTest.java202 threadAssertEquals(w, three); in testReplacementAfterExchange()
212 Object w = e.exchange(three); in testReplacementAfterExchange()
DConcurrentHashMapTest.java33 map.put(three, "C"); in map5()
149 assertTrue(s.contains(three)); in testKeySet()
224 (e.getKey().equals(three) && e.getValue().equals("C")) || in testEntrySet()
240 assertTrue(empty.containsKey(three)); in testPutAll()
DConcurrentLinkedQueueTest.java453 q.add(three); in testIteratorOrdering()
471 q.add(three); in testWeaklyConsistentIteration()
493 q.add(three); in testIteratorRemove()
499 assertEquals(it.next(), three); in testIteratorRemove() local
DArrayBlockingQueueTest.java135 assertFalse(q.offer(three)); in testEmptyFull()
782 q.add(three); in testIteratorRemove()
790 assertEquals(it.next(), three); in testIteratorRemove() local
801 q.add(three); in testIteratorOrdering()
820 q.add(three); in testWeaklyConsistentIteration()
856 threadAssertFalse(q.offer(three)); in testOfferInExecutor()
858 threadAssertTrue(q.offer(three, MEDIUM_DELAY_MS, TimeUnit.MILLISECONDS)); in testOfferInExecutor()
DLinkedBlockingQueueTest.java126 assertFalse(q.offer(three)); in testEmptyFull()
788 q.add(three); in testIteratorRemove()
796 assertEquals(it.next(), three); in testIteratorRemove() local
808 q.add(three); in testIteratorOrdering()
825 q.add(three); in testWeaklyConsistentIteration()
861 threadAssertFalse(q.offer(three)); in testOfferInExecutor()
863 threadAssertTrue(q.offer(three, MEDIUM_DELAY_MS, TimeUnit.MILLISECONDS)); in testOfferInExecutor()
DJSR166TestCase.java338 static final Integer three = new Integer(3); field in JSR166TestCase
/dalvik/libcore/xml/src/test/java/tests/xml/
DSimpleBuilderTest.java89 Element three = (Element) list.item(2); in testGoodFile1() local
96 assertEquals("Rent this space!", getTextContent(three)); in testGoodFile1()
101 assertEquals("drei", three.getAttribute("three")); in testGoodFile1()
/dalvik/tests/046-reflect/src/
DMain.java43 String one, two, three, four; in showStrings() local
53 three = (String) field.get(instance); in showStrings()
55 System.out.println(" ::: " + one + ":" + two + ":" + three); in showStrings()
153 String three; in run() local
155 three = (String) field.get(this); in run()
157 + three); in run()
/dalvik/libdex/
DDexFile.h989 unsigned int one, two, three; in dexGetUtf16FromUtf8() local
997 three = *(*pUtf8Ptr)++; in dexGetUtf16FromUtf8()
1000 (three & 0x3f); in dexGetUtf16FromUtf8()