Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 25 of 231) sorted by relevance

12345678910

/external/dexmaker/src/dx/java/com/android/dx/ssa/
DOptimizer.java70 boolean isStatic, boolean inPreserveLocals, in optimize() argument
73 return optimize(rmeth, paramWidth, isStatic, inPreserveLocals, inAdvice, in optimize()
92 boolean isStatic, boolean inPreserveLocals, in optimize() argument
99 ssaMeth = SsaConverter.convertToSsaMethod(rmeth, paramWidth, isStatic); in optimize()
107 resultMeth = optimizeMinimizeRegisters(rmeth, paramWidth, isStatic, in optimize()
129 int paramWidth, boolean isStatic, in optimizeMinimizeRegisters() argument
135 rmeth, paramWidth, isStatic); in optimizeMinimizeRegisters()
196 boolean isStatic, boolean inPreserveLocals, in debugEdgeSplit() argument
202 return SsaConverter.testEdgeSplit(rmeth, paramWidth, isStatic); in debugEdgeSplit()
206 boolean isStatic, boolean inPreserveLocals, in debugPhiPlacement() argument
[all …]
DSsaConverter.java44 int paramWidth, boolean isStatic) { in convertToSsaMethod() argument
46 = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in convertToSsaMethod()
87 boolean isStatic) { in testEdgeSplit() argument
90 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testEdgeSplit()
107 boolean isStatic) { in testPhiPlacement() argument
110 result = SsaMethod.newFromRopMethod(rmeth, paramWidth, isStatic); in testPhiPlacement()
DSsaMethod.java70 private final boolean isStatic; field in SsaMethod
101 int paramWidth, boolean isStatic) { in newFromRopMethod() argument
102 SsaMethod result = new SsaMethod(ropMethod, paramWidth, isStatic); in newFromRopMethod()
119 private SsaMethod(RopMethod ropMethod, int paramWidth, boolean isStatic) { in SsaMethod() argument
121 this.isStatic = isStatic; in SsaMethod()
308 public boolean isStatic() { in isStatic() method in SsaMethod
309 return isStatic; in isStatic()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/jsdoc-template/
Dsymbol.tmpl4 <isStatic>{+data.isStatic+}</isStatic>
13 <isStatic>{+method.isStatic+}</isStatic>
30 <isStatic>{+property.isStatic+}</isStatic>
/external/proguard/src/proguard/evaluation/
DBasicInvocationUnit.java48 private boolean isStatic; field in BasicInvocationUnit
70 boolean isStatic = in enterMethod()
74 int parameterSize = ClassUtil.internalMethodParameterSize(descriptor, isStatic); in enterMethod()
87 if (!isStatic) in enterMethod()
145 isStatic = true; in invokeMember()
150 isStatic = true; in invokeMember()
155 isStatic = false; in invokeMember()
160 isStatic = false; in invokeMember()
166 isStatic = true; in invokeMember()
172 isStatic = false; in invokeMember()
[all …]
/external/jdiff/src/jdiff/
DModifiers.java18 public boolean isStatic = false; field in Modifiers
39 if (isStatic != oModifiers.isStatic) in compareTo()
64 if (isStatic != newModifiers.isStatic) { in diff()
66 if (isStatic) in diff()
/external/javassist/src/main/javassist/
DCtNewWrappedMethod.java57 boolean isStatic = Modifier.isStatic(wrappedBody.getModifiers()); in makeBody()
59 int stacksize = makeBody0(clazz, classfile, wrappedBody, isStatic, in makeBody()
62 code.setMaxLocals(isStatic, parameters, 0); in makeBody()
71 boolean isStatic, CtClass[] parameters, in makeBody0() argument
80 if (!isStatic) in makeBody0()
84 (isStatic ? 0 : 1)); in makeBody0()
110 if (isStatic) in makeBody0()
/external/junit/src/org/junit/runners/model/
DFrameworkMethod.java66 public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors) {
67 validatePublicVoid(isStatic, errors);
81 public void validatePublicVoid(boolean isStatic, List<Throwable> errors) {
82 if (Modifier.isStatic(fMethod.getModifiers()) != isStatic) {
83 String state= isStatic ? "should" : "should not";
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DMethodUtil.java64 public static boolean isStatic(@Nonnull Method method) { in isStatic() method in MethodUtil
79 return getParameterRegisterCount(method, MethodUtil.isStatic(method)); in getParameterRegisterCount()
82 …public static int getParameterRegisterCount(@Nonnull MethodReference methodRef, boolean isStatic) { in getParameterRegisterCount() argument
83 return getParameterRegisterCount(methodRef.getParameterTypes(), isStatic); in getParameterRegisterCount()
87 boolean isStatic) { in getParameterRegisterCount() argument
97 if (!isStatic) { in getParameterRegisterCount()
DFieldUtil.java44 return input!=null && isStatic(input);
50 return input!= null && !isStatic(input);
54 public static boolean isStatic(@Nonnull Field field) { in isStatic() method in FieldUtil
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DDebugInfoItem.java40 private final boolean isStatic; field in DebugInfoItem
43 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { in DebugInfoItem() argument
52 this.isStatic = isStatic; in DebugInfoItem()
147 isStatic); in encode()
181 file, codeSize, regSize, isStatic, ref); in encode0()
DDebugInfoDecoder.java64 private final boolean isStatic; field in DebugInfoDecoder
96 boolean isStatic, CstMethodRef ref, DexFile file) { in DebugInfoDecoder() argument
102 this.isStatic = isStatic; in DebugInfoDecoder()
236 - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1); in getParamBase()
252 if (!isStatic) { in decode0()
419 CstMethodRef ref, DalvCode code, boolean isStatic) { in validateEncode() argument
428 isStatic, ref, file, pl, ll); in validateEncode()
440 int countRegisters, boolean isStatic, CstMethodRef ref, in validateEncode0() argument
444 isStatic, ref, file); in validateEncode0()
DCodeItem.java61 private final boolean isStatic; field in CodeItem
85 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, in CodeItem() argument
103 this.isStatic = isStatic; in CodeItem()
121 debugInfo = new DebugInfoItem(code, isStatic, ref); in addContents()
314 return ref.getParameterWordCount(isStatic); in getInsSize()
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java453 boolean isStatic = false; in atCallExpr()
461 if (inStaticMethod || (cached != null && cached.isStatic())) in atCallExpr()
462 isStatic = true; // should be static in atCallExpr()
487 isStatic = true; in atCallExpr()
507 isStatic = true; in atCallExpr()
523 atMethodCallCore(targetClass, mname, args, isStatic, isSpecial, in atCallExpr()
538 ASTList args, boolean isStatic, boolean isSpecial, in atMethodCallCore() argument
547 if (!isStatic && found != null && found.isStatic()) { in atMethodCallCore()
549 isStatic = true; in atMethodCallCore()
575 atMethodCallCore2(targetClass, mname, isStatic, isSpecial, in atMethodCallCore()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DCstBaseMethodRef.java75 public final Prototype getPrototype(boolean isStatic) { in getPrototype() argument
76 if (isStatic) { in getPrototype()
124 public final int getParameterWordCount(boolean isStatic) { in getParameterWordCount() argument
125 return getPrototype(isStatic).getParameterTypes().getWordCount(); in getParameterWordCount()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DOdexedFieldInstructionMapper.java55 public final boolean isStatic; field in OdexedFieldInstructionMapper.FieldOpcode
63 this.isStatic = false; in FieldOpcode()
69 …public FieldOpcode(char type, boolean isStatic, @Nonnull Opcode normalOpcode, @Nullable Opcode vol… in FieldOpcode() argument
71 this.isStatic = isStatic; in FieldOpcode()
79 this.isStatic = false; in FieldOpcode()
208 private static boolean isStatic(@Nonnull Opcode opcode) { in isStatic() method in OdexedFieldInstructionMapper
222 [isStatic(fieldOpcode.normalOpcode)?STATIC:INSTANCE] in OdexedFieldInstructionMapper()
237 [isStatic(odexedOpcode)?STATIC:INSTANCE] in getAndCheckDeodexedOpcode()
/external/vogar/src/vogar/
DClassAnalyzer.java29 public boolean hasMethod(boolean isStatic, Class<?> returnType, String name, in hasMethod() argument
35 boolean satisfiesStatic = isStatic == Modifier.isStatic(modifier); in hasMethod()
/external/junit/src/org/junit/internal/runners/
DMethodValidator.java68 boolean isStatic) { in validateTestMethods() argument
72 if (Modifier.isStatic(each.getModifiers()) != isStatic) { in validateTestMethods()
73 String state= isStatic ? "should" : "should not"; in validateTestMethods()
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java43 assertFalse(element.isStatic()); in testPrivateField()
54 assertFalse(element.isStatic()); in testPackagePrivateField()
65 assertFalse(element.isStatic()); in testProtectedField()
76 assertFalse(element.isStatic()); in testPublicField()
83 assertFalse(element.isStatic()); in testFinalField()
89 assertTrue(element.isStatic()); in testStaticField()
108 assertFalse(element.isStatic()); in testConstructor()
/external/doclava/src/com/google/doclava/
DFieldInfo.java33 boolean isFinal, boolean isStatic, boolean isTransient, boolean isVolatile, in FieldInfo() argument
37 …isPackagePrivate, isPrivate, isFinal, isStatic, isSynthetic, chooseKind(isFinal, isStatic, constan… in FieldInfo()
47 isProtected(), isPackagePrivate(), isPrivate(), isFinal(), isStatic(), isTransient(), in cloneForClass()
52 static String chooseKind(boolean isFinal, boolean isStatic, Object constantValue) in chooseKind() argument
54 return isConstant(isFinal, isStatic, constantValue) ? "constant" : "field"; in chooseKind()
67 static boolean isConstant(boolean isFinal, boolean isStatic, Object constantValue) in isConstant() argument
77 return isFinal && isStatic && (constantValue != null); in isConstant()
81 return isConstant(isFinal(), isStatic(), mConstantValue); in isConstant()
333 data.setValue(base + ".static", isStatic() ? "static" : ""); in makeHDF()
DMemberInfo.java25 boolean isStatic, boolean isSynthetic, String kind, SourcePositionInfo position, in MemberInfo() argument
37 mIsStatic = isStatic; in MemberInfo()
129 public boolean isStatic() { in isStatic() method in MemberInfo
/external/javassist/src/main/javassist/expr/
DFieldAccess.java63 public boolean isStatic() { in isStatic() method in FieldAccess
64 return isStatic(opcode); in isStatic()
67 static boolean isStatic(int c) { in isStatic() method in FieldAccess
196 storeStack(params, isStatic(), paramVar, bytecode); in replace()
244 if (isStatic(opcode)) in doit()
293 if (isStatic(opcode)) in doit()
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypedBlock.java50 boolean isStatic = (minfo.getAccessFlags() & AccessFlag.STATIC) != 0; in makeBlocks()
53 isStatic, minfo.isConstructor()); in makeBlocks() local
148 String methodDesc, boolean isStatic, boolean isConstructor) in initFirstBlock() argument
159 else if (!isStatic) in initFirstBlock()
162 int n = isStatic ? -1 : 0; in initFirstBlock()
/external/jsoncpp/src/lib_json/
Djson_internalmap.inl138 bool isStatic; local
139 const char* memberName = key(it, isStatic);
141 resolveReference(memberName, isStatic) = aValue;
227 Value& ValueInternalMap::resolveReference(const char* key, bool isStatic) { argument
237 return setNewItem(key, isStatic, current, index);
245 return unsafeAdd(key, isStatic, hashedKey);
316 bool isStatic, argument
323 link->items_[index].setMemberNameIsStatic(isStatic);
328 ValueInternalMap::unsafeAdd(const char* key, bool isStatic, HashKey hashedKey) { argument
347 return setNewItem(key, isStatic, link, index);
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DMethodDelegate.java210 boolean isStatic = TypeUtils.isStatic(methodInfo.getModifiers()); in generateClass()
211 if ((target == null) ^ isStatic) { in generateClass()
212 … throw new IllegalArgumentException("Static method " + (isStatic ? "not " : "") + "expected"); in generateClass()

12345678910