• Home
  • Raw
  • Download

Lines Matching refs:fieldId

222 FieldType getStaticFieldValue (JNIEnv* env, jclass cls, jfieldID fieldId);
225 int getStaticFieldValue<int> (JNIEnv* env, jclass cls, jfieldID fieldId) in getStaticFieldValue() argument
227 DE_ASSERT(cls && fieldId); in getStaticFieldValue()
228 return env->GetStaticIntField(cls, fieldId); in getStaticFieldValue()
232 string getStaticFieldValue<string> (JNIEnv* env, jclass cls, jfieldID fieldId) in getStaticFieldValue() argument
234 const jstring jniStr = (jstring)env->GetStaticObjectField(cls, fieldId); in getStaticFieldValue()
243 vector<string> getStaticFieldValue<vector<string> > (JNIEnv* env, jclass cls, jfieldID fieldId) in getStaticFieldValue() argument
245 const jobjectArray array = (jobjectArray)env->GetStaticObjectField(cls, fieldId); in getStaticFieldValue()
272 const jfieldID fieldId = env->GetStaticFieldID(cls, fieldName, getJNITypeStr<FieldType>()); in getStaticField() local
276 if (fieldId) in getStaticField()
277 return getStaticFieldValue<FieldType>(env, cls, fieldId); in getStaticField()
283 FieldType getFieldValue (JNIEnv* env, jobject obj, jfieldID fieldId);
286 int getFieldValue<int> (JNIEnv* env, jobject obj, jfieldID fieldId) in getFieldValue() argument
288 DE_ASSERT(obj && fieldId); in getFieldValue()
289 return env->GetIntField(obj, fieldId); in getFieldValue()
293 float getFieldValue<float> (JNIEnv* env, jobject obj, jfieldID fieldId) in getFieldValue() argument
295 DE_ASSERT(obj && fieldId); in getFieldValue()
296 return env->GetFloatField(obj, fieldId); in getFieldValue()
303 const jfieldID fieldId = env->GetFieldID(cls, fieldName, getJNITypeStr<FieldType>()); in getField() local
307 if (fieldId) in getField()
308 return getFieldValue<FieldType>(env, obj, fieldId); in getField()