Home
last modified time | relevance | path

Searched refs:AccessFlags (Results 1 – 25 of 41) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DAccessFlags.java36 public enum AccessFlags enum
65 private final static AccessFlags[] allFlags;
67 private static HashMap<String, AccessFlags> accessFlagsByName;
70 allFlags = AccessFlags.values();
72 accessFlagsByName = new HashMap<String, AccessFlags>();
73 for (AccessFlags accessFlag: allFlags) {
78 …private AccessFlags(int value, String accessFlagName, boolean validForClass, boolean validForMetho… in AccessFlags() method in AccessFlags
91 public static AccessFlags[] getAccessFlagsForClass(int accessFlagValue) { in getAccessFlagsForClass()
93 for (AccessFlags accessFlag: allFlags) { in getAccessFlagsForClass()
99 AccessFlags[] accessFlags = new AccessFlags[size]; in getAccessFlagsForClass()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaMethod.java44 import org.jf.dexlib2.AccessFlags;
94 flags |= AccessFlags.PUBLIC.getValue();
96 flags |= AccessFlags.PROTECTED.getValue();
98 flags |= AccessFlags.PRIVATE.getValue();
102 flags |= AccessFlags.STATIC.getValue();
106 flags |= AccessFlags.FINAL.getValue();
111 flags |= AccessFlags.NATIVE.getValue();
117 flags |= AccessFlags.SYNCHRONIZED.getValue();
119 flags |= AccessFlags.DECLARED_SYNCHRONIZED.getValue();
124 flags |= AccessFlags.VARARGS.getValue();
[all …]
DSmalideaField.java38 import org.jf.dexlib2.AccessFlags;
67 flags |= AccessFlags.PUBLIC.getValue(); in getAccessFlags()
69 flags |= AccessFlags.PROTECTED.getValue(); in getAccessFlags()
71 flags |= AccessFlags.PRIVATE.getValue(); in getAccessFlags()
75 flags |= AccessFlags.STATIC.getValue(); in getAccessFlags()
79 flags |= AccessFlags.FINAL.getValue(); in getAccessFlags()
83 flags |= AccessFlags.VOLATILE.getValue(); in getAccessFlags()
DSmalideaClassDef.java43 import org.jf.dexlib2.AccessFlags;
73 flags |= AccessFlags.PUBLIC.getValue(); in getAccessFlags()
77 flags |= AccessFlags.FINAL.getValue(); in getAccessFlags()
81 flags |= AccessFlags.ABSTRACT.getValue(); in getAccessFlags()
85 flags |= AccessFlags.INTERFACE.getValue(); in getAccessFlags()
89 flags |= AccessFlags.ENUM.getValue(); in getAccessFlags()
93 flags |= AccessFlags.ANNOTATION.getValue(); in getAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DMethodUtil.java35 import org.jf.dexlib2.AccessFlags;
45 private static int directMask = AccessFlags.STATIC.getValue() | AccessFlags.PRIVATE.getValue() |
46 AccessFlags.CONSTRUCTOR.getValue();
65 return AccessFlags.STATIC.isSet(method.getAccessFlags()); in isStatic()
73 return (method.getAccessFlags() & (AccessFlags.PRIVATE.getValue() | in isPackagePrivate()
74 AccessFlags.PROTECTED.getValue() | in isPackagePrivate()
75 AccessFlags.PUBLIC.getValue())) == 0; in isPackagePrivate()
DFieldUtil.java35 import org.jf.dexlib2.AccessFlags;
55 return AccessFlags.STATIC.isSet(field.getAccessFlags()); in isStatic()
DTypeUtils.java34 import org.jf.dexlib2.AccessFlags;
64 if (AccessFlags.PUBLIC.isSet(accesseeClassDef.getAccessFlags())) { in canAccessClass()
DSyntheticAccessorResolver.java37 import org.jf.dexlib2.AccessFlags;
124 if (!AccessFlags.SYNTHETIC.isSet(matchedMethod.getAccessFlags())) { in getAccessedMember()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliClassModifierListTest.java37 import org.jf.dexlib2.AccessFlags;
53 Assert.assertEquals(AccessFlags.PUBLIC.getValue() | in testAllClassAccessFlags()
54 AccessFlags.FINAL.getValue() | in testAllClassAccessFlags()
55 AccessFlags.INTERFACE.getValue() | in testAllClassAccessFlags()
56 AccessFlags.ABSTRACT.getValue() | in testAllClassAccessFlags()
57 AccessFlags.SYNTHETIC.getValue() | in testAllClassAccessFlags()
58 AccessFlags.ENUM.getValue() | in testAllClassAccessFlags()
59 AccessFlags.ANNOTATION.getValue(), in testAllClassAccessFlags()
DSmaliFieldTest.java38 import org.jf.dexlib2.AccessFlags;
65 Assert.assertEquals(AccessFlags.PUBLIC.getValue(), modifierList.getAccessFlags()); in testBasicField()
232 Assert.assertEquals(AccessFlags.PUBLIC.getValue(), modifierList.getAccessFlags()); in testFieldAnnotations()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DFieldDefinition.java33 import org.jf.dexlib2.AccessFlags;
50 AccessFlags.STATIC.isSet(accessFlags) && in writeTo()
51 AccessFlags.FINAL.isSet(accessFlags) && in writeTo()
96 for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForField(accessFlags)) { in writeAccessFlags()
DClassDefinition.java33 import org.jf.dexlib2.AccessFlags;
124 … for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForClass(classDef.getAccessFlags())) { in writeAccessFlags()
DMethodDefinition.java36 import org.jf.dexlib2.AccessFlags;
194 if (!AccessFlags.STATIC.isSet(method.getAccessFlags())) { in writeTo()
308 for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForMethod(accessFlags)) { in writeAccessFlags()
317 boolean isStatic = AccessFlags.STATIC.isSet(method.getAccessFlags()); in writeParameters()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java36 import org.jf.dexlib2.AccessFlags;
64 …ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.PUBLIC.getVa… in testCustomMethodInlineTable_Virtual()
67 …ClassDef classDef = new ImmutableClassDef("Lblah;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testCustomMethodInlineTable_Virtual()
91 …ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.STATIC.getVa… in testCustomMethodInlineTable_Static()
94 …ClassDef classDef = new ImmutableClassDef("Lblah;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testCustomMethodInlineTable_Static()
118 …ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.PRIVATE.getV… in testCustomMethodInlineTable_Direct()
121 …ClassDef classDef = new ImmutableClassDef("Lblah;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testCustomMethodInlineTable_Direct()
DTestUtils.java35 import org.jf.dexlib2.AccessFlags;
49 … return new ImmutableClassDef(classType, AccessFlags.INTERFACE.getValue(), "Ljava/lang/Object;", in makeInterfaceDef()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliModifierList.java47 import org.jf.dexlib2.AccessFlags;
74 AccessFlags flag = AccessFlags.getAccessFlag(accessSpec.getText()); in getAccessFlags()
90 AccessFlags flag = AccessFlags.getAccessFlag(name); in hasExplicitModifier()
/external/clang/test/CodeGenCXX/
D2004-03-09-UnmangledBuiltinMethods.cpp4 struct AccessFlags { struct
8 void AccessFlags::strlen() { } in strlen()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DAnalyzedMethodUtil.java34 import org.jf.dexlib2.AccessFlags;
54 … if (checkProtected && (virtualMethod.getAccessFlags() & AccessFlags.PROTECTED.getValue()) != 0) { in canAccess()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DClassDataItem.java35 import org.jf.dexlib2.AccessFlags;
139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags))); in makeAnnotator()
155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags))); in makeAnnotator()
DClassDefItem.java35 import org.jf.dexlib2.AccessFlags;
76 Joiner.on('|').join(AccessFlags.getAccessFlagsForClass(accessFlags))); in makeAnnotator()
/external/mesa3d/src/mesa/main/
Dbufferobj.c360 obj->AccessFlags = default_access_mode(ctx); in _mesa_initialize_buffer_object()
518 bufObj->AccessFlags = access; in _mesa_buffer_map_range()
555 bufObj->AccessFlags = 0x0; in _mesa_buffer_unmap()
870 bufObj->AccessFlags = default_access_mode(ctx); in _mesa_DeleteBuffersARB()
1070 bufObj->AccessFlags = default_access_mode(ctx); in _mesa_BufferDataARB()
1202 bufObj->AccessFlags = accessFlags; in _mesa_MapBufferARB()
1268 if (bufObj->AccessFlags & GL_MAP_WRITE_BIT) { in _mesa_UnmapBufferARB()
1288 bufObj->AccessFlags = default_access_mode(ctx); in _mesa_UnmapBufferARB()
1316 *params = simplified_access_mode(bufObj->AccessFlags); in _mesa_GetBufferParameterivARB()
1325 *params = bufObj->AccessFlags; in _mesa_GetBufferParameterivARB()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_bufferobj.c149 obj->AccessFlags = access; in nouveau_bufferobj_map_range()
162 obj->AccessFlags = 0; in nouveau_bufferobj_unmap()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java28 import com.android.dx.rop.code.AccessFlags;
50 import static com.android.dx.rop.code.AccessFlags.ACC_CONSTRUCTOR;
269 flags = (flags & ~Modifier.SYNCHRONIZED) | AccessFlags.ACC_DECLARED_SYNCHRONIZED; in declare()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DDebugInfo.java35 import org.jf.dexlib2.AccessFlags;
126 if (!AccessFlags.STATIC.isSet(methodImpl.method.getAccessFlags())) { in iterator()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_buffer_objects.c194 obj->AccessFlags = access; in radeonMapBufferRange()

12