HomeSort by relevance Sort by last modified time
    Searched refs:offer (Results 1 - 25 of 186) sorted by null

1 2 3 4 5 6 7 8

  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
Poolable.java 4 void offer(); method in interface:Poolable
BaseKeyPool.java 19 public void offer(T key) { method in class:BaseKeyPool
21 keyPool.offer(key);
GroupedLinkedMap.java 29 key.offer();
41 key.offer();
63 last.key.offer();
SizeStrategy.java 40 keyPool.offer(key);
171 public void offer() { method in class:SizeStrategy.Key
172 pool.offer(this);
AttributeStrategy.java 117 public void offer() { method in class:AttributeStrategy.Key
118 pool.offer(this);
  /libcore/luni/src/main/java/java/util/
Queue.java 35 * <td>{@link #offer offer(e)}</td>
61 * <p>The {@link #offer offer} method inserts an element if possible,
65 * <tt>offer</tt> method is designed for use when failure is a normal,
151 boolean offer(E e); method in interface:Queue
AbstractQueue.java 18 * {@link #element element} are based on {@link #offer offer}, {@link
24 * minimally define a method {@link Queue#offer} which does not permit
51 * <p>This implementation returns <tt>true</tt> if <tt>offer</tt> succeeds,
66 if (offer(e))
Deque.java 88 * <td>{@link java.util.Queue#offer offer(e)}</td>
358 * use {@link #offer(Object) offer}.
396 boolean offer(E e); method in interface:Deque
  /external/chromium-trace/trace-viewer/third_party/WebOb/webob/
acceptparse.py 114 def __contains__(self, offer):
120 if self._match(mask, offer):
123 def quality(self, offer, modifier=1):
125 Return the quality of the given offer. Returns None if there
130 if self._match(mask, offer):
162 for offer in offers:
163 if isinstance(offer, (tuple, list)):
164 offer, server_quality = offer
176 if self._match(mask, offer)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
QueueOfferTester.java 26 * A generic JUnit test which tests offer operations on a queue. Can't be
37 assertTrue("offer(notPresent) should return true",
38 getQueue().offer(samples.e3));
44 assertTrue("offer(null) should return true", getQueue().offer(null));
51 getQueue().offer(null);
52 fail("offer(null) should throw");
57 "Should not contain null after unsupported offer(null)");
  /libcore/luni/src/main/java/java/util/concurrent/
BlockingQueue.java 44 * <td>{@link #offer offer(e)}</td>
46 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td>
66 * to {@code add}, {@code put} or {@code offer} a {@code null}. A
159 * use {@link #offer(Object) offer}.
190 boolean offer(E e); method in interface:BlockingQueue
224 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingQueue
BlockingDeque.java 116 * <td>{@link #offer(Object) offer(e)}</td>
124 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td>
411 * use {@link #offer(Object) offer}.
443 boolean offer(E e); method in interface:BlockingDeque
480 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingDeque
DelayQueue.java 98 return offer(e);
108 public boolean offer(E e) { method in class:DelayQueue
112 q.offer(e);
131 offer(e);
144 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:DelayQueue
145 return offer(e);
  /frameworks/opt/bitmap/src/com/android/bitmap/
PooledCache.java 23 void offer(V scrapValue); method in interface:PooledCache
UnrefedBitmapCache.java 108 public void offer(final ReusableBitmap value) { method in class:UnrefedBitmapCache
110 super.offer(value);
112 Log.d(TAG, "AltBitmapCache: offer +1");
  /external/dhcpcd/
ipv4ll.c 102 if (iface->state->offer == NULL)
105 addr = iface->state->offer->yiaddr;
106 free(iface->state->offer);
115 iface->state->offer = find_ipv4ll_lease(addr);
117 iface->state->offer = make_ipv4ll_lease(addr);
145 free(iface->state->offer);
146 iface->state->offer = NULL;
arp.c 84 if ((iface->state->offer != NULL &&
85 iface->state->offer->cookie != htonl(MAGIC_COOKIE)) ||
176 if (state->offer &&
177 (reply_s == state->offer->yiaddr ||
178 (reply_s == 0 && reply_t == state->offer->yiaddr)))
179 state->fail.s_addr = state->offer->yiaddr;
259 } else if (state->offer) {
260 if (state->offer->yiaddr)
261 addr.s_addr = state->offer->yiaddr;
263 addr.s_addr = state->offer->ciaddr
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ForwardingQueue.java 33 * #offer} which can lead to unexpected behavior. In this case, you should
34 * override {@code offer} as well, either providing your own implementation, or
54 public boolean offer(E o) { method in class:ForwardingQueue
55 return delegate().offer(o);
79 * A sensible definition of {@link #offer} in terms of {@link #add}. If you
80 * override {@link #add}, you may wish to override {@link #offer} to forward
  /external/guava/guava/src/com/google/common/util/concurrent/
ForwardingBlockingQueue.java 53 @Override public boolean offer(E e, long timeout, TimeUnit unit) method in class:ForwardingBlockingQueue
55 return delegate().offer(e, timeout, unit);
  /frameworks/opt/net/voip/src/java/android/net/sip/
SipAudioCall.java 736 SimpleSessionDescription offer =
739 Media media = offer.newMedia(
745 if (DBG) log("createOffer: offer=" + offer);
746 return offer;
751 SimpleSessionDescription offer =
756 for (Media media : offer.getMedia()) {
788 } else if(offer.getAttribute("recvonly") != null) {
790 } else if(offer.getAttribute("sendonly") != null) {
812 SimpleSessionDescription offer = createContinueOffer()
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyActivity.java 45 if (mResult.offer(resultCode) == false) {
  /external/glide/library/src/main/java/com/bumptech/glide/util/
ByteArrayPool.java 72 tempQueue.offer(bytes);
  /external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
MonitorBasedPriorityBlockingQueue.java 174 return offer(e);
181 * @return <tt>true</tt> (as specified by {@link Queue#offer})
188 public boolean offer(E e) { method in class:MonitorBasedPriorityBlockingQueue
192 boolean ok = q.offer(e);
214 offer(e); // never need to block
231 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:MonitorBasedPriorityBlockingQueue
233 return offer(e); // never need to block
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
PriorityQueueTest.java 44 integerQueue.offer(array[i]);
85 integerQueue.offer(0);
113 integerQueue.offer(array[i]);
141 integerQueue.offer(array[i]);
156 integerQueue.offer(array[i]);
185 integerQueue.offer(array[i]);
317 queue.offer(array[i]);
355 integerQueue.offer(array[i]);
409 * java.util.PriorityQueue#offer(Object)
416 queue.offer(array[i])
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedQueueTest.java 44 public boolean offer(E o) { method in class:SynchronizedQueueTest.TestQueue
46 return delegate.offer(o);
157 create().offer("foo");

Completed in 4756 milliseconds

1 2 3 4 5 6 7 8