/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/ |
H A D | StringUtils.java | 31 * Combine a list of strings in an <code>Object[]</code> into a single 34 * @param list non-null; the strings to combine 37 public static String combineStrings(Object[] list) { argument 38 int listLength = list.length; 45 return (String) list[0]; 52 strLength += ((String) list[i]).length(); 58 sb.append(list[i]);
|
/dalvik/libcore/prefs/src/main/java/java/util/prefs/ |
H A D | NodeSet.java | 15 ArrayList<Node> list = new ArrayList<Node>(); field in class:NodeSet 19 list.add(nodes.next()); 24 return list.size(); 30 result = list.get(index);
|
/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_ListTest.java | 30 List<Integer> list; // must contain the Integers 0 to 99 in order field in class:Support_ListTest 38 list = l; 46 elem = list.get(counter); 51 assertTrue("ListTest - hashCode failed", hashCode == list.hashCode()); 53 list.add(50, new Integer(1000)); 54 assertTrue("ListTest - a) add with index failed--did not insert", list 58 list.get(51).equals(new Integer(50))); 61 list.get(49).equals(new Integer(49))); 63 list.set(50, new Integer(2000)); 64 assertTrue("ListTest - a) set failed--did not set", list 131 t_listIterator(List<Integer> list) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | HeaderSection.java | 29 /** non-null; the list of the one item in the section */ 30 private final List<HeaderItem> list; field in class:HeaderSection 43 this.list = Collections.singletonList(item); 55 return list;
|
H A D | Statistics.java | 56 * Adds the given list of items to the statistics. 58 * @param list non-null; the list of items to add 60 public void addAll(Section list) { argument 61 Collection<? extends Item> items = list.items();
|
H A D | TypeListItem.java | 27 * Representation of a list of class references. 39 /** non-null; the actual list */ 40 private final TypeList list; field in class:TypeListItem 45 * @param list non-null; the actual list 47 public TypeListItem(TypeList list) { argument 48 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE); 50 this.list = list; 56 return StdTypeList.hashContents(list); [all...] |
H A D | AnnotationsDirectoryItem.java | 40 /** write size of a list element, in bytes */ 186 * @param list non-null; associated list of annotation sets to add 189 AnnotationsList list) { 194 parameterAnnotations.add(new ParameterAnnotationStruct(method, list)); 339 * Gets the list size of the given list, or <code>0</code> if given 342 * @param list null-ok; the list in question 345 private static int listSize(ArrayList<?> list) { argument 188 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument [all...] |
H A D | ClassDataItem.java | 47 /** non-null; list of static fields */ 50 /** non-null; list of initial values for static fields */ 53 /** non-null; list of instance fields */ 56 /** non-null; list of direct methods */ 59 /** non-null; list of virtual methods */ 62 /** null-ok; static initializer list; set in {@link #addContents} */ 177 * Gets all the methods in this class. The returned list is not linked 179 * the objects contained in the list are shared. 181 * @return non-null; list of all methods 311 CstArray.List list 397 encodeList(DexFile file, AnnotatedOutput out, String label, ArrayList<? extends EncodedMember> list) argument [all...] |
H A D | ClassDefItem.java | 60 /** null-ok; list of implemented interfaces */ 86 * @param interfaces non-null; list of implemented interfaces 198 TypeList list = interfaces.getList(); 199 int sz = list.size(); 201 out.annotate(0, " " + list.getType(i).toHuman()); 252 * Gets the list of interfaces implemented. 254 * @return non-null; the interfaces list 311 * Gets all the methods in this class. The returned list is not linked 313 * the objects contained in the list are shared. 315 * @return non-null; list o 360 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeListImpl.java | 43 NodeListImpl(List<NodeImpl> list) { argument 44 children = list;
|
H A D | NamedNodeMapImpl.java | 41 private List<NodeImpl> list; field in class:NamedNodeMapImpl 44 list = new ArrayList<NodeImpl>(); 48 NamedNodeMapImpl(List<NodeImpl> list, Class<?> type) { argument 49 this.list = list; 54 return list.size(); 58 for (int i = 0; i < list.size(); i++) { 59 NodeImpl node = list.get(i); 69 for (int i = 0; i < list.size(); i++) { 70 NodeImpl node = list [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | AttributeListParser.java | 36 /** offset in the byte array of the classfile to the start of the list */ 42 /** non-null; list of parsed attributes */ 43 private final StdAttributeList list; field in class:AttributeListParser 45 /** >= -1; the end offset of this list in the byte array of the 57 * @param offset offset in <code>bytes</code> to the start of the list 76 this.list = new StdAttributeList(size); 101 * Gets the parsed list. 103 * @return non-null; the list 107 return list; 123 int sz = list [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
H A D | ListOfTypes.java | 25 ArrayList<Type> list; field in class:ListOfTypes 32 list.add(elem); 36 list = new ArrayList<Type>(capacity); 40 list = new ArrayList<Type>(); 42 list.add(t); 47 return list.size(); 54 for (Type t : list) { 64 resolvedTypes = new Type[list.size()]; 66 for (Type t : list) { 74 list [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | DalvInsnList.java | 47 * identical to the ones in the given list, in the same order. 49 * @param list non-null; the list to use for elements 55 public static DalvInsnList makeImmutable(ArrayList<DalvInsn> list, argument 57 int size = list.size(); 61 result.set(i, list.get(i)); 71 * @param size the size of the list
|
H A D | InsnFormat.java | 161 * Helper method to return a register list string. 163 * @param list non-null; the list of registers 166 protected static String regListString(RegisterSpecList list) { argument 167 int sz = list.size(); 176 sb.append(list.get(i).regString());
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
H A D | CstArray.java | 27 /** non-null; the actual list of contents */ 28 private final List list; field in class:CstArray 33 * @param list non-null; the actual list of contents 35 public CstArray(List list) { argument 36 if (list == null) { 37 throw new NullPointerException("list == null"); 40 list.throwIfMutable(); 42 this.list = list; [all...] |
/dalvik/libcore/archive/src/main/java/java/util/jar/ |
H A D | JarEntry.java | 163 ArrayList<Certificate> list = new ArrayList<Certificate>(certs.length); 177 addCodeSigner(asigners, list); 179 list.clear(); 184 list.add(x509); 186 if (!list.isEmpty()) { 187 addCodeSigner(asigners, list); 201 List<Certificate> list) { 216 certPath = factory.generateCertPath(list); 200 addCodeSigner(ArrayList<CodeSigner> asigners, List<Certificate> list) argument
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | VMClassLoader.java | 61 ArrayList<URL> list = null; 68 if (list == null) 69 list = new ArrayList<URL>(); 72 list.add(new URL(urlStr)); 81 if (list == null) 84 return new EnumerateListArray<URL>(list); 127 EnumerateListArray(ArrayList list) { argument 128 mList = list;
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | CodeSource.java | 233 ArrayList<Certificate> list = new ArrayList<Certificate>(certs.length); 255 list.add(x509); 261 CertPath cpath = makeCertPath(list); 266 list.clear(); 269 list.add(x509); 272 if (!list.isEmpty()) { 273 CertPath cpath = makeCertPath(list); 290 // @param list 292 private CertPath makeCertPath(List<? extends Certificate> list) { argument 302 return factory.generateCertPath(list); [all...] |
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertificateFactorySpi.java | 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"); 135 list.clear(); 137 return list.iterator();
|
/dalvik/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | PathClassLoader.java | 36 * Provides a simple {@link ClassLoader} implementation that operates on a list 57 * Creates a {@code PathClassLoader} that operates on a given list of files 63 * the list of files and directories 74 * files and directories. The entries of the first list should be one of the 81 * The entries of the second list should be directories containing native 86 * the list of files and directories containing classes and 90 * the list of directories containing native libraries 484 EnumerateListArray(ArrayList list) { argument 485 mList = list;
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 158 assertTrue("should construct super", A.list.contains(b)); 159 assertFalse("should not construct self", B.list.contains(b)); 210 static final ArrayList<A> list = new ArrayList<A>(); field in class:ObjectInputStreamTest.A 215 list.add(this); 221 static final ArrayList<A> list = new ArrayList<A>(); field in class:ObjectInputStreamTest.B 225 list.add(this);
|
/dalvik/vm/ |
H A D | PointerSet.c | 22 * Sorted, expanding list of pointers. 27 const void** list; member in struct:PointerSet 39 const void* cur = pSet->list[i]; 59 pSet->list = malloc(sizeof(const void*) * initialSize); 60 if (pSet->list == NULL) { 79 if (pSet->list != NULL) { 80 free(pSet->list); 81 pSet->list = NULL; 95 * Get the number of pointers currently stored in the list. 103 * Get the Nth entry from the list [all...] |
/dalvik/dx/src/com/android/dx/rop/type/ |
H A D | StdTypeList.java | 29 /** non-null; the list <code>[int]</code> */ 32 /** non-null; the list <code>[long]</code> */ 35 /** non-null; the list <code>[float]</code> */ 38 /** non-null; the list <code>[double]</code> */ 41 /** non-null; the list <code>[Object]</code> */ 44 /** non-null; the list <code>[ReturnAddress]</code> */ 48 /** non-null; the list <code>[Throwable]</code> */ 52 /** non-null; the list <code>[int, int]</code> */ 56 /** non-null; the list <code>[long, long]</code> */ 60 /** non-null; the list <cod 233 toHuman(TypeList list) argument 260 hashContents(TypeList list) argument [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | AbstractList.java | 34 * A counter for changes to the list. 158 SubAbstractListRandomAccess(AbstractList<E> list, int start, int end) { argument 159 super(list, start, end); 181 SubAbstractList<E> list, int offset, int length) { 184 subList = list; 240 SubAbstractList(AbstractList<E> list, int start, int end) { argument 242 fullList = list; 447 * if adding to this list is not supported. 449 * if the class of an object is inappropriate for this list. 451 * if an object cannot be added to this list 180 SubAbstractListIterator(ListIterator<E> it, SubAbstractList<E> list, int offset, int length) argument [all...] |