Home
last modified time | relevance | path

Searched refs:width (Results 1 – 18 of 18) sorted by relevance

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatClassInstance.java240 public final int width; field in AhatClassInstance.BitmapInfo
244 public BitmapInfo(int width, int height, byte[] buffer) { in BitmapInfo() argument
245 this.width = width; in BitmapInfo()
260 Integer width = getIntField("mWidth", null); in getBitmapInfo() local
261 if (width == null) { in getBitmapInfo()
275 if (buffer.length < 4 * height * width) { in getBitmapInfo()
279 return new BitmapInfo(width, height, buffer); in getBitmapInfo()
291 int[] abgr = new int[info.height * info.width]; in asBitmap()
301 info.width, info.height, BufferedImage.TYPE_4BYTE_ABGR); in asBitmap()
302 bitmap.setRGB(0, 0, info.width, info.height, abgr, 0, info.width); in asBitmap()
/art/runtime/interpreter/mterp/
Dnterp_impl.cc74 const int width = kNterpHandlerSize; in CheckNterpAsmConstants() local
77 if ((interp_size == 0) || (interp_size != (art::kNumPackedOpcodes * width))) { in CheckNterpAsmConstants()
79 << "(did an instruction handler exceed " << width << " bytes?)"; in CheckNterpAsmConstants()
DREADME.txt39 oversized handler. On architectures with fixed-width instructions this
/art/libartbase/base/
Dbit_utils.h418 inline static constexpr T BitFieldClear(T value, size_t lsb, size_t width) { in BitFieldClear() argument
419 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldClear()
421 const auto mask = MaskLeastSignificant<T>(width); in BitFieldClear()
445 inline static constexpr T BitFieldInsert(T value, T2 data, size_t lsb, size_t width) { in BitFieldInsert() argument
446 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldInsert()
447 if (width != 0u) { in BitFieldInsert()
448 DCHECK_GE(MaxInt<T2>(width), data) << "Data out of range [too large] for bitwidth"; in BitFieldInsert()
449 DCHECK_LE(MinInt<T2>(width), data) << "Data out of range [too small] for bitwidth"; in BitFieldInsert()
453 const auto data_mask = MaskLeastSignificant<T2>(width); in BitFieldInsert()
454 const auto value_cleared = BitFieldClear(value, lsb, width); in BitFieldInsert()
[all …]
Dbit_memory_region.h115 size_t width = BitSizeOf<Result>(); in LoadBits() local
116 size_t index = (bit_start_ + bit_offset) / width; in LoadBits()
117 size_t shift = (bit_start_ + bit_offset) % width; in LoadBits()
121 Result extra = data[index + (shift + (bit_length - 1)) / width]; in LoadBits()
128 return (value | (extra << ((width - shift) & (width - 1)))) & ~clear; in LoadBits()
/art/test/079-phantom/src/
DBitmap.java37 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { in Bitmap() argument
39 mWidth = width; in Bitmap()
69 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) { in allocNativeStorage() argument
/art/test/712-varhandle-invocations/util-src/
Dgenerate_java.py47 …def __init__(self, name, boxed_type, examples, ordinal=-1, width=-1, supports_bitwise=True, suppor… argument
50 self.width=width
77 BOOLEAN_TYPE = ValueType("boolean", "Boolean", [ "true", "false" ], ordinal = 0, width = 1, support…
78 …"Byte", [ "(byte) -128", "(byte) -61", "(byte) 7", "(byte) 127", "(byte) 33" ], ordinal=1, width=1)
79 …hort", [ "(short) -32768", "(short) -384", "(short) 32767", "(short) 0xaa55" ], ordinal=2, width=2)
80 …'Z'", r"'t'", r"'c'", r"Character.MAX_VALUE", r"Character.MIN_LOW_SURROGATE"], ordinal=3, width=2)
81 …, "Integer", [ "-0x01234567", "0x7f6e5d4c", "0x12345678", "0x10215220", "42" ], ordinal=4, width=4)
82 …ong", [ "-0x0123456789abcdefl", "0x789abcdef0123456l", "0xfedcba9876543210l" ], ordinal=5, width=8)
83 …77e23f", "1.234e-17f", "3.40e36f", "-8.888e3f", "4.442e11f" ], ordinal=6, width=4, supports_bitwis…
84 …00", "1.11e200", "3.141", "1.1111", "6.022e23", "6.626e-34" ], ordinal=7, width=4, supports_bitwis…
[all …]
/art/dexdump/
Ddexdump.cc865 u4 width = 4; in indexString() local
877 width = 4; in indexString()
881 width = 8; in indexString()
886 width = 4; in indexString()
892 width = 4; in indexString()
914 outSize = snprintf(buf.get(), bufSize, "%s // type@%0*x", tp, width, index); in indexString()
916 outSize = snprintf(buf.get(), bufSize, "<type?> // type@%0*x", width, index); in indexString()
925 snprintf(buf.get(), bufSize, "\"%s\" // string@%0*x", escaped.c_str(), width, index); in indexString()
927 outSize = snprintf(buf.get(), bufSize, "\"%s\" // string@%0*x", st, width, index); in indexString()
930 outSize = snprintf(buf.get(), bufSize, "<string?> // string@%0*x", width, index); in indexString()
[all …]
/art/dexlayout/
Ddexlayout.cc421 uint32_t width = 4; in IndexString() local
433 width = 4; in IndexString()
437 width = 8; in IndexString()
442 width = 4; in IndexString()
448 width = 4; in IndexString()
470 outSize = snprintf(buf.get(), buf_size, "%s // type@%0*x", tp, width, index); in IndexString()
472 outSize = snprintf(buf.get(), buf_size, "<type?> // type@%0*x", width, index); in IndexString()
481 snprintf(buf.get(), buf_size, "\"%s\" // string@%0*x", escaped.c_str(), width, index); in IndexString()
483 outSize = snprintf(buf.get(), buf_size, "\"%s\" // string@%0*x", st, width, index); in IndexString()
486 outSize = snprintf(buf.get(), buf_size, "<string?> // string@%0*x", width, index); in IndexString()
[all …]
/art/runtime/interpreter/mterp/armng/
Darray.S16 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
86 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
93 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
/art/libdexfile/dex/
Ddex_file.cc664 size_t width = value_arg + 1; // assume and correct later in Next() local
669 width = 0; in Next()
710 width = 0; in Next()
716 ptr_ += width; in Next()
/art/runtime/dex/
Ddex_file_annotations.cc215 int32_t width = value_arg + 1; in SkipAnnotationValue() local
239 width = 0; in SkipAnnotationValue()
252 width = 0; in SkipAnnotationValue()
257 width = 0; in SkipAnnotationValue()
264 annotation += width; in SkipAnnotationValue()
429 int32_t width = value_arg + 1; in ProcessAnnotationValue() local
467 width = 0; in ProcessAnnotationValue()
654 width = 0; in ProcessAnnotationValue()
666 width = 0; in ProcessAnnotationValue()
675 width = 0; in ProcessAnnotationValue()
[all …]
/art/runtime/
Dsubtype_check_test.cc313 void CreateRootedTree(size_t width, size_t height) { in CreateRootedTree()
316 CreateTreeFor(root_, /*width=*/width, /*levels=*/height); in CreateRootedTree()
325 void CreateTreeFor(MockClass* parent, size_t width, size_t levels) { in CreateTreeFor()
331 for (size_t i = 0; i < width; ++i) { in CreateTreeFor()
333 CreateTreeFor(child, width, levels - 1); in CreateTreeFor()
/art/compiler/optimizing/
Dcode_generator_arm_vixl.h923 BakerReadBarrierWidth width = in EncodeBakerReadBarrierFieldData() local
928 BakerReadBarrierWidthField::Encode(width); in EncodeBakerReadBarrierFieldData()
942 BakerReadBarrierWidth width = in EncodeBakerReadBarrierGcRootData() local
947 BakerReadBarrierWidthField::Encode(width); in EncodeBakerReadBarrierGcRootData()
Dcode_generator_arm_vixl.cc2064 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in Finalize() local
2065 if (width == BakerReadBarrierWidth::kWide) { in Finalize()
2093 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in Finalize() local
2094 if (width == BakerReadBarrierWidth::kWide) { in Finalize()
10121 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in CompileBakerReadBarrierThunk() local
10142 const int32_t raw_ldr_offset = (width == BakerReadBarrierWidth::kWide) in CompileBakerReadBarrierThunk()
10151 if (width == BakerReadBarrierWidth::kWide) { in CompileBakerReadBarrierThunk()
10207 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in CompileBakerReadBarrierThunk() local
10229 DCHECK(width == BakerReadBarrierWidth::kWide); in CompileBakerReadBarrierThunk()
10234 ? (width == BakerReadBarrierWidth::kWide) in CompileBakerReadBarrierThunk()
/art/tools/dmtracedump/
Dtracedump.cc1645 void printHtmlField(char* buf, int32_t width) { in printHtmlField() argument
1647 if (width < 0) { in printHtmlField()
1648 width = -width; in printHtmlField()
1652 int32_t numSpaces = width - len; in printHtmlField()
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt8518 Ljava/util/Formatter$FormatSpecifier;->width()I
8519 Ljava/util/Formatter$FormatSpecifier;->width(Ljava/lang/String;)I
8520 Ljava/util/Formatter$FormatSpecifier;->width:I
8538 Ljava/util/Formatter$FormatSpecifierParser;->width:Ljava/lang/String;
/art/build/boot/
Dboot-image-profile.txt5615 HSPLjava/util/Formatter$FormatSpecifier;->width(Ljava/lang/String;)I