• Home
  • Raw
  • Download

Lines Matching refs:mmap

313     JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) {  in GetLocalesFromMmap()  argument
314 if (!mmap->handle().ok()) { in GetLocalesFromMmap()
318 mmap->handle().start(), mmap->handle().num_bytes()); in GetLocalesFromMmap()
325 jint GetVersionFromMmap(JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) { in GetVersionFromMmap() argument
326 if (!mmap->handle().ok()) { in GetVersionFromMmap()
330 mmap->handle().start(), mmap->handle().num_bytes()); in GetVersionFromMmap()
338 JNIEnv* env, libtextclassifier3::ScopedMmap* mmap) { in GetNameFromMmap() argument
339 if (!mmap->handle().ok()) { in GetNameFromMmap()
343 mmap->handle().start(), mmap->handle().num_bytes()); in GetNameFromMmap()
467 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
471 libtextclassifier3::GetLocalesFromMmap(env, mmap.get())); in TC3_JNI_METHOD()
477 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
481 libtextclassifier3::GetLocalesFromMmap(env, mmap.get())); in TC3_JNI_METHOD()
487 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
491 libtextclassifier3::GetNameFromMmap(env, mmap.get())); in TC3_JNI_METHOD()
497 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
501 libtextclassifier3::GetNameFromMmap(env, mmap.get())); in TC3_JNI_METHOD()
507 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
509 return libtextclassifier3::GetVersionFromMmap(env, mmap.get()); in TC3_JNI_METHOD()
514 const std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in TC3_JNI_METHOD() local
516 return libtextclassifier3::GetVersionFromMmap(env, mmap.get()); in TC3_JNI_METHOD()