Home
last modified time | relevance | path

Searched refs:elemWidth (Results 1 – 5 of 5) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/dex/code/
DArrayData.java45 private final int elemWidth; field in ArrayData
82 elemWidth = 1; in ArrayData()
85 elemWidth = 2; in ArrayData()
88 elemWidth = 4; in ArrayData()
91 elemWidth = 8; in ArrayData()
105 return 4 + ((sz * elemWidth) + 1) / 2; in codeSize()
114 out.writeShort(elemWidth); in writeTo()
119 switch (elemWidth) { in writeTo()
153 if (elemWidth == 1 && (sz % 2 != 0)) { in writeTo()
/dalvik/dx/src/com/android/dx/dex/code/
DArrayData.java47 private final int elemWidth; field in ArrayData
84 elemWidth = 1; in ArrayData()
87 elemWidth = 2; in ArrayData()
90 elemWidth = 4; in ArrayData()
93 elemWidth = 8; in ArrayData()
107 return 4 + ((sz * elemWidth) + 1) / 2; in codeSize()
116 out.writeShort(elemWidth); in writeTo()
121 switch (elemWidth) { in writeTo()
155 if (elemWidth == 1 && (sz % 2 != 0)) { in writeTo()
/dalvik/vm/oo/
DArray.cpp39 size_t elemWidth, int allocFlags) in allocArray() argument
45 assert(elemWidth > 0); in allocArray()
46 assert(elemWidth <= 8); in allocArray()
47 assert((elemWidth & (elemWidth - 1)) == 0); in allocArray()
48 size_t elementShift = sizeof(size_t) * CHAR_BIT - 1 - CLZ(elemWidth); in allocArray()
/dalvik/libdex/
DInstrUtils.cpp669 u2 elemWidth = insns[1]; in dexGetWidthFromInstruction() local
672 width = 4 + (elemWidth * len + 1) / 2; in dexGetWidthFromInstruction()
/dalvik/vm/analysis/
DCodeVerify.cpp4297 u2 elemWidth; in verifyInstruction() local
4336 elemWidth = 1; in verifyInstruction()
4340 elemWidth = 2; in verifyInstruction()
4344 elemWidth = 4; in verifyInstruction()
4348 elemWidth = 8; in verifyInstruction()
4351 elemWidth = 0; in verifyInstruction()
4360 if (arrayData[1] != elemWidth) { in verifyInstruction()
4362 arrayData[1], elemWidth); in verifyInstruction()