Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 38) sorted by relevance

12

/bionic/tools/relocation_packer/src/
Dsleb128.h37 void EnqueueAll(const std::vector<int_t>& values);
41 void GetEncoding(std::vector<uint8_t>* encoding) { *encoding = encoding_; } in GetEncoding()
45 std::vector<uint8_t> encoding_;
54 explicit Sleb128Decoder(const std::vector<uint8_t>& encoding, size_t start_with);
64 void DequeueAll(std::vector<int_t>* values);
68 std::vector<uint8_t> encoding_;
Dpacker.h25 static void PackRelocations(const std::vector<typename ELF::Rela>& relocations,
26 std::vector<uint8_t>* packed);
31 static void UnpackRelocations(const std::vector<uint8_t>& packed,
32 std::vector<typename ELF::Rela>* relocations);
Dpacker.cc18 void RelocationPacker<ELF>::PackRelocations(const std::vector<typename ELF::Rela>& relocations, in PackRelocations()
19 std::vector<uint8_t>* packed) { in PackRelocations()
21 std::vector<typename ELF::Addr> packed_words; in PackRelocations()
31 std::vector<uint8_t> sleb128_packed; in PackRelocations()
47 const std::vector<uint8_t>& packed, in UnpackRelocations()
48 std::vector<typename ELF::Rela>* relocations) { in UnpackRelocations()
50 std::vector<typename ELF::Addr> packed_words; in UnpackRelocations()
Ddelta_encoder.h108 static void Encode(const std::vector<ElfRela>& relocations,
109 std::vector<ElfAddr>* packed);
114 static void Decode(const std::vector<ElfAddr>& packed,
115 std::vector<ElfRela>* relocations);
118 static void DetectGroup(const std::vector<ElfRela>& relocations,
Delf_file.h70 bool PackTypedRelocations(std::vector<typename ELF::Rela>* relocations);
74 bool UnpackTypedRelocations(const std::vector<uint8_t>& packed);
81 std::vector<typename ELF::Rela>* relocations);
92 std::vector<typename ELF::Rela>* rela_vector);
94 static void ConvertRelaVectorToRelVector(const std::vector<typename ELF::Rela>& rela_vector,
95 std::vector<typename ELF::Rel>* rel_vector);
Dpacker_unittest.cc17 std::vector<typename ELF::Rela>* relocations) { in AddRelocation()
40 std::vector<typename ELF::Rela> relocations; in DoPackNoAddend()
41 std::vector<uint8_t> packed; in DoPackNoAddend()
97 std::vector<typename ELF::Rela> relocations; in DoUnpackNoAddend()
98 std::vector<uint8_t> packed; in DoUnpackNoAddend()
149 std::vector<typename ELF::Rela> relocations; in DoPackWithAddend()
161 std::vector<uint8_t> packed; in DoPackWithAddend()
226 std::vector<uint8_t> packed; in DoUnpackWithAddend()
273 std::vector<typename ELF::Rela> relocations; in DoUnpackWithAddend()
Dsleb128.cc75 void Sleb128Encoder<uint_t>::EnqueueAll(const std::vector<uint_t>& values) { in EnqueueAll()
83 Sleb128Decoder<uint_t>::Sleb128Decoder(const std::vector<uint8_t>& encoding, size_t start_with) { in Sleb128Decoder()
120 void Sleb128Decoder<uint_t>::DequeueAll(std::vector<uint_t>* values) { in DequeueAll()
Dsleb128_unittest.cc14 std::vector<uint64_t> values; in TEST()
31 std::vector<uint8_t> encoding; in TEST()
91 std::vector<uint8_t> encoding; in TEST()
150 std::vector<uint64_t> dequeued; in TEST()
Ddelta_encoder_unittest.cc17 std::vector<T>* relocations) { in AddRelocation()
41 std::vector<typename ELF::Rela> relocations; in encode()
42 std::vector<typename ELF::Addr> packed; in encode()
159 std::vector<typename ELF::Addr> packed; in decode()
160 std::vector<typename ELF::Rela> relocations; in decode()
Delf_file.cc510 std::vector<typename ELF::Dyn> dynamics( in AdjustDynamicSectionForHole()
648 std::vector<typename ELF::Dyn>* dynamics) { in FindDynamicEntry()
664 std::vector<typename ELF::Dyn>* dynamics) { in ReplaceDynamicEntry()
688 std::vector<typename ELF::Rela> relocations; in PackRelocations()
699 relocations = std::vector<typename ELF::Rela>( in PackRelocations()
713 bool ElfFile<ELF>::PackTypedRelocations(std::vector<typename ELF::Rela>* relocations) { in PackTypedRelocations()
733 std::vector<uint8_t> packed; in PackTypedRelocations()
773 std::vector<uint8_t> padding(data_padding_bytes, 0); in PackTypedRelocations()
779 std::vector<Rela> unpacked; in PackTypedRelocations()
798 std::vector<typename ELF::Dyn> dynamics( in PackTypedRelocations()
[all …]
Ddelta_encoder.cc36 void RelocationDeltaCodec<ELF>::Encode(const std::vector<ElfRela>& relocations, in Encode()
37 std::vector<ElfAddr>* packed) { in Encode()
117 void RelocationDeltaCodec<ELF>::Decode(const std::vector<ElfAddr>& packed, in Decode()
118 std::vector<ElfRela>* relocations) { in Decode()
248 void RelocationDeltaCodec<ELF>::DetectGroup(const std::vector<ElfRela>& relocations, in DetectGroup()
/bionic/libc/malloc_debug/tests/
Dbacktrace_fake.cpp27 static std::deque<std::vector<uintptr_t>> g_fake_backtrace;
33 void backtrace_fake_add(const std::vector<uintptr_t>& ips) { in backtrace_fake_add()
Dbacktrace_fake.h25 void backtrace_fake_add(const std::vector<uintptr_t>& ips);
Dmalloc_debug_unit_tests.cpp309 std::vector<uint8_t> buffer(32); in TEST_F()
374 backtrace_fake_add(std::vector<uintptr_t> {0x1, 0x2, 0x3}); in TEST_F()
400 std::vector<uint8_t> buffer(32); in TEST_F()
455 backtrace_fake_add(std::vector<uintptr_t> {0x100, 0x200, 0x300}); in TEST_F()
481 backtrace_fake_add(std::vector<uintptr_t> {0x100, 0x200, 0x300}); in TEST_F()
513 backtrace_fake_add(std::vector<uintptr_t> {0xa, 0xb, 0xc}); in TEST_F()
515 backtrace_fake_add(std::vector<uintptr_t> {0xaa, 0xbb, 0xcc}); in TEST_F()
517 backtrace_fake_add(std::vector<uintptr_t> {0xaaa, 0xbbb, 0xccc}); in TEST_F()
599 backtrace_fake_add(std::vector<uintptr_t> {0x1000, 0x2000, 0x3000}); in TEST_F()
605 backtrace_fake_add(std::vector<uintptr_t> {0xa000, 0xb000, 0xc000, 0xd000}); in TEST_F()
[all …]
/bionic/tests/
Dgtest_main.cpp212 std::vector<Test> test_list_;
244 static bool EnumerateTests(int argc, char** argv, std::vector<TestCase>& testcase_list) { in EnumerateTests()
293 static void OnTestIterationStartPrint(const std::vector<TestCase>& testcase_list, size_t iteration, in OnTestIterationStartPrint()
361 static void OnTestIterationEndPrint(const std::vector<TestCase>& testcase_list, size_t /*iteration*… in OnTestIterationEndPrint()
364 std::vector<std::string> fail_test_name_list; in OnTestIterationEndPrint()
365 std::vector<std::pair<std::string, int64_t>> timeout_test_list; in OnTestIterationEndPrint()
368 std::vector<std::tuple<std::string, int64_t, int>> slow_test_list; in OnTestIterationEndPrint()
486 const std::vector<TestCase>& testcase_list, in OnTestIterationEndXmlPrint()
497 std::vector<size_t> failed_count_list(testcase_list.size(), 0); in OnTestIterationEndXmlPrint()
498 std::vector<int64_t> elapsed_time_list(testcase_list.size(), 0); in OnTestIterationEndXmlPrint()
[all …]
Ddirent_test.cpp42 std::set<std::string>& name_set, std::vector<std::string>& name_list) { in ScanEntries()
63 std::vector<std::string> unsorted_name_list; in TEST()
70 std::vector<std::string> sorted_name_list(unsorted_name_list); in TEST()
76 std::vector<std::string> unsorted_name_list64; in TEST()
105 std::vector<std::string> unsorted_name_list, unsorted_name_list_at, unsorted_name_list_at64; in TEST()
277 std::vector<std::string> pass1; in TEST()
287 std::vector<std::string> pass2; in TEST()
304 std::vector<long> offset_list; in TEST()
305 std::vector<std::string> name_list; in TEST()
Dutils.h51 static bool parse_maps(std::vector<map_record>* maps) { in parse_maps()
/bionic/libc/malloc_debug/
DTrackData.cpp47 void TrackData::GetList(std::vector<const Header*>* list) { in GetList()
95 std::vector<const Header*> list; in DisplayLeaks()
129 std::vector<const Header*> list; in GetInfo()
DFreeTrackData.h64 std::vector<uint8_t> cmp_mem_;
DTrackData.h50 void GetList(std::vector<const Header*>* list);
DGuardData.h54 std::vector<uint8_t> cmp_mem_;
DGuardData.cpp66 std::vector<uintptr_t> frames(64); in LogFailure()
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp41 static bool GetEntries(ZipArchiveHandle handle, std::vector<ZipData>* entries) { in GetEntries()
67 std::vector<ZipData> entries; in CreateAlignedZip()
93 const std::vector<uint8_t>* data; in CreateAlignedZip()
/bionic/linker/
Dlinker.cpp86 const std::vector<std::string>& get_ld_library_paths() const { in get_ld_library_paths()
89 void set_ld_library_paths(std::vector<std::string>&& library_paths) { in set_ld_library_paths()
93 const std::vector<std::string>& get_default_library_paths() const { in get_default_library_paths()
96 void set_default_library_paths(std::vector<std::string>&& library_paths) { in set_default_library_paths()
100 const std::vector<std::string>& get_permitted_paths() const { in get_permitted_paths()
103 void set_permitted_paths(std::vector<std::string>&& permitted_paths) { in set_permitted_paths()
133 std::vector<std::string> ld_library_paths_;
134 std::vector<std::string> default_library_paths_;
135 std::vector<std::string> permitted_paths_;
255 static std::vector<std::string> g_ld_preload_names;
[all …]
Dlinker.h171 std::vector<version_info> version_infos;
353 const std::vector<std::string>& get_dt_runpath() const;
426 std::vector<std::string> dt_runpath_;

12