/libcore/luni/src/test/java/libcore/java/util/ |
H A D | CalendarTest.java | 48 // get(Calendar.ZONE_OFFSET) returns the zone offset of the time zone passed to setTimeZone. 50 assertEquals(0, cal.get(Calendar.ZONE_OFFSET)); 53 assertEquals(25200000, cal.get(Calendar.ZONE_OFFSET)); 156 assertEquals(year, calendar.get(Calendar.YEAR)); 157 assertEquals(month, calendar.get(Calendar.MONTH)); 158 assertEquals(day, calendar.get(Calendar.DAY_OF_MONTH)); 159 assertEquals(hour, calendar.get(Calendar.HOUR_OF_DAY)); 160 assertEquals(minute, calendar.get(Calendar.MINUTE)); 215 assertEquals("year", year, calendar.get(Calendar.YEAR)); 216 assertEquals("month", month, calendar.get(Calenda [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | ByteBuffer.java | 41 * <li><p> Absolute and relative {@link #get() <i>get</i>} and 45 * <li><p> Relative {@link #get(byte[]) <i>bulk get</i>} 55 * <li><p> Absolute and relative {@link #getChar() <i>get</i>} 128 * <i>get</i> and <i>put</i> methods for each type. For 32-bit floating-point 139 * parameters of the absolute <i>get</i> and <i>put</i> methods are in terms of 157 * type-specific <i>get</i> and <i>put</i> methods described above: 164 * <li><p> A view buffer provides relative bulk <i>get</i> and <i>put</i> 403 // -- Singleton get/pu 414 public abstract byte get(); method in class:ByteBuffer 448 public abstract byte get(int index); method in class:ByteBuffer 526 public ByteBuffer get(byte[] dst, int offset, int length) { method in class:ByteBuffer 555 public ByteBuffer get(byte[] dst) { method in class:ByteBuffer [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | domimplementationcreatedocumenttype01.java | 84 publicId = (String) publicIds.get(indexN1005D); 86 systemId = (String) systemIds.get(indexN10061);
|
H A D | isSupported12.java | 99 featureElement = (String) features.get(indexN10078); 103 featureElement = (String) features.get(indexN10083);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | CharBufferTest.java | 299 * Class under test for char get() 305 assertEquals(buf.get(), buf.get(i)); 308 buf.get(); 316 * Class under test for java.nio.CharBuffer get(char[]) 323 CharBuffer ret = buf.get(array); 324 assertEquals(array[0], buf.get(i)); 328 buf.get(array); 336 * Class under test for java.nio.CharBuffer get(char[], int, int) 343 buf.get(ne [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | LinkedListTest.java | 95 assertTrue("Failed to add Object>: " + ll.get(50).toString(), ll 96 .get(50) == o); 98 ll.get(51) == objArray[50] && (ll.get(52) == objArray[51])); 100 assertNull("Did not add null correctly", ll.get(50)); 140 assertNull("Did not add null correctly", ll.get(ll.size() - 1)); 153 assertTrue("Manipulated elements < index", ll.get(i) == objArray[i]); 156 ll.get(i) == objArray[i - 50]); 159 ll.get(i) == objArray[i - 100]); 167 assertNull("a) List w/nulls not added correctly", ll.get(5 [all...] |
H A D | AbstractListTest.java | 40 public Object get(int index) { method in class:AbstractListTest.SimpleList 41 return this.arrayList.get(index); 135 sList.get(0); 138 sList.get(0); 141 sList.get(0); 144 sList.get(0); 147 sList.get(0); 187 emptySubList.get(0); 188 fail("emptySubList.get(0) should throw IndexOutOfBoundsException"); 222 public E get(in method in class:AbstractListTest.MockArrayList 375 public E get(int location) { method in class:AbstractListTest.MockRemoveFailureArrayList [all...] |
H A D | IdentityHashMapTest.java | 91 assertNull("Empty IdentityHashMap access", empty.get("nothing")); 93 assertTrue("cannot get element", empty.get("something") == "here"); 107 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 130 hm.get(objArray2[i])); 143 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 147 // get the keySet() and values() on the original Map 217 * java.util.IdentityHashMap#get(jav [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | AddressCache.java | 25 * TODO: benchmark and optimize InetAddress until we get to the point where we can just rely on 102 public Object get(String hostname, int netId) { method in class:AddressCache 103 AddressCacheEntry entry = cache.get(new AddressCacheKey(hostname, netId));
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | ListOfTypes.java | 68 Type type = unresolved.get(i); 84 result.append(types.get(i));
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | BasicLruCache.java | 44 public final V get(K key) { method in class:BasicLruCache 51 result = map.get(key);
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | CookiesMCompatibilityTest.java | 44 Map<String, List<String>> cookies = cm.get( 58 Map<String, List<String>> cookies = cm.get(
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | SubjectAlternativeNameTest.java | 62 assertEquals(GeneralName.iPAddress, subjectAlternativeName.get(0)); 63 return (String) subjectAlternativeName.get(1);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | FindOps.java | 152 O result = helper.wrapAndCopyInto(sinkSupplier.get(), spliterator).get(); 192 public Optional<T> get() { method in class:FindOps.FindSink.OfRef 207 public OptionalInt get() { method in class:FindOps.FindSink.OfInt 222 public OptionalLong get() { method in class:FindOps.FindSink.OfLong 237 public OptionalDouble get() { method in class:FindOps.FindSink.OfDouble 285 O result = helper.wrapAndCopyInto(op.sinkSupplier.get(), spliterator).get();
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | CompletedFuture.java | 67 public V get() throws ExecutionException { method in class:CompletedFuture 74 public V get(long timeout, TimeUnit unit) throws ExecutionException { method in class:CompletedFuture
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | GeneralNames.java | 88 public GeneralName get(int index) { method in class:GeneralNames 89 return names.get(index);
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
H A D | TestExampleCode.java | 90 int day = now1.get(ChronoField.DAY_OF_MONTH); 91 int dow = now1.get(ChronoField.DAY_OF_WEEK); 92 int month = now1.get(ChronoField.MONTH_OF_YEAR); 93 int year = now1.get(ChronoField.YEAR); 150 int day = now1.get(ChronoField.DAY_OF_MONTH); 151 int dow = now1.get(ChronoField.DAY_OF_WEEK); 152 int month = now1.get(ChronoField.MONTH_OF_YEAR); 153 int year = now1.get(ChronoField.YEAR);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
H A D | FilePreferencesImplTest.java | 52 assertEquals("value1", uroot.get("ukey1", null)); 57 assertEquals("value3", uroot.get("ukey2", null)); 59 assertEquals("\u4e2d value1", uroot.get("\u4e2d key1", null)); 69 assertEquals("value1", sroot.get("skey1", null)); 71 assertEquals("\u4e2d value1", sroot.get("\u4e2d key1", null));
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | ChannelsTest.java | 81 when(result.get()).thenAnswer( 98 Mockito.verify(result).get(); 109 when(result.get()).thenAnswer( 116 bb.get(readData); 125 Mockito.verify(result).get();
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DecimalFormatSymbols.java | 58 * of these symbols, you can get the <code>DecimalFormatSymbols</code> object from 454 // Android-changed: get currencySymbol for locale. 653 // get resource bundle data 665 LocaleData localeData = LocaleData.get(locale); 919 final int serialVersionOnStream = fields.get("serialVersionOnStream", 0); 920 currencySymbol = (String) fields.get("currencySymbol", ""); 921 setDecimalSeparator(fields.get("decimalSeparator", '.')); 922 setDigit(fields.get("digit", '#')); 923 setGroupingSeparator(fields.get("groupingSeparator", ',')); 924 infinity = (String) fields.get("infinit [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | WeekFields.java | 287 // Android-changed: get Week data from ICU4J 317 WeekFields rules = CACHE.get(key); 321 rules = CACHE.get(key); 777 int isoDow = temporal.get(DAY_OF_WEEK); 788 int dom = temporal.get(DAY_OF_MONTH); 795 int doy = temporal.get(DAY_OF_YEAR); 808 int year = temporal.get(YEAR); 809 int doy = temporal.get(DAY_OF_YEAR); 839 int doy = temporal.get(DAY_OF_YEAR); 895 // Check the new value and get th [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ManifestEntryVerifier.java | 107 /* get the headers from the manifest for this entry */ 130 MessageDigest digest = createdDigests.get(algorithm); 161 digests.get(i).update(buffer); 172 digests.get(i).update(buffer, off, len); 177 * get the JarEntry for this object 205 MessageDigest digest = digests.get(i); 206 byte [] manHash = manifestHashes.get(i);
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | AbstractDateTimeTest.java | 164 // get(TemporalField) 171 sample.get(field); // no exception 174 sample.get(field); 189 sample.get(field); 201 sample.get(MockFieldNoValue.INSTANCE); 209 sample.get(null);
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldPreferencesTest.java | 83 p.get(null, null); 155 assertEquals("testClearValue", pref.get("testClearKey", null)); 156 assertEquals("testClearValue1", pref.get("testClearKey1", null)); 158 assertNull(pref.get("testClearKey", null)); 159 assertNull(pref.get("testClearKey1", null)); 165 assertNull(pref.get("", null)); 166 assertEquals("default", pref.get("key", "default")); 167 assertNull(pref.get("key", null)); 169 assertNull(pref.get("testGetKey", null)); 170 assertEquals("value", pref.get("testGetke 993 public String get(String key, String deflt) { method in class:OldPreferencesTest.MockPreferences [all...] |
/libcore/luni/src/main/native/ |
H A D | libcore_icu_ICU.cpp | 84 UResourceBundle* get() { function in class:ScopedResourceBundle 145 ScopedResourceBundle currencyMap(ures_getByKey(supplData.get(), "CurrencyMap", NULL, &status)); 151 ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status)); 156 ScopedResourceBundle currencyElem(ures_getByIndex(currency.get(), 0, NULL, &status)); 162 ScopedResourceBundle currencyTo(ures_getByKey(currencyElem.get(), "to", NULL, &status)); 169 ScopedResourceBundle currencyId(ures_getByKey(currencyElem.get(), "id", NULL, &status)); 176 const UChar* chars = ures_getString(currencyId.get(), &charCount, &status); 330 if (integerValue.get() == NULL) return false; 332 env->SetObjectField(obj, fid, integerValue.get()); 354 env->SetObjectArrayElement(result.get(), [all...] |