Home
last modified time | relevance | path

Searched refs:elementWidth (Results 1 – 16 of 16) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableArrayPayload.java47 protected final int elementWidth; field in ImmutableArrayPayload
50 public ImmutableArrayPayload(int elementWidth, in ImmutableArrayPayload() argument
53 this.elementWidth = elementWidth; in ImmutableArrayPayload()
57 public ImmutableArrayPayload(int elementWidth, in ImmutableArrayPayload() argument
61 this.elementWidth = elementWidth; in ImmutableArrayPayload()
76 @Override public int getElementWidth() { return elementWidth; } in getElementWidth()
79 … @Override public int getCodeUnits() { return 4 + (elementWidth * arrayElements.size() + 1) / 2; } in getCodeUnits()
DImmutableInstructionFactory.java219 public ImmutableArrayPayload makeArrayPayload(int elementWidth, in makeArrayPayload() argument
221 return new ImmutableArrayPayload(elementWidth, arrayElements); in makeArrayPayload()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedArrayPayload.java46 public final int elementWidth; field in DexBackedArrayPayload
57 elementWidth = dexFile.readUshort(instructionStart + ELEMENT_WIDTH_OFFSET); in DexBackedArrayPayload()
59 if (((long)elementWidth) * elementCount > Integer.MAX_VALUE) { in DexBackedArrayPayload()
64 @Override public int getElementWidth() { return elementWidth; } in getElementWidth()
75 switch (elementWidth) { in getArrayElements()
109 throw new ExceptionWithContext("Invalid element width: %d", elementWidth); in getArrayElements()
115 return 4 + (elementWidth*elementCount + 1) / 2;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
DBuilderArrayPayload.java47 protected final int elementWidth; field in BuilderArrayPayload
50 public BuilderArrayPayload(int elementWidth, in BuilderArrayPayload() argument
53 this.elementWidth = elementWidth; in BuilderArrayPayload()
57 @Override public int getElementWidth() { return elementWidth; } in getElementWidth()
60 … @Override public int getCodeUnits() { return 4 + (elementWidth * arrayElements.size() + 1) / 2; } in getCodeUnits()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
DArrayDataMethodItem.java45 int elementWidth = instruction.getElementWidth(); in writeTo() local
56 switch (elementWidth) { in writeTo()
68 if (elementWidth == 8) { in writeTo()
70 } else if (elementWidth == 4) { in writeTo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DCodeItem.java352 int elementWidth = instruction.getElementWidth(); in makeAnnotator() local
356 out.annotate(2, "element_width = %d", elementWidth); in makeAnnotator()
361 if (elementWidth == 8) { in makeAnnotator()
364 … out.annotate(elementWidth, "element[%d] = %d # %f", i, value, Double.longBitsToDouble(value)); in makeAnnotator()
366 out.annotate(elementWidth, "element[%d] = %d", i, value); in makeAnnotator()
371 … out.annotate(elementWidth, "element[%d] = %d # %f", i, value, Float.intBitsToFloat(value)); in makeAnnotator()
373 out.annotate(elementWidth, "element[%d] = %d", i, value); in makeAnnotator()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DLayoutManager.java94 float elementWidth = widget.getWidthPix(displayDims.paddedRect.width()); in draw() local
97 elementWidth, displayDims.paddedRect, metrics); in draw()
131 Widget.getAnchorCoordinates(coords.x, coords.y, elementWidth, in draw()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliInstruction.java180 int elementWidth = (int)getArrayDataWidth().getIntegralValue(); in getInstructionSize() local
183 return 8 + (elementWidth * elementCount + 1); in getInstructionSize()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DWidget.java258 float elementWidth = getWidthPix(plotDimensions.paddedRect.width()); in refreshLayout() local
261 elementWidth, plotDimensions.paddedRect, positionMetrics); in refreshLayout()
264 coords.x + elementWidth, coords.y + elementHeight); in refreshLayout()
/external/angle/src/image_util/
Dloadimage.inc96 const size_t elementWidth = componentCount * width;
105 for (size_t x = 0; x < elementWidth; x++)
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionFactory.java75 Instruction makeArrayPayload(int elementWidth, @Nullable List<Number> arrayElements); in makeArrayPayload() argument
/external/smali/smali/src/main/antlr/
DsmaliParser.g1164 int elementWidth = $parsed_integer_literal.value;
1165 if (elementWidth != 4 && elementWidth != 8 && elementWidth != 1 && elementWidth != 2) {
1166 …SemanticException(input, $start, "Invalid element width: \%d. Must be 1, 2, 4 or 8", elementWidth);
DsmaliTreeWalker.g1273 int elementWidth = $short_integral_literal.value;
1276 …$method::methodBuilder.addInstruction(new BuilderArrayPayload(elementWidth, $array_elements.elemen…
/external/llvm-project/mlir/lib/IR/
DAttributeDetail.h439 size_t elementWidth = getDenseElementBitWidth(ty.getElementType()); in getKey() local
441 size_t storageSize = llvm::divideCeil(elementWidth, CHAR_BIT); in getKey()
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java15792 …int elementWidth = (parsed_integer_literal544!=null?((smaliParser.parsed_integer_literal_return)pa… in insn_array_data_directive() local
15793 if (elementWidth != 4 && elementWidth != 8 && elementWidth != 1 && elementWidth != 2) { in insn_array_data_directive()
15794 …cException(input, (retval.start), "Invalid element width: %d. Must be 1, 2, 4 or 8", elementWidth); in insn_array_data_directive()
DsmaliTreeWalker.java6860 int elementWidth = short_integral_literal204; in insn_array_data_directive() local
6863 …method_stack.peek().methodBuilder.addInstruction(new BuilderArrayPayload(elementWidth, array_eleme… in insn_array_data_directive()