Searched defs:packed (Results 1 - 6 of 6) sorted by relevance
/bionic/tools/relocation_packer/src/ |
H A D | packer.cc | 16 // Pack relocations into a group encoded packed representation. 19 std::vector<uint8_t>* packed) { 36 packed->push_back('A'); 37 packed->push_back('P'); 38 packed->push_back('S'); 39 packed->push_back('2'); 40 packed->insert(packed->end(), sleb128_packed.begin(), sleb128_packed.end()); 43 // Unpack relative relocations from a run-length encoded packed 47 const std::vector<uint8_t>& packed, 18 PackRelocations(const std::vector<typename ELF::Rela>& relocations, std::vector<uint8_t>* packed) argument 46 UnpackRelocations( const std::vector<uint8_t>& packed, std::vector<typename ELF::Rela>* relocations) argument [all...] |
H A D | delta_encoder_unittest.cc | 42 std::vector<typename ELF::Addr> packed; local 46 codec.Encode(relocations, &packed); 48 ASSERT_EQ(0U, packed.size()); 53 codec.Encode(relocations, &packed); 56 EXPECT_EQ(7U, packed.size()); 59 EXPECT_EQ(1U, packed[ndx++]); 60 EXPECT_EQ(0xf00d0000, packed[ndx++]); 61 EXPECT_EQ(1U, packed[ndx++]); // group_size 62 EXPECT_EQ(8U, packed[ndx++]); // flags 64 EXPECT_EQ(0U, packed[nd 159 std::vector<typename ELF::Addr> packed; local [all...] |
H A D | packer_unittest.cc | 41 std::vector<uint8_t> packed; local 55 packed.clear(); 56 packer.PackRelocations(relocations, &packed); 58 ASSERT_EQ(18U, packed.size()); 61 EXPECT_EQ('A', packed[ndx++]); 62 EXPECT_EQ('P', packed[ndx++]); 63 EXPECT_EQ('S', packed[ndx++]); 64 EXPECT_EQ('2', packed[ndx++]); 66 EXPECT_EQ(6, packed[ndx++]); 68 EXPECT_EQ(0xfc, packed[nd 98 std::vector<uint8_t> packed; local 161 std::vector<uint8_t> packed; local 226 std::vector<uint8_t> packed; local [all...] |
H A D | delta_encoder.cc | 34 // Encode relocations into a delta encoded (packed) representation. 37 std::vector<ElfAddr>* packed) { 43 packed->push_back(static_cast<ElfAddr>(relocations.size())); 50 packed->push_back(start_offset); 68 packed->push_back(group_size); 69 packed->push_back(group_flags); 72 packed->push_back(group_offset_delta); 76 packed->push_back(group_info); 81 packed->push_back(group_addend - previous_addend); 90 packed 36 Encode(const std::vector<ElfRela>& relocations, std::vector<ElfAddr>* packed) argument 117 Decode(const std::vector<ElfAddr>& packed, std::vector<ElfRela>* relocations) argument [all...] |
H A D | elf_file.cc | 30 // android packed relocations section. 185 // Notes of the dynamic relocations, packed relocations, and .dynamic 216 // Note if relocation section is already packed 392 // from adjusting it unnecessarily if run on a packed file. If 673 // Remove relative entries from dynamic relocations and write as packed 674 // data into android packed relocations. 690 // we always pack rela, because packed format is pretty much the same 720 LOG(INFO) << "Relocation table is already packed"; 725 // the shared object has already been packed? 736 std::vector<uint8_t> packed; local 869 UnpackTypedRelocations(const std::vector<uint8_t>& packed) argument [all...] |
/bionic/tools/versioner/src/ |
H A D | CompilationType.h | 55 } packed; local 56 packed.arch = static_cast<int32_t>(type.arch); 57 packed.api_level = type.api_level; 58 packed.file_offset_bits = (type.file_offset_bits == 64); 59 packed.padding = 0; 61 memcpy(&value, &packed, sizeof(value));
|
Completed in 79 milliseconds