Home
last modified time | relevance | path

Searched refs:remove (Results 1 – 25 of 2590) sorted by relevance

12345678910>>...104

/external/guava/guava-tests/test/com/google/common/cache/
DEmptyCachesTest.java160 assertFalse(keys.remove(null)); in testKeySet_empty_remove()
161 assertFalse(keys.remove(6)); in testKeySet_empty_remove()
162 assertFalse(keys.remove(-6)); in testKeySet_empty_remove()
178 keys.remove(1); in testKeySet_remove()
179 keys.remove(2); in testKeySet_remove()
180 assertFalse(keys.remove(null)); in testKeySet_remove()
181 assertFalse(keys.remove(6)); in testKeySet_remove()
182 assertFalse(keys.remove(-6)); in testKeySet_remove()
237 assertFalse(values.remove(null)); in testValues_empty_remove()
238 assertFalse(values.remove(6)); in testValues_empty_remove()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DSetPreferencesActivity.java64 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_ROW); in onDialogClosed()
65 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_INDEX); in onDialogClosed()
66 editor.remove(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED); in onDialogClosed()
67 editor.remove(PreferenceConstants.PREFERENCE_LINEAR_MODE); in onDialogClosed()
68 editor.remove(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME); in onDialogClosed()
69 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED); in onDialogClosed()
70 editor.remove(PreferenceConstants.PREFERENCE_PEARLS_TOTAL); in onDialogClosed()
71 editor.remove(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED); in onDialogClosed()
72 editor.remove(PreferenceConstants.PREFERENCE_DIFFICULTY); in onDialogClosed()
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
DMultisetRemoveTester.java46 getMultiset().remove(samples.e0, -1); in testRemoveNegative()
55 getMultiset().remove(samples.e0, 2); in testRemoveUnsupported()
63 assertEquals("old count", originalCount, getMultiset().remove(samples.e0, 0)); in testRemoveZeroNoOp()
71 1, getMultiset().remove(samples.e0, 2)); in testRemove_occurrences_present()
82 3, getMultiset().remove(samples.e0, 2)); in testRemove_some_occurrences_present()
91 0, getMultiset().remove(samples.e3, 2)); in testRemove_occurrences_absent()
100 0, getMultiset().remove(samples.e3, 2)); in testRemove_occurrences_unsupported_absent()
108 oldCount, getMultiset().remove(samples.e0, 0)); in testRemove_occurrences_0()
114 getMultiset().remove(samples.e0, -1); in testRemove_occurrences_negative()
122 0, getMultiset().remove(WrongType.VALUE, 1)); in testRemove_occurrences_wrongType()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetRemoveTester.java49 getMultiset().remove(samples.e0, -1); in testRemoveNegative()
58 getMultiset().remove(samples.e0, 2); in testRemoveUnsupported()
66 assertEquals("old count", originalCount, getMultiset().remove(samples.e0, 0)); in testRemoveZeroNoOp()
74 1, getMultiset().remove(samples.e0, 2)); in testRemove_occurrences_present()
85 3, getMultiset().remove(samples.e0, 2)); in testRemove_some_occurrences_present()
94 0, getMultiset().remove(samples.e3, 2)); in testRemove_occurrences_absent()
103 0, getMultiset().remove(samples.e3, 2)); in testRemove_occurrences_unsupported_absent()
111 oldCount, getMultiset().remove(samples.e0, 0)); in testRemove_occurrences_0()
117 getMultiset().remove(samples.e0, -1); in testRemove_occurrences_negative()
125 0, getMultiset().remove(WrongType.VALUE, 1)); in testRemove_occurrences_wrongType()
[all …]
DMultimapRemoveEntryTester.java48 assertFalse(multimap().remove(sampleKeys().e0, sampleValues().e1)); in testRemoveAbsent()
55 assertTrue(multimap().remove(sampleKeys().e0, sampleValues().e0)); in testRemovePresent()
68 assertTrue(multimap().remove(null, getValueForNullKey())); in testRemoveNullKeyPresent()
79 assertTrue(multimap().remove(getKeyForNullValue(), null)); in testRemoveNullValuePresent()
87 assertFalse(multimap().remove(null, sampleValues().e0)); in testRemoveNullKeyAbsent()
93 assertFalse(multimap().remove(sampleKeys().e0, null)); in testRemoveNullValueAbsent()
100 multimap().remove(sampleKeys().e0, null); in testRemoveNullValueForbidden()
111 multimap().remove(null, sampleValues().e0); in testRemoveNullKeyForbidden()
132 multimap().remove(key, value); in testRemovePropagatesToGet()
133 expectedCollection.remove(value); in testRemovePropagatesToGet()
[all …]
DBiMapRemoveTester.java41 getMap().remove(samples.e0.getKey()); in testRemoveKeyRemovesFromInverse()
49 getMap().keySet().remove(samples.e0.getKey()); in testRemoveKeyFromKeySetRemovesFromInverse()
57 getMap().values().remove(samples.e0.getValue()); in testRemoveFromValuesRemovesFromInverse()
65 getMap().inverse().remove(samples.e0.getValue()); in testRemoveFromInverseRemovesFromForward()
73 getMap().inverse().keySet().remove(samples.e0.getValue()); in testRemoveFromInverseKeySetRemovesFromForward()
81 getMap().inverse().values().remove(samples.e0.getKey()); in testRemoveFromInverseValuesRemovesFromInverse()
91 iterator.remove(); in testKeySetIteratorRemove()
DMultisetEntrySetTester.java65 iterator.remove(); in testEntrySet_iteratorRemovePropagates()
76 getMultiset().entrySet().remove( in testEntrySet_removePresent()
88 getMultiset().entrySet().remove( in testEntrySet_removeAbsent()
151 assertTrue(getMultiset().remove(samples.e0)); in testEntryViewReflectsRemove()
153 assertTrue(getMultiset().elementSet().remove(samples.e0)); in testEntryViewReflectsRemove()
167 itr.remove(); in testEntryReflectsIteratorRemove()
170 itr.remove(); in testEntryReflectsIteratorRemove()
172 itr.remove(); in testEntryReflectsIteratorRemove()
208 entryItr.remove(); in testEntryReflectsEntrySetIteratorRemove()
234 elementItr.remove(); in testEntryReflectsElementSetIteratorRemove()
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestFastQueue.java59 String o = q.remove(); in testQueueThenRemoveAll()
73 buf.append(q.remove()); in testQueueThenRemoveOneByOne()
75 buf.append(q.remove()); in testQueueThenRemoveOneByOne()
77 buf.append(q.remove()); in testQueueThenRemoveOneByOne()
79 buf.append(q.remove()); in testQueueThenRemoveOneByOne()
81 buf.append(q.remove()); in testQueueThenRemoveOneByOne()
93 try { q.remove(); } in testGetFromEmptyQueue()
106 q.remove(); in testGetFromEmptyQueueAfterSomeAdds()
107 q.remove(); in testGetFromEmptyQueueAfterSomeAdds()
109 try { q.remove(); } in testGetFromEmptyQueueAfterSomeAdds()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCertPathValidatorSpi.java404 criticalExtensions.remove(RFC3280CertPathUtilities.KEY_USAGE); in engineValidate()
405 criticalExtensions.remove(RFC3280CertPathUtilities.CERTIFICATE_POLICIES); in engineValidate()
406 criticalExtensions.remove(RFC3280CertPathUtilities.POLICY_MAPPINGS); in engineValidate()
407 criticalExtensions.remove(RFC3280CertPathUtilities.INHIBIT_ANY_POLICY); in engineValidate()
408 criticalExtensions.remove(RFC3280CertPathUtilities.ISSUING_DISTRIBUTION_POINT); in engineValidate()
409 criticalExtensions.remove(RFC3280CertPathUtilities.DELTA_CRL_INDICATOR); in engineValidate()
410 criticalExtensions.remove(RFC3280CertPathUtilities.POLICY_CONSTRAINTS); in engineValidate()
411 criticalExtensions.remove(RFC3280CertPathUtilities.BASIC_CONSTRAINTS); in engineValidate()
412 criticalExtensions.remove(RFC3280CertPathUtilities.SUBJECT_ALTERNATIVE_NAME); in engineValidate()
413 criticalExtensions.remove(RFC3280CertPathUtilities.NAME_CONSTRAINTS); in engineValidate()
[all …]
/external/mesa3d/src/glsl/
Dopt_dead_code_local.cpp83 entry->remove(); in kill_channels()
87 entry->remove(); in kill_channels()
188 int remove = entry->available & ir->write_mask; in process_assignment() local
193 remove, entry->ir->write_mask & ~remove); in process_assignment()
195 if (remove) { in process_assignment()
204 entry->ir->write_mask &= ~remove; in process_assignment()
205 entry->available &= ~remove; in process_assignment()
208 entry->ir->remove(); in process_assignment()
209 entry->remove(); in process_assignment()
220 if ((entry->ir->write_mask | remove) & (1 << i)) { in process_assignment()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapRemoveTester.java52 samples.e0.getValue(), getMap().remove(samples.e0.getKey())); in testRemove_present()
64 getMap().remove(samples.e0.getKey()); in testRemovePresentConcurrentWithEntrySetIteration()
78 getMap().remove(samples.e0.getKey()); in testRemovePresentConcurrentWithKeySetIteration()
92 getMap().remove(samples.e0.getKey()); in testRemovePresentConcurrentWithValuesIteration()
103 getMap().remove(samples.e3.getKey())); in testRemove_notPresent()
114 getValueForNullKey(), getMap().remove(null)); in testRemove_nullPresent()
124 getMap().remove(samples.e0.getKey()); in testRemove_unsupported()
138 getMap().remove(samples.e3.getKey())); in testRemove_unsupportedNotPresent()
152 getMap().remove(null)); in testRemove_nullQueriesNotSupported()
160 assertNull("remove(null) should return null", getMap().remove(null)); in testRemove_nullSupportedMissing()
[all …]
DCollectionRemoveTester.java50 collection.remove(samples.e0)); in testRemove_present()
62 assertTrue(collection.remove(samples.e0)); in testRemovePresentConcurrentWithIteration()
73 collection.remove(samples.e3)); in testRemove_notPresent()
83 assertTrue("remove(null) should return true", collection.remove(null)); in testRemove_nullPresent()
93 collection.remove(samples.e0); in testRemove_unsupported()
107 collection.remove(samples.e3)); in testRemove_unsupportedNotPresent()
121 collection.remove(null)); in testRemove_nullNotSupported()
129 assertFalse("remove(null) should return false", collection.remove(null)); in testRemove_nullAllowed()
139 iterator.remove(); in testIteratorRemove_unsupported()
150 assertFalse(collection.remove(WrongType.VALUE)); in testRemove_wrongType()
DListRemoveAtIndexTester.java47 getList().remove(0); in testRemoveAtIndex_unsupported()
57 getList().remove(-1); in testRemoveAtIndex_negative()
67 getList().remove(getNumElements()); in testRemoveAtIndex_tooLarge()
92 getList().remove(getNumElements() / 2); in testRemoveAtIndexConcurrentWithIteration()
109 getList().get(index), getList().remove(index)); in runRemoveTest()
111 expected.remove(index); in runRemoveTest()
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dremove.pass.cpp40 c1.remove(0); in main()
49 c1.remove(0); in main()
59 c1.remove(0); in main()
67 c1.remove(0); in main()
77 c1.remove(0); in main()
87 c1.remove(c1.front()); in main()
98 c.remove(c.front()); in main()
114 c1.remove(0); in main()
123 c1.remove(0); in main()
133 c1.remove(0); in main()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractTableTest.java134 assertNull(table.remove("cat", 1)); in testRemove()
135 assertNull(table.remove("bar", 3)); in testRemove()
137 assertEquals((Character) 'c', table.remove("foo", 3)); in testRemove()
142 assertNull(table.remove(null, 1)); in testRemove()
143 assertNull(table.remove("foo", null)); in testRemove()
144 assertNull(table.remove(null, null)); in testRemove()
148 table.remove("foo", 3); in testRemove()
160 table.remove("foo", 3); in testRowClearAndPut()
162 table.remove("foo", 1); in testRowClearAndPut()
DEvictingQueueTest.java53 assertFalse(queue.remove("hi")); in testCreateWithZeroSize()
64 queue.remove(); in testCreateWithZeroSize()
109 assertEquals("there", queue.remove()); in testEvictingAfterOne()
133 assertEquals("two", queue.remove()); in testEvictingAfterThree()
155 assertEquals("two", queue.remove()); in testAddAll()
178 assertEquals("one", copy.remove()); in testSerialization()
179 assertEquals("two", copy.remove()); in testSerialization()
180 assertEquals("three", copy.remove()); in testSerialization()
/external/guava/guava/src/com/google/common/collect/
DStandardTable.java144 @Override public V remove( in remove() method in StandardTable
153 V value = map.remove(columnKey); in remove()
155 backingMap.remove(rowKey); in remove()
166 V value = entry.getValue().remove(column); in removeColumn()
170 iterator.remove(); in removeColumn()
185 remove(rowKey, columnKey); in removeMapping()
246 @Override public void remove() { in remove() method in StandardTable.CellIterator
247 columnIterator.remove(); in remove()
249 rowIterator.remove(); in remove()
281 backingMap.remove(rowKey); in maintainEmptyInvariant()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDeque.java123 return ll.remove(o); in removeFirstOccurrence()
131 litr.remove(); in removeLastOccurrence()
146 public E remove() { in remove() method in Deque
147 return ll.remove(); in remove()
170 public boolean remove(Object o) { in remove() method in Deque
171 return ll.remove(o); in remove()
214 public void remove() { in remove() method in Deque.DescendingIterator
215 litr.remove(); in remove()
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp120 tempBuffer.remove(); in Test4074764()
127 tempBuffer.remove(); in Test4074764()
214 temp.remove(); in Test4031438()
229 temp1.remove(); in Test4031438()
261 tempBuffer.remove(); in Test4031438()
598 str.remove(); in Test4106661()
601 str.remove(); in Test4106661()
604 str.remove(); in Test4106661()
607 str.remove(); in Test4106661()
610 str.remove(); in Test4106661()
[all …]
/external/llvm/lib/Support/
DLockFileManager.cpp37 sys::fs::remove(LockFileName); in readLockFile()
54 sys::fs::remove(LockFileName); in readLockFile()
117 sys::fs::remove(UniqueLockFileName); in LockFileManager()
138 sys::fs::remove(UniqueLockFileName); in LockFileManager()
150 if ((EC = sys::fs::remove(LockFileName))) { in LockFileManager()
172 sys::fs::remove(LockFileName); in ~LockFileManager()
173 sys::fs::remove(UniqueLockFileName); in ~LockFileManager()
237 return sys::fs::remove(LockFileName); in unsafeRemoveLockFile()
/external/lldb/test/functionalities/process_launch/
DTestProcessLaunch.py48 os.remove (out_file)
53 os.remove (err_file)
82 os.remove (out_file)
103 os.remove (err_file)
145 os.remove (out_file_path)
146 os.remove (err_file_path)
187 os.remove(out_file_path)
188 os.remove(err_file_path)
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/
DTestSharedPreferences.java89 listeners.remove(listener); in unregisterOnSharedPreferenceChangeListener()
105 editsThatNeedRemove.remove(key); in putString()
112 editsThatNeedRemove.remove(key); in putInt()
119 editsThatNeedRemove.remove(key); in putLong()
126 editsThatNeedRemove.remove(key); in putFloat()
133 editsThatNeedRemove.remove(key); in putBoolean()
138 public Editor remove(String key) { in remove() method in TestSharedPreferences.TestSharedPreferencesEditor
159 previousContent.remove(key); in commit()
/external/v8/src/arm64/
Ddecoder-arm64.cc19 visitors_.remove(new_visitor); in AppendVisitor()
25 visitors_.remove(new_visitor); in PrependVisitor()
32 visitors_.remove(new_visitor); in InsertVisitorBefore()
49 visitors_.remove(new_visitor); in InsertVisitorAfter()
66 visitors_.remove(visitor); in RemoveVisitor()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java127 multiset.remove(key, -delta);
283 @Override public int remove(@Nullable Object element, int occurrences) {
295 if (countMap.remove(element, current)) {
321 return unbox(countMap.remove(element));
353 if (countMap.remove(element, occurrences)) {
402 return countMap.remove(element, oldCount);
419 @Override public boolean remove(Object object) {
421 return delegate.remove(object);
463 @Override public void remove() {
464 backingIterator.remove();
[all …]
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DConnPoolByRoute.java352 waitingThreads.remove(waitingThread);
393 issuedConnections.remove(entry.getWeakRef());
440 freeConnections.remove(entry);
441 boolean valid = idleConnHandler.remove(entry.getConnection());
541 routeToPool.remove(route);
544 idleConnHandler.remove(entry.getConnection());// not idle, but dead
563 BasicPoolEntry entry = freeConnections.remove();
587 routeToPool.remove(route);
629 waitingThread = waitingThreads.remove();
657 iter.remove();
[all …]

12345678910>>...104