/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | OldAttributesTest.java | 56 .get(new Attributes.Name("1"))); 57 assertNull("b) Incorrect value returned", a.get("0")); 58 assertNull("b) Incorrect value returned", a.get("1"));
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | SignedObject.java | 254 content = ((byte[])fields.get("content", null)).clone(); 255 signature = ((byte[])fields.get("signature", null)).clone(); 256 thealgorithm = (String)fields.get("thealgorithm", null);
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
H A D | TestIsoWeekFields.java | 173 assertEquals(adjusted.get(DAY_OF_WEEK), j); 174 assertEquals(adjusted.get(weekField), week); 175 assertEquals(adjusted.get(yearField), wby); 202 assertEquals(adjusted.get(weekField), j); 203 assertEquals(adjusted.get(DAY_OF_WEEK), dow); 204 assertEquals(adjusted.get(yearField), wby); 230 assertEquals(adjusted.get(yearField), j); 231 assertEquals(adjusted.get(DAY_OF_WEEK), dow); 232 assertEquals(adjusted.get(weekField), (week == 53 && wbyLen(j) == 52 ? 52 : week), "" + date + " " + adjusted); 258 assertEquals(adjusted.get(yearFiel [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKLocalTime.java | 621 // get(TemporalField) 626 assertEquals(test.get(ChronoField.HOUR_OF_DAY), 12); 627 assertEquals(test.get(ChronoField.MINUTE_OF_HOUR), 30); 628 assertEquals(test.get(ChronoField.SECOND_OF_MINUTE), 40); 629 assertEquals(test.get(ChronoField.NANO_OF_SECOND), 987654321); 631 assertEquals(test.get(ChronoField.SECOND_OF_DAY), 12 * 3600 + 30 * 60 + 40); 632 assertEquals(test.get(ChronoField.MINUTE_OF_DAY), 12 * 60 + 30); 633 assertEquals(test.get(ChronoField.HOUR_OF_AMPM), 0); 634 assertEquals(test.get(ChronoField.CLOCK_HOUR_OF_AMPM), 12); 635 assertEquals(test.get(ChronoFiel [all...] |
/libcore/benchmarks/src/benchmarks/ |
H A D | ArrayListIterationBenchmark.java | 35 sum += list.get(i).mSplat;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeListImpl.java | 58 return children.get(index);
|
/libcore/luni/src/main/native/ |
H A D | NetFd.h | 41 int get() const { function in class:NetFd
|
H A D | NetworkUtilities.cpp | 76 if (byteArray.get() == NULL) { 79 env->SetByteArrayRegion(byteArray.get(), 0, addressLength, 88 NULL, byteArray.get(), scope_id); 111 ss.ss_family = env->GetIntField(holder.get(), familyFid); 133 if (addressBytes.get() == NULL) { 150 env->GetByteArrayRegion(addressBytes.get(), 0, 16, dst); 160 sin6.sin6_scope_id = env->GetIntField(holder6.get(), scopeFid); 172 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst); 184 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | HashtableTest.java | 86 assertEquals("one1", ht.get("one")); 87 assertEquals("two2", ht.get("two")); 88 assertEquals("three3", ht.get("three")); 161 Object[] table2 = (Object[]) tableField.get(hashtable2);
|
H A D | OldAndroidTreeMapTest.java | 77 String tms = tm.get(vv); 78 String hms = hm.get(vv); 98 String tms = tm.get(vv); 99 String hms = hm.get(vv);
|
/libcore/ojluni/src/main/java/java/nio/ |
H A D | ByteBufferAsDoubleBuffer.java | 92 public double get() { method in class:ByteBufferAsDoubleBuffer 93 return get(nextGetIndex()); 96 public double get(int i) { method in class:ByteBufferAsDoubleBuffer 100 public DoubleBuffer get(double[] dst, int offset, int length) { method in class:ByteBufferAsDoubleBuffer
|
H A D | ByteBufferAsFloatBuffer.java | 91 public float get() { method in class:ByteBufferAsFloatBuffer 92 return get(nextGetIndex()); 95 public float get(int i) { method in class:ByteBufferAsFloatBuffer 99 public FloatBuffer get(float[] dst, int offset, int length) { method in class:ByteBufferAsFloatBuffer
|
H A D | ByteBufferAsIntBuffer.java | 91 public int get() { method in class:ByteBufferAsIntBuffer 92 return get(nextGetIndex()); 95 public int get(int i) { method in class:ByteBufferAsIntBuffer 99 public IntBuffer get(int[] dst, int offset, int length) { method in class:ByteBufferAsIntBuffer
|
H A D | ByteBufferAsLongBuffer.java | 91 public long get() { method in class:ByteBufferAsLongBuffer 92 return get(nextGetIndex()); 95 public long get(int i) { method in class:ByteBufferAsLongBuffer 99 public LongBuffer get(long[] dst, int offset, int length) { method in class:ByteBufferAsLongBuffer
|
H A D | ByteBufferAsShortBuffer.java | 89 public short get() { method in class:ByteBufferAsShortBuffer 90 return get(nextGetIndex()); 93 public short get(int i) { method in class:ByteBufferAsShortBuffer 98 public ShortBuffer get(short[] dst, int offset, int length) { method in class:ByteBufferAsShortBuffer
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | CertAttrSet.java | 89 Object get(String name) method in interface:CertAttrSet
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
H A D | TestServiceLoader.java | 87 assertNotNull(chronos.get("Coptic"), "CopticChronology not found");
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | TestData.java | 98 Supplier::get, 99 s -> s.get().parallel(), 100 s -> s.get().spliterator(), 101 s -> (int) s.get().spliterator().getExactSizeIfKnown()); 128 Supplier::get, 129 s -> s.get().parallel(), 130 s -> s.get().spliterator(), 131 s -> (int) s.get().spliterator().getExactSizeIfKnown()); 159 Supplier::get, 160 s -> s.get() [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | CountTest.java | 57 expectedResult(expectedCount.get()). 68 expectedResult(expectedCount.get()). 79 expectedResult(expectedCount.get()). 90 expectedResult(expectedCount.get()).
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | TestData.java | 99 Supplier::get, 100 s -> s.get().parallel(), 101 s -> s.get().spliterator(), 102 s -> (int) s.get().spliterator().getExactSizeIfKnown()); 129 Supplier::get, 130 s -> s.get().parallel(), 131 s -> s.get().spliterator(), 132 s -> (int) s.get().spliterator().getExactSizeIfKnown()); 160 Supplier::get, 161 s -> s.get() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
H A D | AttributesTest.java | 56 assertNull("a) All entries should be null after clear", a.get("1")); 57 assertNull("b) All entries should be null after clear", a.get("2")); 58 assertNull("c) All entries should be null after clear", a.get("3")); 59 assertNull("d) All entries should be null after clear", a.get("4")); 107 * java.util.jar.Attributes#get(java.lang.Object) 155 assertEquals("Assert 2:", "tools.jar", atts2.get(Attributes.Name.CLASS_PATH)); 156 assertEquals("Assert 3: ", "1", atts2.get(Attributes.Name.MANIFEST_VERSION)); 259 assertNull(attribute.get(null)); 264 assertEquals(value, attribute.get(null)); 269 assertNull(attribute.get(nam [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | FutureTaskTest.java | 55 r = f.get(); 70 assertSame(r, f.get()); 115 assertSame(expected, f.get()); 118 assertSame(expected, f.get(5L, SECONDS)); 127 f.get(); 133 f.get(5L, SECONDS); 152 f.get(); 159 f.get(5L, SECONDS); 175 public int runCount() { return runCount.get(); } 176 public int doneCount() { return doneCount.get(); } 229 public int get() { return count.get(); } method in class:FutureTaskTest.Counter [all...] |
H A D | AbstractExecutorServiceTest.java | 74 assertNull(future.get()); 75 assertNull(future.get(0, MILLISECONDS)); 76 assertTrue(done.get()); 87 String result = future.get(); 97 future.get(); 107 String result = future.get(); 123 assertSame(TEST_STRING, future.get()); 144 assertSame(TEST_STRING, future.get()); 163 future.get(); 195 * submit(callable).get() throw [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ByteBufferTest.java | 302 * Class under test for byte get() 308 assertEquals(buf.get(), buf.get(i)); 311 buf.get(); 319 * Class under test for java.nio.ByteBuffer get(byte[]) 326 ByteBuffer ret = buf.get(array); 327 assertEquals(array[0], buf.get(i)); 331 buf.get(array); 337 buf.get((byte[])null); 345 * Class under test for java.nio.ByteBuffer get(byt [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | HashMapTest.java | 129 assertNull("Empty hashmap access", empty.get("nothing")); 131 assertTrue("cannot get element", empty.get("something") == "here"); 149 assertNull("Empty hashtable access", empty.get("nothing")); 151 assertTrue("cannot get element", empty.get("something") == "here"); 165 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 180 hm.get(objArray2[i])); 190 assertNull("Failed to clear integer map values", map.get( [all...] |