Home
last modified time | relevance | path

Searched refs:clear (Results 1 – 25 of 258) sorted by relevance

1234567891011

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java86 opsFlags = combineOpFlags(f.clear(), opsFlags); in testOpClear()
93 opsFlags = combineOpFlags(f.clear(), opsFlags); in testOpClear()
148 opsFlags = combineOpFlags(f2.clear(), opsFlags); in testPairSetAndClear()
200 assertSpliteratorMask(StreamOpFlag.DISTINCT.clear(), 0); in testSpliteratorMask()
203 assertSpliteratorMask(StreamOpFlag.SORTED.clear(), 0); in testSpliteratorMask()
206 assertSpliteratorMask(StreamOpFlag.ORDERED.clear(), 0); in testSpliteratorMask()
209 assertSpliteratorMask(StreamOpFlag.SIZED.clear(), 0); in testSpliteratorMask()
212 assertSpliteratorMask(StreamOpFlag.SHORT_CIRCUIT.clear(), 0); in testSpliteratorMask()
221 assertStreamMask(StreamOpFlag.DISTINCT.clear(), 0); in testStreamMask()
224 assertStreamMask(StreamOpFlag.SORTED.clear(), 0); in testStreamMask()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DStreamOpFlag.java283 set(Type.SPLITERATOR).set(Type.STREAM).setAndClear(Type.OP).clear(Type.TERMINAL_OP)
284 .clear(Type.UPSTREAM_TERMINAL_OP)),
298 set(Type.SPLITERATOR).set(Type.STREAM).clear(Type.OP)),
404 MaskBuilder clear(Type t) { in clear() method in StreamOpFlag.MaskBuilder
439 private final int clear; field in StreamOpFlag
452 this.clear = CLEAR_BITS << position; in StreamOpFlag()
470 public int clear() { in clear() method in StreamOpFlag
471 return clear; in clear()
503 return (flags & preserve) == clear; in isCleared()
596 public static final int NOT_DISTINCT = DISTINCT.clear;
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DBitSetTest.java67 bs.clear(6); in test_equalsLjava_lang_Object()
74 bs.clear(128); in test_equalsLjava_lang_Object()
82 bs.clear(2); in test_hashCode()
83 bs.clear(6); in test_hashCode()
86 bs.clear(3); in test_hashCode()
91 eightbs.clear(); in test_clear()
100 bs.clear(); in test_clear()
108 eightbs.clear(7); in test_clearI()
116 eightbs.clear(165); in test_clearI()
120 eightbs.clear(-1); in test_clearI()
[all …]
DCalendarTest.java43 cal.clear(); in test_setII()
48 cal.clear(); in test_setII()
54 cal.clear(); in test_setII()
72 cal.clear(); in test_setII()
78 cal.clear(); in test_setII()
84 cal.clear(); in test_setII()
90 cal.clear(); in test_setII()
96 cal.clear(); in test_setII()
102 cal.clear(); in test_setII()
108 cal.clear(); in test_setII()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java131 buf.clear(); in testAsReadOnlyBuffer()
148 readonly.clear(); in testAsReadOnlyBuffer()
166 buf.clear(); in testCompact()
222 buf.clear(); in testCompareTo()
244 buf.clear();
261 duplicate.clear();
301 buf.clear(); in testGet()
319 buf.clear(); in testGetbyteArray()
344 buf.clear(); in testGetbyteArrayintint()
400 buf.clear(); in testGetbyteArrayintint()
[all …]
DCharBufferTest.java88 buf.clear(); in testAsReadOnlyBuffer()
106 readonly.clear(); in testAsReadOnlyBuffer()
111 buf.clear(); in testAsReadOnlyBuffer()
131 readonly.clear(); in testAsReadOnlyBuffer()
139 buf.clear(); in testCompact()
193 buf.clear(); in testCompareTo()
196 other.clear(); in testCompareTo()
197 buf.clear(); in testCompareTo()
216 buf.clear();
235 duplicate.clear();
[all …]
DFloatBufferTest.java85 buf.clear(); in testAsReadOnlyBuffer()
102 readonly.clear(); in testAsReadOnlyBuffer()
111 buf.clear(); in testCompact()
173 buf.clear(); in testCompareTo()
203 buf.clear();
220 duplicate.clear();
260 buf.clear(); in testGet()
278 buf.clear(); in testGetfloatArray()
305 buf.clear(); in testGetfloatArrayintint()
361 buf.clear(); in testGetfloatArrayintint()
[all …]
DLongBufferTest.java85 buf.clear(); in testAsReadOnlyBuffer()
102 readonly.clear(); in testAsReadOnlyBuffer()
110 buf.clear(); in testCompact()
165 buf.clear(); in testCompareTo()
183 buf.clear();
200 duplicate.clear();
240 buf.clear(); in testGet()
258 buf.clear(); in testGetlongArray()
284 buf.clear(); in testGetlongArrayintint()
340 buf.clear(); in testGetlongArrayintint()
[all …]
DIntBufferTest.java85 buf.clear(); in testAsReadOnlyBuffer()
102 readonly.clear(); in testAsReadOnlyBuffer()
110 buf.clear(); in testCompact()
165 buf.clear(); in testCompareTo()
183 buf.clear();
200 duplicate.clear();
240 buf.clear(); in testGet()
258 buf.clear(); in testGetintArray()
283 buf.clear(); in testGetintArrayintint()
339 buf.clear(); in testGetintArrayintint()
[all …]
DShortBufferTest.java84 buf.clear(); in testAsReadOnlyBuffer()
101 readonly.clear(); in testAsReadOnlyBuffer()
109 buf.clear(); in testCompact()
164 buf.clear(); in testCompareTo()
182 buf.clear();
199 duplicate.clear();
239 buf.clear(); in testGet()
257 buf.clear(); in testGetshortArray()
276 buf.clear(); in testGetshortArrayintint()
326 buf.clear(); in testGetshortArrayintint()
[all …]
DDoubleBufferTest.java109 buf.clear(); in testAsReadOnlyBuffer()
126 readonly.clear(); in testAsReadOnlyBuffer()
134 buf.clear(); in testCompact()
212 buf.clear();
229 duplicate.clear();
270 buf.clear(); in testGet()
288 buf.clear(); in testGetdoubleArray()
307 buf.clear(); in testGetdoubleArrayintint()
363 buf.clear(); in testGetdoubleArrayintint()
374 buf.clear(); in testGetint()
[all …]
/libcore/luni/src/main/java/org/xml/sax/helpers/
DAttributeListImpl.java118 clear(); in setAttributeList()
180 public void clear() { in clear() method in AttributeListImpl
181 names.clear(); in clear()
182 types.clear(); in clear()
183 values.clear(); in clear()
/libcore/luni/src/test/java/dalvik/system/
DBlockGuardTest.java44 recorder.clear(); in tearDown()
104 recorder.clear(); in testFileInputStream()
123 recorder.clear(); in testFileOutputStream()
167 public void clear() { in clear() method in BlockGuardTest.RecordingPolicy
168 violations.clear(); in clear()
190 clear(); in expectAndClear()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMethodLogger.java90 public void clear() { in clear() method in MethodLogger
91 methods.clear(); in clear()
92 argLists.clear(); in clear()
/libcore/luni/src/test/java/libcore/java/util/
DOldGregorianCalendarTest.java43 g1.clear(); in test_computeTime()
58 g.clear(); in test_computeFields()
72 g.clear(); in test_hashCode()
77 g1.clear(); in test_hashCode()
DOldMapEntryTest.java34 hm.clear(); in testGetKey()
45 hm.clear(); in testGetValue()
79 hm.clear(); in testSetValue()
DCalendarTest.java151 calendar.clear(); in testSetSelfConsistent()
232 cal.clear(Calendar.HOUR_OF_DAY); in checkClear()
233 cal.clear(Calendar.HOUR); in checkClear()
234 cal.clear(Calendar.MINUTE); in checkClear()
235 cal.clear(Calendar.SECOND); in checkClear()
236 cal.clear(Calendar.MILLISECOND); in checkClear()
311 calendar.clear(); in testSetHourOfDayInEuropeLondon()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java120 m.clear(); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String()
306 m.clear(); in test_getProvidersLjava_util_Map()
312 m.clear(); in test_getProvidersLjava_util_Map()
318 m.clear(); in test_getProvidersLjava_util_Map()
325 m.clear(); in test_getProvidersLjava_util_Map()
329 m.clear(); in test_getProvidersLjava_util_Map()
335 m.clear(); in test_getProvidersLjava_util_Map()
339 m.clear(); in test_getProvidersLjava_util_Map()
343 m.clear(); in test_getProvidersLjava_util_Map()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CRLSelectorTest.java35 issuers.clear(); in testGetIssuersImmutable()
46 issuers.clear(); in testGetIssuersNamesCopy()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceTest.java47 public void clear() { in clear() method in ReferenceTest.TestWeakReference
49 super.clear(); in clear()
75 sr.clear(); in test_clear()
76 wr.clear(); in test_clear()
77 pr.clear(); in test_clear()
222 ref.clear(); in test_get()
/libcore/luni/src/test/java/libcore/util/
DCollectionUtilsTest.java41 refs.get(1).clear(); // b in testDereferenceIterable()
62 refs.get(0).clear(); // c in testDereferenceIterable()
63 refs.get(1).clear(); // d in testDereferenceIterable()
/libcore/ojluni/src/main/java/java/lang/
DProcessEnvironment.java230 public void clear() { m.clear();} in clear() method in ProcessEnvironment.StringEnvironment
326 public void clear() { s.clear();} in clear() method in ProcessEnvironment.StringEntrySet
368 public void clear() { c.clear();}
395 public void clear() { s.clear();}
/libcore/jsr166-tests/src/test/java/jsr166/
DCollection8Test.java61 found.clear(); in testForEach()
68 found.clear(); in testForEach()
70 c.clear(); in testForEach()
/libcore/support/src/test/java/tests/util/
DCallVerificationStack.java113 public void clear() { in clear() method in CallVerificationStack
114 this.callStack.clear(); in clear()
115 super.clear(); in clear()
/libcore/ojluni/src/main/java/java/util/
DAbstractMap.java287 public void clear() { in clear() method in AbstractMap
288 entrySet().clear(); in clear()
346 public void clear() { in keySet()
347 AbstractMap.this.clear(); in keySet()
402 public void clear() { in values()
403 AbstractMap.this.clear(); in values()

1234567891011