/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Formattable.java | 41 * @param width 43 * output. If the length of the converted value is less than {@code width} 48 * padding should be added at the end. If width is -1, then 53 * before the width padding is applied. If the precision 59 void formatTo(Formatter formatter, int flags, int width, int precision) argument
|
H A D | Formatter.java | 74 * <td width="5%">{@code s}</td> 75 * <td width="10%">String</td> 76 * <td width="30%">{@code format("%s, %s", "hello", "Hello");}</td> 77 * <td width="30%">{@code hello, Hello}</td> 80 * <td width="5%">{@code S}, {@code s}</td> 81 * <td width="10%">String to capitals</td> 82 * <td width="30%">{@code format("%S, %S", "hello", "Hello");}</td> 83 * <td width="30%">{@code HELLO, HELLO}</td> 86 * <td width="5%">{@code c}</td> 87 * <td width 1037 private int width = UNSET; field in class:Formatter.FormatToken 1079 setWidth(int width) argument [all...] |
/dalvik/vm/mterp/ |
H A D | Mterp.c | 49 const int width = 64; local 51 if (interpSize != 0 && interpSize != 256*width) { 53 LOGE("(did an instruction handler exceed %d bytes?)\n", width);
|
/dalvik/dx/src/com/android/dx/command/dump/ |
H A D | Args.java | 47 /** max width for columnar output */ 48 int width = 0; field in class:Args
|
H A D | BaseDumper.java | 46 /** width of the output in columns */ 47 private final int width; field in class:BaseDumper 88 this.width = (args.width <= 0) ? 79 : args.width; 96 int hexCols = (((width - 5) / 15) + 1) & ~1; 106 * Computes the total width, in register-units, of the parameters for 109 * @return width in register-units 233 * Gets the width of the first column of output. This is <code>0</code> 236 * @return >= 0; the width o [all...] |
/dalvik/dx/src/com/android/dx/util/ |
H A D | IndentingWriter.java | 24 * Writer that wraps another writer and passes width-limited and 33 /** > 0; the maximum output width */ 34 private final int width; field in class:IndentingWriter 52 * @param width >= 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 D | InstrUtils.c | 25 * Generate a table that holds the width of all instructions. 28 * have negative values, unimplemented instructions have a width of zero. 49 int width = 0; local 123 width = 1; 250 width = 2; 275 width = 3; 279 width = 5; 292 width = -2; 300 width = -3; 330 assert(width 1220 int width; local [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | DalvInsn.java | 309 * @param width >= 0; the width of the output or <code>0</code> 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 D | InsnFormat.java | 210 * @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/vm/native/ |
H A D | java_lang_System.c | 87 int width; local 97 width = 1; 101 width = 2; 105 width = 4; 109 width = 8; 114 width = 0; 119 dstArray->contents, dstPos * width, 120 srcArray->contents, srcPos * width, 121 length * width); 122 (*copyFunc)((u1*)dstArray->contents + dstPos * width, 131 int width = sizeof(Object*); local [all...] |
/dalvik/dx/src/com/android/dx/ssa/back/ |
H A D | FirstFitLocalCombiningAllocator.java | 316 * @param category > 0 width to reserve 327 * @param width > 0 number of Rop registers in range. 330 private boolean rangeContainsReserved(int ropRangeStart, int width) { argument 331 for (int i = ropRangeStart; i < (ropRangeStart + width); i++) { 355 * @param width > 0; the width, in registers, required. 358 private int findNextUnreservedRopReg(int startReg, int width) { argument 370 while (i < width && !reservedRopRegs.get(reg + i)) { 374 if (i == width) { 388 * @param width 391 findRopRegForLocal(int startReg, int width) argument [all...] |
/dalvik/vm/analysis/ |
H A D | DexVerify.c | 211 * Compute the width of each instruction and store the result in insnFlags. 538 int width = dvmInsnGetWidth(insnFlags, i); local 698 assert(width > 0); 699 i += width; 700 insns += width;
|
H A D | VerifySubs.c | 27 * Compute the width of the instruction at each address in the instruction 48 int width; local 56 width = 4 + insns[1] * 2; 58 width = 2 + insns[1] * 4; 61 width = 4 + (insns[1] * size + 1) / 2; 64 width = dexGetInstrWidthAbs(gDvm.instrWidth, instr); 65 if (width == 0) { 70 if (width < 0 || width > 5) { 71 LOGE("VFY: bizarre width valu [all...] |
H A D | ReduceConstants.c | 121 straightforward, but annotations use a complex format with variable-width 143 annotations, because of the variable-width encoding. 506 int width; local 605 width = dexGetInstrOrTableWidthAbs(gDvm.instrWidth, insns); 606 assert(width > 0 && width <= (int)insnsSize); 608 insns += width; 609 insnsSize -= width;
|
H A D | DexOptimize.c | 1491 int width; local 1560 width = 4 + insns[1] * 2; 1562 width = 2 + insns[1] * 4; 1566 width = 4 + (elemWidth * len + 1) / 2; 1568 width = dexGetInstrWidth(gDvm.instrWidth, inst); 1570 assert(width > 0); 1572 insns += width; 1573 insnsSize -= width;
|
H A D | CodeVerify.c | 301 * At a minimum, source and destination must have the same width. We 403 int width = dvmInsnGetWidth(insnFlags, addr); local 408 addr += width; 409 insns += width; 3675 * Now verify if the element width in the table matches the element 3676 * width declared in the array 3709 * width of data stored in the table and expected from the array 5076 * type, once known, can be used to recover the width of short integers.
|
/dalvik/vm/interp/ |
H A D | Interp.c | 524 u2 width; local 535 * ushort width width of each element in the table 537 * ubyte data[size*width] table of data values (may contain a single-byte 540 * Total size is 4+(width * size + 1)/2 16-bit code units. 547 width = arrayData[1]; 554 memcpy(arrayObj->contents, &arrayData[4], size*width);
|
H A D | Stack.c | 690 int width; local 692 width = dvmConvertArgument(*args++, *types++, ins); 693 if (width < 0) { 705 ins += width; 706 verifyCount += width;
|
/dalvik/vm/oo/ |
H A D | Array.c | 37 * Pass in the array class and the width of each element. 166 int width; local 171 width = 4; 175 width = 2; 179 width = 1; 183 width = 1; /* special-case this? */ 187 width = 4; 191 width = 8; 195 width = 2; 199 width [all...] |
/dalvik/dexdump/ |
H A D | DexDump.c | 943 int width = get2LE((const u1*)(insns+1)); local 946 // The plus 1 is to round up for odd size and width 947 insnWidth = 4 + ((size * width) + 1) / 2; 953 "GLITCH: zero-width instruction at idx=0x%04x\n", insnIdx);
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | FormatterTest.java | 94 public void formatTo(Formatter formatter, int flags, int width, argument 98 + width + " PRECISION: " + precision); 100 formatter.format("customized format function" + " width: " 101 + width + " precision: " + precision); 1046 * @tests java.util.Formatter#format(String, Object...) for width 1303 * spaces till the whole string is 4 chars width. 1312 * 4 chars width. 1357 // They are characters used as flags, width or conversions 1481 { new MockFormattable(), "%2.3s", "customized format function width: 2 precision: 3", }, 1482 { new MockFormattable(), "%-6.4s", "customized format function width [all...] |
/dalvik/vm/reflect/ |
H A D | Annotation.c | 387 int width; local 392 width = valueArg + 1; /* assume, correct later */ 464 width = 0; 575 width = 0; 586 width = 0; 595 width = 0; 604 ptr += width; 950 int width; local 954 width = valueArg + 1; /* assume */ 983 width [all...] |
/dalvik/vm/jdwp/ |
H A D | JdwpHandler.c | 80 * Helper function: read a variable-width value from the input buffer. 82 static u8 jdwpReadValue(const u1** pBuf, int width) argument 86 switch (width) { 98 * Helper function: write a variable-width value into the output input buffer. 100 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value) argument 102 switch (width) { 139 int width; local 142 width = dvmDbgGetTagWidth(typeTag); 143 value = jdwpReadValue(&buf, width); 145 LOGV(" '%c'(%d): 0x%llx\n", typeTag, width, valu 166 int width = dvmDbgGetTagWidth(resultTag); local 595 int width; local 805 int width; local 933 int width; local 971 int width; local 1733 int width; local 1771 int width; local [all...] |
/dalvik/tools/dmtracedump/ |
H A D | TraceDump.c | 80 "table.sortable th { border-width: 0px 1px 1px 1px; background-color: #ccc;}\n" 1845 * of the string "buf" is at least "width" characters wide. If width is 1848 void printHtmlField(char *buf, int width) argument 1853 if (width < 0) { 1854 width = -width; 1858 int numSpaces = width - len;
|
/dalvik/vm/ |
H A D | Debugger.c | 950 * Copy a series of values with the specified width, changing the byte 953 static void copyValuesToBE(u1* out, const u1* in, int count, int width) argument 957 switch (width) { 982 static void copyValuesFromBE(u1* out, const u1* in, int count, int width) argument 986 switch (width) { 1030 int width = dvmDbgGetTagWidth(tag); local 1033 outBuf = expandBufAddSpace(pReply, count * width); 1035 copyValuesToBE(outBuf, data + firstIndex*width, count, width); 1081 int width local 1506 dvmDbgSetFieldValue(ObjectId objectId, FieldId fieldId, u8 value, int width) argument 1610 dvmDbgSetStaticFieldValue(RefTypeId refTypeId, FieldId fieldId, u8 rawValue, int width) argument 2391 dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag, u8 value, int width) argument [all...] |