Home
last modified time | relevance | path

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

12345678910>>...17

/art/compiler/optimizing/
Dpretty_printer_test.cc32 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 …]
Dsuspend_check_test.cc33 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()
Ddominator_test.cc29 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 …]
Dliveness_test.cc32 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()
85 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
107 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
133 const std::vector<uint16_t> data = TWO_REGISTERS_CODE_ITEM( in TEST_F()
180 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
227 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
272 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
[all …]
Dssa_test.cc34 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 …]
Dlinearize_test.cc36 void TestCode(const std::vector<uint16_t>& data,
41 void LinearizeTest::TestCode(const std::vector<uint16_t>& data, in TestCode()
68 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
93 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
119 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
149 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
179 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
205 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
233 const std::vector<uint16_t> data = ONE_REGISTER_CODE_ITEM( in TEST_F()
/art/runtime/
Doat_file_manager.h71 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,
151 std::vector<std::unique_ptr<const DexFile>> OpenDexFilesFromOat_Impl(
[all …]
Dclass_loader_context.h79 const std::vector<int>& context_fds = std::vector<int>());
105 jobject CreateClassLoader(const std::vector<const DexFile*>& compilation_sources) const;
126 std::vector<const DexFile*> FlattenOpenedDexFiles() const;
175 std::vector<std::unique_ptr<ClassLoaderInfo>> shared_libraries;
178 std::vector<std::string> classpath;
180 std::vector<std::string> original_classpath;
183 std::vector<uint32_t> checksums;
185 std::vector<std::unique_ptr<const DexFile>> opened_dex_files;
188 std::vector<std::unique_ptr<OatFile>> opened_oat_files;
/art/libdexfile/dex/
Dprimitive_test.cc26 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 …]
Ddex_file_loader_test.cc34 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 …]
Dutf_test.cc118 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 …]
Dcompact_offset_table.h55 static void Build(const std::vector<uint32_t>& offsets, std::vector<uint8_t>* out_data);
58 static void Build(const std::vector<uint32_t>& offsets,
59 std::vector<uint8_t>* out_data,
/art/compiler/debug/
Delf_debug_writer.h43 std::vector<uint8_t> MakeMiniDebugInfo(
52 std::vector<uint8_t> MakeElfFileForJIT(
58 std::vector<uint8_t> PackElfFileForJIT(
61 std::vector<ArrayRef<const uint8_t>>& added_elf_files,
62 std::vector<const void*>& removed_symbols,
65 std::vector<uint8_t> WriteDebugElfFileForClasses(
/art/libartbase/base/
Dtransform_array_ref_test.cc41 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 …]
Dcommon_art_test.h111 virtual std::vector<std::string> GetLibCoreModuleNames() const;
114 std::vector<std::string> GetLibCoreDexFileNames(const std::vector<std::string>& modules) const;
117 std::vector<std::string> GetLibCoreDexFileNames() const;
120 std::vector<std::string> GetLibCoreDexLocations(const std::vector<std::string>& modules) const;
123 std::vector<std::string> GetLibCoreDexLocations() const;
126 const std::vector<std::string>& class_path);
136 std::vector<std::unique_ptr<const DexFile>> dex_files; in MutateDexFile()
176 static ForkAndExecResult ForkAndExec(const std::vector<std::string>& argv,
179 static ForkAndExecResult ForkAndExec(const std::vector<std::string>& argv,
207 std::vector<std::unique_ptr<const DexFile>> OpenDexFiles(const char* filename);
[all …]
/art/tools/veridex/
Dprecise_hidden_api_finder.h43 void Run(const std::vector<std::unique_ptr<VeridexResolver>>& app_resolvers);
50 const std::vector<std::unique_ptr<VeridexResolver>>& resolvers,
54 void AddUsesAt(const std::vector<ReflectAccessInfo>& accesses, MethodReference ref);
58 std::map<MethodReference, std::vector<ReflectAccessInfo>> concrete_uses_;
59 std::map<MethodReference, std::vector<ReflectAccessInfo>> abstract_uses_;
Dhidden_api_finder.h42 void Run(const std::vector<std::unique_ptr<VeridexResolver>>& app_resolvers);
50 void DumpReferences(std::ostream& os, const std::vector<MethodReference>& references);
55 std::map<std::string, std::vector<MethodReference>> reflection_locations_;
56 std::map<std::string, std::vector<MethodReference>> method_locations_;
57 std::map<std::string, std::vector<MethodReference>> field_locations_;
/art/compiler/utils/
Ddedupe_set_test.cc45 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/dex2oat/driver/
Dcompiler_driver.h97 void SetClasspathDexFiles(const std::vector<const DexFile*>& dex_files);
105 const std::vector<const DexFile*>& dex_files,
111 const std::vector<const DexFile*>& dex_files,
124 std::unique_ptr<const std::vector<uint8_t>> CreateJniDlsymLookup() const;
125 std::unique_ptr<const std::vector<uint8_t>> CreateQuickGenericJniTrampoline() const;
126 std::unique_ptr<const std::vector<uint8_t>> CreateQuickImtConflictTrampoline() const;
127 std::unique_ptr<const std::vector<uint8_t>> CreateQuickResolutionTrampoline() const;
128 std::unique_ptr<const std::vector<uint8_t>> CreateQuickToInterpreterBridge() const;
237 const std::vector<const DexFile*>& dex_files,
242 const std::vector<const DexFile*>& dex_files,
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.h42 void PatchCall(std::vector<uint8_t>* code,
46 void PatchPcRelativeReference(std::vector<uint8_t>* code,
50 void PatchBakerReadBarrierBranch(std::vector<uint8_t>* code,
63 void SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value);
67 static uint32_t GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset);
71 std::vector<std::pair<uint32_t, uint32_t>> adrp_thunk_locations_;
74 std::vector<uint8_t> current_method_thunks_;
/art/tools/dexanalyze/
Ddexanalyze_bytecode.h63 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/libelffile/stream/
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()
/art/compiler/debug/dwarf/
Ddwarf_test.h61 std::vector<std::string> Objdump(const char* args) { in Objdump()
88 std::vector<std::string> lines; in Objdump()
112 std::vector<std::string> Objdump(bool is64bit, const char* args) { in Objdump()
122 std::vector<std::string> actual_lines = Objdump(is64bit, args); in CheckObjdumpOutput()
161 std::vector<uint8_t> debug_frame_data_;
162 std::vector<uint8_t> debug_info_data_;
163 std::vector<uint8_t> debug_abbrev_data_;
164 std::vector<uint8_t> debug_str_data_;
165 std::vector<uint8_t> debug_line_data_;
168 std::vector<ExpectedLine> expected_lines_;
/art/runtime/jit/
Ddebugger_interface.h34 typedef std::vector<uint8_t> PackElfFileForJITFunction(
37 std::vector<ArrayRef<const uint8_t>>& added_elf_files,
38 std::vector<const void*>& removed_symbols,
51 const std::vector<uint8_t>& symfile,
/art/compiler/jni/
Djni_cfi_test.cc45 const std::vector<uint8_t>& expected_asm, in TestImpl()
46 const std::vector<uint8_t>& expected_cfi) { in TestImpl()
58 const std::vector<uint8_t>& expected_asm, in TestImplSized()
59 const std::vector<uint8_t>& expected_cfi) { in TestImplSized()
91 std::vector<uint8_t> actual_asm(jni_asm->CodeSize()); in TestImplSized()
95 const std::vector<uint8_t>& actual_cfi = *(jni_asm->cfi().data()); in TestImplSized()
112 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
114 std::vector<uint8_t> expected_cfi(expected_cfi_##isa, \

12345678910>>...17