Home
last modified time | relevance | path

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

123

/art/compiler/
Dcommon_compiler_test.cc318 timer_.reset(new CumulativeLogger("Compilation times")); in SetUp()
319 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in SetUp()
334 compiler_options_.reset(new CompilerOptions); in SetUpRuntimeOptions()
335 verification_results_.reset(new VerificationResults(compiler_options_.get())); in SetUpRuntimeOptions()
336 method_inliner_map_.reset(new DexFileToMethodInlinerMap); in SetUpRuntimeOptions()
337 callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(), in SetUpRuntimeOptions()
343 timer_.reset(); in TearDown()
344 compiler_driver_.reset(); in TearDown()
345 callbacks_.reset(); in TearDown()
346 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.cc129 compiler_driver_.reset(); in TEST_F()
137 runtime_.reset(); in TEST_F()
154 runtime_.reset(Runtime::Current()); in TEST_F()
/art/runtime/base/
Dscoped_flock.cc30 file_.reset(OS::OpenFileWithFlags(filename, O_CREAT | O_RDWR)); in Init()
62 file_.reset(new File(dup(file->Fd()))); in Init()
64 file_.reset(); in Init()
70 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()
/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/
Dcommon_runtime_test.cc62 file_.reset(new File(fd, GetFilename())); in ScratchFile()
70 file_.reset(new File(fd, GetFilename())); in ScratchFile()
76 file_.reset(file); in ScratchFile()
197 callbacks_.reset(new NoopCompilerCallbacks()); in SetUp()
210 runtime_.reset(Runtime::Current()); in SetUp()
Ddex_method_iterator.h68 it_.reset(new ClassDataItemIterator(GetDexFileInternal(), class_data_)); in HasNext()
91 it_.reset(NULL); in HasNext()
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.cc118 file.reset(); in OpenDexFileBase64()
180 file.reset(); in FixChecksumAndOpen()
Doat_file.cc49 oat_file->elf_file_.reset(elf_file); in OpenWithElfFile()
81 ret.reset(OpenDlopen(filename, location, requested_base, error_msg)); in Open()
94 ret.reset(OpenElfFile(file.get(), location, requested_base, false, executable, error_msg)); in Open()
193 elf_file_.reset(ElfFile::Open(file, writable, true, error_msg)); in ElfFileOpen()
Dindirect_reference_table.cc74 table_mem_map_.reset(MemMap::MapAnonymous("indirect ref table", nullptr, table_bytes, in IndirectReferenceTable()
84 slot_mem_map_.reset(MemMap::MapAnonymous("indirect ref table slots", nullptr, slot_bytes, in IndirectReferenceTable()
/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()
723 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateNullChecksAndInferTypesStart()
946 temp_scoped_alloc_.reset(); in EliminateNullChecksAndInferTypesEnd()
964 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateClassInitChecksGate()
1029 temp_scoped_alloc_.reset(); in EliminateClassInitChecksGate()
1140 temp_scoped_alloc_.reset(); in EliminateClassInitChecksEnd()
1149 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in ApplyGlobalValueNumberingGate()
1151 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/compiler/utils/
Ddedupe_set.h68 lock_[i].reset(new Mutex(lock_name_[i].c_str())); in DedupeSet()
/art/patchoat/
Dpatchoat.cc721 file.reset(OS::OpenFileForReading(name)); in ReadBaseDelta()
1033 output_image.reset(new File(output_image_fd, output_image_filename)); in patchoat()
1036 output_image.reset(CreateOrOpen(output_image_filename.c_str(), &new_image_out)); in patchoat()
1047 input_oat.reset(new File(input_oat_fd, input_oat_filename)); in patchoat()
1050 input_oat.reset(OS::OpenFileForReading(input_oat_filename.c_str())); in patchoat()
1060 output_oat.reset(new File(output_oat_fd, output_oat_filename)); in patchoat()
1063 output_oat.reset(CreateOrOpen(output_oat_filename.c_str(), &new_oat_out)); in patchoat()
/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()
612 objects_before_forwarding_.reset(nullptr); in FinishPhase()
613 objects_with_lockword_.reset(nullptr); in FinishPhase()
/art/runtime/gc/
Dheap.cc206 live_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
207 mark_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
264 non_moving_space_mem_map.reset( in Heap()
272 main_mem_map_1.reset(MapAnonymousPreferredAddress(kMemMapSpaceName[0], request_begin, capacity_, in Heap()
278 main_mem_map_2.reset(MapAnonymousPreferredAddress(kMemMapSpaceName[1], main_mem_map_1->End(), in Heap()
332 main_space_backup_.reset(CreateMallocSpaceFromMemMap(main_mem_map_2.release(), initial_size, in Heap()
360 card_table_.reset(accounting::CardTable::Create(heap_begin, heap_capacity)); in Heap()
377 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize, in Heap()
380 allocation_stack_.reset(accounting::ObjectStack::Create( in Heap()
382 live_stack_.reset(accounting::ObjectStack::Create( in Heap()
[all …]

123