Lines Matching refs:packed
18 // Pack relative relocations into a run-length encoded packed
22 std::vector<uint8_t>* packed) {
40 encoder.GetEncoding(packed);
42 // Pad packed to a whole number of words. This padding will decode as
45 while (packed->size() % sizeof(ELF::Word))
46 packed->push_back(0);
49 // Unpack relative relocations from a run-length encoded packed
52 const std::vector<uint8_t>& packed,
56 Leb128Decoder decoder(packed);
68 // Pack relative relocations with addends into a delta encoded packed
72 std::vector<uint8_t>* packed) {
89 packed->push_back('A');
90 packed->push_back('P');
91 packed->push_back('A');
92 packed->push_back('1');
93 packed->insert(packed->end(), encoded.begin(), encoded.end());
95 // Pad packed to a whole number of words. This padding will decode as
98 while (packed->size() % sizeof(ELF::Word))
99 packed->push_back(0);
103 // packed representation.
105 const std::vector<uint8_t>& packed,
108 CHECK(packed.at(0) == 'A' &&
109 packed.at(1) == 'P' &&
110 packed.at(2) == 'A' &&
111 packed.at(3) == '1');
115 std::vector<uint8_t> stripped(packed.begin() + 4, packed.end());