/art/runtime/base/ |
D | transform_array_ref_test.cc | 42 std::vector<ValueHolder> input({ 7, 6, 4, 0 }); in TEST() 43 std::vector<int> output; in TEST() 56 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); in TEST() 60 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); in TEST() 64 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output); in TEST() 68 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output); in TEST() 83 std::vector<ValueHolder> input({ 4, 4, 5, 7, 10 }); in TEST() 84 std::vector<int> output; in TEST() 96 ASSERT_EQ(std::vector<int>({ 3, 3, 4, 6, 9 }), output); in TEST() 100 ASSERT_EQ(std::vector<int>({ 9, 6, 4, 3, 3 }), output); in TEST() [all …]
|
D | hash_set_test.cc | 85 std::vector<std::string> strings; in TEST_F() 118 std::vector<std::string> strings; in TEST_F() 146 std::vector<std::string> strings; in TEST_F() 163 std::vector<std::string> strings = {"a", "b", "c", "d", "e", "f", "g"}; in TEST_F() 173 std::vector<std::string> random_strings; in TEST_F() 220 std::vector<std::string> strings; in TEST_F() 282 void MakeEmpty(std::vector<int>& item) const { in MakeEmpty() 285 bool IsEmpty(const std::vector<int>& item) const { in IsEmpty() 300 std::size_t operator()(const std::vector<int>& item) const { in operator ()() 308 bool operator()(const std::vector<int>& a, const std::vector<int>& b) const { in operator ()() [all …]
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 59 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline( in CreateTrampoline() 86 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 100 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline( in CreateTrampoline() 128 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 139 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline( in CreateTrampoline() 160 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 171 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline( in CreateTrampoline() 192 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 203 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline(ArenaAllocator* arena, in CreateTrampoline() 213 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() [all …]
|
/art/compiler/optimizing/ |
D | optimizing_cfi_test.cc | 98 const std::vector<uint8_t>& expected_asm, in Check() 99 const std::vector<uint8_t>& expected_cfi) { in Check() 101 const std::vector<uint8_t>& actual_asm = code_allocator_.GetMemory(); in Check() 103 const std::vector<uint8_t>& actual_cfi = *(opt_asm->cfi().data()); in Check() 115 const std::vector<uint8_t>& expected_asm, in TestImpl() 116 const std::vector<uint8_t>& expected_cfi) { in TestImpl() 136 const std::vector<uint8_t>& GetMemory() { return memory_; } in GetMemory() 139 std::vector<uint8_t> memory_; 156 std::vector<uint8_t> expected_asm( \ 159 std::vector<uint8_t> expected_cfi( \ [all …]
|
/art/compiler/utils/ |
D | dedupe_set_test.cc | 45 const std::vector<uint8_t>* Copy(const ArrayRef<const uint8_t>& src) { in Copy() 46 return new std::vector<uint8_t>(src.begin(), src.end()); in Copy() 49 void Destroy(const std::vector<uint8_t>* key) { in Destroy() 58 std::vector<uint8_t>, in TEST() 62 const std::vector<uint8_t>* array1; in TEST() 71 const std::vector<uint8_t>* array2; in TEST() 80 const std::vector<uint8_t>* array3; in TEST()
|
/art/runtime/ |
D | utf_test.cc | 116 static void AssertConversion(const std::vector<uint16_t>& input, in AssertConversion() 117 const std::vector<uint8_t>& expected) { in AssertConversion() 120 std::vector<uint8_t> output(expected.size()); in AssertConversion() 160 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> prefixes { in TEST_F() 166 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> suffixes { in TEST_F() 172 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> tests { in TEST_F() 179 const std::vector<uint16_t>& prefix_in = prefix.first; in TEST_F() 180 const std::vector<uint8_t>& prefix_out = prefix.second; in TEST_F() 182 const std::vector<uint16_t>& test_in = test.first; in TEST_F() 183 const std::vector<uint8_t>& test_out = test.second; in TEST_F() [all …]
|
D | class_loader_context.h | 81 jobject CreateClassLoader(const std::vector<const DexFile*>& compilation_sources) const; 99 std::vector<const DexFile*> FlattenOpenedDexFiles() const; 148 std::vector<std::string> classpath; 151 std::vector<uint32_t> checksums; 153 std::vector<std::unique_ptr<const DexFile>> opened_dex_files; 156 std::vector<std::unique_ptr<OatFile>> opened_oat_files; 218 std::vector<ClassLoaderInfo> class_loader_chain_;
|
D | class_loader_context_test.cc | 77 std::vector<std::unique_ptr<const DexFile>>* all_dex_files) { in VerifyOpenDexFiles() 126 std::vector<const DexFile*>& expected_dex_files) in VerifyClassLoaderDexFiles() 130 std::vector<const DexFile*> class_loader_dex_files = GetDexFiles(soa, class_loader); in VerifyClassLoaderDexFiles() 155 std::vector<std::string> expected_classpath; in VerifyClassLoaderInfo() 164 std::vector<std::unique_ptr<const DexFile>> dex_files = OpenTestDexFiles(test_name.c_str()); in VerifyClassLoaderFromTestDex() 250 std::vector<std::unique_ptr<const DexFile>> all_dex_files0 = OpenTestDexFiles("MultiDex"); in TEST_F() 251 std::vector<std::unique_ptr<const DexFile>> myclass_dex_files = OpenTestDexFiles("MyClass"); in TEST_F() 257 std::vector<std::unique_ptr<const DexFile>> all_dex_files1 = OpenTestDexFiles("Main"); in TEST_F() 292 std::vector<std::unique_ptr<const DexFile>> myclass_dex_files = OpenTestDexFiles("MyClass"); in TEST_F() 310 std::vector<std::unique_ptr<const DexFile>> classpath_dex = OpenTestDexFiles("Main"); in TEST_F() [all …]
|
D | oat_file_manager.h | 74 std::vector<const OatFile*> GetBootOatFiles() const; 81 std::vector<const OatFile*> RegisterImageOatFiles(std::vector<gc::space::ImageSpace*> spaces) 98 std::vector<std::unique_ptr<const DexFile>> OpenDexFilesFromOat( 103 /*out*/ std::vector<std::string>* error_msgs)
|
D | oat_file_manager.cc | 86 const std::vector<const OatDexFile*>& oat_dex_files = oat_file->GetOatDexFiles(); in FindOpenedOatFileFromDexLocation() 112 std::vector<const OatFile*> OatFileManager::GetBootOatFiles() const { in GetBootOatFiles() 113 std::vector<const OatFile*> oat_files; in GetBootOatFiles() 114 std::vector<gc::space::ImageSpace*> image_spaces = in GetBootOatFiles() 124 std::vector<const OatFile*> boot_oat_files = GetBootOatFiles(); in GetPrimaryOatFile() 142 std::vector<const OatFile*> OatFileManager::RegisterImageOatFiles( in RegisterImageOatFiles() 143 std::vector<gc::space::ImageSpace*> spaces) { in RegisterImageOatFiles() 144 std::vector<const OatFile*> oat_files; in RegisterImageOatFiles() 245 /*out*/std::vector<const DexFile*>* dex_files, in AddDexFilesFromOat() 246 std::vector<std::unique_ptr<const DexFile>>* opened_dex_files) { in AddDexFilesFromOat() [all …]
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 60 std::vector<std::string> Objdump(const char* args) { in Objdump() 86 std::vector<std::string> lines; in Objdump() 110 std::vector<std::string> Objdump(bool is64bit, const char* args) { in Objdump() 120 std::vector<std::string> actual_lines = Objdump(is64bit, args); in CheckObjdumpOutput() 159 std::vector<uint8_t> debug_frame_data_; 160 std::vector<uint8_t> debug_info_data_; 161 std::vector<uint8_t> debug_abbrev_data_; 162 std::vector<uint8_t> debug_str_data_; 163 std::vector<uint8_t> debug_line_data_; 166 std::vector<ExpectedLine> expected_lines_;
|
D | dwarf_test.cc | 127 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() 181 std::vector<uintptr_t> debug_frame_patches; in TEST_F() 194 std::vector<std::string> include_directories; in TEST_F() 198 std::vector<FileEntry> files { in TEST_F() 239 std::vector<uintptr_t> debug_line_patches; in TEST_F() 240 std::vector<uintptr_t> expected_patches { 87 }; // NOLINT in TEST_F() 277 std::vector<std::string> directories; in TEST_F() [all …]
|
/art/compiler/jni/ |
D | jni_cfi_test.cc | 43 const std::vector<uint8_t>& expected_asm, in TestImpl() 44 const std::vector<uint8_t>& expected_cfi) { in TestImpl() 56 const std::vector<uint8_t>& expected_asm, in TestImplSized() 57 const std::vector<uint8_t>& expected_cfi) { in TestImplSized() 88 std::vector<uint8_t> actual_asm(jni_asm->CodeSize()); in TestImplSized() 92 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized() 105 std::vector<uint8_t> expected_asm(expected_asm_##isa, \ 107 std::vector<uint8_t> expected_cfi(expected_cfi_##isa, \
|
/art/compiler/linker/ |
D | vector_output_stream.cc | 23 VectorOutputStream::VectorOutputStream(const std::string& location, std::vector<uint8_t>* vector) in VectorOutputStream() argument 24 : OutputStream(location), offset_(vector->size()), vector_(vector) {} in VectorOutputStream()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 261 std::vector<std::string> dexdump_exec_argv = in FullPlainOutputExec() 263 std::vector<std::string> dexlayout_exec_argv = in FullPlainOutputExec() 271 std::vector<std::string> diff_exec_argv = in FullPlainOutputExec() 290 std::vector<std::string> dexlayout_exec_argv = in DexFileOutputExec() 297 std::vector<std::string> unzip_exec_argv = in DexFileOutputExec() 302 std::vector<std::string> diff_exec_argv = in DexFileOutputExec() 307 std::vector<std::string> rm_zip_exec_argv = { "/bin/rm", tmp_dir + "classes.dex" }; in DexFileOutputExec() 311 std::vector<std::string> rm_out_exec_argv = { "/bin/rm", tmp_dir + dex_file_name }; in DexFileOutputExec() 323 std::vector<std::unique_ptr<const DexFile>> dex_files; in CreateProfile() 398 std::vector<std::string> dexlayout_exec_argv = in DexFileLayoutExec() [all …]
|
/art/compiler/driver/ |
D | compiler_driver.h | 106 void SetDexFilesForOatFile(const std::vector<const DexFile*>& dex_files); 114 const std::vector<const DexFile*>& dex_files, 146 std::unique_ptr<const std::vector<uint8_t>> CreateJniDlsymLookup() const; 147 std::unique_ptr<const std::vector<uint8_t>> CreateQuickGenericJniTrampoline() const; 148 std::unique_ptr<const std::vector<uint8_t>> CreateQuickImtConflictTrampoline() const; 149 std::unique_ptr<const std::vector<uint8_t>> CreateQuickResolutionTrampoline() const; 150 std::unique_ptr<const std::vector<uint8_t>> CreateQuickToInterpreterBridge() const; 384 const std::vector<const DexFile*>& dex_files, 394 const std::vector<const DexFile*>& dex_files, 399 const std::vector<const DexFile*>& dex_files, [all …]
|
/art/compiler/debug/ |
D | elf_debug_writer.h | 43 std::vector<uint8_t> MakeMiniDebugInfo( 50 std::vector<uint8_t> WriteDebugElfFileForMethods( 55 std::vector<uint8_t> WriteDebugElfFileForClasses( 61 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& oat_header);
|
D | elf_gnu_debugdata_writer.h | 34 static void XzCompress(const std::vector<uint8_t>* src, std::vector<uint8_t>* dst) { in XzCompress() 64 const std::vector<uint8_t>* src_; in XzCompress() 65 std::vector<uint8_t>* dst_; in XzCompress() 80 static std::vector<uint8_t> MakeMiniDebugInfoInternal( in MakeMiniDebugInfoInternal() 86 std::vector<uint8_t> buffer; in MakeMiniDebugInfoInternal() 102 std::vector<uint8_t> compressed_buffer; in MakeMiniDebugInfoInternal()
|
D | elf_debug_writer.cc | 50 std::vector<ElfCompilationUnit> compilation_units; in WriteDebugInfo() 92 std::vector<uint8_t> MakeMiniDebugInfo( in MakeMiniDebugInfo() 114 static std::vector<uint8_t> WriteDebugElfFileForMethodsInternal( in WriteDebugElfFileForMethodsInternal() 118 std::vector<uint8_t> buffer; in WriteDebugElfFileForMethodsInternal() 133 std::vector<uint8_t> WriteDebugElfFileForMethods( in WriteDebugElfFileForMethods() 145 static std::vector<uint8_t> WriteDebugElfFileForClassesInternal( in WriteDebugElfFileForClassesInternal() 150 std::vector<uint8_t> buffer; in WriteDebugElfFileForClassesInternal() 167 std::vector<uint8_t> WriteDebugElfFileForClasses(InstructionSet isa, in WriteDebugElfFileForClasses() 177 std::vector<MethodDebugInfo> MakeTrampolineInfos(const OatHeader& header) { in MakeTrampolineInfos() 187 std::vector<MethodDebugInfo> result; in MakeTrampolineInfos()
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.h | 65 void PatchCall(std::vector<uint8_t>* code, 69 void PatchPcRelativeReference(std::vector<uint8_t>* code, 73 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, 78 std::vector<uint8_t> CompileThunk(const ThunkKey& key) OVERRIDE; 112 void SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value); 116 static uint32_t GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset); 120 std::vector<std::pair<uint32_t, uint32_t>> adrp_thunk_locations_; 123 std::vector<uint8_t> current_method_thunks_;
|
/art/compiler/ |
D | oat_writer.h | 172 /*out*/ std::vector<std::unique_ptr<const DexFile>>* opened_dex_files); 179 const std::vector<const DexFile*>& dex_files) { in Initialize() 234 void AddMethodDebugInfos(const std::vector<debug::MethodDebugInfo>& infos) { in AddMethodDebugInfos() 299 /*out*/ std::vector<std::unique_ptr<const DexFile>>* opened_dex_files); 326 const std::vector<std::unique_ptr<const DexFile>>& opened_dex_files); 328 const std::vector<std::unique_ptr<const DexFile>>& opened_dex_files); 348 std::vector<std::unique_ptr<File>> raw_dex_files_; 349 std::vector<std::unique_ptr<ZipArchive>> zip_archives_; 350 std::vector<std::unique_ptr<ZipEntry>> zipped_dex_files_; 363 const std::vector<const DexFile*>* dex_files_; [all …]
|
D | cfi_test.h | 40 const std::vector<uint8_t>& actual_asm, in GenerateExpected() 41 const std::vector<uint8_t>& actual_cfi) { in GenerateExpected() 42 std::vector<std::string> lines; in GenerateExpected() 55 std::vector<uintptr_t> debug_frame_patches; in GenerateExpected() 92 std::vector<std::string>* output) { in ReformatAsm() 109 static void ReformatCfi(const std::vector<std::string>& lines, in ReformatCfi() 110 std::vector<std::string>* output) { in ReformatCfi() 145 static void HexDump(FILE* f, const std::vector<uint8_t>& data) { in HexDump()
|
/art/profman/ |
D | profile_assistant.h | 55 const std::vector<std::string>& profile_files, 59 const std::vector<int>& profile_files_fd_, 64 const std::vector<ScopedFlock>& profile_files,
|
D | profile_assistant.cc | 33 const std::vector<ScopedFlock>& profile_files, in ProcessProfilesInternal() 92 bool Init(const std::vector<std::string>& filenames, /* out */ std::string* error) { in Init() 104 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() 117 const std::vector<ScopedFlock>& Get() const { return flocks_; } in Get() 120 std::vector<ScopedFlock> flocks_; 124 const std::vector<int>& profile_files_fd, in ProcessProfiles() 150 const std::vector<std::string>& profile_files, in ProcessProfiles()
|
/art/compiler/utils/arm/ |
D | assembler_arm_test.h | 42 virtual void FillImmediates(std::vector<Imm>& immediates, int64_t imm_min, int64_t imm_max) { in FillImmediates() 79 const std::vector<Reg1*> reg1_registers, in RepeatTemplatedRRIIC() 80 const std::vector<Reg2*> reg2_registers, in RepeatTemplatedRRIIC() 86 std::vector<Imm> immediates1; in RepeatTemplatedRRIIC() 88 std::vector<Imm> immediates2; in RepeatTemplatedRRIIC() 91 std::vector<Cond>& cond = GetConditions(); in RepeatTemplatedRRIIC() 166 std::vector<std::pair<Imm, Imm>>& immediates, in RepeatRRiiC() 176 const std::vector<Reg1*> reg1_registers, in RepeatTemplatedRRiiC() 177 const std::vector<Reg2*> reg2_registers, in RepeatTemplatedRRiiC() 180 std::vector<std::pair<Imm, Imm>>& immediates, in RepeatTemplatedRRiiC() [all …]
|