HomeSort by relevance Sort by last modified time
    Searched full:remove (Results 226 - 250 of 23263) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestFastQueue.java 59 String o = q.remove();
73 buf.append(q.remove());
75 buf.append(q.remove());
77 buf.append(q.remove());
79 buf.append(q.remove());
81 buf.append(q.remove());
93 try { q.remove(); }
106 q.remove();
107 q.remove();
109 try { q.remove(); }
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/
remove.pass.cpp 12 // void remove(const value_type& v);
29 c1.remove(0);
38 c1.remove(0);
48 c1.remove(0);
56 c1.remove(0);
66 c1.remove(0);
77 c1.remove(0);
86 c1.remove(0);
96 c1.remove(0);
104 c1.remove(0)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedQueueTest.java 35 outer.add("foo"); // necessary because we try to remove elements later on
56 public E remove() { method in class:SynchronizedQueueTest.TestQueue
58 return delegate.remove();
111 public boolean remove(Object object) { method in class:SynchronizedQueueTest.TestQueue
113 return delegate.remove(object);
160 create().remove();
170 create().remove("foo");
MinMaxPriorityQueueTest.java 213 /* remove either min or max */
275 mmHeap.remove(5);
277 assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
291 assertFalse("Heap does not contain 3", mmHeap.remove(3));
293 assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
295 assertTrue("Heap contains two 1's", mmHeap.remove(1));
297 assertTrue("Heap contains 1", mmHeap.remove(1));
299 assertTrue("Heap contains 2", mmHeap.remove(2));
302 assertFalse("Heap does not contain anything", mmHeap.remove(2));
327 mmHeap.remove(4)
    [all...]
  /external/mesa3d/src/glsl/
opt_redundant_jumps.cpp 26 * Remove certain types of redundant jumps
83 then_jump->remove();
84 else_jump->remove();
89 /* If both branchs of the if-statement are now empty, remove the
93 ir->remove();
102 /* If the last instruction of a loop body is a 'continue', remove it.
109 last->remove();
  /external/v8/test/mjsunit/compiler/
dead-loops-neg.js 40 // can only remove the loop with induction variable analysis.
47 // can only remove the loop with induction variable analysis.
54 // can only remove the loop with induction variable analysis.
63 // can only remove the loop by figuring out that all elements of {a} are 0.
68 // can only remove the loop by guarding on the type of a.
73 // can only remove the loop by guarding on the type of a.
78 // can only remove the loop by guarding on the type of a.
  /libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java 33 referenceQueue.remove(-1);
42 referenceQueue.remove(Long.MAX_VALUE);
57 referenceQueue.remove(1000);
66 assertNotNull(referenceQueue.remove());
72 assertNotNull(referenceQueue.remove(1000));
79 referenceQueue.remove();
89 referenceQueue.remove(1000);
  /libcore/luni/src/test/java/libcore/java/util/
OldPriorityQueueTest.java 49 // Even though "BB" is equivalent to "AA" using the string length comparator, remove()
51 assertFalse(queue.remove("BB"));
52 assertTrue(queue.remove("AA"));
59 assertFalse(integerQueue.remove(111));
60 assertFalse(integerQueue.remove(null));
61 assertFalse(integerQueue.remove(""));
116 q.remove(4); // 2 replaces 4 but parent is 3, siftUp(.) is needed
  /prebuilts/go/darwin-x86/src/os/
path.go 67 // Simple case: if Remove works, we're done.
68 err := Remove(path)
82 // Not a directory; return the error from Remove.
97 // Remove contents & return first error.
119 // Close directory, because windows won't remove opened directory.
122 // Remove directory.
123 err1 := Remove(path)
  /prebuilts/go/linux-x86/src/os/
path.go 67 // Simple case: if Remove works, we're done.
68 err := Remove(path)
82 // Not a directory; return the error from Remove.
97 // Remove contents & return first error.
119 // Close directory, because windows won't remove opened directory.
122 // Remove directory.
123 err1 := Remove(path)
  /prebuilts/go/darwin-x86/src/container/list/
list.go 108 // remove removes e from its list, decrements l.len, and returns e.
109 func (l *List) remove(e *Element) *Element { func
119 // Remove removes e from l if e is an element of list l.
121 func (l *List) Remove(e *Element) interface{} {
124 // in l or l == nil (e is a zero Element) and l.remove will crash
125 l.remove(e)
148 // see comment in List.Remove about initialization of l
158 // see comment in List.Remove about initialization of l
168 // see comment in List.Remove about initialization of l
169 l.insert(l.remove(e), &l.root
    [all...]
  /prebuilts/go/linux-x86/src/container/list/
list.go 108 // remove removes e from its list, decrements l.len, and returns e.
109 func (l *List) remove(e *Element) *Element { func
119 // Remove removes e from l if e is an element of list l.
121 func (l *List) Remove(e *Element) interface{} {
124 // in l or l == nil (e is a zero Element) and l.remove will crash
125 l.remove(e)
148 // see comment in List.Remove about initialization of l
158 // see comment in List.Remove about initialization of l
168 // see comment in List.Remove about initialization of l
169 l.insert(l.remove(e), &l.root
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ConcurrentLinkedQueueTest.java 108 q.remove();
109 q.remove();
120 q.remove();
274 * remove removes next element, or throws NSEE if empty
279 assertEquals(i, q.remove());
282 q.remove();
288 * remove(x) removes x and returns true if present
294 assertTrue(q.remove(i));
300 assertTrue(q.remove(i));
302 assertFalse(q.remove(i + 1))
    [all...]
  /libcore/ojluni/src/main/java/sun/security/validator/
EndEntityChecker.java 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
176 exts.remove(SimpleValidator.OID_BASIC_CONSTRAINTS);
182 exts.remove(OID_SUBJECT_ALT_NAME);
244 // remove extensions we checked
245 exts.remove(SimpleValidator.OID_KEY_USAGE);
246 exts.remove(SimpleValidator.OID_EXTENDED_KEY_USAGE);
247 exts.remove(SimpleValidator.OID_NETSCAPE_CERT_TYPE);
302 // remove extensions we checked
303 exts.remove(SimpleValidator.OID_KEY_USAGE);
304 exts.remove(SimpleValidator.OID_EXTENDED_KEY_USAGE)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
RemoteInputController.java 48 entry /* contains */, null /* remove */);
59 pruneWeakThenRemoveAndContains(null /* contains */, entry /* remove */);
69 mSpinning.remove(key);
89 return pruneWeakThenRemoveAndContains(entry /* contains */, null /* remove */);
96 pruneWeakThenRemoveAndContains(null /* contains */, null /* remove */);
101 * Prunes dangling weak references, removes entries referring to {@param remove} and returns
103 * @param remove if non-null, removes this entry from the active remote inputs
107 NotificationData.Entry contains, NotificationData.Entry remove) {
111 if (item == null || item == remove) {
112 mOpen.remove(i)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AllAppsList.java 99 * Remove the apps for the given apk identified by packageName.
108 data.remove(i);
116 * Add and remove icons for this package which has been updated.
124 // Find disabled/removed activities and remove them from data and add them
133 mIconCache.remove(component, user);
134 data.remove(i);
152 mIconCache.remove(applicationInfo.componentName, user);
158 // Remove all data for this package.
165 mIconCache.remove(component, user);
166 data.remove(i)
    [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
OpReorderer.java 24 import static android.support.v7.widget.AdapterHelper.UpdateOp.REMOVE;
48 case REMOVE:
63 // check if move is nulled out by remove
87 moveOp.cmd = REMOVE;
90 list.remove(removePos);
93 // no need to swap, it is already a remove
97 // now affect of add is consumed. now apply effect of first remove
103 extraRm = mCallback.obtainUpdateOp(REMOVE, moveOp.positionStart + 1, remaining, null);
107 // if effects of move is reverted by remove, we are done.
110 list.remove(removePos)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/go/
clean.go 17 Short: "remove object files",
44 The -i flag causes clean to remove the corresponding installed
47 The -n flag causes clean to print the remove commands it would execute,
53 The -x flag causes clean to print remove commands as it executes them.
145 // Remove dir-named executable only if this is package main.
153 // Remove package test executables.
159 // Remove a potential executable for each .go file in the directory that
186 // TODO: Remove once Makefiles are forgotten.
226 // removeFile tries to remove file f, if error other than file doesn't exist
229 err := os.Remove(f
    [all...]
  /prebuilts/go/linux-x86/src/cmd/go/
clean.go 17 Short: "remove object files",
44 The -i flag causes clean to remove the corresponding installed
47 The -n flag causes clean to print the remove commands it would execute,
53 The -x flag causes clean to print remove commands as it executes them.
145 // Remove dir-named executable only if this is package main.
153 // Remove package test executables.
159 // Remove a potential executable for each .go file in the directory that
186 // TODO: Remove once Makefiles are forgotten.
226 // removeFile tries to remove file f, if error other than file doesn't exist
229 err := os.Remove(f
    [all...]
  /external/guava/guava/src/com/google/common/collect/
StandardTable.java 50 * #columnMap()} have iterators that don't support {@code remove()}. Otherwise,
144 @Override public V remove( method in class:StandardTable
153 V value = map.remove(columnKey);
155 backingMap.remove(rowKey);
166 V value = entry.getValue().remove(column);
170 iterator.remove();
182 /** Remove a row key / column key / value mapping, if present. */
185 remove(rowKey, columnKey); method
246 @Override public void remove() { method in class:StandardTable.CellIterator
247 columnIterator.remove();
312 public V remove(Object key) { method in class:StandardTable.Row
377 public void remove() { method in class:StandardTable
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
IdentityHashMapTest.java 269 it.remove();
271 it.remove();
274 list.remove(remove1);
275 list.remove(remove2);
292 it2.remove();
358 * java.util.IdentityHashMap#remove(java.lang.Object)
362 // java.util.IdentityHashMap.remove(java.lang.Object)
364 Integer x = ((Integer) hm.remove(objArray2[9]));
365 assertTrue("Remove returned incorrect value", x.equals(new Integer(9)));
366 assertNull("Failed to remove given key", hm.get(objArray2[9]))
    [all...]
  /external/glide/
update_files.sh 32 # Remove the existing disk cache source so it doesn't conflict with Glide's
42 # Remove source/build directories we don't care about.
49 # Remove test directories we don't care about.
63 # Remove tests we don't care about.
65 # Remove git related things to avoid re-adding a submodule.
72 # Remove build/static analysis related files we don't care about.
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
SortedBag.java 71 public void remove() { method in class:SortedBag.MyIterator
103 * @see java.util.Collection#remove(java.lang.Object)
105 public boolean remove(Object o) { method in class:SortedBag
108 if (!set.remove(o)) return false;
109 if (set.size() == 0) m.remove(o);
129 if (remove(it.next())) result = true;
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
SortedBag.java 70 public void remove() { method in class:SortedBag.MyIterator
102 * @see java.util.Collection#remove(java.lang.Object)
104 public boolean remove(Object o) { method in class:SortedBag
107 if (!set.remove(o)) return false;
108 if (set.size() == 0) m.remove(o);
128 if (remove(it.next())) result = true;
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
OrderedSet.java 22 * for put and remove. {@link #iterator() Iteration} is ordered and faster than an unordered set. Keys can also be accessed and
54 public boolean remove (T key) { method in class:OrderedSet
56 return super.remove(key);
130 public void remove () {
131 if (nextIndex < 0) throw new IllegalStateException("next must be called before remove.");
133 set.remove(items.get(nextIndex));

Completed in 758 milliseconds

1 2 3 4 5 6 7 8 91011>>