Lines Matching refs:c_str

146   const char* c_str() const {  in c_str()  function in art::NullableScopedUtfChars
183 ThrowWrappedIOException("%s", it->c_str()); in CreateCookieFromOatFileManagerResult()
216 ThrowWrappedIOException("%s", error_message.c_str()); in AllocateDexMemoryMap()
313 if (sourceName.c_str() == nullptr) { in DexFile_openDexFileNative()
320 Runtime::Current()->GetOatFileManager().OpenDexFilesFromOat(sourceName.c_str(), in DexFile_openDexFileNative()
341 return env->NewStringUTF(str_context.c_str()); in DexFile_getClassLoaderContext()
371 class_loader_context_utf.c_str()); in DexFile_verifyInBackgroundNative()
435 if (class_name.c_str() == nullptr) { in DexFile_defineClassNative()
439 const std::string descriptor(DotToDescriptor(class_name.c_str())); in DexFile_defineClassNative()
440 const size_t hash(ComputeModifiedUtf8Hash(descriptor.c_str())); in DexFile_defineClassNative()
443 OatDexFile::FindClassDef(*dex_file, descriptor.c_str(), hash); in DexFile_defineClassNative()
458 descriptor.c_str(), in DexFile_defineClassNative()
469 << " for " << class_name.c_str(); in DexFile_defineClassNative()
474 VLOG(class_linker) << "Failed to find dex_class_def " << class_name.c_str(); in DexFile_defineClassNative()
515 ScopedLocalRef<jstring> jdescriptor(env, env->NewStringUTF(descriptor.c_str())); in DexFile_getClassNameList()
544 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
552 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
564 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded()
602 instruction_set.c_str()); in DexFile_getDexFileStatus()
605 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
606 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileStatus()
610 OatFileAssistant oat_file_assistant(filename.c_str(), target_instruction_set, in DexFile_getDexFileStatus()
612 return env->NewStringUTF(oat_file_assistant.GetStatusDump().c_str()); in DexFile_getDexFileStatus()
632 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
635 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOptimizationStatus()
636 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOptimizationStatus()
643 filename.c_str(), target_instruction_set, &compilation_filter, &compilation_reason); in DexFile_getDexFileOptimizationStatus()
645 ScopedLocalRef<jstring> j_compilation_filter(env, env->NewStringUTF(compilation_filter.c_str())); in DexFile_getDexFileOptimizationStatus()
649 ScopedLocalRef<jstring> j_compilation_reason(env, env->NewStringUTF(compilation_reason.c_str())); in DexFile_getDexFileOptimizationStatus()
693 filename.c_str(), in DexFile_getDexOptNeeded()
694 instruction_set.c_str(), in DexFile_getDexOptNeeded()
695 target_compiler_filter.c_str(), in DexFile_getDexOptNeeded()
696 class_loader_context.c_str(), in DexFile_getDexOptNeeded()
708 const char* filename = filename_utf.c_str(); in DexFile_isDexOptNeeded()
730 return CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter) in DexFile_isValidCompilerFilter()
743 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_isProfileGuidedCompilerFilter()
758 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_getNonProfileGuidedCompilerFilter()
771 return env->NewStringUTF(new_filter_str.c_str()); in DexFile_getNonProfileGuidedCompilerFilter()
783 if (!CompilerFilter::ParseCompilerFilter(compiler_filter.c_str(), &filter)) { in DexFile_getSafeModeCompilerFilter()
796 return env->NewStringUTF(new_filter_str.c_str()); in DexFile_getSafeModeCompilerFilter()
824 instruction_set.c_str()); in DexFile_getDexFileOutputPaths()
827 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOutputPaths()
828 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileOutputPaths()
832 OatFileAssistant oat_file_assistant(filename.c_str(), in DexFile_getDexFileOutputPaths()
844 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str())); in DexFile_getDexFileOutputPaths()
848 ScopedLocalRef<jstring> joatFilename(env, env->NewStringUTF(oat_filename.c_str())); in DexFile_getDexFileOutputPaths()