Home | History | Annotate | Download | only in native

Lines Matching defs:c_str

128 //   // ... use name.c_str()
143 const char* c_str() const {
184 ThrowWrappedIOException("%s", error_message.c_str());
203 ThrowWrappedIOException("%s", error_message.c_str());
275 if (sourceName.c_str() == nullptr) {
285 dex_files = runtime->GetOatFileManager().OpenDexFilesFromOat(sourceName.c_str(),
310 ThrowWrappedIOException("%s", it->c_str());
376 if (class_name.c_str() == nullptr) {
380 const std::string descriptor(DotToDescriptor(class_name.c_str()));
381 const size_t hash(ComputeModifiedUtf8Hash(descriptor.c_str()));
384 OatDexFile::FindClassDef(*dex_file, descriptor.c_str(), hash);
399 descriptor.c_str(),
410 << " for " << class_name.c_str();
415 VLOG(class_linker) << "Failed to find dex_class_def " << class_name.c_str();
456 ScopedLocalRef<jstring> jdescriptor(env, env->NewStringUTF(descriptor.c_str()));
485 env->ThrowNew(iae.get(), message.c_str());
493 env->ThrowNew(iae.get(), message.c_str());
505 env->ThrowNew(iae.get(), message.c_str());
541 instruction_set.c_str());
544 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str()));
545 env->ThrowNew(iae.get(), message.c_str());
549 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set,
551 return env->NewStringUTF(oat_file_assistant.GetStatusDump().c_str());
571 instruction_set.c_str());
574 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str()));
575 env->ThrowNew(iae.get(), message.c_str());
582 filename.c_str(), target_instruction_set, &compilation_filter, &compilation_reason);
584 ScopedLocalRef<jstring> j_compilation_filter(env, env->NewStringUTF(compilation_filter.c_str()));
588 ScopedLocalRef<jstring> j_compilation_reason(env, env->NewStringUTF(compilation_reason.c_str()));
632 filename.c_str(),
633 instruction_set.c_str(),
634 target_compiler_filter.c_str(),
635 class_loader_context.c_str(),
647 const char* filename = filename_utf.c_str();
669 return CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)
682 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) {
697 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) {
710 return env->NewStringUTF(new_filter_str.c_str());
722 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) {
735 return env->NewStringUTF(new_filter_str.c_str());
763 instruction_set.c_str());
766 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str()));
767 env->ThrowNew(iae.get(), message.c_str());
771 OatFileAssistant oat_file_assistant(filename.c_str(),
783 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str()));
787 ScopedLocalRef<jstring> joatFilename(env, env->NewStringUTF(oat_filename.c_str()));