• Home
  • Raw
  • Download

Lines Matching refs:mmap

357 jstring GetLocalesFromMmap(JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) {  in GetLocalesFromMmap()  argument
358 if (!mmap->handle().ok()) { in GetLocalesFromMmap()
362 mmap->handle().start(), mmap->handle().num_bytes()); in GetLocalesFromMmap()
369 jint GetVersionFromMmap(JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) { in GetVersionFromMmap() argument
370 if (!mmap->handle().ok()) { in GetVersionFromMmap()
374 mmap->handle().start(), mmap->handle().num_bytes()); in GetVersionFromMmap()
381 jstring GetNameFromMmap(JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) { in GetNameFromMmap() argument
382 if (!mmap->handle().ok()) { in GetNameFromMmap()
386 mmap->handle().start(), mmap->handle().num_bytes()); in GetNameFromMmap()
650 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
652 return GetLocalesFromMmap(env, mmap.get()); in TC3_JNI_METHOD()
659 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
661 return GetLocalesFromMmap(env, mmap.get()); in TC3_JNI_METHOD()
666 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
668 return GetVersionFromMmap(env, mmap.get()); in TC3_JNI_METHOD()
675 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
677 return GetVersionFromMmap(env, mmap.get()); in TC3_JNI_METHOD()
682 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
684 return GetNameFromMmap(env, mmap.get()); in TC3_JNI_METHOD()
691 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
693 return GetNameFromMmap(env, mmap.get()); in TC3_JNI_METHOD()