Home
last modified time | relevance | path

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

1234

/art/runtime/arch/
Dinstruction_set_features.cc40 result.reset(ArmInstructionSetFeatures::FromVariant(variant, error_msg).release()); in FromVariant()
43 result.reset(Arm64InstructionSetFeatures::FromVariant(variant, error_msg).release()); in FromVariant()
46 result.reset(MipsInstructionSetFeatures::FromVariant(variant, error_msg).release()); in FromVariant()
52 result.reset(X86InstructionSetFeatures::FromVariant(variant, error_msg).release()); in FromVariant()
55 result.reset(X86_64InstructionSetFeatures::FromVariant(variant, error_msg).release()); in FromVariant()
71 result.reset(ArmInstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
74 result.reset(Arm64InstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
77 result.reset(MipsInstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
83 result.reset(X86InstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
86 result.reset(X86_64InstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
[all …]
/art/test/561-shared-slowpaths/src/
DMain.java45 reset(x, y); in main()
59 reset(x, y); in main()
73 reset(x, y); in main()
87 reset(x, y); in main()
101 reset(x, y); in main()
115 reset(x, y); in main()
129 reset(x, y); in main()
144 private static void reset(int[] x, int[] y) { in reset() method in Main
/art/compiler/utils/
Djni_macro_assembler_test.h60 arena_.reset(new ArenaAllocator(&pool_)); in SetUp()
61 assembler_.reset(CreateAssembler(arena_.get())); in SetUp()
62 test_helper_.reset( in SetUp()
76 test_helper_.reset(); // Clean up the helper. in TearDown()
77 assembler_.reset(); in TearDown()
78 arena_.reset(); in TearDown()
/art/compiler/
Dcommon_compiler_test.cc176 timer_.reset(new CumulativeLogger("Compilation times")); in SetUp()
186 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), in CreateCompilerDriver()
207 compiler_options_.reset(new CompilerOptions); in SetUpRuntimeOptions()
208 verification_results_.reset(new VerificationResults(compiler_options_.get())); in SetUpRuntimeOptions()
209 callbacks_.reset(new QuickCompilerCallbacks(verification_results_.get(), in SetUpRuntimeOptions()
227 timer_.reset(); in TearDown()
228 compiler_driver_.reset(); in TearDown()
229 callbacks_.reset(); in TearDown()
230 verification_results_.reset(); in TearDown()
231 compiler_options_.reset(); in TearDown()
[all …]
/art/runtime/gc/space/
Dspace.cc81 live_bitmap_.reset(accounting::LargeObjectBitmap::Create("large live objects", nullptr, in DiscontinuousSpace()
84 mark_bitmap_.reset(accounting::LargeObjectBitmap::Create("large marked objects", nullptr, in DiscontinuousSpace()
114 temp_bitmap_.reset(mark_bitmap); in BindLiveToMarkBitmap()
115 mark_bitmap_.reset(live_bitmap); in BindLiveToMarkBitmap()
129 mark_bitmap_.reset(new_bitmap); in UnBindBitmaps()
Dspace_create_test.cc68 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 16 * MB, nullptr)); in TEST_P()
71 space.reset(CreateSpace("test", 32 * MB, 16 * MB, 16 * MB, nullptr)); in TEST_P()
74 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 32 * MB, nullptr)); in TEST_P()
77 space.reset(CreateSpace("test", 16 * MB, 8 * MB, 32 * MB, nullptr)); in TEST_P()
80 space.reset(CreateSpace("test", 8 * MB, 16 * MB, 32 * MB, nullptr)); in TEST_P()
83 space.reset(CreateSpace("test", 8 * MB, 32 * MB, 16 * MB, nullptr)); in TEST_P()
Dimage_space_fs.h118 file.reset(OS::CreateEmptyFile(file_name)); in MarkZygoteStart()
131 file.reset(OS::OpenFileReadWrite(file_name)); in MarkZygoteStart()
Dzygote_space.cc55 zygote_space->live_bitmap_.reset(live_bitmap); in Create()
56 zygote_space->mark_bitmap_.reset(mark_bitmap); in Create()
/art/runtime/base/
Dscoped_flock.cc51 file_.reset(OS::OpenFileWithFlags(filename, flags, check_usage)); in Init()
101 file_.reset(new File(dup(file->Fd()), file->GetPath(), file->CheckUsage(), file->ReadOnlyMode())); in Init()
103 file_.reset(); in Init()
109 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 != nullptr) ? last_slash + 1 in InitLogging()
80 gCmdLine.reset(new std::string("<unset>")); in InitLogging()
/art/test/ti-agent/
Dscoped_local_ref.h35 reset(); in ~ScopedLocalRef()
38 void reset(T ptr = nullptr) {
Dscoped_primitive_array.h57 reset(javaArray); \
65 void reset(PRIMITIVE_TYPE ## Array javaArray) { \
122 void reset(PRIMITIVE_TYPE ## Array javaArray) { \
/art/compiler/jit/
Djit_compiler.cc93 compiler_options_.reset(new CompilerOptions( in JitCompiler()
152 cumulative_logger_.reset(new CumulativeLogger("jit times")); in JitCompiler()
153 compiler_driver_.reset(new CompilerDriver( in JitCompiler()
176 jit_logger_.reset(new JitLogger()); in JitCompiler()
Djit_logger.cc46 perf_file_.reset(OS::CreateEmptyFileWriteOnly(perf_filename.c_str())); in OpenPerfMapLog()
257 jit_dump_file_.reset(OS::CreateEmptyFile(jitdump_filename.c_str())); in OpenJitDumpLog()
/art/test/911-get-stack-trace/src/art/
DPrintThread.java63 if (CUT_STACK_THREADS.reset(name).find()) { in printAll()
66 } else if (IGNORE_THREADS.reset(name).find()) { in printAll()
/art/runtime/
Dnative_stack_dump.cc161 pipe->reset(); in Drain()
180 pipe->reset(); in Drain()
229 pipe->reset(); // Close early. in Addr2line()
254 pipe->reset(); in Addr2line()
296 tmp_map.reset(BacktraceMap::Create(getpid())); in DumpNativeStack()
Ddex_method_iterator.h68 it_.reset(new ClassDataItemIterator(GetDexFileInternal(), class_data_)); in HasNext()
91 it_.reset(nullptr); in HasNext()
Dcommon_runtime_test.cc148 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
157 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
163 file_.reset(file); in ScratchFile()
212 runtime_.reset(); in ~CommonRuntimeTestImpl()
408 callbacks_.reset(new NoopCompilerCallbacks()); in SetUp()
423 runtime_.reset(Runtime::Current()); in SetUp()
Dzip_archive_test.cc49 file.reset(nullptr); in TEST_F()
/art/compiler/optimizing/
Demit_swap_mips_test.cc31 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp()
38 test_helper_.reset( in SetUp()
50 allocator_.reset(); in TearDown()
51 test_helper_.reset(); in TearDown()
/art/test/036-finalizer/
Dexpected.txt9 reset reborn
/art/compiler/dex/
Dquick_compiler_callbacks.h54 verifier_deps_.reset(deps); in SetVerifierDeps()
/art/test/098-ddmc/src/
DMain.java62 Allocations reset = new Allocations(DdmVmInternal.getRecentAllocations()); in testRecentAllocationTracking() local
63 System.out.println("reset=" + reset); in testRecentAllocationTracking()
/art/dex2oat/
Ddex2oat.cc919 watchdog_.reset(new WatchDog(timeout)); in ProcessOptions()
923 key_value_store_.reset(new SafeMap<std::string, std::string>()); in ProcessOptions()
939 passes_to_run_.reset(ReadCommentedInputFromFile<std::vector<std::string>>( in ProcessOptions()
1117 compiler_options_.reset(new CompilerOptions()); in ParseArgs()
1425 (*files)[i].reset(); in EraseOutputFiles()
1446 image_classes_.reset(new std::unordered_set<std::string>( in LoadClassProfileDescriptors()
1467 verification_results_.reset(new VerificationResults(compiler_options_.get())); in Setup()
1468 callbacks_.reset(new QuickCompilerCallbacks( in Setup()
1688 compiler_phases_timings_.reset(new CumulativeLogger("compilation times")); in Compile()
1737 driver_.reset(new CompilerDriver(compiler_options_.get(), in Compile()
[all …]
/art/runtime/openjdkjvmti/
Dti_search.cc104 defaults_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(defaults_obj)); in Update()
130 cp_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(cp_key)); in Update()
167 new_val_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(new_value)); in Update()

1234