/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatClassInstance.java | 240 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/libartbase/base/ |
D | bit_utils.h | 418 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 …]
|
D | bit_memory_region.h | 121 size_t width = BitSizeOf<Result>(); in LoadBits() local 122 size_t index = (bit_start_ + bit_offset) / width; in LoadBits() 123 size_t shift = (bit_start_ + bit_offset) % width; in LoadBits() 127 Result extra = data[index + (shift + (bit_length - 1)) / width]; in LoadBits() 134 return (value | (extra << ((width - shift) & (width - 1)))) & ~clear; in LoadBits()
|
/art/test/079-phantom/src/ |
D | Bitmap.java | 37 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/ |
D | generate_java.py | 47 …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 …ueType("char", "Character", [ r"'A'", r"'#'", r"'$'", r"'Z'", r"'t'", r"'c'" ], 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/ |
D | dexdump.cc | 804 u4 width = 4; in indexString() local 816 width = 4; in indexString() 820 width = 8; in indexString() 825 width = 4; in indexString() 831 width = 4; in indexString() 853 outSize = snprintf(buf.get(), bufSize, "%s // type@%0*x", tp, width, index); in indexString() 855 outSize = snprintf(buf.get(), bufSize, "<type?> // type@%0*x", width, index); in indexString() 861 outSize = snprintf(buf.get(), bufSize, "\"%s\" // string@%0*x", st, width, index); in indexString() 863 outSize = snprintf(buf.get(), bufSize, "<string?> // string@%0*x", width, index); in indexString() 873 backDescriptor, name, signature.ToString().c_str(), width, index); in indexString() [all …]
|
/art/runtime/interpreter/mterp/arm/ |
D | array.S | 22 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width 82 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width 114 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width 167 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width
|
/art/dexlayout/ |
D | dexlayout.cc | 360 uint32_t width = 4; in IndexString() local 372 width = 4; in IndexString() 376 width = 8; in IndexString() 381 width = 4; in IndexString() 387 width = 4; in IndexString() 409 outSize = snprintf(buf.get(), buf_size, "%s // type@%0*x", tp, width, index); in IndexString() 411 outSize = snprintf(buf.get(), buf_size, "<type?> // type@%0*x", width, index); in IndexString() 417 outSize = snprintf(buf.get(), buf_size, "\"%s\" // string@%0*x", st, width, index); in IndexString() 419 outSize = snprintf(buf.get(), buf_size, "<string?> // string@%0*x", width, index); in IndexString() 429 back_descriptor, name, type_descriptor.c_str(), width, index); in IndexString() [all …]
|
/art/libdexfile/dex/ |
D | dex_file.cc | 615 size_t width = value_arg + 1; // assume and correct later in Next() local 620 width = 0; in Next() 661 width = 0; in Next() 667 ptr_ += width; in Next()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 211 int32_t width = value_arg + 1; in SkipAnnotationValue() local 235 width = 0; in SkipAnnotationValue() 248 width = 0; in SkipAnnotationValue() 253 width = 0; in SkipAnnotationValue() 260 annotation += width; in SkipAnnotationValue() 430 int32_t width = value_arg + 1; in ProcessAnnotationValue() local 468 width = 0; in ProcessAnnotationValue() 655 width = 0; in ProcessAnnotationValue() 667 width = 0; in ProcessAnnotationValue() 676 width = 0; in ProcessAnnotationValue() [all …]
|
/art/runtime/ |
D | subtype_check_test.cc | 313 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/runtime/interpreter/mterp/ |
D | nterp.cc | 75 const int width = kMterpHandlerSize; in CheckNterpAsmConstants() local 78 if ((interp_size == 0) || (interp_size != (art::kNumPackedOpcodes * width))) { in CheckNterpAsmConstants() 80 << "(did an instruction handler exceed " << width << " bytes?)"; in CheckNterpAsmConstants()
|
D | README.txt | 39 oversized handler. On architectures with fixed-width instructions this
|
D | mterp.cc | 42 const int width = kMterpHandlerSize; in CheckMterpAsmConstants() local 45 if ((interp_size == 0) || (interp_size != (art::kNumPackedOpcodes * width))) { in CheckMterpAsmConstants() 47 << "(did an instruction handler exceed " << width << " bytes?)"; in CheckMterpAsmConstants()
|
/art/compiler/optimizing/ |
D | code_generator_arm_vixl.h | 844 BakerReadBarrierWidth width = in EncodeBakerReadBarrierFieldData() local 849 BakerReadBarrierWidthField::Encode(width); in EncodeBakerReadBarrierFieldData() 863 BakerReadBarrierWidth width = in EncodeBakerReadBarrierGcRootData() local 868 BakerReadBarrierWidthField::Encode(width); in EncodeBakerReadBarrierGcRootData()
|
D | code_generator_arm_vixl.cc | 1968 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in Finalize() local 1969 if (width == BakerReadBarrierWidth::kWide) { in Finalize() 1997 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in Finalize() local 1998 if (width == BakerReadBarrierWidth::kWide) { in Finalize() 9788 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in CompileBakerReadBarrierThunk() local 9809 const int32_t raw_ldr_offset = (width == BakerReadBarrierWidth::kWide) in CompileBakerReadBarrierThunk() 9818 if (width == BakerReadBarrierWidth::kWide) { in CompileBakerReadBarrierThunk() 9874 BakerReadBarrierWidth width = BakerReadBarrierWidthField::Decode(encoded_data); in CompileBakerReadBarrierThunk() local 9894 DCHECK(kind != BakerReadBarrierKind::kUnsafeCas || width == BakerReadBarrierWidth::kWide); in CompileBakerReadBarrierThunk() 9897 ? (width == BakerReadBarrierWidth::kWide) in CompileBakerReadBarrierThunk()
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 1647 void printHtmlField(char* buf, int32_t width) { in printHtmlField() argument 1649 if (width < 0) { in printHtmlField() 1650 width = -width; in printHtmlField() 1654 int32_t numSpaces = width - len; in printHtmlField()
|