Home
last modified time | relevance | path

Searched refs:head (Results 1 – 22 of 22) sorted by relevance

/development/ndk/platforms/android-3/include/sys/
Dqueue.h89 #define LIST_HEAD_INITIALIZER(head) \ argument
101 #define LIST_INIT(head) do { \ argument
102 (head)->lh_first = NULL; \
120 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
121 if (((elm)->field.le_next = (head)->lh_first) != NULL) \
122 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
123 (head)->lh_first = (elm); \
124 (elm)->field.le_prev = &(head)->lh_first; \
134 #define LIST_FOREACH(var, head, field) \ argument
135 for ((var) = ((head)->lh_first); \
[all …]
/development/ndk/platforms/android-21/include/sys/
Dqueue.h89 #define LIST_HEAD_INITIALIZER(head) \ argument
101 #define LIST_INIT(head) do { \ argument
102 (head)->lh_first = NULL; \
120 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
121 if (((elm)->field.le_next = (head)->lh_first) != NULL) \
122 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
123 (head)->lh_first = (elm); \
124 (elm)->field.le_prev = &(head)->lh_first; \
134 #define LIST_FOREACH(var, head, field) \ argument
135 for ((var) = ((head)->lh_first); \
[all …]
/development/ndk/platforms/android-3/include/linux/
Dplist.h31 #define PLIST_HEAD_INIT(head, _lock) { .prio_list = LIST_HEAD_INIT((head).prio_list), .node_li… argument
35 #define plist_for_each(pos, head) list_for_each_entry(pos, &(head)->node_list, plist.node_list) argument
37 #define plist_for_each_safe(pos, n, head) list_for_each_entry_safe(pos, n, &(head)->node_list, pl… argument
39 #define plist_for_each_entry(pos, head, mem) list_for_each_entry(pos, &(head)->node_list, mem.pli… argument
41 #define plist_for_each_entry_safe(pos, n, head, m) list_for_each_entry_safe(pos, n, &(head)->node… argument
43 #define plist_first_entry(head, type, member) container_of(plist_first(head), type, member) argument
Dcirc_buf.h17 int head; member
21 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
23 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
25 #define CIRC_CNT_TO_END(head,tail,size) ({int end = (size) - (tail); int n = ((head) + end) & (… argument
27 #define CIRC_SPACE_TO_END(head,tail,size) ({int end = (size) - 1 - (head); int n = (end + (tail… argument
Dnotifier.h26 struct notifier_block *head; member
31 struct notifier_block *head; member
35 struct notifier_block *head; member
38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL…
39 #define BLOCKING_INIT_NOTIFIER_HEAD(name) do { init_rwsem(&(name)->rwsem); (name)->head = NULL;…
40 #define RAW_INIT_NOTIFIER_HEAD(name) do { (name)->head = NULL; } while (0)
42 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
43 #define BLOCKING_NOTIFIER_INIT(name) { .rwsem = __RWSEM_INITIALIZER((name).rwsem), .head = NULL…
44 #define RAW_NOTIFIER_INIT(name) { .head = NULL }
Dgenhd.h44 unsigned char head; member
Dfd.h21 head, member
58 unsigned int device,head,track; member
Dskbuff.h158 unsigned char *head, member
/development/ndk/platforms/android-3/include/linux/sunrpc/
Dsched.h83 #define task_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, struc… argument
85 #define task_for_first(task, head) if (!list_empty(head) && ((task=list_entry((head)->next, str… argument
87 #define alltask_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, st… argument
Dxprt.h74 #define rq_svec rq_snd_buf.head
/development/ndk/platforms/android-21/samples/native-codec/jni/
Dlooper.cpp84 loopermessage *h = head; in addmsg()
100 head = msg; in addmsg()
114 loopermessage *msg = head; in loop()
120 head = msg->next; in loop()
Dlooper.h36 loopermessage *head; variable
/development/samples/Snake/src/com/example/android/snake/
DSnakeView.java458 Coordinate head = mSnakeTrail.get(0); in updateSnake() local
465 newHead = new Coordinate(head.x + 1, head.y); in updateSnake()
469 newHead = new Coordinate(head.x - 1, head.y); in updateSnake()
473 newHead = new Coordinate(head.x, head.y - 1); in updateSnake()
477 newHead = new Coordinate(head.x, head.y + 1); in updateSnake()
/development/ndk/platforms/android-3/include/linux/raid/
Dmd_k.h174 …ERIC(head,rdev,tmp) for ((tmp) = (head).next; (rdev) = (list_entry((tmp), mdk_rdev_t, same_s… argument
/development/ndk/platforms/android-21/arch-arm64/include/asm/
Dsigcontext.h40 struct _aarch64_ctx head; member
/development/ndk/platforms/android-3/include/linux/mtd/
Dnftl.h38 int head,sect,cyl; member
/development/ndk/platforms/android-21/include/linux/
Dfd.h27 head, member
66 unsigned int device,head,track; member
/development/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java172 Runnable head = new Runnable() { public void run() { mergeBitmaps(locales); } }; in buildSequence() local
175 head = new TextCapture(loc, prev, head); in buildSequence()
178 final Runnable fhead = head; in buildSequence()
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DProvisioningValuesLoader.java154 int head = wifiSsid.startsWith("\"") ? 1 : 0; in trimSsid() local
156 return wifiSsid.substring(head, wifiSsid.length() - tail); in trimSsid()
/development/ndk/platforms/android-3/include/
Dzlib.h670 gz_headerp head));
816 gz_headerp head));
/development/ndk/platforms/
DREADME.CRT.TXT62 all crtbegin_XXX.[cS] files contain the head of various ELF sections, which are
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt124 cabinet - n. persons appointed by a head of state to head executive departments of government and a…