Home
last modified time | relevance | path

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

12345678910

/art/compiler/
Delf_writer_debug.h32 std::vector<uint8_t>* debug_frame,
33 std::vector<uintptr_t>* debug_frame_patches,
34 std::vector<uint8_t>* eh_frame_hdr,
35 std::vector<uintptr_t>* eh_frame_hdr_patches);
39 std::vector<uint8_t>* debug_info,
40 std::vector<uintptr_t>* debug_info_patches,
41 std::vector<uint8_t>* debug_abbrev,
42 std::vector<uint8_t>* debug_str,
43 std::vector<uint8_t>* debug_line,
44 std::vector<uintptr_t>* debug_line_patches);
Doat_writer.h84 OatWriter(const std::vector<const DexFile*>& dex_files,
105 const std::vector<uintptr_t>& GetAbsolutePatchLocations() const { in GetAbsolutePatchLocations()
126 const std::vector<DebugInfo>& GetMethodDebugInfo() const { in GetMethodDebugInfo()
195 std::vector<uint32_t> methods_offsets_;
204 const std::vector<CompiledMethod*>& compiled_methods,
224 std::vector<CompiledMethod*> compiled_methods_;
230 std::vector<uint32_t> oat_method_offsets_offsets_from_oat_class_;
254 std::vector<OatMethodOffsets> method_offsets_;
255 std::vector<OatQuickMethodHeader> method_headers_;
261 std::vector<DebugInfo> method_info_;
[all …]
Dvector_output_stream.cc23 VectorOutputStream::VectorOutputStream(const std::string& location, std::vector<uint8_t>* vector) in VectorOutputStream() argument
24 : OutputStream(location), offset_(vector->size()), vector_(vector) {} in VectorOutputStream()
Delf_writer_quick.h32 const std::vector<const DexFile*>& dex_files,
38 static void EncodeOatPatches(const std::vector<uintptr_t>& locations,
39 std::vector<uint8_t>* buffer);
43 const std::vector<const DexFile*>& dex_files,
Delf_writer_debug.cc36 std::vector<uint8_t>* eh_frame) { in WriteDebugFrameCIE()
172 std::vector<uint8_t>* debug_frame, in WriteCFISection()
173 std::vector<uintptr_t>* debug_frame_patches, in WriteCFISection()
174 std::vector<uint8_t>* eh_frame_hdr, in WriteCFISection()
175 std::vector<uintptr_t>* eh_frame_hdr_patches) { in WriteCFISection()
239 std::vector<uint8_t>* debug_info, in WriteDebugSections()
240 std::vector<uintptr_t>* debug_info_patches, in WriteDebugSections()
241 std::vector<uint8_t>* debug_abbrev, in WriteDebugSections()
242 std::vector<uint8_t>* debug_str, in WriteDebugSections()
243 std::vector<uint8_t>* debug_line, in WriteDebugSections()
[all …]
Dcfi_test.h38 const std::vector<uint8_t>& actual_asm, in GenerateExpected()
39 const std::vector<uint8_t>& actual_cfi) { in GenerateExpected()
40 std::vector<std::string> lines; in GenerateExpected()
53 std::vector<uintptr_t> debug_frame_patches; in GenerateExpected()
82 std::vector<std::string>* output) { in ReformatAsm()
99 static void ReformatCfi(const std::vector<std::string>& lines, in ReformatCfi()
100 std::vector<std::string>* output) { in ReformatCfi()
135 static void HexDump(FILE* f, const std::vector<uint8_t>& data) { in HexDump()
Dcompiled_method.h71 const std::vector<uint32_t>& GetOatdataOffsetsToCompliledCodeOffset() const;
89 std::vector<uint32_t> oatdata_offsets_to_compiled_code_offset_;
107 class SrcMap FINAL : public std::vector<SrcMapElem, Allocator> {
109 using std::vector<SrcMapElem, Allocator>::begin;
110 using typename std::vector<SrcMapElem, Allocator>::const_iterator;
111 using std::vector<SrcMapElem, Allocator>::empty;
112 using std::vector<SrcMapElem, Allocator>::end;
113 using std::vector<SrcMapElem, Allocator>::resize;
114 using std::vector<SrcMapElem, Allocator>::shrink_to_fit;
115 using std::vector<SrcMapElem, Allocator>::size;
[all …]
Delf_writer_test.cc92 const std::vector<std::vector<uintptr_t>> test_data { in TEST_F()
102 std::vector<uint8_t> oat_patches; in TEST_F()
106 std::vector<uint8_t> initial_data(256); in TEST_F()
112 std::vector<uint8_t> expected = initial_data; in TEST_F()
119 std::vector<uint8_t> actual = initial_data; in TEST_F()
Dvector_output_stream.h30 VectorOutputStream(const std::string& location, std::vector<uint8_t>* vector);
58 std::vector<uint8_t>* const vector_;
/art/compiler/trampolines/
Dtrampoline_compiler.cc32 static const std::vector<uint8_t>* CreateTrampoline(EntryPointCallingConvention abi, in CreateTrampoline()
50 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
59 static const std::vector<uint8_t>* CreateTrampoline(EntryPointCallingConvention abi, in CreateTrampoline()
87 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
96 static const std::vector<uint8_t>* CreateTrampoline(EntryPointCallingConvention abi, in CreateTrampoline()
116 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
125 static const std::vector<uint8_t>* CreateTrampoline(EntryPointCallingConvention abi, in CreateTrampoline()
145 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
154 static const std::vector<uint8_t>* CreateTrampoline(ThreadOffset<4> offset) { in CreateTrampoline()
162 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline()
[all …]
/art/runtime/
Doat_file_test.cc65 static std::vector<const DexFile*> ToConstDexFiles( in ToConstDexFiles()
66 const std::vector<std::unique_ptr<const DexFile>>& in) { in ToConstDexFiles()
67 std::vector<const DexFile*> ret; in ToConstDexFiles()
92 std::vector<std::unique_ptr<const DexFile>> dex_files1 = OpenTestDexFiles("Main"); in TEST_F()
93 std::vector<const DexFile*> dex_files_const1 = ToConstDexFiles(dex_files1); in TEST_F()
97 std::vector<std::string> split1; in TEST_F()
102 std::vector<std::unique_ptr<const DexFile>> dex_files2 = OpenTestDexFiles("MultiDex"); in TEST_F()
104 std::vector<const DexFile*> dex_files_const2 = ToConstDexFiles(dex_files2); in TEST_F()
108 std::vector<std::string> split2; in TEST_F()
Dcommon_runtime_test.h37 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions;
124 std::vector<std::unique_ptr<const DexFile>> OpenTestDexFiles(const char* name)
141 std::vector<const DexFile*> boot_class_path_;
145 std::vector<const DexFile*> GetDexFiles(jobject jclass_loader);
155 std::vector<std::unique_ptr<const DexFile>> loaded_dex_files_;
196 std::ostream& operator<<(std::ostream& os, const std::vector<T>& rhs);
/art/compiler/linker/arm64/
Drelative_patcher_arm64.h35 void PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset,
37 void PatchDexCacheReference(std::vector<uint8_t>* code, const LinkerPatch& patch,
41 static std::vector<uint8_t> CompileThunkCode();
46 void SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value);
50 static uint32_t GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset);
63 std::vector<std::pair<uint32_t, uint32_t>> adrp_thunk_locations_;
66 std::vector<uint8_t> current_method_thunks_;
/art/compiler/optimizing/
Doptimizing_cfi_test.cc40 const std::vector<uint8_t>& expected_asm, in TestImpl()
41 const std::vector<uint8_t>& expected_cfi) { in TestImpl()
81 const std::vector<uint8_t>& actual_asm = code_allocator.GetMemory(); in TestImpl()
83 const std::vector<uint8_t>& actual_cfi = *(opt_asm->cfi().data()); in TestImpl()
103 const std::vector<uint8_t>& GetMemory() { return memory_; } in GetMemory()
106 std::vector<uint8_t> memory_;
114 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
116 std::vector<uint8_t> expected_cfi(expected_cfi_##isa, \
/art/compiler/jni/
Djni_cfi_test.cc39 const std::vector<uint8_t>& expected_asm, in TestImpl()
40 const std::vector<uint8_t>& expected_cfi) { in TestImpl()
50 const std::vector<ManagedRegister>& callee_save_regs = jni_conv->CalleeSaveRegisters(); in TestImpl()
60 std::vector<uint8_t> actual_asm(jni_asm->CodeSize()); in TestImpl()
64 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImpl()
77 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
79 std::vector<uint8_t> expected_cfi(expected_cfi_##isa, \
/art/compiler/dwarf/
Ddwarf_test.h59 std::vector<std::string> Objdump(const char* args) { in Objdump()
96 std::vector<std::string> lines; in Objdump()
120 std::vector<std::string> Objdump(bool is64bit, const char* args) { in Objdump()
130 std::vector<std::string> actual_lines = Objdump(is64bit, args); in CheckObjdumpOutput()
169 std::vector<uint8_t> debug_frame_data_;
170 std::vector<uint8_t> debug_info_data_;
171 std::vector<uint8_t> debug_abbrev_data_;
172 std::vector<uint8_t> debug_str_data_;
173 std::vector<uint8_t> debug_line_data_;
176 std::vector<ExpectedLine> expected_lines_;
Ddwarf_test.cc127 std::vector<uintptr_t> debug_frame_patches; in TEST_F()
128 std::vector<uintptr_t> expected_patches { 28 }; // NOLINT in TEST_F()
142 std::vector<uintptr_t> debug_frame_patches; in TEST_F()
143 std::vector<uintptr_t> expected_patches { 32 }; // NOLINT in TEST_F()
180 std::vector<uintptr_t> debug_frame_patches; in TEST_F()
192 std::vector<std::string> include_directories; in TEST_F()
196 std::vector<FileEntry> files { in TEST_F()
235 std::vector<uintptr_t> debug_line_patches; in TEST_F()
236 std::vector<uintptr_t> expected_patches { 87 }; // NOLINT in TEST_F()
273 std::vector<std::string> directories; in TEST_F()
[all …]
Dheaders.h45 std::vector<uint8_t>* debug_frame) { in WriteDebugFrameCIE()
80 const std::vector<uint8_t, Allocator>* opcodes, in WriteDebugFrameFDE()
82 std::vector<uint8_t>* debug_frame, in WriteDebugFrameFDE()
83 std::vector<uintptr_t>* debug_frame_patches) { in WriteDebugFrameFDE()
113 std::vector<uint8_t>* debug_info, in WriteDebugInfoCU()
114 std::vector<uintptr_t>* debug_info_patches) { in WriteDebugInfoCU()
139 void WriteDebugLineTable(const std::vector<std::string>& include_directories, in WriteDebugLineTable()
140 const std::vector<FileEntry>& files, in WriteDebugLineTable()
142 std::vector<uint8_t>* debug_line, in WriteDebugLineTable()
143 std::vector<uintptr_t>* debug_line_patches) { in WriteDebugLineTable()
Ddebug_info_entry_writer.h34 size_t operator()(const std::vector<uint8_t, Allocator>& v) const { in operator()
166 void WriteStrp(Attribute attrib, const char* value, std::vector<uint8_t>* debug_str) { in WriteStrp()
175 const std::vector<uintptr_t>& GetPatchLocations() const { in GetPatchLocations()
182 std::vector<uint8_t, Allocator>* debug_abbrev,
224 const std::vector<uint8_t, Allocator>& abbrev = it.first->first; in EndAbbrev()
238 std::vector<uint8_t, Allocator> current_abbrev_;
239 std::unordered_map<std::vector<uint8_t, Allocator>, int,
243 std::vector<uint8_t, Allocator> entries_;
249 std::vector<uintptr_t> patch_locations_;
/art/compiler/linker/arm/
Drelative_patcher_thumb2.h29 void PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset,
31 void PatchDexCacheReference(std::vector<uint8_t>* code, const LinkerPatch& patch,
35 static std::vector<uint8_t> CompileThunkCode();
37 void SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value);
41 static uint32_t GetInsn32(std::vector<uint8_t, Alloc>* code, uint32_t offset);
Drelative_patcher_thumb2.cc31 void Thumb2RelativePatcher::PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, in PatchCall()
57 void Thumb2RelativePatcher::PatchDexCacheReference(std::vector<uint8_t>* code, in PatchDexCacheReference()
77 std::vector<uint8_t> Thumb2RelativePatcher::CompileThunkCode() { in CompileThunkCode()
85 std::vector<uint8_t> thunk_code(assembler.CodeSize()); in CompileThunkCode()
91 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32()
113 uint32_t Thumb2RelativePatcher::GetInsn32(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn32()
/art/compiler/utils/arm/
Dassembler_arm_test.h36 virtual void FillImmediates(std::vector<Imm>& immediates, int64_t imm_min, int64_t imm_max) { in FillImmediates()
73 const std::vector<Reg1*> reg1_registers, in RepeatTemplatedRRIIC()
74 const std::vector<Reg2*> reg2_registers, in RepeatTemplatedRRIIC()
80 std::vector<Imm> immediates1; in RepeatTemplatedRRIIC()
82 std::vector<Imm> immediates2; in RepeatTemplatedRRIIC()
85 std::vector<Cond>& cond = GetConditions(); in RepeatTemplatedRRIIC()
160 std::vector<std::pair<Imm, Imm>>& immediates, in RepeatRRiiC()
170 const std::vector<Reg1*> reg1_registers, in RepeatTemplatedRRiiC()
171 const std::vector<Reg2*> reg2_registers, in RepeatTemplatedRRiiC()
174 std::vector<std::pair<Imm, Imm>>& immediates, in RepeatTemplatedRRiiC()
[all …]
/art/compiler/dex/quick/
Dquick_cfi_test.cc47 const std::vector<uint8_t>& expected_asm, in TestImpl()
48 const std::vector<uint8_t>& expected_cfi) { in TestImpl()
109 std::vector<uint8_t> actual_asm(m2l->code_buffer_.begin(), m2l->code_buffer_.end()); in TestImpl()
111 std::vector<uint8_t> actual_cfi(cfi_data->begin(), cfi_data->end()); in TestImpl()
125 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
127 std::vector<uint8_t> expected_cfi(expected_cfi_##isa, \
/art/runtime/native/
Ddalvik_system_DexFile.cc42 static std::unique_ptr<std::vector<const DexFile*>>
48 return std::unique_ptr<std::vector<const DexFile*>>(); in ConvertJavaArrayToNative()
56 return std::unique_ptr<std::vector<const DexFile*>>(); in ConvertJavaArrayToNative()
59 std::unique_ptr<std::vector<const DexFile*>> ret(new std::vector<const DexFile*>()); in ConvertJavaArrayToNative()
67 return std::unique_ptr<std::vector<const DexFile*>>(); in ConvertJavaArrayToNative()
74 std::vector<std::unique_ptr<const DexFile>>& vec) { in ConvertNativeToJavaArray()
164 std::vector<std::unique_ptr<const DexFile>> dex_files; in DexFile_openDexFileNative()
165 std::vector<std::string> error_msgs; in DexFile_openDexFileNative()
196 std::unique_ptr<std::vector<const DexFile*>> dex_files = ConvertJavaArrayToNative(env, cookie); in DexFile_closeDexFile()
220 std::unique_ptr<std::vector<const DexFile*>> dex_files = ConvertJavaArrayToNative(env, cookie); in DexFile_defineClassNative()
[all …]
/art/compiler/dex/
Dverified_method.h38 typedef std::vector<uint32_t> SafeCastSet;
50 const std::vector<uint8_t>& GetDexGcMap() const { in GetDexGcMap()
102 const std::vector<uint8_t>& data);
120 std::vector<uint8_t> dex_gc_map_;

12345678910