Searched refs:queue (Results 1 - 4 of 4) sorted by last modified time

/system/core/logcat/
H A Dlogcat.cpp62 queued_entry_t* queue; member in struct:log_device_t
69 queue = NULL;
75 if (this->queue == NULL) {
76 this->queue = entry;
78 queued_entry_t** e = &this->queue;
213 if (dev->queue != NULL && (*firstdev == NULL || cmp(dev->queue, (*firstdev)->queue) < 0)) {
235 queued_entry_t* entry = dev->queue;
236 dev->queue
[all...]
/system/core/toolbox/
H A DAndroid.mk91 grep/grep.c grep/fastgrep.c grep/file.c grep/queue.c grep/util.c
/system/core/toolbox/grep/
H A Dqueue.c1 /* $NetBSD: queue.c,v 1.5 2011/08/31 16:24:57 plunky Exp $ */
2 /* $FreeBSD: head/usr.bin/grep/queue.c 211496 2010-08-19 09:28:59Z des $ */
30 * A really poor man's queue. It does only what it has to and gets out of
31 * Dodge. It is used in place of <sys/queue.h> to get a better performance.
39 __RCSID("$NetBSD: queue.c,v 1.5 2011/08/31 16:24:57 plunky Exp $");
42 #include <sys/queue.h>
54 static STAILQ_HEAD(, qentry) queue = STAILQ_HEAD_INITIALIZER(queue);
72 STAILQ_INSERT_TAIL(&queue, item, list);
86 item = STAILQ_FIRST(&queue);
[all...]
/system/extras/tests/ext4/
H A Dandroid_emmc_perf_tests.sh121 ORIG_READAHEAD=`adb shell cat /sys/block/$MMCDEV/queue/read_ahead_kb | tr -d "\r"`
122 adb shell "echo 4 > /sys/block/$MMCDEV/queue/read_ahead_kb"
131 adb shell "echo $ORIG_READAHEAD > /sys/block/$MMCDEV/queue/read_ahead_kb"

Completed in 37 milliseconds