Home
last modified time | relevance | path

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

1234567

/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/llvm/lib/Target/NVPTX/InstPrinter/
DNVPTXInstPrinter.cpp97 const char *Modifier) { in printCvtMode() argument
101 if (strcmp(Modifier, "ftz") == 0) { in printCvtMode()
105 } else if (strcmp(Modifier, "sat") == 0) { in printCvtMode()
109 } else if (strcmp(Modifier, "base") == 0) { in printCvtMode()
147 const char *Modifier) { in printCmpMode() argument
151 if (strcmp(Modifier, "ftz") == 0) { in printCmpMode()
155 } else if (strcmp(Modifier, "base") == 0) { in printCmpMode()
220 raw_ostream &O, const char *Modifier) { in printLdStCode() argument
221 if (Modifier) { in printLdStCode()
224 if (!strcmp(Modifier, "volatile")) { in printLdStCode()
[all …]
DNVPTXInstPrinter.h40 const char *Modifier = nullptr);
42 const char *Modifier = nullptr);
44 raw_ostream &O, const char *Modifier = nullptr);
46 raw_ostream &O, const char *Modifier = nullptr);
48 raw_ostream &O, const char *Modifier = nullptr);
/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.h57 ARMCP::ARMCPModifier Modifier; // GV modifier i.e. (&GV(modifier)-(LPIC+8)) variable
62 unsigned char PCAdj, ARMCP::ARMCPModifier Modifier,
66 unsigned char PCAdj, ARMCP::ARMCPModifier Modifier,
91 ARMCP::ARMCPModifier getModifier() const { return Modifier; } in getModifier()
93 bool hasModifier() const { return Modifier != ARMCP::no_modifier; } in hasModifier()
120 this->Modifier == A->Modifier; in equals()
142 ARMCP::ARMCPModifier Modifier,
148 ARMCP::ARMCPModifier Modifier,
154 ARMCP::ARMCPModifier Modifier);
161 ARMCP::ARMCPModifier Modifier,
[all …]
/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/SystemZ/
DSystemZConstantPoolValue.cpp21 : MachineConstantPoolValue(gv->getType()), GV(gv), Modifier(modifier) {} in SystemZConstantPoolValue()
25 SystemZCP::SystemZCPModifier Modifier) { in Create() argument
26 return new SystemZConstantPoolValue(GV, Modifier); in Create()
30 switch (Modifier) { in getRelocationInfo()
48 if (ZCPV->GV == GV && ZCPV->Modifier == Modifier) in getExistingMachineCPValue()
57 ID.AddInteger(Modifier); in addSelectionDAGCSEId()
61 O << GV << "@" << int(Modifier); in print()
DSystemZConstantPoolValue.h31 SystemZCP::SystemZCPModifier Modifier; variable
35 SystemZCP::SystemZCPModifier Modifier);
39 Create(const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier);
50 SystemZCP::SystemZCPModifier getModifier() const { return Modifier; } in getModifier()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCExpr.cpp96 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in EvaluateAsRelocatableImpl() local
97 if (Modifier != MCSymbolRefExpr::VK_None) in EvaluateAsRelocatableImpl()
103 Modifier = MCSymbolRefExpr::VK_PPC_LO; in EvaluateAsRelocatableImpl()
106 Modifier = MCSymbolRefExpr::VK_PPC_HI; in EvaluateAsRelocatableImpl()
109 Modifier = MCSymbolRefExpr::VK_PPC_HA; in EvaluateAsRelocatableImpl()
112 Modifier = MCSymbolRefExpr::VK_PPC_HIGHERA; in EvaluateAsRelocatableImpl()
115 Modifier = MCSymbolRefExpr::VK_PPC_HIGHER; in EvaluateAsRelocatableImpl()
118 Modifier = MCSymbolRefExpr::VK_PPC_HIGHEST; in EvaluateAsRelocatableImpl()
121 Modifier = MCSymbolRefExpr::VK_PPC_HIGHESTA; in EvaluateAsRelocatableImpl()
124 Sym = MCSymbolRefExpr::Create(&Sym->getSymbol(), Modifier, Context); in EvaluateAsRelocatableImpl()
/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.cpp123 struct Modifier { struct
129 Modifier(BasicBlock *Block, PieceTable *PT, Random *R): in Modifier() function
133 virtual ~Modifier() {} in ~Modifier() argument
290 struct LoadModifier: public Modifier {
291 LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} in LoadModifier()
300 struct StoreModifier: public Modifier {
301 StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} in StoreModifier()
318 struct BinModifier: public Modifier {
319 BinModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} in BinModifier()
362 struct ConstModifier: public Modifier {
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430AsmPrinter.cpp50 raw_ostream &O, const char* Modifier = nullptr);
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()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp46 MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant(); in GetRelocType() local
59 assert(Modifier == MCSymbolRefExpr::VK_None); in GetRelocType()
66 switch (Modifier) { in GetRelocType()
90 assert(Modifier == MCSymbolRefExpr::VK_None); in GetRelocType()
94 assert(Modifier == MCSymbolRefExpr::VK_None); in GetRelocType()
108 switch (Modifier) { in GetRelocType()
129 switch (Modifier) { in GetRelocType()
168 switch (Modifier) { in GetRelocType()
179 switch (Modifier) { in GetRelocType()
191 switch (Modifier) { in GetRelocType()
[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/
DX86AsmPrinter.cpp176 const char *Modifier = nullptr, unsigned AsmVariant = 0);
200 unsigned OpNo, raw_ostream &O, const char *Modifier, in printOperand() argument
209 if (Modifier && strncmp(Modifier, "subreg", strlen("subreg")) == 0) { in printOperand()
210 MVT::SimpleValueType VT = (strcmp(Modifier+6,"64") == 0) ? in printOperand()
211 MVT::i64 : ((strcmp(Modifier+6, "32") == 0) ? MVT::i32 : in printOperand()
212 ((strcmp(Modifier+6,"16") == 0) ? MVT::i16 : MVT::i8)); in printOperand()
234 const char *Modifier = nullptr) { in printLeaMemReference() argument
241 if (HasBaseReg && Modifier && !strcmp(Modifier, "no-rip") && in printLeaMemReference()
262 if (Modifier && strcmp(Modifier, "H") == 0) in printLeaMemReference()
271 printOperand(P, MI, Op+X86::AddrBaseReg, O, Modifier); in printLeaMemReference()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslator.java71 robolectricInternalsCtClass.setModifiers(Modifier.PUBLIC); in injectClassHandlerToInstrumentedClasses()
98 if (Modifier.isFinal(modifiers)) { in onLoad()
99 ctClass.setModifiers(modifiers & ~Modifier.FINAL); in onLoad()
195 … field.setModifiers(java.lang.reflect.Modifier.PUBLIC | java.lang.reflect.Modifier.STATIC); in addBypassShadowField()
259 …return Modifier.toString(ctMethod.getModifiers()) + " " + ctMethod.getReturnType().getSimpleName()… in describe()
268 boolean wasNative = Modifier.isNative(originalModifiers); in fixMethod()
269 boolean wasFinal = Modifier.isFinal(originalModifiers); in fixMethod()
270 boolean wasAbstract = Modifier.isAbstract(originalModifiers); in fixMethod()
279 newModifiers = Modifier.clear(newModifiers, Modifier.NATIVE); in fixMethod()
282 newModifiers = Modifier.clear(newModifiers, Modifier.FINAL); in fixMethod()
[all …]
/external/llvm/utils/TableGen/
DAsmWriterInst.cpp128 std::string Modifier; in AsmWriterInst() local
148 Modifier = std::string(AsmString.begin()+ModifierStart, in AsmWriterInst()
150 if (Modifier.empty()) in AsmWriterInst()
159 if (VarName.empty() && Modifier.empty()) in AsmWriterInst()
168 Modifier)); in AsmWriterInst()
176 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