Home
last modified time | relevance | path

Searched refs:Modifier (Results 1 – 25 of 159) sorted by relevance

1234567

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DModifierTest.java20 import java.lang.reflect.Modifier;
31 new Modifier(); in test_Constructor()
39 assertTrue("ABSTRACT returned false", Modifier.isAbstract(ALL_FLAGS)); in test_isAbstractI()
40 assertTrue("ABSTRACT returned false", Modifier in test_isAbstractI()
41 .isAbstract(Modifier.ABSTRACT)); in test_isAbstractI()
42 assertTrue("Non-ABSTRACT returned true", !Modifier in test_isAbstractI()
43 .isAbstract(Modifier.TRANSIENT)); in test_isAbstractI()
51 assertTrue("FINAL returned false", Modifier.isFinal(ALL_FLAGS)); in test_isFinalI()
52 assertTrue("FINAL returned false", Modifier.isFinal(Modifier.FINAL)); in test_isFinalI()
53 assertTrue("Non-FINAL returned true", !Modifier in test_isFinalI()
[all …]
DConstructorTest.java22 import java.lang.reflect.Modifier;
106 ((mod & Modifier.PUBLIC) == Modifier.PUBLIC) in test_getModifiers()
107 && ((mod & Modifier.PRIVATE) == 0)); in test_getModifiers()
117 ((mod & Modifier.PRIVATE) == Modifier.PRIVATE) in test_getModifiers()
118 && ((mod & Modifier.PUBLIC) == 0)); in test_getModifiers()
128 ((mod & Modifier.PROTECTED) == Modifier.PROTECTED) in test_getModifiers()
129 && ((mod & Modifier.PUBLIC) == 0)); in test_getModifiers()
/external/javassist/src/main/javassist/
DSerialVersionUID.java19 import java.lang.reflect.Modifier;
54 field.setModifiers(Modifier.PRIVATE | Modifier.STATIC | in setSerialVersionUID()
55 Modifier.FINAL); in setSerialVersionUID()
89 if ((classMods & Modifier.INTERFACE) != 0) in calculateDefault()
91 classMods = classMods | Modifier.ABSTRACT; in calculateDefault()
93 classMods = classMods & ~Modifier.ABSTRACT; in calculateDefault()
119 if (((mods & Modifier.PRIVATE) == 0) || in calculateDefault()
120 ((mods & (Modifier.STATIC | Modifier.TRANSIENT)) == 0)) { in calculateDefault()
130 out.writeInt(Modifier.STATIC); in calculateDefault()
148 if ((mods & Modifier.PRIVATE) == 0) { in calculateDefault()
[all …]
DCtNewClass.java41 setModifiers(Modifier.setPublic(getModifiers())); in CtNewClass()
98 cons.setModifiers(mod & (Modifier.PUBLIC | Modifier.PROTECTED | Modifier.PRIVATE)); in inheritAllConstructors()
111 if (Modifier.isPrivate(mod)) in isInheritable()
114 if (Modifier.isPackage(mod)) { in isInheritable()
/external/dexmaker/src/main/java/com/google/dexmaker/
DDexMaker.java39 import java.lang.reflect.Modifier;
40 import static java.lang.reflect.Modifier.PRIVATE;
41 import static java.lang.reflect.Modifier.STATIC;
222 int supportedFlags = Modifier.PUBLIC | Modifier.FINAL | Modifier.ABSTRACT; in declare()
254 int supportedFlags = Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED in declare()
255 | Modifier.STATIC | Modifier.FINAL | Modifier.SYNCHRONIZED; in declare()
262 if ((flags & Modifier.SYNCHRONIZED) != 0) { in declare()
263 flags = (flags & ~Modifier.SYNCHRONIZED) | AccessFlags.ACC_DECLARED_SYNCHRONIZED; in declare()
292 int supportedFlags = Modifier.PUBLIC | Modifier.PRIVATE | Modifier.PROTECTED in declare()
293 | Modifier.STATIC | Modifier.FINAL | Modifier.VOLATILE | Modifier.TRANSIENT; in declare()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430AsmPrinter.cpp50 raw_ostream &O, const char* Modifier = 0);
65 raw_ostream &O, const char *Modifier) { in printOperand() argument
73 if (!Modifier || strcmp(Modifier, "nohash")) in printOperand()
81 bool isMemOp = Modifier && !strcmp(Modifier, "mem"); in printOperand()
90 if (!Modifier || strcmp(Modifier, "nohash")) in printOperand()
103 bool isMemOp = Modifier && !strcmp(Modifier, "mem"); in printOperand()
/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp35 PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue()
44 LabelId(id), Kind(kind), PCAdjust(PCAdj), Modifier(modifier), in ARMConstantPoolValue()
50 switch (Modifier) { in getModifierText()
78 ACPV->Modifier == Modifier) { in hasSameValue()
94 if (Modifier) O << "(" << getModifierText() << ")"; in print()
111 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument
113 : ARMConstantPoolValue(Ty, ID, Kind, PCAdj, Modifier, AddCurrentAddress), in ARMConstantPoolConstant()
120 ARMCP::ARMCPModifier Modifier, in ARMConstantPoolConstant() argument
122 : ARMConstantPoolValue((Type*)C->getType(), ID, Kind, PCAdj, Modifier, in ARMConstantPoolConstant()
134 ARMCP::ARMCPModifier Modifier) { in Create() argument
[all …]
DARMConstantPoolValue.h56 ARMCP::ARMCPModifier Modifier; // GV modifier i.e. (&GV(modifier)-(LPIC+8)) variable
61 unsigned char PCAdj, ARMCP::ARMCPModifier Modifier,
65 unsigned char PCAdj, ARMCP::ARMCPModifier Modifier,
70 ARMCP::ARMCPModifier getModifier() const { return Modifier; } in getModifier()
72 bool hasModifier() const { return Modifier != ARMCP::no_modifier; } in hasModifier()
99 this->Modifier == A->Modifier; in equals()
123 ARMCP::ARMCPModifier Modifier,
129 ARMCP::ARMCPModifier Modifier,
135 ARMCP::ARMCPModifier Modifier);
142 ARMCP::ARMCPModifier Modifier,
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
DModifierHelper.java81 …public Collection<Modifier> readModifiers(Structure objectStructure, BlenderContext blenderContext… in readModifiers()
82 Collection<Modifier> result = new ArrayList<Modifier>(); in readModifiers()
86 Modifier modifier = null; in readModifiers()
87 if (Modifier.ARRAY_MODIFIER_DATA.equals(modifierStructure.getType())) { in readModifiers()
89 } else if (Modifier.MIRROR_MODIFIER_DATA.equals(modifierStructure.getType())) { in readModifiers()
91 } else if (Modifier.ARMATURE_MODIFIER_DATA.equals(modifierStructure.getType())) { in readModifiers()
93 } else if (Modifier.PARTICLE_MODIFIER_DATA.equals(modifierStructure.getType())) { in readModifiers()
107 Modifier modifier; in readModifiers()
137 …private Modifier readAnimationModifier249(Structure objectStructure, BlenderContext blenderContext… in readAnimationModifier249()
138 Modifier result = null; in readAnimationModifier249()
[all …]
/external/javassist/src/main/javassist/tools/reflect/
DReflection.java229 if ((mod & Modifier.PUBLIC) != 0 && (mod & Modifier.FINAL) == 0) { in registerReflectiveClass()
258 f.setModifiers(Modifier.PROTECTED); in modifyClassfile()
267 f.setModifiers(Modifier.PRIVATE | Modifier.STATIC); in modifyClassfile()
282 if (Modifier.isPublic(mod) && !Modifier.isAbstract(mod)) in processMethods()
299 if (Modifier.isNative(mod)) in processMethods0()
303 if (Modifier.isFinal(mod)) { in processMethods0()
304 mod &= ~Modifier.FINAL; in processMethods0()
309 if (Modifier.isFinal(mod)) in processMethods0()
312 mod &= ~Modifier.NATIVE; in processMethods0()
321 if (Modifier.isStatic(mod)) in processMethods0()
[all …]
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp121 struct Modifier { struct
127 Modifier(BasicBlock *Block, PieceTable *PT, Random *R): in Modifier() function
284 struct LoadModifier: public Modifier { argument
285 LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} in LoadModifier()
294 struct StoreModifier: public Modifier {
295 StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} in StoreModifier()
312 struct BinModifier: public Modifier {
313 BinModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} in BinModifier()
356 struct ConstModifier: public Modifier {
357 ConstModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} in ConstModifier()
[all …]
/external/javassist/sample/evolve/
DEvolution.java107 absClass.setModifiers(Modifier.PUBLIC | Modifier.ABSTRACT); in makeAbstractClass()
115 fld.setModifiers(Modifier.PUBLIC | Modifier.STATIC); in makeAbstractClass()
125 if (Modifier.isPublic(f.getModifiers())) in makeAbstractClass()
134 if (Modifier.isPublic(mod)) { in makeAbstractClass()
138 wm.setModifiers(Modifier.PUBLIC | Modifier.STATIC); in makeAbstractClass()
147 if (Modifier.isPublic(mod)) in makeAbstractClass()
148 if (Modifier.isStatic(mod)) in makeAbstractClass()
177 if (Modifier.isPublic(f.getModifiers())) in makeConcreteClass()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DResultSetMetaDataTest.java21 import java.lang.reflect.Modifier;
56 int requiredModifier = Modifier.PUBLIC + Modifier.STATIC in testPublicStatics()
57 + Modifier.FINAL; in testPublicStatics()
63 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
DConnectionTest.java21 import java.lang.reflect.Modifier;
61 int requiredModifier = Modifier.PUBLIC + Modifier.STATIC in testPublicStatics()
62 + Modifier.FINAL; in testPublicStatics()
68 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
DStatementTest.java21 import java.lang.reflect.Modifier;
64 int requiredModifier = Modifier.PUBLIC + Modifier.STATIC in testPublicStatics()
65 + Modifier.FINAL; in testPublicStatics()
71 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
DParameterMetaDataTest.java21 import java.lang.reflect.Modifier;
66 int requiredModifier = Modifier.PUBLIC + Modifier.STATIC in testPublicStatics()
67 + Modifier.FINAL; in testPublicStatics()
73 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
DResultSetTest.java21 import java.lang.reflect.Modifier;
74 int requiredModifier = Modifier.PUBLIC + Modifier.STATIC in testPublicStatics()
75 + Modifier.FINAL; in testPublicStatics()
81 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
/external/javassist/src/main/javassist/tools/rmi/
DStubGenerator.java131 if (Modifier.isAbstract(modify) || Modifier.isNative(modify) in produceProxyClass()
132 || !Modifier.isPublic(modify)) in produceProxyClass()
144 f.setModifiers(Modifier.PRIVATE); in produceProxyClass()
148 f.setModifiers(Modifier.PRIVATE); in produceProxyClass()
205 && !Modifier.isFinal(mod)) in addMethods()
206 if (Modifier.isPublic(mod)) { in addMethods()
208 if (Modifier.isStatic(mod)) in addMethods()
224 else if (!Modifier.isProtected(mod) in addMethods()
225 && !Modifier.isPrivate(mod)) in addMethods()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp48 MCSymbolRefExpr::VariantKind Modifier = Target.isAbsolute() ? in GetRelocType() local
61 assert(Modifier == MCSymbolRefExpr::VK_None); in GetRelocType()
68 switch (Modifier) { in GetRelocType()
92 assert(Modifier == MCSymbolRefExpr::VK_None); in GetRelocType()
96 assert(Modifier == MCSymbolRefExpr::VK_None); in GetRelocType()
105 switch (Modifier) { in GetRelocType()
145 switch (Modifier) { in GetRelocType()
170 switch (Modifier) { in GetRelocType()
/external/llvm/lib/Target/X86/
DX86ELFWriterInfo.cpp66 long int Modifier) const { in getDefaultAddendForRelTy()
69 case ELF::R_X86_64_PC32: return Modifier - 4; in getDefaultAddendForRelTy()
73 return Modifier; in getDefaultAddendForRelTy()
79 case ELF::R_386_PC32: return Modifier - 4; in getDefaultAddendForRelTy()
80 case ELF::R_386_32: return Modifier; in getDefaultAddendForRelTy()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
DBlenderContext.java58 import com.jme3.scene.plugins.blender.modifiers.Modifier;
109 protected Map<Long, List<Modifier>> modifiers = new HashMap<Long, List<Modifier>>();
433 public void addModifier(Long ownerOMA, Modifier modifier) { in addModifier()
434 List<Modifier> objectModifiers = this.modifiers.get(ownerOMA); in addModifier()
436 objectModifiers = new ArrayList<Modifier>(); in addModifier()
454 public List<Modifier> getModifiers(Long objectOMA, String type) { in getModifiers()
455 List<Modifier> result = new ArrayList<Modifier>(); in getModifiers()
456 List<Modifier> readModifiers = modifiers.get(objectOMA); in getModifiers()
458 for (Modifier modifier : readModifiers) { in getModifiers()
/external/llvm/lib/Target/MBlaze/InstPrinter/
DMBlazeInstPrinter.cpp35 raw_ostream &O, const char *Modifier) { in printOperand() argument
36 assert((Modifier == 0 || Modifier[0] == 0) && "No modifiers supported"); in printOperand()
67 raw_ostream &O, const char *Modifier) { in printMemOperand() argument
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMockGenerator.java31 import java.lang.reflect.Modifier;
116 } else if (Modifier.isFinal(clazz.getModifiers())) { in reportReasonForUnsupportedType()
136 if (Modifier.isPublic(constructor.getModifiers()) || in containsUsableConstructor()
137 Modifier.isProtected(constructor.getModifiers())) { in containsUsableConstructor()
147 && !Modifier.isFinal(clazz.getModifiers()); in classIsSupportedType()
181 if (Modifier.isFinal(modifiers) || Modifier.isStatic(modifiers)) { in getMethodSignature()
266 if (Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers)) { in addConstructors()
396 return !Modifier.isFinal(modifiers) && !Modifier.isStatic(modifiers) && !method.isBridge() in isMockable()
397 && (Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers)); in isMockable()
/external/llvm/utils/TableGen/
DAsmWriterInst.cpp158 std::string Modifier; in AsmWriterInst() local
178 Modifier = std::string(AsmString.begin()+ModifierStart, in AsmWriterInst()
180 if (Modifier.empty()) in AsmWriterInst()
189 if (VarName.empty() && Modifier.empty()) in AsmWriterInst()
198 Modifier)); in AsmWriterInst()
206 OpNo, MIOp, Modifier)); in AsmWriterInst()
/external/javassist/src/main/javassist/compiler/
DMemberResolver.java138 boolean isIntf = Modifier.isInterface(mod); in lookupMethod()
153 if (isIntf || Modifier.isAbstract(mod)) in lookupMethod()
549 m |= Modifier.STATIC; in getModifiers()
552 m |= Modifier.FINAL; in getModifiers()
555 m |= Modifier.SYNCHRONIZED; in getModifiers()
558 m |= Modifier.ABSTRACT; in getModifiers()
561 m |= Modifier.PUBLIC; in getModifiers()
564 m |= Modifier.PROTECTED; in getModifiers()
567 m |= Modifier.PRIVATE; in getModifiers()
570 m |= Modifier.VOLATILE; in getModifiers()
[all …]

1234567