Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file.cc477 int32_t DexFile::ReadSignedInt(const uint8_t* ptr, int zwidth) { in ReadSignedInt() argument
479 for (int i = zwidth; i >= 0; --i) { in ReadSignedInt()
482 val >>= (3 - zwidth) * 8; in ReadSignedInt()
488 uint32_t DexFile::ReadUnsignedInt(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedInt() argument
490 for (int i = zwidth; i >= 0; --i) { in ReadUnsignedInt()
494 val >>= (3 - zwidth) * 8; in ReadUnsignedInt()
500 int64_t DexFile::ReadSignedLong(const uint8_t* ptr, int zwidth) { in ReadSignedLong() argument
502 for (int i = zwidth; i >= 0; --i) { in ReadSignedLong()
505 val >>= (7 - zwidth) * 8; in ReadSignedLong()
511 uint64_t DexFile::ReadUnsignedLong(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedLong() argument
[all …]
Ddex_file.h735 static int32_t ReadSignedInt(const uint8_t* ptr, int zwidth);
736 static uint32_t ReadUnsignedInt(const uint8_t* ptr, int zwidth, bool fill_on_right);
737 static int64_t ReadSignedLong(const uint8_t* ptr, int zwidth);
738 static uint64_t ReadUnsignedLong(const uint8_t* ptr, int zwidth, bool fill_on_right);