Home
last modified time | relevance | path

Searched refs:c_str (Results 101 – 125 of 294) sorted by relevance

12345678910>>...12

/art/compiler/linker/
Doutput_stream_test.cc72 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/
Dnodes_vector_test.cc121 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()
Dssa_liveness_analysis_test.cc76 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/
Dbreakpoint_logger.cc46 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/
Ddexanalyze_test.cc30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
/art/cmdline/
Dmemory_representation.h55 return str.c_str(); in Name()
/art/runtime/
Dhidden_api_test.cc511 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 …]
Dparsed_options_test.cc56 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()
Dmodule_exclusion_test.cc95 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()
Doat_file_manager.cc70 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()
Dmonitor.cc389 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 …]
Dthread_pool.cc59 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/
Dzip_archive.cc77 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/
DOpenjdkJvm.cc326 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/
Dchainagents.cc70 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/
Ddalvik_system_ZygoteHooks.cc379 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()
Djava_lang_Thread.cc147 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/
Djit_memory_region.cc142 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/
Dstack_trace.cc97 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/
Dsource_transform.cc59 Println(env, android::base::StringPrintf("Dex file hook for %s", name).c_str()); in CheckDexFileHook()
/art/runtime/verifier/
Dmethod_verifier_test.cc41 ObjPtr<mirror::Class> klass = class_linker_->FindSystemClass(self, descriptor.c_str()); in VerifyClass()
/art/runtime/jni/
Dcheck_jni.cc294 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/
Dfieldnull.cc54 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/
Ddexdump_test.cc43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
/art/test/ti-agent/
Dscoped_utf_chars.h70 const char* c_str() const { in c_str() function

12345678910>>...12