617c28b8f2c9b90efa8b164ce2af2c7cd3007fbd |
|
23-May-2014 |
Colin Cross <ccross@android.com> |
Merge "Fix list_for_each_safe macro"
|
f8a1089ab5d3976c631cfe7b40eca8a5ed34c306 |
|
30-Apr-2014 |
Samuel Ortiz <sameo@linux.intel.com> |
Add list_add_head to libcutils Adds a node to the head of the linked list. Change-Id: I03fc81f348c5c4fdab8680928b6e353413e4bc3c Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com>
/system/core/include/cutils/list.h
|
8cc74270405bbca5afa989b61c76b554c5b4f5a6 |
|
30-Apr-2014 |
Thierry Escande <thierry.escande@linux.intel.com> |
Fix list_for_each_safe macro The second macro parameter is named 'next' like listnode structure 'next' field. Since the precompiler will expand all 'next' occurrences in the macro definition with what is passed by the caller, it is not possible to call this macro with something else than 'next' as second parameter. This patch replaces the 'next' parameter with 'n' allowing use of a next node not named 'next'. Change-Id: I78c859caf8193f21fe0bedaeaa8342d6e89ad14b Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
/system/core/include/cutils/list.h
|
a6aad4cdb3ec75668838f3eced59bbb2c7b70c59 |
|
27-Nov-2013 |
Mark Salyzyn <salyzyn@google.com> |
libcutils: Move list.c to inlines on list.h (cherry picked from commit 0ea3624b3ef2a6545df770d06338c4655386220d) Change-Id: I0572555a194d2560e74dfbf07abcec05e9a276a2
/system/core/include/cutils/list.h
|
30fb83b6e520e0167934b6defe105f2bdd408fd5 |
|
13-Sep-2013 |
Andrew Boie <andrew.p.boie@intel.com> |
cutils: list: add list_for_each_safe For when you want to modify the list whilst iterating over it. Change-Id: I84432892890987c218e56883c35e52c9ff0240a3 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
/system/core/include/cutils/list.h
|
77a62ceac5f1d3942b85b21d86f6b4d25d686190 |
|
20-Mar-2012 |
Kenny Root <kroot@google.com> |
MinGW does not have sys/cdefs.h Change-Id: I5cafafce8488d355ed3865a9fd1173fbebbc5b03
/system/core/include/cutils/list.h
|
0009b73ed88f5c1759c3b2d9df73492d53f79039 |
|
16-Mar-2012 |
Kenny Root <kroot@google.com> |
Add cdefs decoration to list.h In case someone includes this from C++ code. Change-Id: I3b5a8bde5b5b9e8dcee64abaf33383f21eff7046
/system/core/include/cutils/list.h
|
da04c52ab1036048520fca265cf02b61dca789e0 |
|
02-Sep-2011 |
Dima Zavin <dima@android.com> |
init/cutils: move list utility code to cutils from init Change-Id: I357ceee813700297d8343159f22a07659e768d41 Signed-off-by: Dima Zavin <dima@android.com>
/system/core/include/cutils/list.h
|