/libcore/luni/src/main/java/java/lang/ref/ |
Reference.java | 53 * If non-null, the queue on which this reference will be enqueued 55 * VM requirement: this field <em>must</em> be called "queue" 59 volatile ReferenceQueue queue; field in class:Reference 107 * if "(queue != null && queueNext == null)". 111 if (queue != null && queueNext == null) { 112 queue.enqueue(this); 113 queue = null; 121 * a queue.
|
/external/guava/src/com/google/common/base/ |
FinalizablePhantomReference.java | 40 * @param queue that should finalize the referent 43 FinalizableReferenceQueue queue) { 44 super(referent, queue.queue); 45 queue.cleanUp();
|
FinalizableSoftReference.java | 36 * @param queue that should finalize the referent 39 FinalizableReferenceQueue queue) { 40 super(referent, queue.queue); 41 queue.cleanUp();
|
FinalizableWeakReference.java | 36 * @param queue that should finalize the referent 39 FinalizableReferenceQueue queue) { 40 super(referent, queue.queue); 41 queue.cleanUp();
|
/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractQueueTest.java | 37 private MockAbstractQueue<Object> queue; field in class:AbstractQueueTest 125 queue.add(null); 145 queue.add(o); 149 queue.add(o); 169 queue.add(o); 172 queue.add(I); 173 assertTrue(queue.contains(I)); 174 Iterator iter = queue.iterator(); 192 queue.addAll(null); 211 queue.addAll(list) 332 MockAbstractQueue queue = new MockAbstractQueue(); local [all...] |
/device/samsung/crespo/alsa-lib/test/ |
queue_timer.c | 28 int queue; local 52 if ((queue = snd_seq_alloc_queue(handle)) < 0) { 53 fprintf(stderr, "failed to create ALSA sequencer queue\n"); 58 snd_seq_get_queue_timer(handle, queue, timer); 66 snd_seq_set_queue_timer(handle, queue, timer); 68 snd_seq_start_queue(handle, queue, 0); 84 snd_seq_get_queue_status(handle, queue, status); 110 fprintf(stderr, "oops! queue slipped\n");
|
seq-decoder.c | 121 printf("\n%sSource = %d.%d, dest = %d.%d, queue = %d\n", 127 ev->queue); 195 printf("; queue = %i\n", ev->data.queue.queue); 248 void event_decoder_start_timer(snd_seq_t *handle, int queue, 254 if ((err = snd_seq_start_queue(handle, queue, NULL))<0) 266 int client, port, queue, max, err, v1, v2; local 275 if ((queue = snd_seq_alloc_queue(handle))<0) { 276 fprintf(stderr, "Cannot allocate queue: %s\n", snd_strerror(queue)) [all...] |
seq-sender.c | 70 int queue, 89 if ((err = snd_seq_set_queue_timer(handle, queue, &qtimer)) < 0) { 95 if ((err = snd_seq_start_queue(handle, queue, NULL))<0) 110 void send_event(snd_seq_t *handle, int queue, int client, int port, 117 ev.queue = queue; 133 ev.data.note.note = 64 + (queue*2); 150 int client, port, queue, max, err, v1, v2, time = 0, pcm_flag = 0; local 164 if ((queue = snd_seq_alloc_queue(handle))<0) { 165 fprintf(stderr, "Cannot allocate queue: %s\n", snd_strerror(queue)) [all...] |
/device/samsung/crespo/sec_mm/sec_omx/sec_osal/ |
SEC_OSAL_Queue.c | 42 SEC_QUEUE *queue = (SEC_QUEUE *)queueHandle; local 46 if (!queue) 49 ret = SEC_OSAL_MutexCreate(&queue->qMutex); 53 queue->first = (SEC_QElem *)SEC_OSAL_Malloc(sizeof(SEC_QElem)); 54 if (queue->first == NULL) 57 SEC_OSAL_Memset(queue->first, 0, sizeof(SEC_QElem)); 58 currentqelem = queue->last = queue->first; 59 queue->numElem = 0; 64 while (queue->first != NULL) 86 SEC_QUEUE *queue = (SEC_QUEUE *)queueHandle; local 110 SEC_QUEUE *queue = (SEC_QUEUE *)queueHandle; local 131 SEC_QUEUE *queue = (SEC_QUEUE *)queueHandle; local 153 SEC_QUEUE *queue = (SEC_QUEUE *)queueHandle; local 165 SEC_QUEUE *queue = (SEC_QUEUE *)queueHandle; local [all...] |
/external/webkit/WebKitTools/DumpRenderTree/ |
WorkQueue.cpp | 52 void WorkQueue::queue(WorkQueueItem* item) function in class:WorkQueue
|
/external/guava/src/com/google/common/base/internal/ |
Finalizer.java | 84 return finalizer.queue; 89 private final ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); field in class:Finalizer 102 this.frqReference = new PhantomReference<Object>(frq, queue); 119 * Loops continuously, pulling references off the queue and cleaning them up. 127 cleanUp(queue.remove()); 163 } while ((reference = queue.poll()) != null);
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 44 PriorityQueue<Object> queue = new PriorityQueue<Object>(100); local 45 assertNotNull(queue); 46 assertEquals(0, queue.size()); 47 assertNull(queue.comparator()); 68 PriorityQueue<String> queue = new PriorityQueue<String>(10, local 72 queue.offer(array[i]); 74 assertFalse(queue.contains("BB")); 77 assertFalse(queue.remove("BB")); 78 assertTrue(queue.remove("AA"));
|
/frameworks/base/media/libstagefright/rtsp/ |
AMPEG4AudioAssembler.cpp | 49 List<sp<ABuffer> > *queue = source->queue(); local 51 if (queue->empty()) { 56 List<sp<ABuffer> >::iterator it = queue->begin(); 57 while (it != queue->end()) { 62 it = queue->erase(it); 65 if (queue->empty()) { 70 sp<ABuffer> buffer = *queue->begin(); 93 queue->erase(queue->begin()) [all...] |
ARTPSource.h | 44 List<sp<ABuffer> > *queue() { return &mQueue; } function in struct:android::ARTPSource
|
AH263Assembler.cpp | 51 List<sp<ABuffer> > *queue = source->queue(); local 53 if (queue->empty()) { 58 List<sp<ABuffer> >::iterator it = queue->begin(); 59 while (it != queue->end()) { 64 it = queue->erase(it); 67 if (queue->empty()) { 72 sp<ABuffer> buffer = *queue->begin(); 96 queue->erase(queue->begin()) [all...] |
/bionic/libc/kernel/common/linux/ |
msm_adsp.h | 21 uint16_t queue; member in struct:adsp_command_t
|
/development/ndk/platforms/android-3/include/linux/ |
msm_adsp.h | 22 uint16_t queue; member in struct:adsp_command_t
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
WeakHashtable.java | 125 private ReferenceQueue queue = new ReferenceQueue(); field in class:WeakHashtable 241 Referenced keyRef = new Referenced(key, queue); 321 synchronized (queue) { 323 while ((key = (WeakKey) queue.poll()) != null) { 335 synchronized (queue) { 336 WeakKey key = (WeakKey) queue.poll(); 410 private Referenced(Object key, ReferenceQueue queue) { 411 reference = new WeakKey(key, queue, this); 468 ReferenceQueue queue, 470 super(key, queue); [all...] |
/external/kernel-headers/original/linux/ |
msm_adsp.h | 21 uint16_t queue; member in struct:adsp_command_t
|
/external/stlport/stlport/stl/ |
_queue.h | 59 class queue class in inherits:__stlport_class 62 : public __stlport_class<queue<_Tp> > 64 : public __stlport_class<queue<_Tp, _Sequence> > 70 typedef queue<_Tp> _Self; 72 typedef queue<_Tp, _Sequence> _Self; 86 queue() : c() {} function in class:queue 87 explicit queue(const _Sequence& __c) : c(__c) {} function in class:queue 90 queue(__move_source<_Self> src) function in class:queue 122 operator==(const queue<_STLP_QUEUE_ARGS >& __x, const queue<_STLP_QUEUE_ARGS >& __y) [all...] |
/external/webkit/WebKit/android/jni/ |
WebIconDatabase.cpp | 114 // Swap the notifications queue 115 Vector<WebCore::String> queue; local 117 queue.swap(mNotifications); 121 // Swap the clients queue 125 for (unsigned i = 0; i < queue.size(); ++i) { 127 clients[j]->didAddIconForPageUrl(queue[i]);
|
/frameworks/base/native/android/ |
sensor.cpp | 65 sp<SensorEventQueue> queue = local 67 if (queue != 0) { 68 ALooper_addFd(looper, queue->getFd(), ident, ALOOPER_EVENT_INPUT, callback, data); 69 queue->looper = looper; 70 queue->incStrong(manager); 72 return static_cast<ASensorEventQueue*>(queue.get()); 78 sp<SensorEventQueue> queue = static_cast<SensorEventQueue*>(inQueue); local 79 ALooper_removeFd(queue->looper, queue->getFd()); 80 queue->decStrong(manager) [all...] |
/ndk/sources/android/stlport/stlport/stl/ |
_queue.h | 59 class queue class in inherits:__stlport_class 62 : public __stlport_class<queue<_Tp> > 64 : public __stlport_class<queue<_Tp, _Sequence> > 70 typedef queue<_Tp> _Self; 72 typedef queue<_Tp, _Sequence> _Self; 86 queue() : c() {} function in class:queue 87 explicit queue(const _Sequence& __c) : c(__c) {} function in class:queue 90 queue(__move_source<_Self> src) function in class:queue 122 operator==(const queue<_STLP_QUEUE_ARGS >& __x, const queue<_STLP_QUEUE_ARGS >& __y) [all...] |
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/ |
tree-dump.h | 30 /* Flags used with queue functions. */ 44 /* A dump_queue is a link in the queue of things to be dumped. */ 50 /* The next node in the queue. */ 69 /* The first node in the queue of nodes to be written out. */ 70 dump_queue_p queue; member in struct:dump_info 71 /* The last node in the queue. */ 73 /* Free queue nodes. */
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/ |
tree-dump.h | 30 /* Flags used with queue functions. */ 44 /* A dump_queue is a link in the queue of things to be dumped. */ 50 /* The next node in the queue. */ 69 /* The first node in the queue of nodes to be written out. */ 70 dump_queue_p queue; member in struct:dump_info 71 /* The last node in the queue. */ 73 /* Free queue nodes. */
|