Searched refs:size (Results 151 - 175 of 392) sorted by relevance

1234567891011>>

/dalvik/dx/src/com/android/dx/ssa/
H A DDeadCodeRemover.java85 if (useList[regV].size() == 0
97 int sz = sources.size();
134 for (int i = 0; i < block.getInsns().size(); i++) {
137 int sourcesSize = sources.size();
H A DLocalVariableExtractor.java73 this.workSet = new BitSet(blocks.size());
107 int insnSz = insns.size();
123 = lastInsn.getOriginalRopInsn().getCatches().size() !=0 ;
194 int succSz = successors.size();
H A DSCCP.java76 this.executableBlocks = new BitSet(ssaMeth.getBlocks().size());
169 int sourceSize = sources.size();
259 if (sources.size() == 2) {
269 if (cA != null && sources.size() == 1) {
351 for (int i = 0; i < block.getSuccessorList().size(); i++) {
379 if (sources.size() == 1) {
382 } else { /* sources.size() == 2 */
410 if (sources.size() == 1) {
501 if (insn.getSources().size() == 1) {
551 int listSize = cfgWorklist.size()
[all...]
/dalvik/vm/
H A DLinearAlloc.h60 void* dvmLinearAlloc(Object* classLoader, size_t size);
H A DRawDexFile.cpp33 static int copyFileToFile(int destFd, int srcFd, size_t size) argument
40 return sysCopyFileToFile(destFd, srcFd, size);
44 * Get the modification time and size in bytes for the given fd.
46 static int getModTimeAndSize(int fd, u4* modTime, size_t* size) argument
57 *size = (size_t) buf.st_size;
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 DAllocTracker.cpp41 * Changing the window size is easy, changing the max stack depth is harder
42 * because we go from an array of fixed-size structs to variable-sized data.
60 u4 size; /* total size requested */ member in struct:AllocRecord
208 void dvmDoTrackAllocation(ClassObject* clazz, size_t size) argument
229 pRec->size = size;
259 (4b) total allocation size
279 The chief reason for using a string table here is to keep the size of
391 * The size o
468 size_t size = 0; local
[all...]
/dalvik/vm/alloc/
H A DAlloc.h54 void* dvmMalloc(size_t size, int flags);
H A DAlloc.cpp204 * We use the size actually allocated, rather than obj->clazz->objectSize,
218 size_t size; local
220 size = dvmArrayObjectSize((ArrayObject *)obj);
222 size = clazz->objectSize;
225 Object* copy = (Object*)dvmMalloc(size, flags);
232 memcpy((char*)copy + offset, (char*)obj + offset, size - offset);
239 dvmTrackAllocation(clazz, size); /* notify DDMS */
/dalvik/dx/src/com/android/dx/command/dump/
H A DBlockDumper.java213 int sz = list.size();
244 int ssz = successors.size();
255 int csz = catches.size();
270 int end = bytes.size();
310 int psz = preds.size();
318 int ilsz = il.size();
327 int ssz = successors.size();
348 parsed(bytes, 0, bytes.size(), sb.toString());
/dalvik/dx/src/com/android/dx/io/
H A DCodeReader.java81 int size = decodedInstructions.length;
83 for (int i = 0; i < size; i++) {
/dalvik/dx/src/com/android/dx/ssa/back/
H A DSsaToRop.java145 if ((insns.size() == 1)
199 int sz = sources.size();
264 if (exitBlock != null && exitBlock.getInsns().size() != 0) {
281 SsaInsn lastInsn = insns.get(insns.size() - 1);
308 if (successorList.size() > 1) {
337 int insnCount = ssaInsns.size();
366 return ssaMeth.getUseListForRegister(o2).size()
367 - ssaMeth.getUseListForRegister(o1).size();
/dalvik/vm/jdwp/
H A DJdwpConstants.cpp213 const char* dvmJdwpStepSizeStr(JdwpStepSize size) argument
215 switch (size) {
/dalvik/vm/native/
H A Djava_lang_Runtime.cpp136 size_t size = dvmGetHeapDebugInfo(kVirtualHeapSize); local
138 long long result = size - allocated;
/dalvik/vm/interp/
H A DInterp.cpp246 ALOGV("+++ increasing breakpoint set size to %d", newSize);
503 bool dvmAddSingleStep(Thread* thread, int size, int depth) argument
522 pCtrl->size = static_cast<JdwpStepSize>(size);
595 ALOGV("##### step init: thread=%p meth=%p '%s' line=%d frameDepth=%d depth=%s size=%s",
599 dvmJdwpStepSizeStr(pCtrl->size));
782 } else if (pCtrl->size == SS_MIN) {
805 if (pCtrl->size == SS_MIN) {
996 * Returns 3 if we don't find a match (it's the size of the packed-switch
1006 * ushort size numbe
1018 u2 size = *switchData++; local
1053 u2 size; local
1122 copySwappedArrayData(void* dest, const u2* src, u4 size, u2 width) argument
1178 u4 size; local
[all...]
/dalvik/vm/compiler/codegen/mips/Mips32/
H A DFactory.cpp422 int rIndex, int rDest, int scale, OpSize size)
432 assert((size == kWord) || (size == kSingle));
433 size = kSingle;
435 if (size == kSingle)
436 size = kWord;
447 switch (size) {
484 int rIndex, int rSrc, int scale, OpSize size)
495 assert((size == kWord) || (size
421 loadBaseIndexed(CompilationUnit *cUnit, int rBase, int rIndex, int rDest, int scale, OpSize size) argument
483 storeBaseIndexed(CompilationUnit *cUnit, int rBase, int rIndex, int rSrc, int scale, OpSize size) argument
592 loadBaseDispBody(CompilationUnit *cUnit, MIR *mir, int rBase, int displacement, int rDest, int rDestHi, OpSize size, int sReg) argument
702 loadBaseDisp(CompilationUnit *cUnit, MIR *mir, int rBase, int displacement, int rDest, OpSize size, int sReg) argument
718 storeBaseDispBody(CompilationUnit *cUnit, int rBase, int displacement, int rSrc, int rSrcHi, OpSize size) argument
811 storeBaseDisp(CompilationUnit *cUnit, int rBase, int displacement, int rSrc, OpSize size) argument
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DByteArrayAnnotatedOutput.java35 /** default size for stretchy instances */
69 * Constructs an instance with a fixed maximum size. Note that the
91 * Constructs a "stretchy" instance with initial size {@code size}. The
95 public ByteArrayAnnotatedOutput(int size) { argument
96 this(new byte[size], true);
260 int blen = bytes.size();
380 int asz = annotations.size();
399 int sz = annotations.size();
454 int asz = annotations.size();
[all...]
/dalvik/vm/compiler/codegen/mips/
H A DAssemble.cpp45 k3, k3s, k3e, flags, name, fmt, size) \
47 {k3, k3s, k3e}}, opcode, flags, name, fmt, size}
552 assert(encoder->size == 2);
570 /* Reserved for the size field of class pointer pool */
607 * | # Class pointer pool size | -> 4 bytes
609 * | Class pointer pool | -> 4-byte aligned, variable size
614 * | Literal pool | -> 4-byte aligned, variable size
663 /* 4 is the size of the profile count */
669 /* Get the size of all chaining cells */
695 /* Get the size o
710 matchSignatureBreakpoint(const CompilationUnit *cUnit, unsigned int size) argument
1761 selfVerificationLoad(int addr, int size) argument
1838 selfVerificationStore(int addr, int data, int size) argument
2001 int size = kSVWord; local
[all...]
/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.java44 * @param size {@code >= 0;} the size of the list
46 public LocalList(int size) { argument
47 super(size);
55 * @param n {@code >= 0, < size();} which index
65 * @param n {@code >= 0, < size();} which index
79 int sz = size();
326 int sz = insns.size();
380 int sz = locals.size();
393 int sz = locals.size();
[all...]
/dalvik/vm/compiler/codegen/x86/libenc/
H A Ddec_base.cpp48 if (b0==0x66) { // operand-size prefix
54 if (b0==0x67) { // address size prefix
175 tmp.size = (unsigned)(bytes-(const unsigned char*)addr);
179 return tmp.size;
217 okind = ((opndDesc2.kind & OpndKind_XMMReg) || opndDesc2.size==OpndSize_64) ? OpndKind_XMMReg : OpndKind_GPReg;
219 reg = getRegName(okind, opndDesc2.size, EXTEND_REG(modrm.reg, r));
222 okind = ((opndDesc.kind & OpndKind_XMMReg) || opndDesc.size==OpndSize_64) ? OpndKind_XMMReg : OpndKind_GPReg;
224 reg = getRegName(okind, opndDesc.size, EXTEND_REG(modrm.reg, r));
472 // Therefore REX.W is simply ignored, and opndDesc.size is used
477 OpndKind okind = ((opndDesc.kind & OpndKind_XMMReg) || opndDesc.size
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DMixedItemSection.java36 * class and/or size.
73 * {@code >= -1;} the current size of this part, in bytes, or {@code -1}
119 * Gets the size of this instance, in items.
121 * @return {@code >= 0;} the size
123 public int size() { method in class:MixedItemSection
124 return items.size();
136 throw new RuntimeException("write size not yet set");
248 if (index.size() == 0) {
273 int sz = items.size();
288 * does not know its write size befor
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/type/
H A DPrototype.java273 int thisSize = parameterTypes.size();
274 int otherSize = other.parameterTypes.size();
275 int size = Math.min(thisSize, otherSize);
277 for (int i = 0; i < size; i++) {
340 int sz = parameterTypes.size();
/dalvik/dx/src/com/android/dx/cf/code/
H A DBaseMachine.java139 int size = types.size();
142 popArgs(frame, size);
146 for (int i = 0; i < size; i++) {
148 throw new SimException("at stack depth " + (size - 1 - i) +
/dalvik/dx/src/com/android/dx/dex/file/
H A DMixedItemSection.java35 * class and/or size.
72 * {@code >= -1;} the current size of this part, in bytes, or {@code -1}
118 * Gets the size of this instance, in items.
120 * @return {@code >= 0;} the size
122 public int size() { method in class:MixedItemSection
123 return items.size();
135 throw new RuntimeException("write size not yet set");
247 if (index.size() == 0) {
272 int sz = items.size();
287 * does not know its write size befor
[all...]

Completed in 1420 milliseconds

1234567891011>>