/art/compiler/linker/ |
D | output_stream_test.cc | 72 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F() 87 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
|
/art/compiler/optimizing/ |
D | nodes_vector_test.cc | 121 EXPECT_STREQ("ALIGN(1,0)", Alignment(1, 0).ToString().c_str()); in TEST() 123 EXPECT_STREQ("ALIGN(2,0)", Alignment(2, 0).ToString().c_str()); in TEST() 124 EXPECT_STREQ("ALIGN(2,1)", Alignment(2, 1).ToString().c_str()); in TEST() 126 EXPECT_STREQ("ALIGN(16,0)", Alignment(16, 0).ToString().c_str()); in TEST() 127 EXPECT_STREQ("ALIGN(16,1)", Alignment(16, 1).ToString().c_str()); in TEST() 128 EXPECT_STREQ("ALIGN(16,8)", Alignment(16, 8).ToString().c_str()); in TEST() 129 EXPECT_STREQ("ALIGN(16,9)", Alignment(16, 9).ToString().c_str()); in TEST()
|
D | ssa_liveness_analysis_test.cc | 76 arg_dump.str().c_str()); in TEST_F() 143 EXPECT_STREQ(expected[arg_index], arg_dump.str().c_str()) << arg_index; in TEST_F() 215 EXPECT_STREQ(expected[arg_index], arg_dump.str().c_str()) << arg_index; in TEST_F()
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 46 jclass k = env->FindClass(target.class_name.c_str()); in VMInitCB() 52 jmethodID m = env->GetMethodID(k, target.method_name.c_str(), target.method_sig.c_str()); in VMInitCB() 55 m = env->GetStaticMethodID(k, target.method_name.c_str(), target.method_sig.c_str()); in VMInitCB()
|
/art/tools/dexanalyze/ |
D | dexanalyze_test.cc | 30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
|
/art/cmdline/ |
D | memory_representation.h | 55 return str.c_str(); in Name()
|
/art/runtime/ |
D | hidden_api_test.cc | 511 if (!ArtDexFileLoader().Open(path.c_str(), in LoadDexFiles() 540 if (TEMP_FAILURE_RETRY(remove(path.c_str())) == 0) { in Remove() 543 *error_msg = StringPrintf("Unable to remove(\"%s\"): %s", path.c_str(), strerror(errno)); in Remove() 578 ASSERT_FALSE(LocationIsOnSystemFramework(data_location_path.c_str())); in TEST_F() 601 ASSERT_FALSE(LocationIsOnSystemFramework(system_location_path.c_str())); in TEST_F() 624 ASSERT_FALSE(LocationIsOnSystemExtFramework(system_ext_location_path.c_str())); in TEST_F() 648 ASSERT_TRUE(LocationIsOnSystemFramework(system_framework_location_path.c_str())); in TEST_F() 675 ASSERT_TRUE(LocationIsOnSystemExtFramework(system_ext_framework_location_path.c_str())); in TEST_F() 702 ASSERT_FALSE(LocationIsOnSystemFramework(data_multi_location_path.c_str())); in TEST_F() 727 ASSERT_FALSE(LocationIsOnSystemFramework(system_multi_location_path.c_str())); in TEST_F() [all …]
|
D | parsed_options_test.cc | 56 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F() 58 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F() 60 options.push_back(std::make_pair(class_path.c_str(), nullptr)); in TEST_F()
|
D | module_exclusion_test.cc | 95 std::vector<std::unique_ptr<const DexFile>> dex_files = OpenDexFiles(filename.c_str()); in LoadModule() 174 odex_name.c_str(), in TEST_F() 175 odex_name.c_str(), in TEST_F()
|
D | oat_file_manager.cc | 70 LocationIsOnSystem(oat_file->GetLocation().c_str()) || in RegisterOatFile() 498 if (has_vdex && OS::FileExists(vdex_path.c_str())) { in OpenDexFilesFromOat_Impl() 519 DexFileLoader::GetMultiDexLocation(i, dex_location.c_str()), in OpenDexFilesFromOat_Impl() 577 if (OS::FileExists(vdex_path_to_add.c_str())) { in UnlinkLeastRecentlyUsedVdexIfNeeded() 587 if (!OS::DirectoryExists(vdex_dir.c_str())) { in UnlinkLeastRecentlyUsedVdexIfNeeded() 594 DIR* c_dir = opendir(vdex_dir.c_str()); in UnlinkLeastRecentlyUsedVdexIfNeeded() 610 int rc = TEMP_FAILURE_RETRY(stat(fullname.c_str(), &s)); in UnlinkLeastRecentlyUsedVdexIfNeeded() 628 if (unlink(cache[i].second.c_str()) != 0) { in UnlinkLeastRecentlyUsedVdexIfNeeded() 813 CHECK(LocationIsOnSystem(oat_file->GetLocation().c_str())) << oat_file->GetLocation(); in SetOnlyUseSystemOatFiles()
|
D | monitor.cc | 389 ATraceBegin(tmp.c_str()); in AtraceMonitorLockImpl() 491 ATraceBegin(oss.str().c_str()); in Lock() 703 mirror::Object::PrettyTypeOf(o).c_str(), in FailedUnlock() 704 expected_owner_string.c_str()); in FailedUnlock() 709 found_owner_string.c_str(), in FailedUnlock() 710 mirror::Object::PrettyTypeOf(o).c_str(), in FailedUnlock() 711 expected_owner_string.c_str()); in FailedUnlock() 718 current_owner_string.c_str(), in FailedUnlock() 719 mirror::Object::PrettyTypeOf(o).c_str(), in FailedUnlock() 720 expected_owner_string.c_str()); in FailedUnlock() [all …]
|
D | thread_pool.cc | 59 stack_ = MemMap::MapAnonymous(name.c_str(), in ThreadPoolWorker() 113 worker->name_.c_str(), in Callback() 181 const std::string worker_name = StringPrintf("%s worker thread %zu", name_.c_str(), in CreateThreads()
|
/art/libartbase/base/ |
D | zip_archive.cc | 77 MemMap map = MemMap::MapAnonymous(name.c_str(), in ExtractToMemMap() 106 const char* entry_filename = entry_name_.c_str(); in MapDirectlyFromFile() 149 name.c_str(), in MapDirectlyFromFile()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 326 if (filename.c_str() == nullptr) { in JVM_NativeLoad() 334 filename.c_str(), in JVM_NativeLoad() 345 return env->NewStringUTF(error_msg.c_str()); in JVM_NativeLoad() 412 soa.Self()->SetThreadName(name.c_str()); in JVM_SetNativeThreadName() 432 thread->SetThreadName(name.c_str()); in JVM_SetNativeThreadName() 437 LOG(ERROR) << "Trying to set thread name to '" << name.c_str() << "' failed as the thread " in JVM_SetNativeThreadName()
|
/art/tools/jvmti-agents/chain-agents/ |
D | chainagents.cc | 70 void* handle = dlopen(lib_and_args.first.c_str(), RTLD_LAZY); in Load() 85 jint res = alf(vm, lib_and_args.second.c_str(), reserved); in Load()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 379 std::string trace_file = StringPrintf("/data/misc/trace/%s.trace.bin", proc_name.c_str()); in ZygoteHooks_nativePostForkChild() 380 Trace::Start(trace_file.c_str(), in ZygoteHooks_nativePostForkChild() 410 InstructionSet isa = GetInstructionSetFromString(isa_string.c_str()); in ZygoteHooks_nativePostForkChild() 415 runtime->InitNonZygoteOrPostFork(env, is_system_server, is_zygote, action, isa_string.c_str()); in ZygoteHooks_nativePostForkChild()
|
D | java_lang_Thread.cc | 147 soa.Self()->SetThreadName(name.c_str()); in Thread_setNativeName() 164 thread->SetThreadName(name.c_str()); in Thread_setNativeName() 169 LOG(ERROR) << "Trying to set thread name to '" << name.c_str() << "' failed as the thread " in Thread_setNativeName()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 142 data_cache_name.c_str(), in Initialize() 161 data_cache_name.c_str(), in Initialize() 184 exec_cache_name.c_str(), in Initialize() 207 name.c_str(), in Initialize() 227 name.c_str(), in Initialize()
|
/art/test/911-get-stack-trace/ |
D | stack_trace.cc | 97 return env->NewStringUTF(StringPrintf("%" PRId64, frames[method_index].location).c_str()); in TranslateJvmtiFrameInfoArray() 102 return env->NewStringUTF(StringPrintf("%d", line_number).c_str()); in TranslateJvmtiFrameInfoArray() 248 android::base::StringPrintf("%x", static_cast<uint32_t>(location)).c_str()); in Java_art_Frames_getFrameLocation()
|
/art/test/983-source-transform-verify/ |
D | source_transform.cc | 59 Println(env, android::base::StringPrintf("Dex file hook for %s", name).c_str()); in CheckDexFileHook()
|
/art/runtime/verifier/ |
D | method_verifier_test.cc | 41 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(self, descriptor.c_str()); in VerifyClass()
|
/art/runtime/jni/ |
D | check_jni.cc | 294 Runtime::Current()->GetJavaVM()->JniAbort(function_name, tmp.c_str()); in CheckAttachedThread() 365 f->PrettyField().c_str(), o->PrettyTypeOf().c_str()); in CheckInstanceFieldID() 394 AbortF("the return type of %s does not match %s", function_name_, m->PrettyMethod().c_str()); in CheckMethodAndSig() 401 m->PrettyMethod().c_str(), function_name_); in CheckMethodAndSig() 404 m->PrettyMethod().c_str(), function_name_); in CheckMethodAndSig() 412 m->PrettyMethod().c_str(), mirror::Class::PrettyClass(c).c_str()); in CheckMethodAndSig() 419 AbortF("can't call %s on null object", m->PrettyMethod().c_str()); in CheckMethodAndSig() 422 AbortF("can't call %s on instance of %s", m->PrettyMethod().c_str(), in CheckMethodAndSig() 423 o->PrettyTypeOf().c_str()); in CheckMethodAndSig() 444 mirror::Class::PrettyClass(c).c_str()); in CheckStaticFieldID() [all …]
|
/art/tools/jvmti-agents/field-null-percent/ |
D | fieldnull.cc | 54 env->NewGlobalRef(env->FindClass(class_name.substr(1, class_name.size() - 2).c_str()))); in SplitField() 55 jfieldID field = env->GetFieldID(klass, field_name.c_str(), field_type.c_str()); in SplitField()
|
/art/dexdump/ |
D | dexdump_test.cc | 43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
|
/art/test/ti-agent/ |
D | scoped_utf_chars.h | 70 const char* c_str() const { in c_str() function
|