Home
last modified time | relevance | path

Searched refs:zwidth (Results 1 – 2 of 2) sorted by relevance

/art/libdexfile/dex/
Ddex_file.cc494 int32_t DexFile::ReadSignedInt(const uint8_t* ptr, int zwidth) { in ReadSignedInt() argument
496 for (int i = zwidth; i >= 0; --i) { in ReadSignedInt()
499 val >>= (3 - zwidth) * 8; in ReadSignedInt()
505 uint32_t DexFile::ReadUnsignedInt(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedInt() argument
507 for (int i = zwidth; i >= 0; --i) { in ReadUnsignedInt()
511 val >>= (3 - zwidth) * 8; in ReadUnsignedInt()
517 int64_t DexFile::ReadSignedLong(const uint8_t* ptr, int zwidth) { in ReadSignedLong() argument
519 for (int i = zwidth; i >= 0; --i) { in ReadSignedLong()
522 val >>= (7 - zwidth) * 8; in ReadSignedLong()
528 uint64_t DexFile::ReadUnsignedLong(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedLong() argument
[all …]
Ddex_file.h751 static int32_t ReadSignedInt(const uint8_t* ptr, int zwidth);
752 static uint32_t ReadUnsignedInt(const uint8_t* ptr, int zwidth, bool fill_on_right);
753 static int64_t ReadSignedLong(const uint8_t* ptr, int zwidth);
754 static uint64_t ReadUnsignedLong(const uint8_t* ptr, int zwidth, bool fill_on_right);