/external/easymock/src/org/easymock/internal/ |
UnorderedBehavior.java | 20 import java.util.List;
26 private final List<ExpectedInvocationAndResults> results = new ArrayList<ExpectedInvocationAndResults>();
42 Results list = new Results();
local 43 list.add(result, count);
44 results.add(new ExpectedInvocationAndResults(expected, list));
78 public List<ErrorMessage> getMessages(Invocation invocation) {
79 List<ErrorMessage> messages = new ArrayList<ErrorMessage>(results
|
/external/guava/src/com/google/common/collect/ |
ComparatorOrdering.java | 25 import java.util.List; 43 @Override public int binarySearch(List<? extends T> sortedList, T key) { 48 @Override public <E extends T> List<E> sortedCopy(Iterable<E> iterable) { 49 List<E> list = Lists.newArrayList(iterable); local 50 Collections.sort(list, comparator); 51 return list;
|
ListMultimap.java | 22 import java.util.List; 32 * each return a {@link List} of values. Though the method signature doesn't say 33 * so explicitly, the map returned by {@link #asMap} has {@code List} values. 44 * insertion ordering, this method returns a {@link List}, instead of the 47 List<V> get(@Nullable K key); 53 * insertion ordering, this method returns a {@link List}, instead of the 56 List<V> removeAll(@Nullable Object key); 62 * insertion ordering, this method returns a {@link List}, instead of the 65 List<V> replaceValues(K key, Iterable<? extends V> values); 71 * has {@link List} values [all...] |
/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); 56 void rsa_key_dump(struct genlist *list); 59 RSA *rsa_try_check_rsasign(vchar_t *source, vchar_t *sig, struct genlist *list); 61 unsigned long rsa_list_count(struct genlist *list); 63 int rsa_parse_file(struct genlist *list, const char *fname, enum rsa_key_type type);
|
genlist.h | 14 * notice, this list of conditions and the following disclaimer. 16 * notice, this list of conditions and the following disclaimer in the 51 /* This function returns an initialized list head. */ 54 /* Insert an entry at the beginning/end og the list. */ 62 /* Traverse the list and call 'func' for each entry. As long as func() returns 63 * NULL the list traversal continues, once it returns non-NULL (usually the 64 * 'entry' arg), the list traversal exits and the return value is returned 69 /* Get first entry in list if head is not NULL, otherwise get next 70 * entry based on saved position in list from previous call as stored in buf. 78 /* Free all storage associated with list at head using func to free an [all...] |
/frameworks/base/include/utils/ |
List.h | 18 // Templated list class. Normally we'd use STL, but we don't have that. 21 // Objects are copied into the list with the '=' operator or with copy- 25 // The only class you want to use from here is "List". 36 * Doubly-linked list. Instantiate with "List<MyClass> myList". 38 * Objects added to the list are copied using the assignment operator, 42 class List 46 * One element in the list. 60 friend class List; 68 * Iterator for walking through the list [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
BerTlv.java | 19 import java.util.List; 30 private List<ComprehensionTlv> mCompTlvs = null; 37 private BerTlv(int tag, List<ComprehensionTlv> ctlvs) { 43 * Gets a list of ComprehensionTlv objects contained in this BER-TLV object. 45 * @return A list of COMPREHENSION-TLV object 47 public List<ComprehensionTlv> getComprehensionTlvs() { 108 List<ComprehensionTlv> ctlvs = ComprehensionTlv.decodeMany(data,
|
/cts/tests/ProcessTest/src/com/android/cts/process/ |
ProcessTest.java | 19 import java.util.List; 53 List<RunningAppProcessInfo> list = am.getRunningAppProcesses(); local 54 assertEquals(-1, getPid(shareProcessName, list)); 61 List<RunningAppProcessInfo> sharelist = am.getRunningAppProcesses(); 69 List<RunningAppProcessInfo> shareStublist = am.getRunningAppProcesses(); 79 List<RunningAppProcessInfo> noShareStublist = am.getRunningAppProcesses(); 88 private int getPid(String processName, List<RunningAppProcessInfo> list) { 89 for (RunningAppProcessInfo rai : list) { [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebBackForwardListTest.java | 65 WebBackForwardList list = mWebView.copyBackForwardList(); local 67 assertNull(list.getCurrentItem()); 68 assertEquals(0, list.getSize()); 69 assertEquals(-1, list.getCurrentIndex()); 70 assertNull(list.getItemAtIndex(-1)); 71 assertNull(list.getItemAtIndex(2)); 98 WebBackForwardList list = view.copyBackForwardList(); local 99 if (list.getSize() != url.length) { 102 if (list.getCurrentIndex() != url.length - 1) { 106 WebHistoryItem item = list.getItemAtIndex(i) [all...] |
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 36 import java.util.List; 47 // mode: false - list of encodings is empty 48 // mode: true - list of encodings consists of 2 elements 52 private Set<String> list; field in class:MyCertificateFactorySpi 57 list = new HashSet<String>(); 58 list.add("aa"); 59 list.add("bb"); 124 public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) { 135 list.clear(); 137 return list.iterator() [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertyUtils.java | 38 * Searches for the boolean property with the specified key in the property list. 39 * If the key is not found in this property list, the default property list, 45 * @param props the list of properties that will be searched. 46 * @return the value in this property list as a boolean value, or false 61 * Searches for the int property with the specified key in the property list. 62 * If the key is not found in this property list, the default property list, 68 * @param props the list of properties that will be searched. 69 * @return the value in this property list as a int value, or [all...] |
/dalvik/libcore/dom/src/test/java/org/w3c/domts/ |
UserDataMonitor.java | 15 import java.util.List; 26 private final List notifications = new ArrayList(); 61 * Gets list of notifications 63 * @return List of notifications, may not be null. 65 public final List getAllNotifications() {
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/ |
AuthenticatedAttributes.java | 24 import java.util.List; 38 private List authenticatedAttributes; 40 public AuthenticatedAttributes(byte[] encoding, List authenticatedAttributes) { 44 public List getAttributes() { 63 (List) in.content);
|
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
NodeListImpl.java | 23 import java.util.List; 37 private List<NodeImpl> children; 43 NodeListImpl(List<NodeImpl> list) { 44 children = list;
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/axes/ |
SubContextList.java | 26 * A class that implements this interface is a sub context node list, meaning it 27 * is a node list for a location path step for a predicate. 34 * Get the number of nodes in the node list, which, in the XSLT 1 based 40 * @return the number of nodes in the node list. 49 * @return The position of the current node in the list.
|
/development/apps/Development/src/com/android/development/ |
ArrayAdapter.java | 25 import java.util.List; 36 public void setSource(List<E> list) { 37 mList = list; 76 private List<E> mList;
|
/external/bluetooth/glib/gio/ |
gfileattribute.h | 65 GFileAttributeInfoList * g_file_attribute_info_list_ref (GFileAttributeInfoList *list); 66 void g_file_attribute_info_list_unref (GFileAttributeInfoList *list); 67 GFileAttributeInfoList * g_file_attribute_info_list_dup (GFileAttributeInfoList *list); 68 const GFileAttributeInfo *g_file_attribute_info_list_lookup (GFileAttributeInfoList *list, 70 void g_file_attribute_info_list_add (GFileAttributeInfoList *list,
|
/external/dbus/bus/ |
expirelist.h | 2 /* expirelist.h List of stuff that expires 28 #include <dbus/dbus-list.h> 34 typedef dbus_bool_t (* BusExpireFunc) (BusExpireList *list, 40 DBusList *items; /**< List of BusExpireItem */ 59 void bus_expire_list_free (BusExpireList *list);
|
/external/e2fsprogs/e2fsck/ |
prof_err.c | 15 "Bad linked list in profile structures", 58 void initialize_prof_error_table_r(struct et_list **list); 66 void initialize_prof_error_table_r(struct et_list **list) 70 for (end = list, et = *list; et; end = &et->next, et = et->next)
|
/external/webkit/WebCore/bindings/js/ |
JSCSSRuleListCustom.cpp | 8 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer in the 39 CSSRuleList* list = impl(); local 42 unsigned length = list->length(); 44 markDOMObjectWrapper(markStack, globalData, list->item(i));
|
JSConsoleCustom.cpp | 8 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer in the 46 MarkedArgumentBuffer list; local 50 list.append(toJS(exec, iter->get())); 52 return constructArray(exec, list);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccSmsInterfaceManagerProxy.java | 22 import java.util.List; 49 public List<SmsRawData> getAllMessagesFromIccEf() throws android.os.RemoteException { 65 List<String> parts, List<PendingIntent> sentIntents, 66 List<PendingIntent> deliveryIntents) throws android.os.RemoteException {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
FrameworkResourceRepository.java | 23 import java.util.List; 33 private Map<ResourceType, List<ResourceItem>> mResourcesMap; 35 public FrameworkResourceRepository(Map<ResourceType, List<ResourceItem>> systemResourcesMap) { 53 List<ResourceItem> items = mResourcesMap.get(type); 65 List<ResourceItem> items = mResourcesMap.get(type);
|
/external/icu4c/i18n/unicode/ |
colldata.h | 43 * The size of the initial list in a <code>StringList</code> object. 54 * This object holds a list of CEs generated from a particular 83 * Return the number of CEs in the list. 85 * @return the number of CEs in the list. 92 * Get a particular CE from the list. 104 * suffix of this list starting at a give offset. 120 * @return a reference to the given CE in the list 152 * This object holds a list of <code>UnicodeString</code> objects. 180 * Add a string to the list. 190 * Add an array of Unicode code points to the list [all...] |
/system/extras/showslab/ |
showslab.c | 58 * Returns the head of the new list of slab_info structures, or NULL on error. 158 * provided slab_info linked list 160 static void free_slablist(struct slab_info *list) 162 while (list) { 163 struct slab_info *temp = list->next; 164 free(list); 165 list = temp; 171 struct slab_info list; local 172 struct slab_info *p = &list; 187 return list.next 272 struct slab_info *list, *p; local [all...] |