/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
HandlerThread_Delegate.java | 25 import java.util.List; 38 private static Map<BridgeContext, List<HandlerThread>> sThreads = 39 new HashMap<BridgeContext, List<HandlerThread>>(); 42 List<HandlerThread> list = sThreads.get(context); local 43 if (list != null) { 44 for (HandlerThread thread : list) { 48 list.clear(); 59 List<HandlerThread> list = sThreads.get(context) local [all...] |
/libcore/luni/src/main/java/java/util/prefs/ |
NodeSet.java | 10 ArrayList<Node> list = new ArrayList<Node>(); field in class:NodeSet 14 list.add(nodes.next()); 19 return list.size(); 25 result = list.get(index);
|
/libcore/luni/src/main/java/java/util/regex/ |
Splitter.java | 20 import java.util.List; 67 ArrayList<String> list = new ArrayList<String>(); local 71 while ((end = input.indexOf(ch, begin)) != -1 && list.size() + 1 < maxSize) { 72 list.add(input.substring(begin, end)); 75 return finishSplit(list, input, begin, maxSize, limit); 91 ArrayList<String> list = new ArrayList<String>(); local 95 while (matcher.find() && list.size() + 1 < maxSize) { 96 list.add(input.substring(begin, matcher.start())); 99 return finishSplit(list, input, begin, maxSize, limit); 102 private static String[] finishSplit(List<String> list, String input, int begin, int maxSize, int limit) [all...] |
/libcore/luni/src/test/java/libcore/util/ |
CollectionUtilsTest.java | 25 import java.util.List; 31 List<Reference<String>> refs = new ArrayList<Reference<String>>(); 67 private <T> List<T> toList(Iterable<T> iterable) { 68 List<T> result = new ArrayList<T>(); 76 List<String> list = new ArrayList<String>(); local 77 CollectionUtils.removeDuplicates(list, String.CASE_INSENSITIVE_ORDER); 78 assertTrue(list.isEmpty()); 82 List<String> list = Arrays.asList("A") local 88 List<String> list = new ArrayList<String>(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
OnEmailAddressPickerActionListener.java | 16 package com.android.contacts.list;
|
OnMultiplePhoneNumberPickerActionListener.java | 16 package com.android.contacts.list;
|
OnPostalAddressPickerActionListener.java | 16 package com.android.contacts.list;
|
/external/astl/tests/ |
test_list.cpp | 10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer in 30 #include "../include/list" 38 using std::list; 43 list<int> list1; 44 list<int*> list2; 45 list<string> list3; 46 list<B> list4; 53 list<int> l; 63 list<B> l 76 list<int> list; local [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/choice/ |
der_decode_choice.c | 24 @param list The list of items to decode 25 @param outlen The number of items in the list 29 ltc_asn1_list *list, unsigned long outlen) 36 LTC_ARGCHK(list != NULL); 45 list[x].used = 0; 50 size = list[x].size; 51 data = list[x].data; 53 switch (list[x].type) { 57 list[x].used = 1 [all...] |
/development/tools/emulator/opengl/host/libs/Translator/GLcommon/ |
RangeManip.cpp | 44 list.push_back(r); 49 addRange(rl.list[i]); 55 delRange(rl.list[i],deleted); 60 return list.empty(); 64 return list.size(); 67 return list.clear(); 71 if(i > list.size()) return; 72 list.erase(list.begin() +i); 80 // compare new rect to each and any of the rects on the list [all...] |
/external/proguard/src/proguard/util/ |
ListUtil.java | 28 * <code>java.util.List</code> objects. 35 * Creates a comma-separated String from the given List of String objects. 37 public static String commaSeparatedString(List list) 39 if (list == null) 46 for (int index = 0; index < list.size(); index++) 53 buffer.append(quotedString((String)list.get(index))); 61 * Creates a List of String objects from the given comma-separated String. 63 public static List commaSeparatedList(String string) 70 List list = new ArrayList() local 150 List list = commaSeparatedList(args[0]); local 160 List list = Arrays.asList(args); local [all...] |
/external/qemu/ |
qemu-option.h | 62 * The following functions take a parameter list as input. This is a pointer to 67 QEMUOptionParameter *get_option_parameter(QEMUOptionParameter *list, 69 int set_option_parameter(QEMUOptionParameter *list, const char *name, 71 int set_option_parameter_int(QEMUOptionParameter *list, const char *name, 74 QEMUOptionParameter *list); 76 QEMUOptionParameter *list, QEMUOptionParameter *dest); 77 void free_option_parameters(QEMUOptionParameter *list); 78 void print_option_parameters(QEMUOptionParameter *list); 79 void print_option_help(QEMUOptionParameter *list); 116 QemuOpts *qemu_opts_find(QemuOptsList *list, const char *id) [all...] |
qemu-option.c | 156 * Searches an option list for an option with the given name 158 QEMUOptionParameter *get_option_parameter(QEMUOptionParameter *list, 161 while (list && list->name) { 162 if (!strcmp(list->name, name)) { 163 return list; 165 list++; 242 * Sets the value of a parameter in a given option list. The parsing of the 258 int set_option_parameter(QEMUOptionParameter *list, const char *name, 264 list = get_option_parameter(list, name) 521 QemuOptsList *list; member in struct:QemuOpts [all...] |
/system/core/libcutils/ |
dir_hash.c | 117 struct list { struct 119 struct list *next; 123 struct list *const *ra = a; 124 struct list *const *rb = b; 130 struct list **out) { 131 struct list *list = NULL; local 132 struct list *f; 150 struct list *node = malloc(sizeof(struct list)); 269 struct list **list; local [all...] |
/external/chromium/chrome/common/extensions/docs/js/ |
sidebar.js | 18 function toggleList(list) { 19 if (typeof list.length != 'number') { 20 list = Array(list); 23 for (var i = 0; i < list.length; i++) { 24 var toggle = list[i].parentNode && 25 list[i].parentNode.firstChild; 28 list[i].style.display = visible ? 'block' : 'none'; 50 * Adds toggle controls to the sidebar list. 52 * Controls are inserted as the first children of list items in the sideba [all...] |
/external/srec/seti/sltsEngine/include/ |
linklist.h | 46 For now, dynamically allocate a new list node with the data 48 LListResult Insert(LList *list, void *data); 55 For now, dynamically free a new list node 58 LListResult Delete(LList *list);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8DOMSettableTokenListCustom.cpp | 8 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer in the 38 DOMSettableTokenList* list = V8DOMSettableTokenList::toNative(info.Holder()); local 39 return v8StringOrNull(list->item(index));
|
/external/webkit/Source/WebCore/css/ |
MediaQueryListListener.idl | 27 void queryChanged(in MediaQueryList list);
|
/external/dbus/dbus/ |
dbus-dataslot.h | 79 void _dbus_data_slot_list_init (DBusDataSlotList *list); 81 DBusDataSlotList *list, 88 DBusDataSlotList *list, 90 void _dbus_data_slot_list_clear (DBusDataSlotList *list); 91 void _dbus_data_slot_list_free (DBusDataSlotList *list);
|
/external/ipsec-tools/src/racoon/ |
rsalist.h | 13 * notice, this list of conditions and the following disclaimer. 15 * notice, this list of conditions and the following disclaimer in the 55 int rsa_key_insert(struct genlist *list, struct netaddr *src, struct netaddr *dst, RSA *rsa); 58 void rsa_key_dump(struct genlist *list); 61 RSA *rsa_try_check_rsasign(vchar_t *source, vchar_t *sig, struct genlist *list); 63 unsigned long rsa_list_count(struct genlist *list); 65 int rsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type);
|
/external/qemu/android/ |
hw-events.c | 88 eventList_getCount( EventList list ) 92 if (list == NULL) 95 for (nn = 0; list[nn].name != NULL; nn++) { 102 eventList_findCodeByName( EventList list, 109 for ( ; list->name != NULL; list += 1 ) { 110 if ( !memcmp(name, list->name, namelen) && 111 list->name[namelen] == 0 ) 113 return list->value; 120 eventList_bufprintCode( EventList list, 141 EventList list; local 212 EventList list = eventList_findByType(type); local 220 EventList list = eventList_findByType(type); local [all...] |
/system/core/toolbox/ |
dynarray.h | 59 * to/from the list during iteration. 64 void strlist_init( strlist_t *list ); 66 /* note: strlist_done will free all the strings owned by the list */ 67 void strlist_done( strlist_t *list ); 72 void strlist_append_b( strlist_t *list, const void* str, size_t slen ); 75 void strlist_append_dup( strlist_t *list, const char *str); 77 /* sort the strings in a given list (using strcmp) */ 78 void strlist_sort( strlist_t *list );
|
/libcore/luni/src/main/java/libcore/util/ |
CollectionUtils.java | 24 import java.util.List; 82 * Sorts and removes duplicate elements from {@code list}. This method does 85 public static <T> void removeDuplicates(List<T> list, Comparator<? super T> comparator) { 86 Collections.sort(list, comparator); 88 for (int i = 1; i < list.size(); i++) { 89 if (comparator.compare(list.get(j - 1), list.get(i)) != 0) { 90 T object = list.get(i); 91 list.set(j++, object) [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapUtility.java | 61 * list of individual numbers. If the set is invalid, an empty array is returned. 69 ArrayList<String> list = new ArrayList<String>(); local 77 list.add(item); 84 list.add(rangeItem); 89 String[] stringList = new String[list.size()]; 90 return list.toArray(stringList); 94 * Expand the given number range into a list of individual numbers. If the range is not valid, 103 ArrayList<String> list = new ArrayList<String>(); local 112 list.add(Integer.toString(i)); 116 list.add(Integer.toString(i)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
CookieStoreTest.java | 24 import java.util.List; 66 List<HttpCookie> list = cookieStore.get(uri); local 67 assertEquals(1, list.size()); 68 assertTrue(list.contains(cookie)); 72 list = cookieStore.get(uri); 73 assertEquals(1, list.size()); 74 assertEquals(" TESTVALUE1 ", list.get(0).getValue()); 75 assertTrue(list.contains(cookie2)); 82 list = cookieStore.get(uri) 142 List<HttpCookie> list = cookieStore.get(uri1); local 208 List<HttpCookie> list = cookieStore.getCookies(); local 258 List<URI> list = cookieStore.getURIs(); local [all...] |