Searched refs:get (Results 226 - 250 of 955) sorted by relevance

1234567891011>>

/libcore/ojluni/src/test/java/time/tck/java/time/format/
H A DTCKResolverStyle.java127 assertEquals(accessor.get(ChronoField.YEAR_OF_ERA), year);
128 assertEquals(accessor.get(ChronoField.MONTH_OF_YEAR), month);
129 assertEquals(accessor.get(ChronoField.DAY_OF_MONTH), day);
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DFiles2Test.java345 Path deviceFilePath = Paths.get("/dev/null");
697 assertEquals(rootDir.getFileName(), keyList.get(0));
698 if (keyList.get(1).equals(dir1.getFileName())) {
699 assertEquals(file1.getFileName(), keyList.get(2));
700 assertEquals(dir2.getFileName(), keyList.get(3));
701 assertEquals(file2.getFileName(), keyList.get(4));
702 } else if (keyList.get(1).equals(dir2.getFileName())){
703 assertEquals(file2.getFileName(), keyList.get(2));
704 assertEquals(dir1.getFileName(), keyList.get(3));
705 assertEquals(file1.getFileName(), keyList.get(
[all...]
H A DFilesSetup.java77 dataFilePath = Paths.get(testDir, DATA_FILE);
78 testPath = Paths.get(testDir, NON_EXISTENT_FILE);
117 Path root = Paths.get(testDir);
188 return Paths.get(getTestDir(), path);
/libcore/luni/src/main/native/
H A Djava_math_NativeBN.cpp178 if (bytes.get() == NULL) {
181 if (!BN_bin2bn(reinterpret_cast<const unsigned char*>(bytes.get()), len, toBigNum(ret))) {
195 if (scopedArray.get() == NULL) {
201 const uint8_t* tmpBytes = reinterpret_cast<const uint8_t *>(scopedArray.get());
216 if (bytes.get() == NULL) {
225 const unsigned char* bytesTmp = reinterpret_cast<const unsigned char*>(bytes.get());
310 if (bytes.get() == NULL) {
313 BN_bn2bin(a, reinterpret_cast<unsigned char*>(bytes.get()));
335 unsigned int* uints = reinterpret_cast<unsigned int*>(ints.get());
452 if (!BN_gcd(toBigNum(r), toBigNum(a), toBigNum(b), ctx.get())) {
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DLinkedHashMapTest.java97 assertNull("Empty LinkedHashMap access", empty.get("nothing"));
99 assertTrue("cannot get element", empty.get("something") == "here");
118 assertNull("Empty hashtable access", empty.get("nothing"));
120 assertTrue("cannot get element", empty.get("something") == "here");
134 .get(objArray2[counter]) == hm2.get(objArray2[counter]));
138 * java.util.LinkedHashMap#get(java.lang.Object)
142 // java.util.LinkedHashMap.get(jav
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DCookieHandlerTest.java53 public Map get(URI uri, Map requestHeaders) throws IOException { method in class:CookieHandlerTest.MockCookieHandler
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMockResolver.java44 return entities.get("[" + publicId + ":" + systemId + "]");
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCollection8Test.java87 while (!done.get())
91 while (!done.get()) {
99 assertNull(f1.get(0L, MILLISECONDS));
100 assertNull(f2.get(0L, MILLISECONDS));
/libcore/luni/src/main/java/libcore/internal/
H A DStringPool.java43 public String get(char[] array, int start, int length) { method in class:StringPool
/libcore/luni/src/test/java/libcore/java/net/
H A DCookiesTest.java44 Map<String, List<String>> cookies = cm.get(
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFutureLikeCompletionHandler.java52 V get(long timeoutMiliseconds) throws Throwable { method in class:FutureLikeCompletionHandler
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DMessageDigestSpiTest.java150 buf.get(b);
157 buf.get();
158 buf.get();
159 buf.get();
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMImplementationCreateDocumentType.java94 publicId = (String) publicIds.get(indexN1005D);
96 systemId = (String) systemIds.get(indexN10061);
136 qualifiedName = (String) qualifiedNames.get(indexN10077);
173 qualifiedName = (String) qualifiedNames.get(indexN10077);
H A DNodeIsSupported.java102 featureXML = (String) featuresXML.get(indexN10063);
109 featureCore = (String) featuresCore.get(indexN1007C);
137 featureXML = (String) featuresXML.get(indexN10064);
144 featureCore = (String) featuresCore.get(indexN1007D);
/libcore/ojluni/src/main/java/java/lang/ref/
H A DReference.java56 * can be immediately returned. Because the referent might get swept during
102 public T get() { method in class:Reference
309 throw new AssertionError("Can't get here");
/libcore/ojluni/src/main/java/java/net/
H A DCookieHandler.java131 get(URI uri, Map<String, List<String>> requestHeaders) method in class:CookieHandler
145 * @see #get(URI, Map)
H A DResponseCache.java118 * to get the network resource. If a cached response is returned,
139 get(URI uri, String rqstMethod, Map<String, List<String>> rqstHeaders) method in class:ResponseCache
/libcore/ojluni/src/main/java/java/nio/
H A DByteBufferAsCharBuffer.java91 public char get() { method in class:ByteBufferAsCharBuffer
92 return get(nextGetIndex());
95 public char get(int i) { method in class:ByteBufferAsCharBuffer
99 public CharBuffer get(char[] dst, int offset, int length) { method in class:ByteBufferAsCharBuffer
H A DHeapCharBuffer.java110 public char get() { method in class:HeapCharBuffer
114 public char get(int i) { method in class:HeapCharBuffer
122 public CharBuffer get(char[] dst, int offset, int length) { method in class:HeapCharBuffer
187 src.get(hb, ix(position()), n);
H A DHeapDoubleBuffer.java109 public double get() { method in class:HeapDoubleBuffer
113 public double get(int i) { method in class:HeapDoubleBuffer
117 public DoubleBuffer get(double[] dst, int offset, int length) { method in class:HeapDoubleBuffer
182 src.get(hb, ix(position()), n);
H A DHeapFloatBuffer.java108 public float get() { method in class:HeapFloatBuffer
112 public float get(int i) { method in class:HeapFloatBuffer
116 public FloatBuffer get(float[] dst, int offset, int length) { method in class:HeapFloatBuffer
181 src.get(hb, ix(position()), n);
H A DHeapIntBuffer.java109 public int get() { method in class:HeapIntBuffer
113 public int get(int i) { method in class:HeapIntBuffer
117 public IntBuffer get(int[] dst, int offset, int length) { method in class:HeapIntBuffer
182 src.get(hb, ix(position()), n);
H A DHeapLongBuffer.java110 public long get() { method in class:HeapLongBuffer
114 public long get(int i) { method in class:HeapLongBuffer
118 public LongBuffer get(long[] dst, int offset, int length) { method in class:HeapLongBuffer
183 src.get(hb, ix(position()), n);
H A DHeapShortBuffer.java109 public short get() { method in class:HeapShortBuffer
113 public short get(int i) { method in class:HeapShortBuffer
117 public ShortBuffer get(short[] dst, int offset, int length) { method in class:HeapShortBuffer
182 src.get(hb, ix(position()), n);
/libcore/ojluni/src/main/java/java/time/temporal/
H A DTemporalAccessor.java109 * If false, then calling the {@link #range(TemporalField) range} and {@link #get(TemporalField) get}
206 * throw new UnsupportedTemporalTypeException("Invalid field " + field + " + for get() method, use getLong() instead");
209 * @param field the field to get, not null
217 default int get(TemporalField field) { method in interface:TemporalAccessor
220 throw new UnsupportedTemporalTypeException("Invalid field " + field + " for get() method, use getLong() instead");
249 * @param field the field to get, not null

Completed in 491 milliseconds

1234567891011>>