Home
last modified time | relevance | path

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

123

/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/dexlib2/src/test/java/org/jf/dexlib2/pool/
DRollbackTest.java35 import org.jf.dexlib2.AccessFlags;
56 …ClassDef class1 = new ImmutableClassDef("Lcls1;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Objec… in testRollback()
59 … new ImmutableField("Lcls1;", "field1", "I", AccessFlags.PUBLIC.getValue(), null, null) in testRollback()
64 AccessFlags.PUBLIC.getValue(), null, null)) in testRollback()
67 …ClassDef class2 = new ImmutableClassDef("Lcls2;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Objec… in testRollback()
70 … new ImmutableField("Lcls2;", "field2", "D", AccessFlags.PUBLIC.getValue(), null, null) in testRollback()
75 AccessFlags.PUBLIC.getValue(), null, null)) in testRollback()
/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()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DMethodAnalyzerTest.java35 import org.jf.dexlib2.AccessFlags;
79 AccessFlags.PUBLIC.getValue(), null, methodImplementation); in testInstanceOfNarrowingEqz_art()
80 …ClassDef classDef = new ImmutableClassDef("Lmain;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testInstanceOfNarrowingEqz_art()
110 AccessFlags.PUBLIC.getValue(), null, methodImplementation); in testInstanceOfNarrowingEqz_dalvik()
111 …ClassDef classDef = new ImmutableClassDef("Lmain;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testInstanceOfNarrowingEqz_dalvik()
142 AccessFlags.PUBLIC.getValue(), null, methodImplementation); in testInstanceOfNarrowingNez_art()
143 …ClassDef classDef = new ImmutableClassDef("Lmain;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testInstanceOfNarrowingNez_art()
173 AccessFlags.PUBLIC.getValue(), null, methodImplementation); in testInstanceOfNarrowingNez_dalvik()
174 …ClassDef classDef = new ImmutableClassDef("Lmain;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testInstanceOfNarrowingNez_dalvik()
206 AccessFlags.PUBLIC.getValue(), null, methodImplementation); in testInstanceOfNarrowingAfterMove_art()
[all …]
DCustomMethodInlineTableTest.java36 import org.jf.dexlib2.AccessFlags;
65 …ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.PUBLIC.getVa… in testCustomMethodInlineTable_Virtual()
68 …ClassDef classDef = new ImmutableClassDef("Lblah;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testCustomMethodInlineTable_Virtual()
94 …ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.STATIC.getVa… in testCustomMethodInlineTable_Static()
97 …ClassDef classDef = new ImmutableClassDef("Lblah;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Obj… in testCustomMethodInlineTable_Static()
123 …ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.PRIVATE.getV… in testCustomMethodInlineTable_Direct()
126 …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/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()
/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/llvm-project/clang/test/CodeGenCXX/
D2004-03-09-UnmangledBuiltinMethods.cpp4 struct AccessFlags { struct
8 void AccessFlags::strlen() { } in strlen()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DAccessFlags.java27 public abstract class AccessFlags { class
35 public AccessFlags() { in AccessFlags() method in AccessFlags
42 public AccessFlags(final int a) { in AccessFlags() method in AccessFlags
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java28 import com.android.dx.rop.code.AccessFlags;
48 import static com.android.dx.rop.code.AccessFlags.ACC_CONSTRUCTOR;
236 | AccessFlags.ACC_SYNTHETIC; in declare()
270 | AccessFlags.ACC_SYNTHETIC | AccessFlags.ACC_BRIDGE; in declare()
278 flags = (flags & ~Modifier.SYNCHRONIZED) | AccessFlags.ACC_DECLARED_SYNCHRONIZED; in declare()
309 | AccessFlags.ACC_SYNTHETIC; in declare()
/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/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DFieldGenOrMethodGen.java24 import org.apache.bcel.classfile.AccessFlags;
33 public abstract class FieldGenOrMethodGen extends AccessFlags implements NamedAndTyped, Cloneable {
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DCallSiteTest.java69 …ClassDef class1 = new ImmutableClassDef("Lcls1;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Objec… in testPoolCallSite()
73 ImmutableList.of(), "V", AccessFlags.PUBLIC.getValue(), null, in testPoolCallSite()
113 …dexBuilder.internClassDef("Lcls1;", AccessFlags.PUBLIC.getValue(), "Ljava/lang/Object;", null, nul… in testBuilderCallSite()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DListVtablesCommand.java39 import org.jf.dexlib2.AccessFlags;
110 if (!AccessFlags.INTERFACE.isSet(classDef.getAccessFlags())) { in run()

123