Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file.cc528 int32_t DexFile::ReadSignedInt(const uint8_t* ptr, int zwidth) { in ReadSignedInt() argument
530 for (int i = zwidth; i >= 0; --i) { in ReadSignedInt()
533 val >>= (3 - zwidth) * 8; in ReadSignedInt()
539 uint32_t DexFile::ReadUnsignedInt(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedInt() argument
541 for (int i = zwidth; i >= 0; --i) { in ReadUnsignedInt()
545 val >>= (3 - zwidth) * 8; in ReadUnsignedInt()
551 int64_t DexFile::ReadSignedLong(const uint8_t* ptr, int zwidth) { in ReadSignedLong() argument
553 for (int i = zwidth; i >= 0; --i) { in ReadSignedLong()
556 val >>= (7 - zwidth) * 8; in ReadSignedLong()
562 uint64_t DexFile::ReadUnsignedLong(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedLong() argument
[all …]
Ddex_file.h968 static int32_t ReadSignedInt(const uint8_t* ptr, int zwidth);
969 static uint32_t ReadUnsignedInt(const uint8_t* ptr, int zwidth, bool fill_on_right);
970 static int64_t ReadSignedLong(const uint8_t* ptr, int zwidth);
971 static uint64_t ReadUnsignedLong(const uint8_t* ptr, int zwidth, bool fill_on_right);