/art/compiler/optimizing/ |
D | pretty_printer_test.cc | 32 void TestCode(const std::vector<uint16_t>& data, const char* expected); 35 void PrettyPrinterTest::TestCode(const std::vector<uint16_t>& data, const char* expected) { in TestCode() 43 const std::vector<uint16_t> data = ZERO_REGISTER_CODE_ITEM( in TEST_F() 70 const std::vector<uint16_t> data = in TEST_F() 92 const std::vector<uint16_t> data = ZERO_REGISTER_CODE_ITEM( in TEST_F() 114 const std::vector<uint16_t> data1 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 121 const std::vector<uint16_t> data2 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 128 const std::vector<uint16_t> data3 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 147 const std::vector<uint16_t> data1 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 153 const std::vector<uint16_t> data2 = ZERO_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | dominator_test.cc | 29 void TestCode(const std::vector<uint16_t>& data, const uint32_t* blocks, size_t blocks_length); 32 void OptimizerTest::TestCode(const std::vector<uint16_t>& data, in TestCode() 54 const std::vector<uint16_t> data = ZERO_REGISTER_CODE_ITEM( in TEST_F() 67 const std::vector<uint16_t> data = ZERO_REGISTER_CODE_ITEM( in TEST_F() 82 const std::vector<uint16_t> data = ZERO_REGISTER_CODE_ITEM( in TEST_F() 99 const std::vector<uint16_t> data1 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 114 const std::vector<uint16_t> data2 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 121 const std::vector<uint16_t> data3 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 130 const std::vector<uint16_t> data1 = ZERO_REGISTER_CODE_ITEM( in TEST_F() 143 const std::vector<uint16_t> data2 = ZERO_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | suspend_check_test.cc | 33 void TestCode(const std::vector<uint16_t>& data); 36 void SuspendCheckTest::TestCode(const std::vector<uint16_t>& data) { in TestCode() 46 const std::vector<uint16_t> data = ZERO_REGISTER_CODE_ITEM( in TEST_F() 54 const std::vector<uint16_t> data = ZERO_REGISTER_CODE_ITEM( in TEST_F() 61 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 70 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 79 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 88 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
|
D | liveness_test.cc | 32 void TestCode(const std::vector<uint16_t>& data, const char* expected); 35 static void DumpBitVector(BitVector* vector, in DumpBitVector() argument 42 buffer << vector->IsBitSet(i); in DumpBitVector() 47 void LivenessTest::TestCode(const std::vector<uint16_t>& data, const char* expected) { in TestCode() 87 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 109 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 135 const std::vector<uint16_t> data = TWO_REGISTERS_CODE_ITEM( in TEST_F() 182 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 229 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 274 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | ssa_test.cc | 34 void TestCode(const std::vector<uint16_t>& data, const char* expected); 83 void SsaTest::TestCode(const std::vector<uint16_t>& data, const char* expected) { in TestCode() 122 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 153 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 184 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 217 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 248 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 279 const std::vector<uint16_t> data = TWO_REGISTERS_CODE_ITEM( in TEST_F() 313 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 354 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() [all …]
|
D | linearize_test.cc | 36 void TestCode(const std::vector<uint16_t>& data, 41 void LinearizeTest::TestCode(const std::vector<uint16_t>& data, in TestCode() 70 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 95 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 121 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 151 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 181 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 207 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F() 235 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
|
/art/runtime/ |
D | oat_file_manager.h | 71 std::vector<const OatFile*> GetBootOatFiles() const; 78 std::vector<const OatFile*> RegisterImageOatFiles( 79 const std::vector<gc::space::ImageSpace*>& spaces) 96 std::vector<std::unique_ptr<const DexFile>> OpenDexFilesFromOat( 101 /*out*/ std::vector<std::string>* error_msgs) 113 std::vector<std::unique_ptr<const DexFile>> OpenDexFilesFromOat( 114 std::vector<MemMap>&& dex_mem_maps, 118 /*out*/ std::vector<std::string>* error_msgs) 126 void RunBackgroundVerification(const std::vector<const DexFile*>& dex_files, 144 std::vector<std::unique_ptr<const DexFile>> OpenDexFilesFromOat_Impl( [all …]
|
D | class_loader_context.h | 86 const std::vector<int>& context_fds = std::vector<int>()); 112 jobject CreateClassLoader(const std::vector<const DexFile*>& compilation_sources) const; 152 std::vector<const DexFile*> FlattenOpenedDexFiles() const; 174 const std::vector<const DexFile*>& dex_files); 220 std::vector<std::unique_ptr<ClassLoaderInfo>> shared_libraries; 223 std::vector<std::string> classpath; 225 std::vector<std::string> original_classpath; 228 std::vector<uint32_t> checksums; 230 std::vector<std::unique_ptr<const DexFile>> opened_dex_files; 233 std::vector<std::unique_ptr<OatFile>> opened_oat_files; [all …]
|
/art/libartbase/base/ |
D | transform_array_ref_test.cc | 41 std::vector<ValueHolder> input({ 7, 6, 4, 0 }); in TEST() 42 std::vector<int> output; in TEST() 55 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); in TEST() 59 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); in TEST() 63 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output); in TEST() 67 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output); in TEST() 82 std::vector<ValueHolder> input({ 4, 4, 5, 7, 10 }); in TEST() 83 std::vector<int> output; in TEST() 95 ASSERT_EQ(std::vector<int>({ 3, 3, 4, 6, 9 }), output); in TEST() 99 ASSERT_EQ(std::vector<int>({ 9, 6, 4, 3, 3 }), output); in TEST() [all …]
|
D | common_art_test.h | 113 std::vector<uint8_t>* storage) { in CreateFakeDex() 142 std::vector<uint8_t> storage; 159 std::vector<std::unique_ptr<FakeDex>> fake_dex_files; 180 virtual std::vector<std::string> GetLibCoreModuleNames() const; 183 std::vector<std::string> GetLibCoreDexFileNames(const std::vector<std::string>& modules) const; 186 std::vector<std::string> GetLibCoreDexFileNames() const; 189 std::vector<std::string> GetLibCoreDexLocations(const std::vector<std::string>& modules) const; 192 std::vector<std::string> GetLibCoreDexLocations() const; 195 const std::vector<std::string>& class_path); 202 std::vector<std::unique_ptr<const DexFile>> dex_files; in MutateDexFile() [all …]
|
/art/libdexfile/dex/ |
D | primitive_test.cc | 26 const std::vector<Primitive::Type>& expected_to_types) { in CheckPrimitiveTypeWidensTo() 27 std::vector<Primitive::Type> actual_to_types; in CheckPrimitiveTypeWidensTo() 41 const std::vector<Primitive::Type> to_types = {}; in TEST() 46 const std::vector<Primitive::Type> to_types = {}; in TEST() 51 const std::vector<Primitive::Type> to_types = { in TEST() 63 const std::vector<Primitive::Type> to_types = { in TEST() 74 const std::vector<Primitive::Type> to_types = { in TEST() 85 const std::vector<Primitive::Type> to_types = { in TEST() 95 const std::vector<Primitive::Type> to_types = { in TEST() 104 const std::vector<Primitive::Type> to_types = { in TEST() [all …]
|
D | dex_file_loader_test.cc | 34 static inline std::vector<uint8_t> DecodeBase64Vec(const char* src) { in DecodeBase64Vec() 35 std::vector<uint8_t> res; in DecodeBase64Vec() 202 static void DecodeDexFile(const char* base64, std::vector<uint8_t>* dex_bytes) { in DecodeDexFile() 211 std::vector<uint8_t>* dex_bytes, in OpenDexFilesBase64() 212 std::vector<std::unique_ptr<const DexFile>>* dex_files, in OpenDexFilesBase64() 219 std::vector<std::unique_ptr<const DexFile>> tmp; in OpenDexFilesBase64() 234 std::vector<uint8_t>* dex_bytes) { in OpenDexFileBase64() 238 std::vector<std::unique_ptr<const DexFile>> dex_files; in OpenDexFileBase64() 250 std::vector<uint8_t>* dex_bytes) { in OpenDexFileInMemoryBase64() 309 std::vector<uint8_t> dex_bytes; in TEST_F() [all …]
|
D | utf_test.cc | 118 static void AssertConversion(const std::vector<uint16_t>& input, in AssertConversion() 119 const std::vector<uint8_t>& expected) { in AssertConversion() 122 std::vector<uint8_t> output(expected.size()); in AssertConversion() 162 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> prefixes { in TEST_F() 168 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> suffixes { in TEST_F() 174 const std::map<std::vector<uint16_t>, std::vector<uint8_t>> tests { in TEST_F() 181 const std::vector<uint16_t>& prefix_in = prefix.first; in TEST_F() 182 const std::vector<uint8_t>& prefix_out = prefix.second; in TEST_F() 184 const std::vector<uint16_t>& test_in = test.first; in TEST_F() 185 const std::vector<uint8_t>& test_out = test.second; in TEST_F() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.h | 42 void PatchCall(std::vector<uint8_t>* code, 46 void PatchPcRelativeReference(std::vector<uint8_t>* code, 50 void PatchEntrypointCall(std::vector<uint8_t>* code, 53 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, 63 static void PatchBl(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t displacement); 67 static void SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value); 71 static uint32_t GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset); 75 std::vector<std::pair<uint32_t, uint32_t>> adrp_thunk_locations_; 78 std::vector<uint8_t> current_method_thunks_;
|
/art/libprofile/profile/ |
D | profile_boot_info.h | 48 bool Load(int fd, const std::vector<const DexFile*>& dex_files); 50 const std::vector<const DexFile*>& GetDexFiles() const { in GetDexFiles() 54 const std::vector<std::pair<uint32_t, uint32_t>>& GetMethods() const { in GetMethods() 62 std::vector<const DexFile*> dex_files_; 66 std::vector<std::pair<uint32_t, uint32_t>> methods_;
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 99 void SetClasspathDexFiles(const std::vector<const DexFile*>& dex_files); 107 const std::vector<const DexFile*>& dex_files, 113 const std::vector<const DexFile*>& dex_files, 126 std::unique_ptr<const std::vector<uint8_t>> CreateJniDlsymLookupTrampoline() const; 127 std::unique_ptr<const std::vector<uint8_t>> CreateJniDlsymLookupCriticalTrampoline() const; 128 std::unique_ptr<const std::vector<uint8_t>> CreateQuickGenericJniTrampoline() const; 129 std::unique_ptr<const std::vector<uint8_t>> CreateQuickImtConflictTrampoline() const; 130 std::unique_ptr<const std::vector<uint8_t>> CreateQuickResolutionTrampoline() const; 131 std::unique_ptr<const std::vector<uint8_t>> CreateQuickToInterpreterBridge() const; 240 const std::vector<const DexFile*>& dex_files, [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/tools/veridex/ |
D | precise_hidden_api_finder.h | 44 void Run(const std::vector<std::unique_ptr<VeridexResolver>>& app_resolvers, 52 const std::vector<std::unique_ptr<VeridexResolver>>& resolvers, 57 void AddUsesAt(const std::vector<ReflectAccessInfo>& accesses, MethodReference ref); 61 std::map<MethodReference, std::vector<ReflectAccessInfo>> concrete_uses_; 62 std::map<MethodReference, std::vector<ReflectAccessInfo>> abstract_uses_;
|
D | hidden_api_finder.h | 43 void Run(const std::vector<std::unique_ptr<VeridexResolver>>& app_resolvers, 52 void DumpReferences(std::ostream& os, const std::vector<MethodReference>& references); 57 std::map<std::string, std::vector<MethodReference>> reflection_locations_; 58 std::map<std::string, std::vector<MethodReference>> method_locations_; 59 std::map<std::string, std::vector<MethodReference>> field_locations_;
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 52 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline( in CreateTrampoline() 79 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 93 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline( in CreateTrampoline() 121 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 132 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline(ArenaAllocator* allocator, in CreateTrampoline() 142 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 153 static std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline(ArenaAllocator* allocator, in CreateTrampoline() 163 std::unique_ptr<std::vector<uint8_t>> entry_stub(new std::vector<uint8_t>(cs)); in CreateTrampoline() 172 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa, in CreateTrampoline64() 194 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, in CreateTrampoline32()
|
/art/dex2oat/linker/ |
D | oat_writer.h | 176 /*out*/ std::vector<MemMap>* opened_dex_files_map, 177 /*out*/ std::vector<std::unique_ptr<const DexFile>>* opened_dex_files); 179 bool StartRoData(const std::vector<const DexFile*>& dex_files, 185 const std::vector<const DexFile*>& dex_files); 293 /*out*/ std::vector<MemMap>* opened_dex_files_map); 309 /*inout*/ std::vector<MemMap>* opened_dex_files_map, 310 /*out*/ std::vector<std::unique_ptr<const DexFile>>* opened_dex_files); 311 void WriteQuickeningInfo(/*out*/std::vector<uint8_t>* buffer); 313 /*out*/std::vector<uint8_t>* buffer); 337 const std::vector<const DexFile*>& opened_dex_files); [all …]
|
/art/tools/dexanalyze/ |
D | dexanalyze_bytecode.h | 63 void ProcessDexFiles(const std::vector<std::unique_ptr<const DexFile>>& dex_files); 72 bool InstNibbles(uint8_t opcode, const std::vector<uint32_t>& args); 86 std::vector<size_t> move_result_reg_; 87 std::vector<size_t> first_arg_reg_count_; 88 std::vector<size_t> opcode_count_; 91 std::map<std::vector<uint8_t>, size_t> instruction_freq_; 93 std::vector<uint8_t> buffer_;
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 61 std::vector<std::string> Objdump(const char* args) { in Objdump() 88 std::vector<std::string> lines; in Objdump() 113 std::vector<std::string> Objdump(bool is64bit, const char* args) { in Objdump() 123 std::vector<std::string> actual_lines = Objdump(is64bit, args); in CheckObjdumpOutput() 151 std::vector<uint8_t> debug_frame_data_; 152 std::vector<uint8_t> debug_info_data_; 153 std::vector<uint8_t> debug_abbrev_data_; 154 std::vector<uint8_t> debug_str_data_; 155 std::vector<uint8_t> debug_line_data_; 158 std::vector<ExpectedLine> expected_lines_;
|
/art/libelffile/stream/ |
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/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.h | 37 void PatchCall(std::vector<uint8_t>* code, 41 void PatchPcRelativeReference(std::vector<uint8_t>* code, 45 void PatchEntrypointCall(std::vector<uint8_t>* code, 48 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, 57 static void PatchBl(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t displacement); 59 static void SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value);
|