Searched defs:width (Results 1 - 25 of 26) sorted by relevance

12

/dalvik/vm/mterp/
H A DMterp.cpp56 const int width = 128; local
58 const int width = 64; local
62 if (interpSize != 0 && interpSize != kNumPackedOpcodes*width) {
64 ALOGE("(did an instruction handler exceed %d bytes?)", width);
/dalvik/dexgen/src/com/android/dexgen/util/
H A DIndentingWriter.java24 * Writer that wraps another writer and passes width-limited and
33 /** {@code > 0;} the maximum output width */
34 private final int width; field in class:IndentingWriter
52 * @param width {@code >= 0;} the maximum output width (not including
56 public IndentingWriter(Writer out, int width, String prefix) { argument
63 if (width < 0) {
64 throw new IllegalArgumentException("width < 0");
71 this.width = (width !
85 IndentingWriter(Writer out, int width) argument
[all...]
/dalvik/dx/src/com/android/dx/command/dump/
H A DArgs.java47 /** max width for columnar output */
48 int width = 0; field in class:Args
H A DBaseDumper.java46 /** width of the output in columns */
47 private final int width; field in class:BaseDumper
87 this.width = (args.width <= 0) ? 79 : args.width;
95 int hexCols = (((width - 5) / 15) + 1) & ~1;
105 * Computes the total width, in register-units, of the parameters for
108 * @return width in register-units
233 * Gets the width of the first column of output. This is {@code 0}
236 * @return {@code >= 0;} the width o
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DIndentingWriter.java24 * Writer that wraps another writer and passes width-limited and
33 /** {@code > 0;} the maximum output width */
34 private final int width; field in class:IndentingWriter
52 * @param width {@code >= 0;} the maximum output width (not including
56 public IndentingWriter(Writer out, int width, String prefix) { argument
63 if (width < 0) {
64 throw new IllegalArgumentException("width < 0");
71 this.width = (width !
85 IndentingWriter(Writer out, int width) argument
[all...]
/dalvik/libdex/
H A DInstrUtils.cpp29 * Table that maps each opcode to the full width of instructions that
31 * well as the "breakpoint" opcode have a width of zero.
656 * Return the width of the specified instruction, or 0 if not defined. Also
662 size_t width; local
665 width = 4 + insns[1] * 2;
667 width = 2 + insns[1] * 4;
671 // The plus 1 is to round up for odd size and width.
672 width = 4 + (elemWidth * len + 1) / 2;
674 width = dexGetWidthFromOpcode(dexOpcodeFromCodeUnit(insns[0]));
677 return width;
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DDalvInsn.java309 * @param width {@code >= 0;} the width of the output or {@code 0} for
310 * unlimited width
316 public final String listingString(String prefix, int width, argument
326 int w2 = (width == 0) ? insnPerSe.length() : (width - w1);
H A DInsnFormat.java210 * @param width the width of the constant, in bits (used for displaying
215 int width) {
228 switch (width) {
214 literalBitsComment(CstLiteralBits value, int width) argument
/dalvik/tests/079-phantom/src/
H A DBitmap.java35 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { argument
37 mWidth = width;
67 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) { argument
/dalvik/vm/native/
H A Djava_lang_System.cpp290 const int width = sizeof(Object*); local
299 dstArray->contents, dstPos * width,
300 srcArray->contents, srcPos * width,
301 length * width);
302 move32((u1*)dstArray->contents + dstPos * width,
303 (const u1*)srcArray->contents + srcPos * width,
304 length * width);
344 dstArray->contents, dstPos * width,
345 srcArray->contents, srcPos * width,
347 move32((u1*)dstArray->contents + dstPos * width,
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DDalvInsn.java337 * @param width {@code >= 0;} the width of the output or {@code 0} for
338 * unlimited width
344 public final String listingString(String prefix, int width, argument
354 int w2 = (width == 0) ? insnPerSe.length() : (width - w1);
H A DInsnFormat.java269 * @param width the width of the constant, in bits (used for displaying
274 int width) {
287 switch (width) {
273 literalBitsComment(CstLiteralBits value, int width) argument
/dalvik/vm/oo/
H A DArray.cpp25 /* width of an object reference, for arrays of objects */
34 * Pass in the array class and the width of each element.
117 int width; local
122 width = 4;
126 width = 2;
130 width = 1;
134 width = 1; /* special-case this? */
138 width = 4;
142 width = 8;
146 width
[all...]
/dalvik/dx/src/com/android/dx/ssa/back/
H A DFirstFitLocalCombiningAllocator.java329 * @param category {@code > 0;} width to reserve
340 * @param width {@code > 0;} number of rop registers in range.
343 private boolean rangeContainsReserved(int ropRangeStart, int width) { argument
344 for (int i = ropRangeStart; i < (ropRangeStart + width); i++) {
368 * @param width {@code > 0;} the width, in registers, required.
371 private int findNextUnreservedRopReg(int startReg, int width) { argument
379 while (i < width && !reservedRopRegs.get(reg + i)) {
383 if (i == width) {
397 * @param width {
400 findRopRegForLocal(int startReg, int width) argument
[all...]
/dalvik/vm/analysis/
H A DDexVerify.cpp67 * Compute the width of the instruction at each address in the instruction
95 size_t width = dexGetWidthFromInstruction(insns); local
96 if (width == 0) {
99 } else if (width > 65535) {
101 "VFY: warning: unusually large instr width (%d)", width);
110 insnFlags[i] |= width;
111 i += width;
112 insns += width;
292 * Compute the width o
809 int width = dvmInsnGetWidth(insnFlags, codeOffset); local
[all...]
H A DOptimize.cpp164 size_t width; local
168 width = dexGetWidthFromInstruction(insns);
339 assert(width > 0);
340 assert(width <= insnsSize);
341 assert(width == dexGetWidthFromInstruction(insns));
343 insns += width;
344 insnsSize -= width;
/dalvik/vm/interp/
H A DStack.cpp706 int width = dvmConvertArgument(*args++, *types++, ins); local
707 if (width < 0) {
714 ins += width;
715 verifyCount += width;
H A DInterp.cpp1122 static void copySwappedArrayData(void* dest, const u2* src, u4 size, u2 width) argument
1125 memcpy(dest, src, size*width);
1129 switch (width) {
1146 memcpy(dest, src, size*width);
1162 ALOGE("Unexpected width %d in copySwappedArrayData", width);
1177 u2 width; local
1190 * ushort width width of each element in the table
1192 * ubyte data[size*width] tabl
[all...]
/dalvik/vm/compiler/
H A DFrontend.cpp331 int width = parseInsn(codePtr, &dalvikInsn, false); local
334 if (width == 0)
341 insnSize += width;
342 codePtr += width;
903 MIR *insn, int curOffset, int width, int flags,
947 curOffset + width,
970 findBlock(cUnit, curOffset + width,
983 MIR *insn, int curOffset, int width, int flags)
1056 curOffset + width,
1069 MIR *insn, int curOffset, int width, in
902 processCanBranch(CompilationUnit *cUnit, BasicBlock *curBlock, MIR *insn, int curOffset, int width, int flags, const u2* codePtr, const u2* codeEnd) argument
982 processCanSwitch(CompilationUnit *cUnit, BasicBlock *curBlock, MIR *insn, int curOffset, int width, int flags) argument
1068 processCanThrow(CompilationUnit *cUnit, BasicBlock *curBlock, MIR *insn, int curOffset, int width, int flags, BitVector *tryBlockAddr, const u2 *codePtr, const u2* codeEnd) argument
1229 int width = parseInsn(codePtr, &insn->dalvikInsn, false); local
1388 int width = parseInsn(codePtr, &insn->dalvikInsn, false); local
1821 int width; local
[all...]
H A DCompilerIR.h130 unsigned int width; member in struct:MIR
/dalvik/vm/jdwp/
H A DJdwpHandler.cpp65 * Helper function: read a variable-width value from the input buffer.
67 static u8 jdwpReadValue(const u1** pBuf, int width) argument
71 switch (width) {
83 * Helper function: write a variable-width value into the output input buffer.
85 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value) argument
87 switch (width) {
124 int width = dvmDbgGetTagWidth(typeTag); local
125 u8 value = jdwpReadValue(&buf, width);
127 ALOGV(" '%c'(%d): 0x%llx", typeTag, width, value);
151 int width local
736 int width = dvmDbgGetTagWidth(fieldTag); local
907 int width = dvmDbgGetTagWidth(fieldTag); local
[all...]
/dalvik/vm/reflect/
H A DAnnotation.cpp326 int width; local
331 width = valueArg + 1; /* assume, correct later */
403 width = 0;
511 width = 0;
522 width = 0;
531 width = 0;
540 ptr += width;
978 int width; local
982 width = valueArg + 1; /* assume */
1011 width
[all...]
/dalvik/dexdump/
H A DDexDump.cpp713 u4 width; local
726 width = 4;
730 width = 8;
735 width = 4;
739 width = 4;
764 width, index);
769 getClassDescriptor(pDexFile, index), width, index);
771 outSize = snprintf(buf, bufSize, "<type?> // type@%0*x", width, index);
777 dexStringById(pDexFile, index), width, index);
780 width, inde
1095 int width = get2LE((const u1*)(insns+1)); local
[all...]
/dalvik/tools/dmtracedump/
H A DTraceDump.c82 "table.sortable th { border-width: 0px 1px 1px 1px; background-color: #ccc;}\n"
1867 * of the string "buf" is at least "width" characters wide. If width is
1870 void printHtmlField(char *buf, int width) argument
1875 if (width < 0) {
1876 width = -width;
1880 int numSpaces = width - len;
/dalvik/vm/
H A DDebugger.cpp927 * Copy a series of values with the specified width, changing the byte
930 static void copyValuesToBE(u1* out, const u1* in, int count, int width) argument
934 switch (width) {
956 * Copy a series of values with the specified width, changing the
959 static void copyValuesFromBE(u1* out, const u1* in, int count, int width) argument
963 switch (width) {
1007 int width = dvmDbgGetTagWidth(tag); local
1010 outBuf = expandBufAddSpace(pReply, count * width);
1012 copyValuesToBE(outBuf, data + firstIndex*width, count, width);
1058 int width = dvmDbgGetTagWidth(tag); local
1512 dvmDbgSetFieldValue(ObjectId objectId, FieldId fieldId, u8 value, int width) argument
1616 dvmDbgSetStaticFieldValue(RefTypeId refTypeId, FieldId fieldId, u8 rawValue, int width) argument
2341 dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag, u8 value, int width) argument
[all...]

Completed in 3393 milliseconds

12