Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 65) sorted by relevance

123

/art/compiler/
Dcommon_compiler_test.cc313 timer_.reset(new CumulativeLogger("Compilation times")); in SetUp()
314 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in SetUp()
329 compiler_options_.reset(new CompilerOptions); in SetUpRuntimeOptions()
330 verification_results_.reset(new VerificationResults(compiler_options_.get())); in SetUpRuntimeOptions()
331 method_inliner_map_.reset(new DexFileToMethodInlinerMap); in SetUpRuntimeOptions()
332 callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(), in SetUpRuntimeOptions()
338 timer_.reset(); in TearDown()
339 compiler_driver_.reset(); in TearDown()
340 callbacks_.reset(); in TearDown()
341 method_inliner_map_.reset(); in TearDown()
[all …]
Doat_test.cc98 compiler_options_.reset(new CompilerOptions); in TEST_F()
99 verification_results_.reset(new VerificationResults(compiler_options_.get())); in TEST_F()
100 method_inliner_map_.reset(new DexFileToMethodInlinerMap); in TEST_F()
101 callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(), in TEST_F()
103 timer_.reset(new CumulativeLogger("Compilation times")); in TEST_F()
104 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in TEST_F()
Delf_writer_mclinker.cc122 linker_config_.reset(new mcld::LinkerConfig(target_triple)); in Init()
149 linker_script_.reset(new mcld::LinkerScript()); in Init()
150 module_.reset(new mcld::Module(linker_config_->options().soname(), *linker_script_.get())); in Init()
152 ir_builder_.reset(new mcld::IRBuilder(*module_.get(), *linker_config_.get())); in Init()
154 linker_.reset(new mcld::Linker()); in Init()
Dimage_test.cc132 compiler_driver_.reset(); in TEST_F()
140 runtime_.reset(); in TEST_F()
157 runtime_.reset(Runtime::Current()); in TEST_F()
/art/runtime/base/
Dscoped_flock.cc33 file_.reset(OS::OpenFileWithFlags(filename, O_CREAT | O_RDWR)); in Init()
65 file_.reset(new File(dup(file->Fd()), true)); in Init()
67 file_.reset(); in Init()
73 file_.reset(); in Init()
Dlogging.cc69 gCmdLine.reset(new std::string(argv[0])); in InitLogging()
74 gProgramInvocationName.reset(new std::string(argv[0])); in InitLogging()
76 gProgramInvocationShortName.reset(new std::string((last_slash != NULL) ? last_slash + 1 in InitLogging()
80 gCmdLine.reset(new std::string("<unset>")); in InitLogging()
/art/runtime/gc/space/
Dspace.cc76 live_bitmap_.reset(accounting::LargeObjectBitmap::Create("large live objects", nullptr, in DiscontinuousSpace()
79 mark_bitmap_.reset(accounting::LargeObjectBitmap::Create("large marked objects", nullptr, in DiscontinuousSpace()
109 temp_bitmap_.reset(mark_bitmap); in BindLiveToMarkBitmap()
110 mark_bitmap_.reset(live_bitmap); in BindLiveToMarkBitmap()
124 mark_bitmap_.reset(new_bitmap); in UnBindBitmaps()
Dzygote_space.cc55 zygote_space->live_bitmap_.reset(live_bitmap); in Create()
56 zygote_space->mark_bitmap_.reset(mark_bitmap); in Create()
Dmalloc_space.cc51 live_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
56 mark_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
/art/compiler/llvm/
Dllvm_compilation_unit.cc102 llvm_info_.reset(new LLVMInfo()); in LlvmCompilationUnit()
103 context_.reset(llvm_info_->GetLLVMContext()); in LlvmCompilationUnit()
110 intrinsic_helper_.reset(new IntrinsicHelper(*context_, *module_)); in LlvmCompilationUnit()
113 irb_.reset(new IRBuilder(*context_, *module_, *intrinsic_helper_)); in LlvmCompilationUnit()
118 runtime_support_.reset(new RuntimeSupportBuilder(*context_, *module_, *irb_)); in LlvmCompilationUnit()
122 runtime_support_.reset(new RuntimeSupportBuilderARM(*context_, *module_, *irb_)); in LlvmCompilationUnit()
125 runtime_support_.reset(new RuntimeSupportBuilderX86(*context_, *module_, *irb_)); in LlvmCompilationUnit()
/art/runtime/
Ddex_method_iterator.h68 it_.reset(new ClassDataItemIterator(GetDexFileInternal(), class_data_)); in HasNext()
91 it_.reset(NULL); in HasNext()
Dcommon_runtime_test.cc62 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
70 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
76 file_.reset(file); in ScratchFile()
206 callbacks_.reset(new NoopCompilerCallbacks()); in SetUp()
219 runtime_.reset(Runtime::Current()); in SetUp()
Dinstrumentation.cc446 dex_pc_listeners_.reset(modified); in AddListener()
457 field_read_listeners_.reset(modified); in AddListener()
468 field_write_listeners_.reset(modified); in AddListener()
479 exception_caught_listeners_.reset(modified); in AddListener()
513 dex_pc_listeners_.reset(modified); in RemoveListener()
515 dex_pc_listeners_.reset(); in RemoveListener()
527 field_read_listeners_.reset(modified); in RemoveListener()
529 field_read_listeners_.reset(); in RemoveListener()
541 field_write_listeners_.reset(modified); in RemoveListener()
543 field_write_listeners_.reset(); in RemoveListener()
[all …]
Dmem_map_test.cc137 map.reset(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F()
281 map.reset(); in TEST_F()
321 map1.reset(); in TEST_F()
Dzip_archive_test.cc49 file.reset(NULL); in TEST_F()
Ddex_file_verifier_test.cc121 file.reset(); in OpenDexFileBase64()
186 file.reset(); in FixChecksumAndOpen()
Doat_file.cc49 oat_file->elf_file_.reset(elf_file); in OpenWithElfFile()
82 ret.reset(OpenDlopen(filename, location, requested_base, error_msg)); in Open()
95 ret.reset(OpenElfFile(file.get(), location, requested_base, oat_file_begin, false, executable, in Open()
199 elf_file_.reset(ElfFile::Open(file, writable, /*program_header_only*/true, error_msg, in ElfFileOpen()
/art/test/036-finalizer/
Dexpected.txt9 reset reborn
/art/compiler/dex/
Dmir_optimization.cc330 allocator.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in BasicBlockOpt()
331 global_valnum.reset(new (allocator.get()) GlobalValueNumbering(cu_, allocator.get())); in BasicBlockOpt()
332 local_valnum.reset(new (allocator.get()) LocalValueNumbering(global_valnum.get(), bb->id, in BasicBlockOpt()
737 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateNullChecksAndInferTypesStart()
960 temp_scoped_alloc_.reset(); in EliminateNullChecksAndInferTypesEnd()
978 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateClassInitChecksGate()
1043 temp_scoped_alloc_.reset(); in EliminateClassInitChecksGate()
1154 temp_scoped_alloc_.reset(); in EliminateClassInitChecksEnd()
1163 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in ApplyGlobalValueNumberingGate()
1165 temp_gvn_.reset( in ApplyGlobalValueNumberingGate()
[all …]
Dglobal_value_numbering.cc66 work_lvn_.reset(new (allocator) LocalValueNumbering(this, bb->id, allocator)); in PrepareBasicBlock()
150 work_lvn_.reset(); in FinishBasicBlock()
/art/test/098-ddmc/src/
DMain.java57 Allocations reset = new Allocations(DdmVmInternal.getRecentAllocations()); in testRecentAllocationTracking() local
58 System.out.println("reset=" + reset); in testRecentAllocationTracking()
/art/dex2oat/
Ddex2oat.cc1288 oat_file.reset(OS::CreateEmptyFile(oat_unstripped.c_str())); in dex2oat()
1293 oat_file.reset(new File(oat_fd, oat_location, true)); in dex2oat()
1318 swap_file.reset(OS::CreateEmptyFile(swap_file_name.c_str())); in dex2oat()
1395 image_classes.reset(dex2oat->ReadImageClassesFromZip(image_classes_zip_filename, in dex2oat()
1399 image_classes.reset(dex2oat->ReadImageClassesFromFile(image_classes_filename)); in dex2oat()
1409 image_classes.reset(new std::set<std::string>); in dex2oat()
1417 compiled_classes.reset(dex2oat->ReadImageClassesFromZip(compiled_classes_zip_filename, in dex2oat()
1421 compiled_classes.reset(dex2oat->ReadImageClassesFromFile(compiled_classes_filename)); in dex2oat()
1431 compiled_classes.reset(nullptr); // By default compile everything. in dex2oat()
1570 oat_file.reset(); in dex2oat()
[all …]
/art/runtime/gc/collector/
Dmark_compact.cc190 objects_before_forwarding_.reset(accounting::ContinuousSpaceBitmap::Create( in MarkingPhase()
193 objects_with_lockword_.reset(accounting::ContinuousSpaceBitmap::Create( in MarkingPhase()
610 objects_before_forwarding_.reset(nullptr); in FinishPhase()
611 objects_with_lockword_.reset(nullptr); in FinishPhase()
/art/patchoat/
Dpatchoat.cc856 file.reset(OS::OpenFileForReading(name)); in ReadBaseDelta()
1182 output_image.reset(new File(output_image_fd, output_image_filename, true)); in patchoat()
1185 output_image.reset(CreateOrOpen(output_image_filename.c_str(), &new_image_out)); in patchoat()
1196 input_oat.reset(new File(input_oat_fd, input_oat_filename, false)); in patchoat()
1203 input_oat.reset(OS::OpenFileForReading(input_oat_filename.c_str())); in patchoat()
1215 output_oat.reset(new File(output_oat_fd, output_oat_filename, true)); in patchoat()
1222 output_oat.reset(CreateOrOpen(output_oat_filename.c_str(), &new_oat_out)); in patchoat()
/art/test/098-ddmc/
Dexpected.txt14 reset=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: …

123