/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.ops/ |
unique.pass.cpp | 10 // <list> 14 #include <list> 24 std::list<int> c(a1, a1+sizeof(a1)/sizeof(a1[0])); 26 assert(c == std::list<int>(a2, a2+4)); 32 std::list<int, min_allocator<int>> c(a1, a1+sizeof(a1)/sizeof(a1[0])); 34 assert((c == std::list<int, min_allocator<int>>(a2, a2+4)));
|
/external/chromium_org/content/browser/webui/ |
web_ui_message_handler_unittest.cc | 15 ListValue list; local 21 list.Append(new base::FundamentalValue(zero_value)); 22 EXPECT_TRUE(WebUIMessageHandler::ExtractIntegerValue(&list, &value)); 24 list.Clear(); 26 list.Append(new base::FundamentalValue(neg_value)); 27 EXPECT_TRUE(WebUIMessageHandler::ExtractIntegerValue(&list, &value)); 29 list.Clear(); 31 list.Append(new base::FundamentalValue(pos_value)); 32 EXPECT_TRUE(WebUIMessageHandler::ExtractIntegerValue(&list, &value)); 34 list.Clear() 52 base::ListValue list; local 89 base::ListValue list; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_caps.c | 34 * Iterates over a list of caps checks as defined in u_caps.h. Should 36 * the list (TERMINATE). Should any check fail returns FALSE and set 40 util_check_caps_out(struct pipe_screen *screen, const unsigned *list, int *out) 45 for (i = 0; list[i];) { 46 switch(list[i++]) { 48 if (!screen->get_param(screen, list[i++])) { 54 tmpi = screen->get_param(screen, list[i++]); 55 if (tmpi < (int)list[i++]) { 61 tmpf = screen->get_paramf(screen, list[i++]); 62 if (tmpf < (float)list[i++]) 219 unsigned *list; member in struct:__anon12605 220 } list[] = { local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_caps.c | 34 * Iterates over a list of caps checks as defined in u_caps.h. Should 36 * the list (TERMINATE). Should any check fail returns FALSE and set 40 util_check_caps_out(struct pipe_screen *screen, const unsigned *list, int *out) 45 for (i = 0; list[i];) { 46 switch(list[i++]) { 48 if (!screen->get_param(screen, list[i++])) { 54 tmpi = screen->get_param(screen, list[i++]); 55 if (tmpi < (int)list[i++]) { 61 tmpf = screen->get_paramf(screen, list[i++]); 62 if (tmpf < (float)list[i++]) 219 unsigned *list; member in struct:__anon23072 220 } list[] = { local [all...] |
/dalvik/dx/junit-tests/com/android/dx/util/ |
IntListTest.java | 24 IntList list = new IntList(sz); local 26 list.add(i * 2); 29 boolean contains = list.contains(i); 36 assertFalse(label(sz, -1), list.contains(-1)); 37 assertFalse(label(sz, sz * 2), list.contains(sz * 2)); 42 IntList list = new IntList(2); local 44 list.add(9); 45 list.add(12); 47 assertTrue(list.contains(9)); 48 assertTrue(list.contains(12)) 52 IntList list = new IntList(2); local [all...] |
/external/chromium-trace/trace-viewer/src/cc/ |
picture_ops_list_view.css | 6 picture-ops-list-view { 11 picture-ops-list-view > .x-list-view { 16 picture-ops-list-view > .x-list-view .list-item { 24 picture-ops-list-view > .x-list-view .list-item:hover { 29 picture-ops-list-view > .x-list-view .list-item > * [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
LazyStringArrayListTest.java | 10 // notice, this list of conditions and the following disclaimer. 12 // copyright notice, this list of conditions and the following disclaimer 36 import java.util.List; 54 LazyStringArrayList list = new LazyStringArrayList(); local 55 list.add(STRING_A); 56 list.add(STRING_B); 57 list.add(STRING_C); 59 assertEquals(3, list.size()); 60 assertSame(STRING_A, list.get(0)); 61 assertSame(STRING_B, list.get(1)) 73 LazyStringArrayList list = new LazyStringArrayList(); local 89 LazyStringArrayList list = new LazyStringArrayList(); local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
ListExtensions.cs | 14 * notice, this list of conditions and the following disclaimer. 16 * notice, this list of conditions and the following disclaimer in the 47 public static bool add( this IList list, object value ) 49 int count = list.Count; 50 list.Add( value ); 51 return list.Count == count + 1; 55 public static void add<T>( this ICollection<T> list, T value ) 57 list.Add( value ); 61 public static void add<T>( this List<T> list, T value [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
ASTList.java | 21 * A linked list. 53 * Returns the car part of the list. 62 * Returns the cdr part of the list. 77 ASTList list = this; local 78 while (list != null) { 80 ASTree a = list.left; 82 list = list.right; 90 * Returns the number of the elements in this list. 96 public static int length(ASTList list) { 116 ASTList list = this; local 151 ASTList list = a; local [all...] |
/bionic/libc/upstream-netbsd/libc/include/isc/ |
list.h | 1 /* $NetBSD: list.h,v 1.5 2009/04/12 17:07:16 christos Exp $ */ 24 #define LIST(type) struct { type *head, *tail; } 25 #define INIT_LIST(list) \ 26 do { (list).head = NULL; (list).tail = NULL; } while (/*CONSTCOND*/0) 39 #define HEAD(list) ((list).head) 40 #define TAIL(list) ((list).tail) 41 #define EMPTY(list) ((list).head == NULL [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstArray.java | 25 /** {@code non-null;} the actual list of contents */ 26 private final List list; field in class:CstArray 31 * @param list {@code non-null;} the actual list of contents 33 public CstArray(List list) { 34 if (list == null) { 35 throw new NullPointerException("list == null"); 38 list.throwIfMutable() [all...] |
/external/chromium_org/third_party/freetype/src/cache/ |
ftcmru.c | 169 FTC_MruList_Init( FTC_MruList list, 175 list->num_nodes = 0; 176 list->max_nodes = max_nodes; 177 list->nodes = NULL; 178 list->clazz = *clazz; 179 list->data = data; 180 list->memory = memory; 185 FTC_MruList_Reset( FTC_MruList list ) 187 while ( list->nodes ) 188 FTC_MruList_Remove( list, list->nodes ) [all...] |
/external/freetype/src/cache/ |
ftcmru.c | 169 FTC_MruList_Init( FTC_MruList list, 175 list->num_nodes = 0; 176 list->max_nodes = max_nodes; 177 list->nodes = NULL; 178 list->clazz = *clazz; 179 list->data = data; 180 list->memory = memory; 185 FTC_MruList_Reset( FTC_MruList list ) 187 while ( list->nodes ) 188 FTC_MruList_Remove( list, list->nodes ) [all...] |
/external/openfst/src/include/fst/ |
slist.h | 18 // Includes slist definition or defines in terms of STL list as a fallback. 37 #include <list> 41 using std::list; 43 template <typename T> class slist : public list<T> { 45 typedef typename list<T>::iterator iterator; 46 typedef typename list<T>::const_iterator const_iterator; 48 using list<T>::erase;
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
CopyOnWriteArrayListTest.java | 22 import java.util.List; 36 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 37 list.addAll(Arrays.asList("a", "b", "c", "d", "e")); 38 Iterator<String> abcde = list.iterator(); 40 list.set(1, "B"); 48 * The sub list throws on non-structural changes, even though that disagrees 53 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 54 list.addAll(Arrays.asList("a", "b", "c", "d", "e")); 55 List<String> bcd = list.subList(1, 4) 65 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 77 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 90 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 104 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 118 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 129 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 138 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 147 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 156 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 203 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 212 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 221 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(); local 266 CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<String>(contents); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/options/css/ |
list.css | 18 list > * { 29 list:not([disabled]) > :hover { 33 /* TODO(stuartmorgan): Once this becomes the list style for other WebUI pages 37 list:not([hasElementFocus]) > [selected], 38 list:not([hasElementFocus]) > [lead][selected] { 43 list[hasElementFocus] > [selected], 44 list[hasElementFocus] > [lead][selected], 45 list:not([hasElementFocus]) > [selected]:hover, 46 list:not([hasElementFocus]) > [selected][lead]:hover { 51 list[disabled] [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/ |
types.pass.cpp | 10 // <list> 13 // class list 25 #include <list> 32 static_assert((std::is_same<std::list<int>::value_type, int>::value), ""); 33 static_assert((std::is_same<std::list<int>::allocator_type, std::allocator<int> >::value), ""); 34 static_assert((std::is_same<std::list<int>::reference, std::allocator<int>::reference>::value), ""); 35 static_assert((std::is_same<std::list<int>::const_reference, std::allocator<int>::const_reference>::value), ""); 36 static_assert((std::is_same<std::list<int>::pointer, std::allocator<int>::pointer>::value), ""); 37 static_assert((std::is_same<std::list<int>::const_pointer, std::allocator<int>::const_pointer>::value), ""); 39 static_assert((std::is_same<std::list<int, min_allocator<int>>::value_type, int>::value), "") [all...] |
/external/chromium-trace/trace-viewer/src/ui/ |
list_and_associated_view.css | 6 x-list-and-associated-view { 11 x-list-and-associated-view > .x-list-view { 15 x-list-and-associated-view > :nth-child(2) {
|
/external/stlport/test/compiler/ |
movable.cpp | 1 #include <list> 14 list<S> l;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/ |
container.pass.cpp | 17 #include <list> 28 test(std::list<int>());
|
/external/chromium-trace/trace-viewer/src/tcmalloc/ |
heap_instance_track.css | 11 list-style: none; 12 list-style-position: outside;
|
/external/chromium_org/chrome/browser/browsing_data/ |
browsing_data_helper_browsertest.h | 10 #include <list> 26 const std::list<T>& result() { 32 void callback(const std::list<T>& info) { 40 std::list<T> result_;
|
mock_browsing_data_indexed_db_helper.h | 8 #include <list> 16 // Use AddIndexedDBSamples() or add directly to response_ list, then 38 const base::Callback<void(const std::list<content::IndexedDBInfo>&)>& 45 base::Callback<void(const std::list<content::IndexedDBInfo>&)> callback_; 47 std::list<content::IndexedDBInfo> response_;
|
/external/chromium_org/content/browser/media/ |
webrtc_internals_message_handler.h | 34 void OnGetAllUpdates(const base::ListValue* list); 35 void OnGetAllStats(const base::ListValue* list); 36 void OnStartRtpRecording(const base::ListValue* list); 37 void OnStopRtpRecording(const base::ListValue* list);
|
/external/qemu/ |
notify.h | 35 void notifier_list_init(NotifierList *list); 37 void notifier_list_add(NotifierList *list, Notifier *notifier); 39 void notifier_list_remove(NotifierList *list, Notifier *notifier); 41 void notifier_list_notify(NotifierList *list);
|