Home
last modified time | relevance | path

Searched refs:c_data (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp867 JNIEnv* env, jclass data_class, __user_cap_data_struct* c_data) { in CreateStructCapUserData() argument
868 if (c_data == nullptr) { in CreateStructCapUserData()
879 jint e = static_cast<jint>(c_data->effective); in CreateStructCapUserData()
880 jint p = static_cast<jint>(c_data->permitted); in CreateStructCapUserData()
881 jint i = static_cast<jint>(c_data->inheritable); in CreateStructCapUserData()
885 static bool ReadStructCapUserData(JNIEnv* env, jobject java_data, __user_cap_data_struct* c_data) { in ReadStructCapUserData() argument
901 c_data->effective = env->GetIntField(java_data, effective_fid); in ReadStructCapUserData()
909 c_data->permitted = env->GetIntField(java_data, permitted_fid); in ReadStructCapUserData()
918 c_data->inheritable = env->GetIntField(java_data, inheritable_fid); in ReadStructCapUserData()