Lines Matching refs:c_str

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