Lines Matching refs:java_obj

231 bool is_NULL_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name, const char* field…  in is_NULL_field_JavaObj()  argument
235 jclass clazz = env->GetObjectClass(java_obj); in is_NULL_field_JavaObj()
241 jobject obj = env->GetObjectField(java_obj, fid); in is_NULL_field_JavaObj()
249 bool is_NULL_vec_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_vec_field_JavaObj() argument
250 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Vector3;"); in is_NULL_vec_field_JavaObj()
253 bool is_NULL_point_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_point_field_JavaObj() argument
254 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Point3;"); in is_NULL_point_field_JavaObj()
257 bool is_NULL_axis_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_axis_field_JavaObj() argument
258 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Axis;"); in is_NULL_axis_field_JavaObj()
261 bool is_NULL_pivot_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_pivot_field_JavaObj() argument
262 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Pivot3;"); in is_NULL_pivot_field_JavaObj()
265 bool is_NULL_quat_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_quat_field_JavaObj() argument
266 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Quaternion;"); in is_NULL_quat_field_JavaObj()
269 bool is_NULL_mat3x3_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_mat3x3_field_JavaObj() argument
270 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Matrix3x3;"); in is_NULL_mat3x3_field_JavaObj()
272 bool is_NULL_mat3x1_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_mat3x1_field_JavaObj() argument
273 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Matrix3x1;"); in is_NULL_mat3x1_field_JavaObj()
279 void set_JavaObj_int(JNIEnv* env, jobject java_obj, const char* field_name, jint val) { in set_JavaObj_int() argument
283 jclass clazz = env->GetObjectClass(java_obj); in set_JavaObj_int()
286 env->SetIntField(java_obj, fid, val); in set_JavaObj_int()
290 int get_id_by_JavaObj(JNIEnv* env, jobject java_obj) { in get_id_by_JavaObj() argument
294 jclass method_clazz = env->GetObjectClass(java_obj); in get_id_by_JavaObj()
296 return env->CallIntMethod(java_obj, get_type_mid); in get_id_by_JavaObj()
300 int get_type_by_JavaObj(JNIEnv* env, jobject java_obj) { in get_type_by_JavaObj() argument
304 jclass method_clazz = env->GetObjectClass(java_obj); in get_type_by_JavaObj()
306 return env->CallIntMethod(java_obj, get_type_mid); in get_type_by_JavaObj()
311 int get_int_by_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in get_int_by_JavaObj() argument
315 jclass clazz = env->GetObjectClass(java_obj); in get_int_by_JavaObj()
317 return env->GetIntField(java_obj, int_fid); in get_int_by_JavaObj()
322 float get_float_by_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in get_float_by_JavaObj() argument
326 jclass clazz = env->GetObjectClass(java_obj); in get_float_by_JavaObj()
328 return env->GetFloatField(java_obj, float_fid); in get_float_by_JavaObj()
333 jobject get_obj_by_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name, const char* obj_t… in get_obj_by_JavaObj() argument
337 jclass clazz = env->GetObjectClass(java_obj); in get_obj_by_JavaObj()
339 return env->GetObjectField(java_obj, obj_fid); in get_obj_by_JavaObj()