Home
last modified time | relevance | path

Searched refs:push_back (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/art/compiler/utils/mips/
Dassembler_mips32r5_test.cc91 registers_.push_back(new mips::Register(mips::ZERO)); in SetUpHelpers()
92 registers_.push_back(new mips::Register(mips::AT)); in SetUpHelpers()
93 registers_.push_back(new mips::Register(mips::V0)); in SetUpHelpers()
94 registers_.push_back(new mips::Register(mips::V1)); in SetUpHelpers()
95 registers_.push_back(new mips::Register(mips::A0)); in SetUpHelpers()
96 registers_.push_back(new mips::Register(mips::A1)); in SetUpHelpers()
97 registers_.push_back(new mips::Register(mips::A2)); in SetUpHelpers()
98 registers_.push_back(new mips::Register(mips::A3)); in SetUpHelpers()
99 registers_.push_back(new mips::Register(mips::T0)); in SetUpHelpers()
100 registers_.push_back(new mips::Register(mips::T1)); in SetUpHelpers()
[all …]
Dassembler_mips32r6_test.cc104 registers_.push_back(new mips::Register(mips::ZERO)); in SetUpHelpers()
105 registers_.push_back(new mips::Register(mips::AT)); in SetUpHelpers()
106 registers_.push_back(new mips::Register(mips::V0)); in SetUpHelpers()
107 registers_.push_back(new mips::Register(mips::V1)); in SetUpHelpers()
108 registers_.push_back(new mips::Register(mips::A0)); in SetUpHelpers()
109 registers_.push_back(new mips::Register(mips::A1)); in SetUpHelpers()
110 registers_.push_back(new mips::Register(mips::A2)); in SetUpHelpers()
111 registers_.push_back(new mips::Register(mips::A3)); in SetUpHelpers()
112 registers_.push_back(new mips::Register(mips::T0)); in SetUpHelpers()
113 registers_.push_back(new mips::Register(mips::T1)); in SetUpHelpers()
[all …]
/art/oatdump/
Doatdump_test.h174 exec_argv.push_back("--symbolize=" + core_oat_location_); in Exec()
175 exec_argv.push_back("--output=" + core_oat_location_ + ".symbolize"); in Exec()
177 expected_prefixes.push_back("LOCATION:"); in Exec()
178 expected_prefixes.push_back("MAGIC:"); in Exec()
179 expected_prefixes.push_back("DEX FILE COUNT:"); in Exec()
182 expected_prefixes.push_back("DEX CODE:"); in Exec()
183 expected_prefixes.push_back("CODE:"); in Exec()
184 expected_prefixes.push_back("InlineInfo"); in Exec()
187 exec_argv.push_back("--runtime-arg"); in Exec()
188 exec_argv.push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames())); in Exec()
[all …]
/art/runtime/jdwp/
Djdwp_bits.h36 bytes.push_back(value); in Append1BE()
40 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append2BE()
41 bytes.push_back(static_cast<uint8_t>(value)); in Append2BE()
45 bytes.push_back(static_cast<uint8_t>(value >> 24)); in Append4BE()
46 bytes.push_back(static_cast<uint8_t>(value >> 16)); in Append4BE()
47 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append4BE()
48 bytes.push_back(static_cast<uint8_t>(value)); in Append4BE()
52 bytes.push_back(static_cast<uint8_t>(value >> 56)); in Append8BE()
53 bytes.push_back(static_cast<uint8_t>(value >> 48)); in Append8BE()
54 bytes.push_back(static_cast<uint8_t>(value >> 40)); in Append8BE()
[all …]
/art/compiler/utils/
Dassembler_test_base.h223 args.push_back(GetAssemblerCommand()); in Assemble()
224 args.push_back("-o"); in Assemble()
225 args.push_back(to_file); in Assemble()
226 args.push_back(from_file); in Assemble()
230 args.push_back("/bin/sh"); in Assemble()
231 args.push_back("-c"); in Assemble()
232 args.push_back(cmd); in Assemble()
259 args.push_back(GetObjdumpCommand()); in Objdump()
260 args.push_back(file); in Objdump()
261 args.push_back(">"); in Objdump()
[all …]
Dmanaged_register.h121 void push_back(ManagedRegister x) { in push_back() function
123 std::vector<ManagedRegisterSpill>::push_back(spill); in push_back()
126 void push_back(ManagedRegister x, int32_t size) { in push_back() function
128 std::vector<ManagedRegisterSpill>::push_back(spill); in push_back()
131 void push_back(ManagedRegisterSpill x) { in push_back() function
132 std::vector<ManagedRegisterSpill>::push_back(x); in push_back()
Dswap_space_test.cc47 v.push_back(i); in SwapTest()
54 v2.push_back(i); in SwapTest()
61 v3.push_back(i); in SwapTest()
/art/runtime/
Dparsed_options_test.cc56 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F()
57 options.push_back(std::make_pair("-classpath", nullptr)); in TEST_F()
58 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F()
59 options.push_back(std::make_pair("-cp", nullptr)); in TEST_F()
60 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F()
61 options.push_back(std::make_pair("-Ximage:boot_image", nullptr)); in TEST_F()
62 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in TEST_F()
63 options.push_back(std::make_pair("-Xms2048", nullptr)); in TEST_F()
64 options.push_back(std::make_pair("-Xmx4k", nullptr)); in TEST_F()
65 options.push_back(std::make_pair("-Xss1m", nullptr)); in TEST_F()
[all …]
Dexec_utils_test.cc34 command.push_back(android_root + "/bin/id"); in TEST_F()
36 command.push_back("/usr/bin/id"); in TEST_F()
50 command.push_back("bogus"); in TEST_F()
67 command.push_back(android_root + "/bin/printenv"); in TEST_F()
69 command.push_back("/usr/bin/printenv"); in TEST_F()
71 command.push_back(kModifiedVariable); in TEST_F()
91 command.push_back(android_root + "/bin/printenv"); in TEST_F()
93 command.push_back("/usr/bin/printenv"); in TEST_F()
95 command.push_back(kDeletedVariable); in TEST_F()
Ddexopt_test.cc57 argv.push_back("--runtime-arg"); in Dex2Oat()
58 argv.push_back("-Xhidden-api-policy:enabled"); in Dex2Oat()
62 argv.push_back("--host"); in Dex2Oat()
81 args.push_back("--dex-file=" + dex_location); in GenerateOatForTest()
82 args.push_back("--oat-file=" + oat_location); in GenerateOatForTest()
83 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); in GenerateOatForTest()
84 args.push_back("--runtime-arg"); in GenerateOatForTest()
89 args.push_back("-Xnorelocate"); in GenerateOatForTest()
93 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
98 args.push_back("--boot-image=" + GetImageLocation2()); in GenerateOatForTest()
[all …]
Dcommon_runtime_test.cc120 options.push_back(std::make_pair(boot_class_path_string, nullptr)); in SetUp()
121 options.push_back(std::make_pair(boot_class_path_locations_string, nullptr)); in SetUp()
122 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in SetUp()
123 options.push_back(std::make_pair(min_heap_string, nullptr)); in SetUp()
124 options.push_back(std::make_pair(max_heap_string, nullptr)); in SetUp()
125 options.push_back(std::make_pair("-XX:SlowDebug=true", nullptr)); in SetUp()
135 options.push_back(std::make_pair("compilercallbacks", callbacks_.get())); in SetUp()
229 ret.push_back(cp_dex_file); in GetDexFiles()
252 class_path.push_back(dex_file.get()); in LoadMultiDex()
253 loaded_dex_files_.push_back(std::move(dex_file)); in LoadMultiDex()
[all …]
Druntime_callbacks.cc53 ddm_callbacks_.push_back(cb); in AddDdmCallback()
69 debugger_control_callbacks_.push_back(cb); in AddDebuggerControlCallback()
100 method_inspection_callbacks_.push_back(cb); in AddMethodInspectionCallback()
139 thread_callbacks_.push_back(cb); in AddThreadLifecycleCallback()
168 monitor_callbacks_.push_back(cb); in AddMonitorCallback()
190 park_callbacks_.push_back(cb); in AddParkCallback()
217 class_callbacks_.push_back(cb); in AddClassLoadCallback()
269 sigquit_callbacks_.push_back(cb); in AddRuntimeSigQuitCallback()
285 phase_callbacks_.push_back(cb); in AddRuntimePhaseCallback()
301 method_callbacks_.push_back(cb); in AddMethodCallback()
/art/libelffile/dwarf/
Dwriter.h40 data_->push_back(value & 0xff); in PushUint8()
46 data_->push_back((value >> 0) & 0xff); in PushUint16()
47 data_->push_back((value >> 8) & 0xff); in PushUint16()
51 data_->push_back((value >> 0) & 0xff); in PushUint32()
52 data_->push_back((value >> 8) & 0xff); in PushUint32()
53 data_->push_back((value >> 16) & 0xff); in PushUint32()
54 data_->push_back((value >> 24) & 0xff); in PushUint32()
68 data_->push_back((value >> 0) & 0xff); in PushUint64()
69 data_->push_back((value >> 8) & 0xff); in PushUint64()
70 data_->push_back((value >> 16) & 0xff); in PushUint64()
[all …]
/art/compiler/
Dexception_test.cc70 fake_code_.push_back(0x70 | i); in SetUp()
183 fake_stack.push_back(reinterpret_cast<uintptr_t>(save_method)); in TEST_F()
186 fake_stack.push_back(0); in TEST_F()
189 fake_stack.push_back(method_g_->GetOatQuickMethodHeader(0)->ToNativeQuickPc( in TEST_F()
193 fake_stack.push_back(reinterpret_cast<uintptr_t>(method_g_)); in TEST_F()
194 fake_stack.push_back(0); in TEST_F()
195 fake_stack.push_back(0); in TEST_F()
196 fake_stack.push_back(method_g_->GetOatQuickMethodHeader(0)->ToNativeQuickPc( in TEST_F()
200 fake_stack.push_back(reinterpret_cast<uintptr_t>(method_f_)); in TEST_F()
201 fake_stack.push_back(0); in TEST_F()
[all …]
/art/dex2oat/
Ddex2oat_image_test.cc113 args.push_back("--runtime-arg"); in AddRuntimeArg()
114 args.push_back(arg); in AddRuntimeArg()
153 argv.push_back(runtime->GetCompilerExecutable()); in CompileBootImage()
158 argv.push_back("--dex-file=" + dex_file); in CompileBootImage()
159 argv.push_back("--dex-location=" + dex_file); in CompileBootImage()
162 argv.push_back("--debuggable"); in CompileBootImage()
169 argv.push_back("--host"); in CompileBootImage()
172 argv.push_back("--image=" + image_file_name_prefix + ".art"); in CompileBootImage()
173 argv.push_back("--oat-file=" + image_file_name_prefix + ".oat"); in CompileBootImage()
174 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
[all …]
/art/libdexfile/dex/
Ddex_file_tracking_registrar.cc155 range_values_.push_back(std::make_tuple(dex_file_begin, dex_file_size, should_poison)); in SetDexFileRegistration()
165 range_values_.push_back(std::make_tuple(code_item_begin, code_item_size, should_poison)); in SetAllCodeItemRegistration()
181 range_values_.push_back(std::make_tuple(code_item_begin, in SetAllCodeItemStartRegistration()
198 range_values_.push_back(std::make_tuple(insns_begin, insns_size, should_poison)); in SetAllInsnsRegistration()
213 range_values_.push_back(std::make_tuple(code_item_begin, code_item_size, should_poison)); in SetCodeItemRegistration()
225 range_values_.push_back(std::make_tuple(string_data_begin, 1, should_poison)); in SetAllStringDataStartRegistration()
226 range_values_.push_back(std::make_tuple(string_data_data_begin, 1, should_poison)); in SetAllStringDataStartRegistration()
239 range_values_.push_back(std::make_tuple(string_data_begin, string_data_size, should_poison)); in SetAllStringDataRegistration()
Dbase64_test_util.h78 tmp.push_back((t >> 16) & 255); in DecodeBase64()
80 tmp.push_back((t >> 8) & 255); in DecodeBase64()
83 tmp.push_back(t & 255); in DecodeBase64()
/art/profman/
Dprofile_assistant_test.cc215 argv_str.push_back(profman_cmd); in ProcessProfiles()
217 argv_str.push_back("--profile-file-fd=" + std::to_string(profiles_fd[k])); in ProcessProfiles()
219 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile_fd)); in ProcessProfiles()
228 argv_str.push_back(profman_cmd); in GenerateTestProfile()
229 argv_str.push_back("--generate-test-profile=" + filename); in GenerateTestProfile()
237 argv_str.push_back(profman_cmd); in GenerateTestProfileWithInputDex()
238 argv_str.push_back("--generate-test-profile=" + filename); in GenerateTestProfileWithInputDex()
239 argv_str.push_back("--generate-test-profile-seed=0"); in GenerateTestProfileWithInputDex()
240 argv_str.push_back("--apk=" + GetLibCoreDexFileNames()[0]); in GenerateTestProfileWithInputDex()
241 argv_str.push_back("--dex-location=" + GetLibCoreDexFileNames()[0]); in GenerateTestProfileWithInputDex()
[all …]
/art/dexoptanalyzer/
Ddexoptanalyzer_test.cc43 argv_str.push_back(dexoptanalyzer_cmd); in Analyze()
44 argv_str.push_back("--dex-file=" + dex_file); in Analyze()
45 argv_str.push_back("--isa=" + std::string(GetInstructionSetString(kRuntimeISA))); in Analyze()
46 argv_str.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(compiler_filter)); in Analyze()
48 argv_str.push_back("--assume-profile-changed"); in Analyze()
50 argv_str.push_back("--runtime-arg"); in Analyze()
51 argv_str.push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames())); in Analyze()
52 argv_str.push_back("--runtime-arg"); in Analyze()
53 argv_str.push_back(GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations())); in Analyze()
54 argv_str.push_back("--image=" + GetImageLocation()); in Analyze()
[all …]
Ddexoptanalyzer.cc65 command.push_back(original_argv[i]); in CommandLine()
202 runtime_args_.push_back(argv[i]); in ParseArgs()
232 context_fds_.push_back(std::stoi(str_fd, nullptr, 0)); in ParseArgs()
261 options.push_back(std::make_pair(img, nullptr)); in CreateRuntime()
264 options.push_back(std::make_pair("imageinstructionset", isa_opt)); in CreateRuntime()
267 options.push_back(std::make_pair(runtime_arg, nullptr)); in CreateRuntime()
270 options.push_back(std::make_pair("-Xno-sig-chain", nullptr)); in CreateRuntime()
274 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in CreateRuntime()
277 options.push_back(std::make_pair("-Xnorelocate", nullptr)); in CreateRuntime()
/art/compiler/jni/quick/mips/
Dcalling_convention_mips.cc151 entry_spills_.push_back( in EntrySpills()
154 entry_spills_.push_back(ManagedRegister::NoRegister(), 8); in EntrySpills()
158 entry_spills_.push_back( in EntrySpills()
161 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
171 entry_spills_.push_back( in EntrySpills()
175 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
177 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
182 entry_spills_.push_back( in EntrySpills()
185 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
/art/compiler/utils/x86_64/
Dassembler_x86_64_test.cc159 addresses_singleton_.push_back( in SetUpHelpers()
166 addresses_.push_back( in SetUpHelpers()
169 addresses_.push_back( in SetUpHelpers()
172 addresses_.push_back( in SetUpHelpers()
175 addresses_.push_back( in SetUpHelpers()
178 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RAX), -1)); in SetUpHelpers()
179 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RBX), 0)); in SetUpHelpers()
180 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RSI), 1)); in SetUpHelpers()
181 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RDI), 987654321)); in SetUpHelpers()
183 addresses_.push_back( in SetUpHelpers()
[all …]
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.cc204 entry_spills_.push_back( in EntrySpills()
207 entry_spills_.push_back(ManagedRegister::NoRegister(), 8); in EntrySpills()
215 entry_spills_.push_back( in EntrySpills()
218 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
233 entry_spills_.push_back( in EntrySpills()
237 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
239 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
244 entry_spills_.push_back( in EntrySpills()
247 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
/art/compiler/utils/x86/
Dassembler_x86_test.cc69 addresses_singleton_.push_back(x86::Address(x86::EAX, x86::EBX, x86::TIMES_1, 2)); in SetUpHelpers()
74 addresses_.push_back(x86::Address(x86::EDI, x86::EAX, x86::TIMES_1, 15)); in SetUpHelpers()
75 addresses_.push_back(x86::Address(x86::EDI, x86::EBX, x86::TIMES_2, 16)); in SetUpHelpers()
76 addresses_.push_back(x86::Address(x86::EDI, x86::ECX, x86::TIMES_4, 17)); in SetUpHelpers()
77 addresses_.push_back(x86::Address(x86::EDI, x86::EDX, x86::TIMES_8, 18)); in SetUpHelpers()
78 addresses_.push_back(x86::Address(x86::EAX, -1)); in SetUpHelpers()
79 addresses_.push_back(x86::Address(x86::EBX, 0)); in SetUpHelpers()
80 addresses_.push_back(x86::Address(x86::ESI, 1)); in SetUpHelpers()
81 addresses_.push_back(x86::Address(x86::EDI, 987654321)); in SetUpHelpers()
83 addresses_.push_back(x86::Address(x86::ESP, x86::EAX, x86::TIMES_1, 15)); in SetUpHelpers()
[all …]
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.cc211 … entry_spills_.push_back(Arm64ManagedRegister::FromSRegister(kSArgumentRegisters[fp_reg_index])); in EntrySpills()
213 … entry_spills_.push_back(Arm64ManagedRegister::FromDRegister(kDArgumentRegisters[fp_reg_index])); in EntrySpills()
218 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
220 entry_spills_.push_back(ManagedRegister::NoRegister(), 8); in EntrySpills()
226 … entry_spills_.push_back(Arm64ManagedRegister::FromXRegister(kXArgumentRegisters[gp_reg_index])); in EntrySpills()
228 … entry_spills_.push_back(Arm64ManagedRegister::FromWRegister(kWArgumentRegisters[gp_reg_index])); in EntrySpills()
233 entry_spills_.push_back(ManagedRegister::NoRegister(), 8); in EntrySpills()
235 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()

12345678910>>...12