Home
last modified time | relevance | path

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

12345678910>>...12

/art/oatdump/
Doatdump_test.h184 exec_argv.push_back("--symbolize=" + core_oat_location_);
185 exec_argv.push_back("--output=" + core_oat_location_ + ".symbolize");
187 expected_prefixes.push_back("LOCATION:");
188 expected_prefixes.push_back("MAGIC:");
189 expected_prefixes.push_back("DEX FILE COUNT:");
192 expected_prefixes.push_back("DEX CODE:");
193 expected_prefixes.push_back("CODE:");
194 expected_prefixes.push_back("StackMap");
197 exec_argv.push_back("--runtime-arg");
198 exec_argv.push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames()));
[all …]
/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()
Dcommon_runtime_test.cc95 options.push_back(std::make_pair(boot_class_path_string, nullptr)); in SetUp()
96 options.push_back(std::make_pair(boot_class_path_locations_string, nullptr)); in SetUp()
97 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in SetUp()
98 options.push_back(std::make_pair(min_heap_string, nullptr)); in SetUp()
99 options.push_back(std::make_pair(max_heap_string, nullptr)); in SetUp()
102 options.push_back(std::make_pair("-XX:SlowDebug=true", nullptr)); in SetUp()
112 options.push_back(std::make_pair("compilercallbacks", callbacks_.get())); in SetUp()
206 ret.push_back(cp_dex_file); in GetDexFiles()
229 class_path.push_back(dex_file.get()); in LoadMultiDex()
230 loaded_dex_files_.push_back(std::move(dex_file)); in LoadMultiDex()
[all …]
Ddexopt_test.cc58 argv.push_back("--runtime-arg"); in Dex2Oat()
59 argv.push_back("-Xhidden-api-policy:enabled"); in Dex2Oat()
63 argv.push_back("--host"); in Dex2Oat()
101 args.push_back("--dex-file=" + dex_location); in GenerateOatForTest()
102 args.push_back("--oat-file=" + oat_location); in GenerateOatForTest()
103 args.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(filter)); in GenerateOatForTest()
104 args.push_back("--runtime-arg"); in GenerateOatForTest()
109 args.push_back("-Xnorelocate"); in GenerateOatForTest()
113 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
121 args.push_back("--boot-image=" + alternate_image_location); in GenerateOatForTest()
[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()
282 sigquit_callbacks_.push_back(cb); in AddRuntimeSigQuitCallback()
298 phase_callbacks_.push_back(cb); in AddRuntimePhaseCallback()
314 method_callbacks_.push_back(cb); in AddMethodCallback()
[all …]
/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/profman/
Dprofile_assistant_test.cc143 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
151 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
162 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ false, types)); in GetTestInlineCaches()
167 inline_caches.push_back(ProfileInlineCache(dex_pc, /* missing_types*/ true, types)); in GetTestInlineCaches()
200 argv_str.push_back(profman_cmd); in ProcessProfiles()
202 argv_str.push_back("--profile-file-fd=" + std::to_string(profiles_fd[k])); in ProcessProfiles()
204 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile_fd)); in ProcessProfiles()
214 argv_str.push_back(profman_cmd); in GenerateTestProfile()
215 argv_str.push_back("--generate-test-profile=" + filename); in GenerateTestProfile()
223 argv_str.push_back(profman_cmd); in GenerateTestProfileWithInputDex()
[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/dexoptanalyzer/
Ddexoptanalyzer_test.cc42 argv_str.push_back(dexoptanalyzer_cmd); in Analyze()
43 argv_str.push_back("--dex-file=" + dex_file); in Analyze()
44 argv_str.push_back("--isa=" + std::string(GetInstructionSetString(kRuntimeISA))); in Analyze()
45 argv_str.push_back("--compiler-filter=" + CompilerFilter::NameOfFilter(compiler_filter)); in Analyze()
47 argv_str.push_back("--assume-profile-changed"); in Analyze()
49 argv_str.push_back("--runtime-arg"); in Analyze()
50 argv_str.push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames())); in Analyze()
51 argv_str.push_back("--runtime-arg"); in Analyze()
52 argv_str.push_back(GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations())); in Analyze()
53 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/utils/
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/compiler/optimizing/
Dssa_builder.h75 ambiguous_agets_.push_back(aget); in MaybeAddAmbiguousArrayGet()
82 ambiguous_asets_.push_back(aset); in MaybeAddAmbiguousArraySet()
93 uninitialized_strings_.push_back(string); in AddUninitializedString()
98 uninitialized_string_phis_.push_back(invoke); in AddUninitializedStringPhi()
Dssa_phi_elimination.cc64 worklist.push_back(phi); in MarkDeadPhis()
85 worklist.push_back(input); in MarkDeadPhis()
138 worklist.push_back(inst_it.Current()->AsPhi()); in Run()
168 cycle_worklist.push_back(phi); in Run()
200 cycle_worklist.push_back(input->AsPhi()); in Run()
251 worklist.push_back(user->AsPhi()); in Run()
Dregister_allocator_test.cc113 intervals.push_back(BuildInterval(ranges, arraysize(ranges), GetScopedAllocator(), 0)); in TEST_F()
114 intervals.push_back(BuildInterval(ranges, arraysize(ranges), GetScopedAllocator(), 1)); in TEST_F()
125 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
127 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
138 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
140 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
151 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
153 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
164 intervals.push_back(BuildInterval(ranges1, arraysize(ranges1), GetScopedAllocator(), 0)); in TEST_F()
167 intervals.push_back(BuildInterval(ranges2, arraysize(ranges2), GetScopedAllocator(), 1)); in TEST_F()
[all …]
/art/dex2oat/linker/
Dimage_test.h97 options->push_back(std::make_pair("compilercallbacks", callbacks_.get())); in SetUpRuntimeOptions()
144 ret.push_back(image_header.GetObjectsSection().Size()); in GetImageObjectSectionSizes()
161 class_path.push_back(dex_file.get()); in DoCompile()
166 out_helper.dex_file_locations.push_back(dex_file->GetLocation()); in DoCompile()
179 out_helper.image_locations.push_back(ScratchFile(image_locations[i])); in DoCompile()
185 image_filenames.push_back(image_filename); in DoCompile()
193 out_helper.image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); in DoCompile()
200 out_helper.oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); in DoCompile()
201 oat_filenames.push_back(oat_filename); in DoCompile()
203 out_helper.vdex_files.push_back(ScratchFile(OS::CreateEmptyFile(vdex_filename.c_str()))); in DoCompile()
[all …]
/art/libprofile/profile/
Dprofile_boot_info.cc34 dex_files_.push_back(dex_file); in Add()
38 methods_.push_back(std::make_pair(index, method_index)); in Add()
100 dex_files_.push_back(*it); in Load()
120 methods_.push_back(std::make_pair(dex_file_index, method_id)); in Load()
/art/runtime/jit/
Dprofile_saver_test.cc36 options->push_back(std::make_pair("-Xjitsaveprofilinginfo", nullptr)); in SetUpRuntimeOptions()
37 options->push_back(std::make_pair("-Xusejit:true", nullptr)); in SetUpRuntimeOptions()
75 options->push_back(std::make_pair("-Xps-profile-boot-class-path", nullptr)); in SetUpRuntimeOptions()
/art/compiler/utils/x86_64/
Dassembler_x86_64_test.cc154 addresses_singleton_.push_back( in SetUpHelpers()
161 addresses_.push_back( in SetUpHelpers()
164 addresses_.push_back( in SetUpHelpers()
167 addresses_.push_back( in SetUpHelpers()
170 addresses_.push_back( in SetUpHelpers()
173 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RAX), -1)); in SetUpHelpers()
174 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RBX), 0)); in SetUpHelpers()
175 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RSI), 1)); in SetUpHelpers()
176 addresses_.push_back(x86_64::Address(x86_64::CpuRegister(x86_64::RDI), 987654321)); in SetUpHelpers()
178 addresses_.push_back( in SetUpHelpers()
[all …]
/art/compiler/utils/x86/
Dassembler_x86_test.cc61 addresses_singleton_.push_back(x86::Address(x86::EAX, x86::EBX, x86::TIMES_1, 2)); in SetUpHelpers()
66 addresses_.push_back(x86::Address(x86::EDI, x86::EAX, x86::TIMES_1, 15)); in SetUpHelpers()
67 addresses_.push_back(x86::Address(x86::EDI, x86::EBX, x86::TIMES_2, 16)); in SetUpHelpers()
68 addresses_.push_back(x86::Address(x86::EDI, x86::ECX, x86::TIMES_4, 17)); in SetUpHelpers()
69 addresses_.push_back(x86::Address(x86::EDI, x86::EDX, x86::TIMES_8, 18)); in SetUpHelpers()
70 addresses_.push_back(x86::Address(x86::EAX, -1)); in SetUpHelpers()
71 addresses_.push_back(x86::Address(x86::EBX, 0)); in SetUpHelpers()
72 addresses_.push_back(x86::Address(x86::ESI, 1)); in SetUpHelpers()
73 addresses_.push_back(x86::Address(x86::EDI, 987654321)); in SetUpHelpers()
75 addresses_.push_back(x86::Address(x86::ESP, x86::EAX, x86::TIMES_1, 15)); in SetUpHelpers()
[all …]
/art/libartbase/base/
Dutils_test.cc59 expected.push_back("foo"); in TEST_F()
73 expected.push_back("bar"); in TEST_F()
91 expected.push_back("baz"); in TEST_F()
/art/tools/veridex/
Dapi_list_filter.h49 lists_.push_back(hiddenapi::ApiList()); in ApiListFilter()
54 lists_.push_back(list); in ApiListFilter()
/art/runtime/gc/accounting/
Dheap_bitmap.cc35 continuous_space_bitmaps_.push_back(bitmap); in AddContinuousSpaceBitmap()
47 large_object_bitmaps_.push_back(bitmap); in AddLargeObjectBitmap()

12345678910>>...12