Lines Matching defs:id
83 static bool is_checked_jfieldID(jfieldID id) {
84 uintptr_t as_uint = (uintptr_t) id;
87 static intptr_t raw_instance_offset(jfieldID id) {
88 uintptr_t result = (uintptr_t) id >> address_shift;
89 if (VerifyJNIFields && is_checked_jfieldID(id)) {
95 static bool klass_hash_ok(klassOop k, jfieldID id);
96 static void verify_instance_jfieldID(klassOop k, jfieldID id);
99 static bool is_valid_jfieldID(klassOop k, jfieldID id);
101 static bool is_instance_jfieldID(klassOop k, jfieldID id) {
102 uintptr_t as_uint = (uintptr_t) id;
105 static bool is_static_jfieldID(jfieldID id) {
106 uintptr_t as_uint = (uintptr_t) id;
127 static intptr_t from_instance_jfieldID(klassOop k, jfieldID id) {
133 verify_instance_jfieldID(k, id);
135 return raw_instance_offset(id);
138 static jfieldID to_static_jfieldID(JNIid* id) {
139 assert(id->is_static_field_id(), "from_JNIid, but not static field id");
140 jfieldID result = (jfieldID) id;
141 assert(from_static_jfieldID(result) == id, "must produce the same static id");
145 static JNIid* from_static_jfieldID(jfieldID id) {
146 assert(jfieldIDWorkaround::is_static_jfieldID(id),
148 JNIid* result = (JNIid*) id;
149 assert(result->is_static_field_id(), "to_JNIid, but not static field id");
155 JNIid *id = k->jni_id_for(offset);
156 debug_only(id->set_is_static_field_id());
157 return jfieldIDWorkaround::to_static_jfieldID(id);