Home
last modified time | relevance | path

Searched refs:accessFlags (Results 1 – 25 of 54) sorted by relevance

123

/external/proguard/src/proguard/classfile/util/
DClassUtil.java175 public static String externalFullClassDescription(int accessFlags, in externalFullClassDescription() argument
178 return externalClassAccessFlags(accessFlags) + in externalFullClassDescription()
539 int accessFlags) in internalMethodParameterSize() argument
542 (accessFlags & ClassConstants.ACC_STATIC) != 0); in internalMethodParameterSize()
875 public static String externalFullFieldDescription(int accessFlags, in externalFullFieldDescription() argument
879 return externalFieldAccessFlags(accessFlags) + in externalFullFieldDescription()
901 int accessFlags, in externalFullMethodDescription() argument
905 return externalMethodAccessFlags(accessFlags) + in externalFullMethodDescription()
921 public static String externalClassAccessFlags(int accessFlags) in externalClassAccessFlags() argument
923 return externalClassAccessFlags(accessFlags, ""); in externalClassAccessFlags()
[all …]
DAccessUtil.java55 public static int accessLevel(int accessFlags) in accessLevel() argument
57 switch (accessFlags & ACCESS_MASK) in accessLevel()
77 public static int accessFlags(int accessLevel) in accessFlags() method in AccessUtil
94 public static int replaceAccessFlags(int accessFlags, int newAccessFlags) in replaceAccessFlags() argument
99 accessFlags &= ~ClassConstants.ACC_FINAL; in replaceAccessFlags()
102 return (accessFlags & ~ACCESS_MASK) | in replaceAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DAccessFlags.java87 public boolean isSet(int accessFlags) { in isSet() argument
88 return (this.value & accessFlags) != 0; in isSet()
99 AccessFlags[] accessFlags = new AccessFlags[size]; in getAccessFlagsForClass() local
103 accessFlags[accessFlagsPosition++] = accessFlag; in getAccessFlagsForClass()
106 return accessFlags; in getAccessFlagsForClass()
109 private static String formatAccessFlags(AccessFlags[] accessFlags) { in formatAccessFlags() argument
111 for (AccessFlags accessFlag: accessFlags) { in formatAccessFlags()
116 for (AccessFlags accessFlag: accessFlags) { in formatAccessFlags()
120 if (accessFlags.length > 0) { in formatAccessFlags()
138 AccessFlags[] accessFlags = new AccessFlags[size]; in getAccessFlagsForMethod() local
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/
DSmaliModifierListStub.java40 private final int accessFlags; field in SmaliModifierListStub
42 public SmaliModifierListStub(StubElement parent, int accessFlags) { in SmaliModifierListStub() argument
44 this.accessFlags = accessFlags; in SmaliModifierListStub()
48 return accessFlags; in getAccessFlags()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DEncodedMember.java31 private final int accessFlags; field in EncodedMember
38 public EncodedMember(int accessFlags) { in EncodedMember() argument
39 this.accessFlags = accessFlags; in EncodedMember()
48 return accessFlags; in getAccessFlags()
DEncodedMethod.java54 public EncodedMethod(CstMethodRef method, int accessFlags, in EncodedMethod() argument
56 super(accessFlags); in EncodedMethod()
67 boolean isStatic = (accessFlags & AccessFlags.ACC_STATIC) != 0; in EncodedMethod()
163 int accessFlags = getAccessFlags(); in encode() local
166 boolean shouldHaveCode = (accessFlags & in encode()
183 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags), in encode()
185 AccessFlags.methodString(accessFlags)); in encode()
191 out.writeUleb128(accessFlags); in encode()
DEncodedField.java42 public EncodedField(CstFieldRef field, int accessFlags) { in EncodedField() argument
43 super(accessFlags); in EncodedField()
137 int accessFlags = getAccessFlags(); in encode() local
144 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags), in encode()
146 AccessFlags.fieldString(accessFlags)); in encode()
150 out.writeUleb128(accessFlags); in encode()
DClassDefItem.java50 private final int accessFlags; field in ClassDefItem
88 public ClassDefItem(CstType thisClass, int accessFlags, in ClassDefItem() argument
104 this.accessFlags = accessFlags; in ClassDefItem()
190 AccessFlags.classString(accessFlags)); in writeTo()
212 out.writeInt(accessFlags); in writeTo()
236 return accessFlags; in getAccessFlags()
396 pw.println(" accessFlags: " + Hex.u2(accessFlags)); in debugPrint()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableField.java54 protected final int accessFlags; field in ImmutableField
61 int accessFlags, in ImmutableField() argument
67 this.accessFlags = accessFlags; in ImmutableField()
75 int accessFlags, in ImmutableField() argument
81 this.accessFlags = accessFlags; in ImmutableField()
102 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DImmutableMethod.java55 protected final int accessFlags; field in ImmutableMethod
63 int accessFlags, in ImmutableMethod() argument
70 this.accessFlags = accessFlags; in ImmutableMethod()
79 int accessFlags, in ImmutableMethod() argument
86 this.accessFlags = accessFlags; in ImmutableMethod()
110 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DImmutableClassDef.java54 protected final int accessFlags; field in ImmutableClassDef
65 int accessFlags, in ImmutableClassDef() argument
80 this.accessFlags = accessFlags; in ImmutableClassDef()
92 int accessFlags, in ImmutableClassDef() argument
102 this.accessFlags = accessFlags; in ImmutableClassDef()
114 int accessFlags, in ImmutableClassDef() argument
124 this.accessFlags = accessFlags; in ImmutableClassDef()
153 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderField.java43 final int accessFlags; field in BuilderField
48 int accessFlags, in BuilderField() argument
52 this.accessFlags = accessFlags; in BuilderField()
58 return accessFlags; in getAccessFlags()
DBuilderMethod.java46 final int accessFlags; field in BuilderMethod
55 int accessFlags, in BuilderMethod() argument
60 this.accessFlags = accessFlags; in BuilderMethod()
70 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DBuilderClassDef.java49 final int accessFlags; field in BuilderClassDef
64 int accessFlags, in BuilderClassDef() argument
79 this.accessFlags = accessFlags; in BuilderClassDef()
95 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/javassist/src/main/javassist/bytecode/
DFieldInfo.java31 int accessFlags; field in FieldInfo
40 accessFlags = 0; in FieldInfo()
154 return accessFlags; in getAccessFlags()
163 accessFlags = acc; in setAccessFlags()
192 if ((accessFlags & AccessFlag.STATIC) == 0) in getConstantValue()
246 accessFlags = in.readUnsignedShort(); in read()
256 out.writeShort(accessFlags); in write()
DClassFileWriter.java127 public byte[] end(int accessFlags, int thisClass, int superClass, in end() argument
130 output.writeShort(accessFlags); in end()
171 int accessFlags, int thisClass, int superClass, in end() argument
177 out.writeShort(accessFlags); in end()
273 public void add(int accessFlags, String name, String descriptor, AttributeWriter aw) { in add() argument
276 add(accessFlags, nameIndex, descIndex, aw); in add()
288 public void add(int accessFlags, int name, int descriptor, AttributeWriter aw) { in add() argument
290 output.writeShort(accessFlags); in add()
344 public void begin(int accessFlags, String name, String descriptor, in begin() argument
354 begin(accessFlags, nameIndex, descIndex, intfs, aw); in begin()
[all …]
DMethodInfo.java35 int accessFlags; field in MethodInfo
78 accessFlags = 0; in MethodInfo()
243 return accessFlags; in getAccessFlags()
252 accessFlags = acc; in setAccessFlags()
502 accessFlags = src.accessFlags; in read()
521 accessFlags = in.readUnsignedShort(); in read()
531 out.writeShort(accessFlags); in write()
/external/proguard/src/proguard/optimize/info/
DParameterUsageMarker.java88 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() local
92 (accessFlags & ClassConstants.ACC_STATIC) == 0) in visitProgramMethod()
103 (accessFlags & ClassConstants.ACC_STATIC) != 0 ? in visitProgramMethod()
108 if ((accessFlags & ClassConstants.ACC_NATIVE) != 0) in visitProgramMethod()
115 else if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0) in visitProgramMethod()
126 if ((accessFlags & ClassConstants.ACC_STATIC) == 0 && in visitProgramMethod()
127 ((accessFlags & ClassConstants.ACC_SYNCHRONIZED) != 0 || in visitProgramMethod()
DAccessMethodMarker.java110 int accessFlags = clazz.getAccessFlags(); in visitAnyClass() local
112 if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0) in visitAnyClass()
123 int accessFlags = member.getAccessFlags(); in visitAnyMember() local
125 if ((accessFlags & ClassConstants.ACC_PRIVATE) != 0) in visitAnyMember()
129 else if ((accessFlags & ClassConstants.ACC_PROTECTED) != 0) in visitAnyMember()
133 else if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0) in visitAnyMember()
DFieldOptimizationInfo.java53 int accessFlags = field.getAccessFlags(); in FieldOptimizationInfo() local
56 isRead = (accessFlags & ClassConstants.ACC_VOLATILE) != 0; in FieldOptimizationInfo()
124 int accessFlags = field.getAccessFlags(); in resetValue() local
129 if ((accessFlags & ClassConstants.ACC_STATIC) != 0) in resetValue()
139 (accessFlags & ClassConstants.ACC_FINAL) == 0)) in resetValue()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DFieldDefinition.java47 int accessFlags = field.getAccessFlags(); in writeTo() local
50 AccessFlags.STATIC.isSet(accessFlags) && in writeTo()
51 AccessFlags.FINAL.isSet(accessFlags) && in writeTo()
95 … private static void writeAccessFlags(IndentingWriter writer, int accessFlags) throws IOException { in writeAccessFlags() argument
96 for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForField(accessFlags)) { in writeAccessFlags()
/external/proguard/src/proguard/classfile/visitor/
DMemberAccessFilter.java115 private boolean accepted(int accessFlags) in accepted() argument
117 return (requiredSetAccessFlags & ~accessFlags) == 0 && in accepted()
118 (requiredUnsetAccessFlags & accessFlags) == 0 && in accepted()
120 (requiredOneSetAccessFlags & accessFlags) != 0); in accepted()
DClassAccessFilter.java83 private boolean accepted(int accessFlags) in accepted() argument
85 return (requiredSetAccessFlags & ~accessFlags) == 0 && in accepted()
86 (requiredUnsetAccessFlags & accessFlags) == 0; in accepted()
/external/proguard/src/proguard/classfile/editor/
DMemberAdder.java101 int accessFlags = programField.getAccessFlags(); in visitProgramField() local
155 new ProgramField(accessFlags, in visitProgramField()
188 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() local
195 if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0) in visitProgramMethod()
220 accessFlags & ~ClassConstants.ACC_FINAL; in visitProgramMethod()
252 new ProgramMethod(accessFlags & ~ClassConstants.ACC_FINAL, in visitProgramMethod()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DClassDataItem.java137 int accessFlags = reader.readSmallUleb128(); in makeAnnotator() local
138 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags, in makeAnnotator() local
139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags))); in makeAnnotator()
153 int accessFlags = reader.readSmallUleb128(); in makeAnnotator() local
154 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags, in makeAnnotator() local
155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags))); in makeAnnotator()

123