/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | MappedPlatformAddress.java | 25 MappedPlatformAddress(int address, long size) { argument 26 super(address, size); 30 memorySpy.rangeCheck(this, 0, (int) size * SIZEOF_JBYTE); 31 osMemory.load(osaddr, size); 35 memorySpy.rangeCheck(this, 0, (int) size * SIZEOF_JBYTE); 36 return osMemory.isLoaded(osaddr, size); 40 memorySpy.rangeCheck(this, 0, (int) size * SIZEOF_JBYTE); 41 osMemory.flush(osaddr, size); 46 osMemory.unmap(osaddr, size); 51 return PlatformAddressFactory.mapOn(osaddr, size); [all...] |
H A D | PlatformAddressFactory.java | 36 * A mask with all bits set, matching the size of the cache. 63 * @param size the size of the memory in bytes 66 private static PlatformAddress make(int value, long size) { argument 71 return new PlatformAddress(value, size); 76 public synchronized static PlatformAddress on(int value, long size) { argument 85 new PlatformAddress(value, size); 87 if (cachedObj.osaddr == value && cachedObj.size == size) { 93 new PlatformAddress(value, size); 101 mapOn(int value, long size) argument 106 allocMap(int fd, long start, long size, int mode) argument 124 alloc(int size) argument 149 alloc(int size, byte init) argument [all...] |
/dalvik/dx/src/com/android/dx/util/ |
H A D | IntList.java | 31 /** {@code >= 0;} current size of the list */ 32 private int size; field in class:IntList 90 throw new IllegalArgumentException("size < 0"); 93 size = 0; 102 for (int i = 0; i < size; i++) { 126 if (size != otherList.size) { 130 for (int i = 0; i < size; i++) { 142 StringBuffer sb = new StringBuffer(size * 5 + 10); 146 for (int i = 0; i < size; 161 public int size() { method in class:IntList [all...] |
H A D | LabeledList.java | 33 public LabeledList(int size) { argument 34 super(size); 36 labelToIndex = new IntList(size); 45 super(old.size()); 48 int sz = old.size(); 64 int sz = labelToIndex.size(); 92 int origSz = labelToIndex.size(); 110 if (label >= labelToIndex.size()) { 131 int szItems = size(); 145 * @param n {@code >= 0, < size();} whic [all...] |
/dalvik/dx/src/com/android/dx/rop/annotation/ |
H A D | AnnotationsList.java | 41 int size = list1.size(); 43 if (size != list2.size()) { 44 throw new IllegalArgumentException("list1.size() != list2.size()"); 47 AnnotationsList result = new AnnotationsList(size); 49 for (int i = 0; i < size; i++) { 62 * @param size the size o 64 AnnotationsList(int size) argument [all...] |
/dalvik/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | VMRuntime.java | 55 * be resized so that (size of live objects) / (size of heap) is 65 * be resized so that (size of live objects) / (size of heap) is 92 * Returns the minimum heap size, or zero if no minimum is in effect. 94 * @return the minimum heap size value 101 * Sets the desired minimum heap size, and returns the 102 * old minimum size. If size is larger than the maximum 103 * size, th 113 setMinimumHeapSize(long size) argument 126 nativeMinimumHeapSize(long size, boolean set) argument 165 trackExternalAllocation(long size) argument 180 trackExternalFree(long size) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | SwitchList.java | 38 /** ultimate size of the list */ 39 private int size; field in class:SwitchList 44 * @param size {@code >= 0;} the number of elements to be in the table 46 public SwitchList(int size) { argument 48 this.values = new IntList(size); 49 this.targets = new IntList(size + 1); 50 this.size = size; 62 * Gets the size of the list. 64 * @return {@code >= 0;} the list size 66 public int size() { method in class:SwitchList [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
H A D | FileLock.java | 80 private final long size; field in class:FileLock 93 * @param size 99 protected FileLock(FileChannel channel, long position, long size, argument 102 if (position < 0 || size < 0 || position + size < 0) { 107 this.size = size; 132 * @return the size of the file lock in bytes. 134 public final long size() { method in class:FileLock 135 return size; [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/ |
H A D | MethodLogger.java | 52 public int size() { method in class:MethodLogger 53 return methods.size(); 68 return (size() == 0 ? null : getMethod(size() - 1)); 84 return (size() == 0 ? null : getArgs(size() - 1));
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 80 int size = array.length; 81 E[] data = newElementArray(size); 82 for (int i = 0; i < size; i++) { 93 int size = old.length; 94 data = newElementArray(size + 1); 95 System.arraycopy(old, 0, data, 0, size); 96 data[size] = e; 109 int size = old.length; 110 checkIndexInclusive(index, size); 111 data = newElementArray(size 420 public int size() { method in class:CopyOnWriteArrayList 457 newElementArray(int size) argument 490 removeAll(Collection c, int start, int size) argument 526 retainAll(Collection c, int start, int size) argument 566 removeRange(int start, int size) argument 593 toArray(Object[] data, int start, int size) argument 605 toArray(Object[] to, Object[] data, int start, int size) argument 628 containsAll(Collection c, Object[] data, int start, int size) argument 653 lastIndexOf(Object o, Object[] data, int start, int size) argument 683 indexOf(Object o, Object[] data, int start, int size) argument 709 checkIndexInclusive(int index, int size) argument 721 checkIndexExlusive(int index, int size) argument 746 private final int size; field in class:CopyOnWriteArrayList.ListIteratorImpl 748 final int size() { method in class:CopyOnWriteArrayList.ListIteratorImpl 811 final int size; field in class:CopyOnWriteArrayList.SubListReadData 815 SubListReadData(int size, Object[] data) argument 906 public int size() { method in class:CopyOnWriteArrayList.SubList [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
H A D | FieldList.java | 37 * @return the size 39 public int size(); method in interface:FieldList 44 * @param n {@code n >= 0, n < size();} which field
|
H A D | MethodList.java | 36 * @return the size 38 public int size(); method in interface:MethodList 43 * @param n {@code n >= 0, n < size();} which method
|
H A D | StdFieldList.java | 29 * @param size the size of the list 31 public StdFieldList(int size) { argument 32 super(size); 43 * @param n {@code >= 0, < size();} which field
|
H A D | StdMethodList.java | 29 * @param size the size of the list 31 public StdMethodList(int size) { argument 32 super(size); 43 * @param n {@code >= 0, < size();} which method
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/ |
H A D | Track.java | 66 * doesn't contain some events, i.e. Track.size() return 0, this 76 if (events.size() == 0) { 79 byte[] bt = events.get(events.size() - 1).getMessage().getMessage(); 90 if (events.size() == 0) { 96 byte[] bt = events.get(events.size() - 1).getMessage().getMessage(); 108 if (events.size() == 1) { 111 for (int i = 0; i < events.size() - 1; i++ ) { 129 if (index < 0 || index >= events.size()) { 131 throw new ArrayIndexOutOfBoundsException(Messages.getString("sound.02", index, events.size())); //$NON-NLS-1$ 149 if (events.size() 157 public int size() { method in class:Track [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
H A D | DEREncodableVector.java | 26 public int size() method in class:DEREncodableVector 28 return v.size();
|
/dalvik/vm/mterp/out/ |
H A D | InterpAsm-allstubs.S | 17 .size dvmAsmInstructionStart, .-dvmAsmInstructionStart 32 .size dvmAsmSisterStart, .-dvmAsmSisterStart
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Observable.java | 75 return observers.size(); 127 int size = 0; 132 size = observers.size(); 133 arrays = new Observer[size];
|
H A D | Stack.java | 23 * including null objects. There is no limit to the size of the stack. 30 * Constructs a stack with the default size of {@code Vector}. 108 final int size = elementCount; 110 for (int i = size - 1; i >= 0; i--) { 112 return size - i; 116 for (int i = size - 1; i >= 0; i--) { 118 return size - i;
|
H A D | ArrayList.java | 66 int size; field in class:ArrayList 109 size = a.length; 121 int s = size; 130 size = s + 1; 138 * specified location. If the location is equal to the size of this 146 * when {@code location < 0 || > size()} 150 int s = size; 165 size = s + 1; 199 int s = size; 208 size 256 throwIndexOutOfBoundsException(int index, int size) argument 321 @Override public int size() { method in class:ArrayList [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/ |
H A D | DHParametersGenerator.java | 10 private int size; field in class:DHParametersGenerator 20 * @param size bit length for the prime p 25 int size, 29 this.size = size; 43 int qLength = size - 1; 24 init( int size, int certainty, SecureRandom random) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | X509NameElementList.java | 51 private int size; field in class:X509NameElementList 81 int sz = size; 120 size = sz + 1; 127 added.set(size - 1); 133 public int size() { method in class:X509NameElementList 134 return size; 144 if ((n < 0) || (n >= size)) { 164 if ((n < 0) || (n >= size)) { 184 if ((n < 0) || (n >= size)) { 200 for (int i = size [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | InsnList.java | 29 * @param size the size of the list 31 public InsnList(int size) { argument 32 super(size); 40 * @param n {@code >= 0, < size();} which index 50 * @param n {@code >= 0, < size();} which index 59 * {@code get(size() - 1)}. 64 return get(size() - 1); 73 int sz = size(); 91 int sz = size(); [all...] |
/dalvik/tests/080-oom-throw/src/ |
H A D | Main.java | 19 static int blowup(char[][] holder, int size) { argument 22 for ( ; i < size; i++) 28 return size; 54 int size = 1 * 1024 * 1024; 55 char[][] holder = new char[size][]; 57 int count = ArrayMemEater.blowup(holder, size); 59 if (count < size) {
|
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | CatchHandlerList.java | 34 * @param size {@code >= 0;} the size of the list 36 public CatchHandlerList(int size) { argument 37 super(size); 45 * @param n {@code >= 0, < size();} which index 68 int size = size(); 74 for (int i = 0; i < size; i++) { 83 if ((i == (size - 1)) && catchesAll()) { 104 int size [all...] |