Home
last modified time | relevance | path

Searched refs:constantValue (Results 1 – 15 of 15) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DSyntheticAccessorFSM.java234 long constantValue = 0; in test() local
336 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral(); in test()
344 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral(); in test()
472 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister); in test()
478 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister); in test()
513 … private static int getIncrementType(int mathOp, int mathType, long constantValue, int putRegister, in getIncrementType() argument
522 if (constantValue == 1) { in getIncrementType()
524 } else if (constantValue == -1) { in getIncrementType()
532 float val = Float.intBitsToFloat((int)constantValue); in getIncrementType()
543 double val = Double.longBitsToDouble(constantValue); in getIncrementType()
/external/smali/dexlib2/src/main/ragel/
DSyntheticAccessorFSM.rl85 long constantValue = 0;
108 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral();
114 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral();
181 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister);
185 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister);
210 … private static int getIncrementType(int mathOp, int mathType, long constantValue, int putRegister,
219 if (constantValue == 1) {
221 } else if (constantValue == -1) {
229 float val = Float.intBitsToFloat((int)constantValue);
240 double val = Double.longBitsToDouble(constantValue);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DSemanticContext.java113 protected int constantValue = INVALID_PRED_VALUE; field in SemanticContext.Predicate
115 public Predicate(int constantValue) { in Predicate() argument
117 this.constantValue=constantValue; in Predicate()
134 this.constantValue = p.constantValue; in Predicate()
148 if (this.constantValue != other.constantValue){ in equals()
152 if (this.constantValue != INVALID_PRED_VALUE){ in equals()
160 if (constantValue != INVALID_PRED_VALUE){ in hashCode()
161 return constantValue; in hashCode()
/external/doclava/src/com/google/doclava/
DFieldInfo.java35 boolean isSynthetic, TypeInfo type, String rawCommentText, Object constantValue, in FieldInfo() argument
38 …gePrivate, isPrivate, isFinal, isStatic, isSynthetic, chooseKind(isFinal, isStatic, constantValue), in FieldInfo()
43 mConstantValue = constantValue; in FieldInfo()
53 static String chooseKind(boolean isFinal, boolean isStatic, Object constantValue) in chooseKind() argument
55 return isConstant(isFinal, isStatic, constantValue) ? "constant" : "field"; in chooseKind()
68 static boolean isConstant(boolean isFinal, boolean isStatic, Object constantValue) in isConstant() argument
78 return isFinal && isStatic && (constantValue != null); in isConstant()
93 public Object constantValue() { in constantValue() method in FieldInfo
DInfoBuilder.java165 if (f.constantValue() != null) { in printClassInfo()
166 System.out.println(": " + f.constantValue()); in printClassInfo()
187 if (f.constantValue() != null) { in printClassInfo()
188 System.out.println(": " + f.constantValue()); in printClassInfo()
688 Object constantValue = null; in buildFields() local
748 constantValue = parseExpression(tmp); in buildFields()
759 newType, commentAndPosition.getCommentText(), constantValue, in buildFields()
777 Object constantValue = null; in parseExpression() local
785 return constantValue; in parseExpression()
792 return constantValue; in parseExpression()
[all …]
DAndroidAuxSource.java55 if (String.valueOf(field.constantValue()).equals(expected)) { in classAuxTags()
165 if (String.valueOf(field.constantValue()).equals(expected)) { in auxTags()
227 candidates.put(String.valueOf(field.constantValue()), field); in auxTags()
DStubs.java744 && field.constantValue() == null) { in writeClass()
855 return (field.isFinal() && field.constantValue() != null) in fieldIsInitialized()
1728 val = fi.constantValue(); in writeFieldApi()
DConverter.java558 f.constantValue(), Converter.convertSourcePosition(f.position()),
DDoclava.java1764 Object cValue = field.constantValue(); in writeSdkValues()
/external/proguard/src/proguard/evaluation/
DProcessor.java579 stack.push(classConstantValueFactory.constantValue(clazz, constantIndex)); in visitConstantInstruction()
595 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction()
600 …ReferenceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).reference… in visitConstantInstruction()
614 …castValue.isNull() == Value.NEVER ? constantValueFactory.constantValue(clazz, constantIndex).refe… in visitConstantInstruction()
615 …constantValueFactory.constantValue(clazz, constantIndex).referenceValue().generalize(valueFactory.… in visitConstantInstruction()
621 …ReferenceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).reference… in visitConstantInstruction()
641 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction()
DConstantValueFactory.java54 public Value constantValue(Clazz clazz, in constantValue() method in ConstantValueFactory
/external/proguard/src/proguard/optimize/info/
DFieldOptimizationInfo.java168 … value = CONSTANT_VALUE_FACTORY.constantValue(clazz, constantValueAttribute.u2constantValueIndex); in visitConstantValueAttribute()
/external/doclava/res/assets/templates-sdk/
Dclass.cs148 <?cs if:subcount(field.constantValue) ?>
150 <?cs if:field.constantValue.isString ?>
151 <?cs var:field.constantValue.str ?>
153 <?cs var:field.constantValue.dec ?>
154 (<?cs var:field.constantValue.hex ?>)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.cpp272 float constantValue = 0.0f; in ProcessAttributes() local
278 constantValue = constTable[backendState.swizzleMap[i].constantSource][comp]; in ProcessAttributes()
281 constantValue = *(float*)&primId; in ProcessAttributes()
288 pAttribStart[comp + v * 4] = constantValue; in ProcessAttributes()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DCodeRewriter.java937 Value constantValue = instruction.outValue(); in shortenLiveRanges() local
938 for (Instruction user : constantValue.uniqueUsers()) { in shortenLiveRanges()
943 user.replaceValue(constantValue, newCstNum.outValue()); in shortenLiveRanges()