Searched defs:size (Results 76 - 100 of 140) sorted by relevance

123456

/dalvik/vm/jdwp/
H A DJdwpEvent.h72 int size; /* JdwpStepSize */ member in struct:JdwpEventMod::__anon78
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DClassDataItem.java184 int sz = directMethods.size() + virtualMethods.size();
204 int sz = staticFields.size();
209 sz = instanceFields.size();
214 sz = directMethods.size();
220 sz = virtualMethods.size();
267 if ((staticValuesConstant == null) && (staticFields.size() != 0)) {
286 * Get the size of staticValues minus any trailing zeros/nulls (both
290 int size = staticFields.size();
375 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/type/
H A DStdTypeList.java234 int size = list.size();
236 if (size == 0) {
242 for (int i = 0; i < size; i++) {
261 int size = list.size();
264 for (int i = 0; i < size; i++) {
281 int size = list1.size();
283 if (list2.size() !
331 StdTypeList(int size) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DByteArray.java36 /** {@code >= 0, <= bytes.length}; size computed as
38 private final int size; field in class:ByteArray
67 this.size = end - start;
80 * Gets the size of the array, in bytes.
82 * @return {@code >= 0;} the size
84 public int size() { method in class:ByteArray
85 return size;
92 * @param end {@code >= start, <= size();} end index of
122 * @param off {@code >= 0, < size();} offset to fetch
133 * @param off {@code >= 0, < (size()
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DBytecodeArray.java80 * Gets the size of the bytecode array, per se.
84 public int size() { method in class:BytecodeArray
85 return bytes.size();
91 * array size plus four bytes for {@code code_length}.
96 return 4 + bytes.size();
106 int sz = bytes.size();
126 int sz = bytes.size();
211 * @param offset {@code >= 0, < bytes.size();} offset to the start of the
/dalvik/dx/src/com/android/dx/cf/direct/
H A DDirectClassFile.java327 * @param size number of elements in the list (not number of bytes)
330 public TypeList makeTypeList(int offset, int size) { argument
331 if (size == 0) {
339 return new DcfTypeList(bytes, offset, size, pool, observer);
443 if (bytes.size() < 10) {
543 if (at != bytes.size()) {
567 private final int size; field in class:DirectClassFile.DcfTypeList
578 * @param size number of elements in the list (not number of bytes)
582 public DcfTypeList(ByteArray bytes, int offset, int size, argument
584 if (size <
615 public int size() { method in class:DirectClassFile.DcfTypeList
[all...]
/dalvik/dx/src/com/android/dx/dex/
H A DTableOfContents.java101 stringIds.size = headerIn.readInt();
103 typeIds.size = headerIn.readInt();
105 protoIds.size = headerIn.readInt();
107 fieldIds.size = headerIn.readInt();
109 methodIds.size = headerIn.readInt();
111 classDefs.size = headerIn.readInt();
124 int size = in.readInt();
127 if ((section.size != 0 && section.size != size)
215 public int size = 0; field in class:TableOfContents.Section
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DClassDataItem.java181 int sz = directMethods.size() + virtualMethods.size();
201 int sz = staticFields.size();
206 sz = instanceFields.size();
211 sz = directMethods.size();
217 sz = virtualMethods.size();
264 if ((staticValuesConstant == null) && (staticFields.size() != 0)) {
283 * Get the size of staticValues minus any trailing zeros/nulls (both
287 int size = staticFields.size();
372 encodeSize(DexFile file, AnnotatedOutput out, String label, int size) argument
[all...]
/dalvik/dx/src/com/android/dx/io/
H A DEncodedValueReader.java55 int size = Leb128Utils.readUnsignedLeb128(in);
56 visitArray(size);
58 for (int i = 0; i < size; i++) {
65 int size = Leb128Utils.readUnsignedLeb128(in);
66 visitAnnotation(typeIndex, size);
68 for (int i = 0; i < size; i++) {
78 int size = arg + 1;
88 visitPrimitive(argAndType, type, arg, size);
91 visitString(type, readIndex(in, size));
94 visitType(type, readIndex(in, size));
120 visitArray(int size) argument
121 visitAnnotation(int typeIndex, int size) argument
123 visitPrimitive(int argAndType, int type, int arg, int size) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/type/
H A DStdTypeList.java234 int size = list.size();
236 if (size == 0) {
242 for (int i = 0; i < size; i++) {
261 int size = list.size();
264 for (int i = 0; i < size; i++) {
281 int size = list1.size();
283 if (list2.size() !
331 StdTypeList(int size) argument
[all...]
/dalvik/dx/src/com/android/dx/ssa/
H A DEscapeAnalysis.java72 * @param size the number of registers in the method
75 EscapeSet(int reg, int size, EscapeState escState) { argument
76 regSet = new BitSet(size);
120 * Returns the size of the lattice if the register wasn't found.
123 * @return index of the register or size of the lattice if it wasn't found.
127 for (i = 0; i < latticeValues.size(); i++) {
146 return predInsns.get(predInsns.size()-1);
294 if (setIndex != latticeValues.size()) {
330 int listSize = regWorklist.size() - 1;
362 if (setIndex != latticeValues.size()) {
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DByteArray.java36 /** {@code >= 0, <= bytes.length}; size computed as
38 private final int size; field in class:ByteArray
67 this.size = end - start;
80 * Gets the size of the array, in bytes.
82 * @return {@code >= 0;} the size
84 public int size() { method in class:ByteArray
85 return size;
92 * @param end {@code >= start, <= size();} end index of
122 * @param off {@code >= 0, < size();} offset to fetch
133 * @param off {@code >= 0, < (size()
[all...]
H A DByteArrayAnnotatedOutput.java32 /** default size for stretchy instances */
66 * Constructs an instance with a fixed maximum size. Note that the
88 * Constructs a "stretchy" instance with initial size {@code size}. The
92 public ByteArrayAnnotatedOutput(int size) { argument
93 this(new byte[size], true);
257 int blen = bytes.size();
377 int asz = annotations.size();
396 int sz = annotations.size();
451 int asz = annotations.size();
[all...]
/dalvik/vm/
H A DHash.cpp34 * Compute the capacity needed for a table to hold "size" elements.
36 size_t dvmHashSize(size_t size) { argument
37 return (size * LOAD_DENOM) / LOAD_NUMER +1;
124 * size of the table beyond its comfy limit.
H A DLinearAlloc.cpp254 * Allocate "size" bytes of storage, associated with a particular class
257 * It's okay for size to be zero.
265 void* dvmLinearAlloc(Object* classLoader, size_t size) argument
272 return calloc(1, size);
275 LOGVV("--- LinearAlloc(%p, %d)", classLoader, size);
278 * What we'd like to do is just determine the new end-of-alloc size
295 * add the size of data they want, add another header's worth so we
298 * chunk header size off so we're back to the header pointer.
301 * old=12 size=3 new=((12+(4*2)+3+7) & ~7)-4 = 24-4 --> 20
302 * old=12 size
[all...]
H A DReferenceTable.cpp168 * This is a qsort() callback. We sort Object* by class, allocation size,
279 size_t size = dvmObjectSizeInHeap(ref); local
280 ALOGW(" %5d: %p (raw) (%zd bytes)", idx, ref, size);
/dalvik/vm/alloc/
H A DAlloc.cpp201 * We use the size actually allocated, rather than obj->clazz->objectSize,
215 size_t size; local
217 size = dvmArrayObjectSize((ArrayObject *)obj);
219 size = clazz->objectSize;
222 Object* copy = (Object*)dvmMalloc(size, flags);
229 memcpy((char*)copy + offset, (char*)obj + offset, size - offset);
236 dvmTrackAllocation(clazz, size); /* notify DDMS */
H A DHeap.cpp178 static void *tryMalloc(size_t size) argument
187 // Maybe we skip the GC if the size is large and we did one recently
192 ptr = dvmHeapSourceAlloc(size);
214 ptr = dvmHeapSourceAlloc(size);
222 ptr = dvmHeapSourceAllocAndGrow(size);
232 FRACTIONAL_MB(newHeapSize), size);
237 * is really full, really fragmented, or the requested size is
244 size);
246 ptr = dvmHeapSourceAllocAndGrow(size);
252 LOGE_HEAP("Out of memory on a %zd-byte allocation.", size);
333 dvmMalloc(size_t size, int flags) argument
[all...]
/dalvik/vm/compiler/
H A DUtility.cpp43 void * dvmCompilerNew(size_t size, bool zero) argument
45 size = (size + 3) & ~3;
48 if (size + currentArena->bytesAllocated <= currentArena->blockSize) {
51 currentArena->bytesAllocated += size;
53 memset(ptr, 0, size);
66 size_t blockSize = (size < ARENA_DEFAULT_SIZE) ?
67 ARENA_DEFAULT_SIZE : size;
140 iterator->size = gList->numUsed;
145 assert(iterator->size
[all...]
/dalvik/vm/hprof/
H A DHprofHeap.cpp69 size_t size; local
73 case 'L': ret = hprof_basic_object; size = 4; break;
74 case 'Z': ret = hprof_basic_boolean; size = 1; break;
75 case 'C': ret = hprof_basic_char; size = 2; break;
76 case 'F': ret = hprof_basic_float; size = 4; break;
77 case 'D': ret = hprof_basic_double; size = 8; break;
78 case 'B': ret = hprof_basic_byte; size = 1; break;
79 case 'S': ret = hprof_basic_short; size = 2; break;
81 case 'I': ret = hprof_basic_int; size = 4; break;
82 case 'J': ret = hprof_basic_long; size
96 size_t size; local
321 size_t size; local
373 size_t size; local
435 size_t size; local
[all...]
/dalvik/vm/oo/
H A DArray.cpp626 size_t size = OFFSETOF_MEMBER(ArrayObject, contents); local
627 size += array->length * dvmArrayClassElementWidth(array->clazz);
628 return size;
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DLocalList.java45 * @param size {@code >= 0;} the size of the list
47 public LocalList(int size) { argument
48 super(size);
56 * @param n {@code >= 0, < size();} which index
66 * @param n {@code >= 0, < size();} which index
80 int sz = size();
327 int sz = insns.size();
381 int sz = locals.size();
394 int sz = locals.size();
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DLocalList.java45 * @param size {@code >= 0;} the size of the list
47 public LocalList(int size) { argument
48 super(size);
56 * @param n {@code >= 0, < size();} which index
66 * @param n {@code >= 0, < size();} which index
80 int sz = size();
327 int sz = insns.size();
381 int sz = locals.size();
394 int sz = locals.size();
[all...]
/dalvik/dx/src/com/android/dx/merge/
H A DIndexMap.java55 this.stringIds = new int[tableOfContents.stringIds.size];
56 this.typeIds = new short[tableOfContents.typeIds.size];
57 this.protoIds = new short[tableOfContents.protoIds.size];
58 this.fieldIds = new short[tableOfContents.fieldIds.size];
59 this.methodIds = new short[tableOfContents.methodIds.size];
230 protected void visitArray(int size) { argument
231 Leb128Utils.writeUnsignedLeb128(out, size);
234 protected void visitAnnotation(int typeIndex, int size) { argument
236 Leb128Utils.writeUnsignedLeb128(out, size);
243 protected void visitPrimitive(int argAndType, int type, int arg, int size) { argument
300 copyBytes(ByteInput in, ByteOutput out, int size) argument
[all...]
/dalvik/dx/src/com/android/dx/ssa/back/
H A DFirstFitLocalCombiningAllocator.java181 int sz = ssaRegs.size();
249 int sz = specs.size();
475 SsaInsn checkCastInsn = insnList.get(insnList.size() - 1);
519 checkCastInsn.getOriginalRopInsn().getCatches().size() != 0;
723 int szSources = sources.size();
745 int szSimilar = similarRegisters.size();
779 int szSources = sources.size();
918 int szSources = sources.size();
1022 int sourcesSize = sources.size();
1074 private int size; field in class:FirstFitLocalCombiningAllocator.Multiset
[all...]

Completed in 445 milliseconds

123456