Searched refs:size (Results 1 - 25 of 757) sorted by relevance

1234567891011>>

/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DMappedPlatformAddress.java25 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 DPlatformAddressFactory.java36 * 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
119 alloc(int size) argument
144 alloc(int size, byte init) argument
[all...]
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
H A DVMRuntime.java52 * be resized so that (size of live objects) / (size of heap) is
62 * be resized so that (size of live objects) / (size of heap) is
87 * Returns the minimum heap size, or zero if no minimum is in effect.
89 * @return the minimum heap size value
96 * Sets the desired minimum heap size, and returns the
97 * old minimum size. If size is larger than the maximum
98 * size, th
106 setMinimumHeapSize(long size) argument
119 nativeMinimumHeapSize(long size, boolean set) argument
158 trackExternalAllocation(long size) argument
173 trackExternalFree(long size) argument
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DIntList.java31 /** >= 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 DLabeledList.java33 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 &gt;= 0, &lt; size(); whic
[all...]
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DAnnotationsList.java41 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/luni/src/main/java/java/util/
H A DArrayList.java79 * the specified collection. The initial size of the {@code ArrayList} will
80 * be 10% higher than the size of the specified collection.
87 int size = collection.size();
89 array = newElementArray(size + (size / 10));
94 private E[] newElementArray(int size) { argument
96 if (size == 0) {
101 return (E[])new Object[size];
107 * specified location. If the location is equal to the size o
611 public int size() { method in class:ArrayList
[all...]
H A DMiniEnumSet.java29 private int size; field in class:MiniEnumSet
88 size = Long.bitCount(bits);
99 public int size() { method in class:MiniEnumSet
100 return size;
106 size = 0;
120 size++;
126 if (0 == collection.size()) {
137 size = Long.bitCount(bits);
158 if (collection.size() == 0) {
170 if (0 == collection.size()) {
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DSwitchList.java38 /** ultimate size of the list */
39 private int size; field in class:SwitchList
44 * @param size &gt;= 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 &gt;= 0; the list size
66 public int size() { method in class:SwitchList
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DFileLock.java89 private final long size; field in class:FileLock
102 * @param size
109 protected FileLock(FileChannel channel, long position, long size, argument
112 if (position < 0 || size < 0 || position + size < 0) {
117 this.size = size;
144 * @return the size of the file lock in bytes.
147 public final long size() { method in class:FileLock
148 return size;
[all...]
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/
H A DMethodLogger.java52 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 DCopyOnWriteArrayList.java88 int size = array.length;
89 E[] data = newElementArray(size);
90 for (int i = 0; i < size; i++) {
101 int size = old.length;
102 data = newElementArray(size + 1);
103 System.arraycopy(old, 0, data, 0, size);
104 data[size] = e;
117 int size = old.length;
118 checkIndexInclusive(index, size);
119 data = newElementArray(size
436 public int size() { method in class:CopyOnWriteArrayList
473 newElementArray(int size) argument
506 removeAll(Collection c, int start, int size) argument
542 retainAll(Collection c, int start, int size) argument
582 removeRange(int start, int size) argument
609 toArray(Object[] data, int start, int size) argument
621 toArray(Object[] to, Object[] data, int start, int size) argument
644 containsAll(Collection c, Object[] data, int start, int size) argument
669 lastIndexOf(Object o, Object[] data, int start, int size) argument
699 indexOf(Object o, Object[] data, int start, int size) argument
725 checkIndexInclusive(int index, int size) argument
737 checkIndexExlusive(int index, int size) argument
753 private final int size; field in class:CopyOnWriteArrayList.ListIteratorImpl
755 final int size() { method in class:CopyOnWriteArrayList.ListIteratorImpl
818 final int size; field in class:CopyOnWriteArrayList.SubListReadData
822 SubListReadData(int size, Object[] data) argument
913 public int size() { method in class:CopyOnWriteArrayList.SubList
[all...]
/dalvik/dx/src/com/android/dx/cf/iface/
H A DFieldList.java37 * @return the size
39 public int size(); method in interface:FieldList
44 * @param n <code>n &gt;= 0, n &lt; size()</code>; which field
H A DMethodList.java36 * @return the size
38 public int size(); method in interface:MethodList
43 * @param n <code>n &gt;= 0, n &lt; size()</code>; which method
H A DStdFieldList.java29 * @param size the size of the list
31 public StdFieldList(int size) { argument
32 super(size);
43 * @param n &gt;= 0, &lt; size(); which field
H A DStdMethodList.java29 * @param size the size of the list
31 public StdMethodList(int size) { argument
32 super(size);
43 * @param n &gt;= 0, &lt; size(); which method
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/
H A DTrack.java66 * 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 DDEREncodableVector.java26 public int size() method in class:DEREncodableVector
28 return v.size();
/dalvik/vm/mterp/out/
H A DInterpAsm-allstubs.S17 .size dvmAsmInstructionStart, .-dvmAsmInstructionStart
32 .size dvmAsmSisterStart, .-dvmAsmSisterStart
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
H A DDHParametersGenerator.java10 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/dx/src/com/android/dx/rop/code/
H A DInsnList.java29 * @param size the size of the list
31 public InsnList(int size) { argument
32 super(size);
40 * @param n &gt;= 0, &lt; size(); which index
50 * @param n &gt;= 0, &lt; size(); which index
59 * <code>get(size() - 1)</code>.
64 return get(size() - 1);
73 int sz = size();
91 int sz = size();
[all...]
/dalvik/vm/native/
H A Ddalvik_system_VMRuntime.c57 * native long nativeMinimumHeapSize(long size, boolean set)
59 * If set is true, sets the new minimum heap size to size; always
60 * returns the current (or previous) size. If size is negative or
67 size_t size; local
72 size = 0;
74 size = INT_MAX;
76 size = (size_t)longSize;
79 size
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchHandlerList.java34 * @param size &gt;= 0; the size of the list
36 public CatchHandlerList(int size) { argument
37 super(size);
45 * @param n &gt;= 0, &lt; 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...]
/dalvik/libcore/archive/src/main/native/
H A Dzipalloc.c27 void *zalloc PROTOTYPE ((void *opaque, U_32 items, U_32 size));
38 zalloc (void *opaque, U_32 items, U_32 size) argument
42 return hymem_allocate_memory (items * size);
/dalvik/libcore/logging/src/main/java/java/util/logging/
H A DMemoryHandler.java59 * <li>java.util.logging.MemoryHandler.size specifies the buffer size in number
76 //buffer size
77 private int size = DEFAULT_SIZE; field in class:MemoryHandler
120 //init size
121 String sizeString = manager.getProperty(className+".size"); //$NON-NLS-1$
124 size = Integer.parseInt(sizeString);
125 if(size <= 0){
126 size = DEFAULT_SIZE;
129 printInvalidPropMessage(className+".size", sizeStrin
164 MemoryHandler(Handler target, int size, Level pushLevel) argument
[all...]

Completed in 7228 milliseconds

1234567891011>>