Searched refs:vector (Results 1 - 25 of 42) sorted by relevance

12

/bionic/libc/malloc_debug/tests/
H A Dbacktrace_fake.h22 #include <vector>
25 void backtrace_fake_add(const std::vector<uintptr_t>& ips);
H A Dbacktrace_fake.cpp20 #include <vector>
27 static std::deque<std::vector<uintptr_t>> g_fake_backtrace;
33 void backtrace_fake_add(const std::vector<uintptr_t>& ips) {
H A Dmalloc_debug_unit_tests.cpp28 #include <vector>
309 std::vector<uint8_t> buffer(32);
374 backtrace_fake_add(std::vector<uintptr_t> {0x1, 0x2, 0x3});
400 std::vector<uint8_t> buffer(32);
455 backtrace_fake_add(std::vector<uintptr_t> {0x100, 0x200, 0x300});
481 backtrace_fake_add(std::vector<uintptr_t> {0x100, 0x200, 0x300});
513 backtrace_fake_add(std::vector<uintptr_t> {0xa, 0xb, 0xc});
515 backtrace_fake_add(std::vector<uintptr_t> {0xaa, 0xbb, 0xcc});
517 backtrace_fake_add(std::vector<uintptr_t> {0xaaa, 0xbbb, 0xccc});
599 backtrace_fake_add(std::vector<uintptr_
[all...]
/bionic/tools/relocation_packer/src/
H A Dpacker.h11 #include <vector>
23 // |relocations| is a vector of relocation structs.
24 // |packed| is the vector of packed bytes into which relocations are packed.
25 static void PackRelocations(const std::vector<typename ELF::Rela>& relocations,
26 std::vector<uint8_t>* packed);
29 // |packed| is the vector of packed relocations.
30 // |relocations| is a vector of unpacked relocation structs.
31 static void UnpackRelocations(const std::vector<uint8_t>& packed,
32 std::vector<typename ELF::Rela>* relocations);
H A Dsleb128.h17 #include <vector>
35 // Add a vector of values to the encoding stream.
36 // |values| is the vector of signed ints to add.
37 void EnqueueAll(const std::vector<int_t>& values);
40 // |encoding| is the returned vector of encoded data.
41 void GetEncoding(std::vector<uint8_t>* encoding) { *encoding = encoding_; }
44 // Growable vector holding the encoded LEB128 stream.
45 std::vector<uint8_t> encoding_;
53 // |encoding| is the vector of encoded data.
54 explicit Sleb128Decoder(const std::vector<uint8_
[all...]
H A Ddelta_encoder.h89 #include <vector>
106 // |relocations| is a vector of relative relocation with addend structs.
107 // |packed| is the vector of packed words into which relocations are packed.
108 static void Encode(const std::vector<ElfRela>& relocations,
109 std::vector<ElfAddr>* packed);
112 // |packed| is the vector of packed relocations.
113 // |relocations| is a vector of unpacked relative relocations.
114 static void Decode(const std::vector<ElfAddr>& packed,
115 std::vector<ElfRela>* relocations);
118 static void DetectGroup(const std::vector<ElfRel
[all...]
H A Dpacker.cc7 #include <vector>
18 void RelocationPacker<ELF>::PackRelocations(const std::vector<typename ELF::Rela>& relocations,
19 std::vector<uint8_t>* packed) {
21 std::vector<typename ELF::Addr> packed_words;
31 std::vector<uint8_t> sleb128_packed;
47 const std::vector<uint8_t>& packed,
48 std::vector<typename ELF::Rela>* relocations) {
50 std::vector<typename ELF::Addr> packed_words;
H A Delf_file.h22 #include <vector>
70 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);
H A Dsleb128.cc9 #include <vector>
73 // Add a vector of values to the encoding.
75 void Sleb128Encoder<uint_t>::EnqueueAll(const std::vector<uint_t>& values) {
83 Sleb128Decoder<uint_t>::Sleb128Decoder(const std::vector<uint8_t>& encoding, size_t start_with) {
120 void Sleb128Decoder<uint_t>::DequeueAll(std::vector<uint_t>* values) {
H A Dpacker_unittest.cc7 #include <vector>
17 std::vector<typename ELF::Rela>* relocations) {
40 std::vector<typename ELF::Rela> relocations;
41 std::vector<uint8_t> packed;
97 std::vector<typename ELF::Rela> relocations;
98 std::vector<uint8_t> packed;
149 std::vector<typename ELF::Rela> relocations;
161 std::vector<uint8_t> packed;
226 std::vector<uint8_t> packed;
273 std::vector<typenam
[all...]
H A Ddelta_encoder.cc7 #include <vector>
36 void RelocationDeltaCodec<ELF>::Encode(const std::vector<ElfRela>& relocations,
37 std::vector<ElfAddr>* packed) {
117 void RelocationDeltaCodec<ELF>::Decode(const std::vector<ElfAddr>& packed,
118 std::vector<ElfRela>* relocations) {
248 void RelocationDeltaCodec<ELF>::DetectGroup(const std::vector<ElfRela>& relocations,
H A Ddelta_encoder_unittest.cc7 #include <vector>
17 std::vector<T>* relocations) {
41 std::vector<typename ELF::Rela> relocations;
42 std::vector<typename ELF::Addr> packed;
159 std::vector<typename ELF::Addr> packed;
160 std::vector<typename ELF::Rela> relocations;
H A Dsleb128_unittest.cc7 #include <vector>
14 std::vector<uint64_t> values;
31 std::vector<uint8_t> encoding;
91 std::vector<uint8_t> encoding;
150 std::vector<uint64_t> dequeued;
H A Delf_file.cc20 #include <vector>
510 std::vector<typename ELF::Dyn> dynamics(
648 std::vector<typename ELF::Dyn>* dynamics) {
664 std::vector<typename ELF::Dyn>* dynamics) {
688 std::vector<typename ELF::Rela> relocations;
691 // Convert data to a vector of relocations.
697 // Convert data to a vector of relocations with addends.
699 relocations = std::vector<typename ELF::Rela>(
713 bool ElfFile<ELF>::PackTypedRelocations(std::vector<typename ELF::Rela>* relocations) {
733 std::vector<uint8_
[all...]
/bionic/libc/malloc_debug/
H A DFreeTrackData.h37 #include <vector>
64 std::vector<uint8_t> cmp_mem_;
H A DTrackData.h35 #include <vector>
50 void GetList(std::vector<const Header*>* list);
H A DTrackData.cpp34 #include <vector>
47 void TrackData::GetList(std::vector<const Header*>* list) {
95 std::vector<const Header*> list;
129 std::vector<const Header*> list;
H A DGuardData.h35 #include <vector>
54 std::vector<uint8_t> cmp_mem_;
H A DGuardData.cpp32 #include <vector>
66 std::vector<uintptr_t> frames(64);
H A DDebugData.h35 #include <vector>
H A DMapData.cpp37 #include <vector>
119 std::vector<char> buffer(1024);
/bionic/tests/libs/
H A Dbionic_tests_zipalign.cpp23 #include <vector>
41 static bool GetEntries(ZipArchiveHandle handle, std::vector<ZipData>* entries) {
67 std::vector<ZipData> entries;
93 const std::vector<uint8_t>* data;
/bionic/tests/
H A Dgtest_main.cpp35 #include <vector>
130 Test() {} // For std::vector<Test>.
156 TestCase() {} // For std::vector<TestCase>.
212 std::vector<Test> test_list_;
244 static bool EnumerateTests(int argc, char** argv, std::vector<TestCase>& testcase_list) {
293 static void OnTestIterationStartPrint(const std::vector<TestCase>& testcase_list, size_t iteration,
361 static void OnTestIterationEndPrint(const std::vector<TestCase>& testcase_list, size_t /*iteration*/,
364 std::vector<std::string> fail_test_name_list;
365 std::vector<std::pair<std::string, int64_t>> timeout_test_list;
368 std::vector<st
[all...]
H A Ddirent_test.cpp42 std::set<std::string>& name_set, std::vector<std::string>& name_list) {
61 // Turn the directory entries into a set and vector of the names.
63 std::vector<std::string> unsorted_name_list;
70 std::vector<std::string> sorted_name_list(unsorted_name_list);
76 std::vector<std::string> unsorted_name_list64;
105 std::vector<std::string> unsorted_name_list, unsorted_name_list_at, unsorted_name_list_at64;
277 std::vector<std::string> pass1;
287 std::vector<std::string> pass2;
304 std::vector<long> offset_list;
305 std::vector<st
[all...]
/bionic/linker/
H A Dlinker_allocator.h26 #include <vector>
64 // This is implementation for std::vector allocator
97 std::vector<small_object_page_record, linker_vector_allocator<small_object_page_record>>
121 // sorted vector of page records

Completed in 2915 milliseconds

12