Home
last modified time | relevance | path

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

/art/test/918-fields/src/art/
DTest918.java47 int modifiers = getFieldModifiers(f); in testField() local
48 if (modifiers != f.getModifiers()) { in testField()
49 throw new RuntimeException("Modifiers not equal: " + f.getModifiers() + " vs " + modifiers); in testField()
51 System.out.println(modifiers); in testField()
/art/test/032-concrete-sub/
Dexpected.txt4 class modifiers=1025
5 meth modifiers=1025
/art/test/045-reflect-array/
Dexpected.txt9 class [Ljava.lang.Number; modifiers: 1041
10 class [Ljava.lang.Cloneable; modifiers: 1041
/art/test/031-class-attributes/
Dexpected.txt34 modifiers: 1
60 modifiers: 0
86 modifiers: 1
112 modifiers: 0
138 modifiers: 0
164 modifiers: 8
190 modifiers: 8
216 modifiers: 1
/art/test/910-methods/src/art/
DTest910.java68 int modifiers = getMethodModifiers(m); in testMethod() local
69 if (modifiers != m.getModifiers()) { in testMethod()
70 throw new RuntimeException("Modifiers not equal: " + m.getModifiers() + " vs " + modifiers); in testMethod()
72 System.out.println(modifiers); in testMethod()
/art/test/918-fields/
Dfields.cc104 jint modifiers; in Java_art_Test918_getFieldModifiers() local
105 jvmtiError result = jvmti_env->GetFieldModifiers(klass, id, &modifiers); in Java_art_Test918_getFieldModifiers()
114 return modifiers; in Java_art_Test918_getFieldModifiers()
/art/runtime/openjdkjvmti/
Dti_method.cc314 uint32_t modifiers = art_method->GetAccessFlags(); in GetMethodModifiers() local
317 if ((modifiers & art::kAccAbstract) != 0) { in GetMethodModifiers()
318 modifiers &= ~art::kAccNative; in GetMethodModifiers()
320 modifiers &= ~art::kAccSynchronized; in GetMethodModifiers()
321 if ((modifiers & art::kAccDeclaredSynchronized) != 0) { in GetMethodModifiers()
322 modifiers |= art::kAccSynchronized; in GetMethodModifiers()
324 modifiers &= art::kAccJavaFlagsMask; in GetMethodModifiers()
326 *modifiers_ptr = modifiers; in GetMethodModifiers()
Dti_field.cc162 uint32_t modifiers = art_field->GetAccessFlags() & 0xFFFF; in GetFieldModifiers() local
164 *modifiers_ptr = modifiers; in GetFieldModifiers()
184 uint32_t modifiers = art_field->GetAccessFlags(); in IsFieldSynthetic() local
186 *is_synthetic_ptr = ((modifiers & art::kAccSynthetic) != 0) ? JNI_TRUE : JNI_FALSE; in IsFieldSynthetic()
Dti_class.cc869 uint32_t modifiers = klass->GetAccessFlags() & art::kAccJavaFlagsMask; in ClassGetModifiers() local
873 return art::mirror::Class::GetInnerClassFlags(h_klass, modifiers); in ClassGetModifiers()
/art/test/910-methods/
Dmethods.cc93 jint modifiers; in Java_art_Test910_getMethodModifiers() local
94 jvmtiError result = jvmti_env->GetMethodModifiers(id, &modifiers); in Java_art_Test910_getMethodModifiers()
99 return modifiers; in Java_art_Test910_getMethodModifiers()
/art/test/911-get-stack-trace/
Dstack_trace.cc235 jint modifiers; in Java_art_Frames_getFrameLocation() local
236 jvmtiError mod_result = jvmti_env->GetMethodModifiers(method, &modifiers); in Java_art_Frames_getFrameLocation()
243 (modifiers & kStatic) != 0 ? JNI_TRUE : JNI_FALSE); in Java_art_Frames_getFrameLocation()
/art/dalvikvm/
Ddalvikvm.cc50 int modifiers = env->CallIntMethod(reflected.get(), mid); in IsMethodPublic() local
52 if ((modifiers & PUBLIC) == 0) { in IsMethodPublic()
/art/test/912-classes/
Dclasses.cc109 jint modifiers; in Java_art_Test912_getClassFields() local
111 jvmti_env->GetFieldModifiers(klass, fields[i], &modifiers); in Java_art_Test912_getClassFields()
115 (modifiers & kStatic) != 0 ? JNI_TRUE : JNI_FALSE); in Java_art_Test912_getClassFields()
134 jint modifiers; in Java_art_Test912_getClassMethods() local
136 jvmti_env->GetMethodModifiers(methods[i], &modifiers); in Java_art_Test912_getClassMethods()
140 (modifiers & kStatic) != 0 ? JNI_TRUE : JNI_FALSE); in Java_art_Test912_getClassMethods()
/art/test/ti-agent/
Djni_binder.cc240 jint modifiers; in BindFunctionsOnClass() local
241 jvmtiError mod_result = jvmti_env->GetMethodModifiers(methods[i], &modifiers); in BindFunctionsOnClass()
244 if ((modifiers & kNative) != 0) { in BindFunctionsOnClass()
/art/tools/cpp-define-generator/
Dconstant_class.def19 #include "modifiers.h" // kAccClassIsFinalizable
/art/runtime/native/
Djava_lang_Class.cc465 auto modifiers = m.GetAccessFlags(); in Class_getDeclaredMethodsUnchecked() local
467 if ((publicOnly == JNI_FALSE || (modifiers & kAccPublic) != 0) && in Class_getDeclaredMethodsUnchecked()
468 (modifiers & kAccConstructor) == 0) { in Class_getDeclaredMethodsUnchecked()
480 auto modifiers = m.GetAccessFlags(); in Class_getDeclaredMethodsUnchecked() local
481 if ((publicOnly == JNI_FALSE || (modifiers & kAccPublic) != 0) && in Class_getDeclaredMethodsUnchecked()
482 (modifiers & kAccConstructor) == 0) { in Class_getDeclaredMethodsUnchecked()
Djava_lang_reflect_Executable.cc155 int32_t modifiers = access_flags.Get()->Get(parameter_index); in Executable_getParameters0() local
166 static_cast<uint32_t>(modifiers), in Executable_getParameters0()
/art/runtime/mirror/
Dclass.cc1246 auto modifiers = m.GetAccessFlags(); in GetDeclaredMethodInternal() local
1247 if ((modifiers & kSkipModifiers) == 0) { in GetDeclaredMethodInternal()
1250 if ((modifiers & kAccMiranda) == 0) { in GetDeclaredMethodInternal()
1256 auto modifiers = m.GetAccessFlags(); in GetDeclaredMethodInternal() local
1257 if ((modifiers & kAccConstructor) != 0) { in GetDeclaredMethodInternal()
1273 if ((modifiers & kSkipModifiers) == 0) { in GetDeclaredMethodInternal()
/art/test/046-reflect/
Dexpected.txt90 cons modifiers=1