Searched refs:constant (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/external/clang/test/Preprocessor/
H A Dexpr_multichar.c4 #error Bad multichar constant calculation!
/external/emma/core/java12/com/vladium/jcd/cls/constant/
H A DICONSTANTVisitor.java9 package com.vladium.jcd.cls.constant;
20 //Object visit (CONSTANT_info constant, Object ctx);
22 Object visit (CONSTANT_Class_info constant, Object ctx); argument
24 Object visit (CONSTANT_InterfaceMethodref_info constant, Object ctx); argument
25 Object visit (CONSTANT_Methodref_info constant, Object ctx); argument
26 Object visit (CONSTANT_Fieldref_info constant, Object ctx); argument
28 Object visit (CONSTANT_Double_info constant, Object ctx); argument
29 Object visit (CONSTANT_Float_info constant, Object ctx); argument
30 Object visit (CONSTANT_Integer_info constant, Object ctx); argument
31 Object visit (CONSTANT_Long_info constant, Objec argument
32 visit(CONSTANT_String_info constant, Object ctx) argument
34 visit(CONSTANT_Utf8_info constant, Object ctx) argument
35 visit(CONSTANT_NameAndType_info constant, Object ctx) argument
[all...]
H A DCONSTANT_literal_info.java9 package com.vladium.jcd.cls.constant;
14 * in the constant pool.
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DConstantUnion.h51 bool operator==(const ConstantUnion& constant) const
53 if (constant.type != type)
58 if (constant.iConst == iConst)
63 if (constant.fConst == fConst)
68 if (constant.bConst == bConst)
92 bool operator!=(const ConstantUnion& constant) const
94 return !operator==(constant);
97 bool operator>(const ConstantUnion& constant) const
99 assert(type == constant.type);
102 if (iConst > constant
[all...]
/external/guava/guava-tests/test/com/google/common/cache/
H A DTestingWeighers.java25 * Returns a {@link Weigher} that returns the given {@code constant} for every request.
27 static Weigher<Object, Object> constantWeigher(int constant) { argument
28 return new ConstantWeigher(constant);
46 private final int constant; field in class:TestingWeighers.ConstantWeigher
48 ConstantWeigher(int constant) { argument
49 this.constant = constant;
54 return constant;
/external/skia/src/animator/
H A DSkDisplayNumber.cpp35 SkScalar constant; local
38 constant = SK_ScalarMax;
41 constant = SK_ScalarMin;
44 constant = -SK_ScalarInfinity;
47 constant = SK_ScalarNaN;
50 constant = SK_ScalarInfinity;
56 value->fOperand.fScalar = constant;
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DCstInsn.java24 * Instruction which has a single constant argument in addition
28 /** {@code non-null;} the constant argument for this instruction */
29 private final Constant constant; field in class:CstInsn
32 * {@code >= -1;} the constant pool index for {@link #constant}, or
38 * {@code >= -1;} the constant pool index for the class reference in
39 * {@link #constant} if any, or {@code -1} if not yet set
45 * initially unknown ({@code -1}) as is the constant pool index.
52 * @param constant {@code non-null;} constant argumen
54 CstInsn(Dop opcode, SourcePosition position, RegisterSpecList registers, Constant constant) argument
[all...]
/external/proguard/src/proguard/classfile/visitor/
H A DClassForNameClassVisitor.java24 import proguard.classfile.constant.*;
25 import proguard.classfile.constant.visitor.ConstantVisitor;
31 * constant classes involved in any <code>Class.forName</code> constructs that
58 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp50 (JNIEnv * env, jobject object, jobject normal, jfloat constant) {
54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant);
49 Java_com_jme3_bullet_collision_shapes_PlaneCollisionShape_createShape(JNIEnv * env, jobject object, jobject normal, jfloat constant) argument
/external/proguard/src/proguard/classfile/constant/
H A DConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
46 * Returns the constant pool info tag that specifies the entry type.
H A DDoubleConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a double constant in the constant pool.
H A DFieldrefConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a field reference constant in the constant pool.
43 * @param u2classIndex the index of the class in the constant pool.
44 * @param u2nameAndTypeIndex the index of the name and type entry in the constant pool.
H A DFloatConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a float constant in the constant pool.
H A DIntegerConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a integer constant in the constant pool.
H A DInterfaceMethodrefConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a interface method reference constant in the constant pool.
43 * @param u2classIndex the index of the class in the constant pool.
44 * @param u2nameAndTypeIndex the index of the name and type entry in the constant pool.
H A DLongConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a long constant in the constant pool.
H A DMethodrefConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a method reference constant in the constant pool.
43 * @param u2classIndex the index of the class in the constant pool.
44 * @param u2nameAndTypeIndex the index of the name and type entry in the constant pool.
/external/emma/core/java12/com/vladium/jcd/cls/
H A DIConstantCollection.java11 import com.vladium.jcd.cls.constant.*;
16 * An abstraction of constant pool in .class format. This interface disallows
56 CONSTANT_info set (CONSTANT_info constant); argument
62 * A simple interface to express custom semantics of constant equality.
68 boolean equals (CONSTANT_info constant); argument
83 * @param index constant pool index [must be in [1, size()] range]
84 * @return CONSTANT_info constant pool entry at this index [never null]
103 * Searches the pool for a matching constant of given type with equality
148 * Appends 'constant' to the end of the collection. No duplicate checks
151 * @param constant ne
154 add(CONSTANT_info constant) argument
172 set(int index, CONSTANT_info constant) argument
[all...]
H A DConstantCollection.java15 import com.vladium.jcd.cls.constant.*;
36 throw new IllegalStateException ("assertion failure: dereferencing an invalid constant pool slot " + index);
53 final CONSTANT_info constant = (CONSTANT_info) m_constants.get (i);
55 if ((constant != null) && (constant.tag () == type) && comparator.equals (constant))
98 final CONSTANT_info constant = (CONSTANT_info) m_constants.get (c);
99 _clone.m_constants.add (constant == null ? null : constant.clone ());
136 public CONSTANT_info set (final int index, final CONSTANT_info constant) argument
170 add(final CONSTANT_info constant) argument
229 set(final CONSTANT_info constant) argument
[all...]
/external/proguard/src/proguard/classfile/instruction/
H A DSimpleInstruction.java29 * or constant pool references.
35 public int constant; field in class:SimpleInstruction
54 * Creates a new SimpleInstruction with the given opcode and constant.
56 public SimpleInstruction(byte opcode, int constant) argument
59 this.constant = constant;
71 this.constant = simpleInstruction.constant;
78 * Return the embedded constant of the given opcode, or 0 if the opcode
155 opcode = (byte)(InstructionConstants.OP_ICONST_0 + constant);
[all...]
/external/proguard/src/proguard/classfile/editor/
H A DConstantPoolEditor.java24 import proguard.classfile.constant.*;
27 * This class can add constant pool entries to a given class.
49 * Finds or creates a IntegerConstant constant pool entry with the given
51 * @return the constant pool index of the Utf8Constant.
61 Constant constant = constantPool[index];
63 if (constant != null &&
64 constant.getTag() == ClassConstants.CONSTANT_Integer)
66 IntegerConstant integerConstant = (IntegerConstant)constant;
79 * Finds or creates a LongConstant constant pool entry with the given value.
80 * @return the constant poo
631 addConstant(Constant constant) argument
[all...]
/external/proguard/src/proguard/obfuscate/
H A DNameAndTypeShrinker.java24 import proguard.classfile.constant.Constant;
30 * This ClassVisitor removes NameAndType constant pool entries
47 // Shift the used constant pool entries together, filling out the
54 // Remap all constant pool references.
69 * from the given constant pool.
84 // Shift the used constant pool entries together.
89 Constant constant = constantPool[index];
92 if (constant != null)
94 isUsed = constant.getTag() != ClassConstants.CONSTANT_NameAndType ||
95 NameAndTypeUsageMarker.isUsed(constant);
[all...]
H A DUtf8Shrinker.java24 import proguard.classfile.constant.Constant;
30 * This ClassVisitor removes UTF-8 constant pool entries that are not marked
47 // Shift the used constant pool entries together, filling out the
53 // Remap all constant pool references.
68 * from the given constant pool.
82 // Shift the used constant pool entries together.
87 Constant constant = constantPool[index];
90 if (constant != null)
92 isUsed = constant.getTag() != ClassConstants.CONSTANT_Utf8 ||
93 Utf8UsageMarker.isUsed(constant);
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DPlane.java69 protected float constant; field in class:Plane
73 * default object and contains a normal of (0,0,0) and a constant of 0.
80 * and constant values are set at creation.
84 * @param constant
85 * the constant of the plane.
87 public Plane(Vector3f normal, float constant) { argument
93 this.constant = constant;
127 * <code>setConstant</code> sets the constant value that helps define the
130 * @param constant
133 setConstant(float constant) argument
[all...]
/external/libvpx/examples/includes/HTML-Toc-0.91/
H A DToc.pm18 use constant FILE_FILTER => '.*';
19 use constant GROUP_ID_H => 'h';
20 use constant LEVEL_1 => 1;
21 use constant NUMBERING_STYLE_DECIMAL => 'decimal';
26 use constant TEMPLATE_ANCHOR_NAME => '$groupId."-".$node';
27 use constant TEMPLATE_ANCHOR_HREF_BEGIN =>
29 use constant TEMPLATE_ANCHOR_HREF_BEGIN_FILE =>
31 use constant TEMPLATE_ANCHOR_HREF_END => '"</a>"';
32 use constant TEMPLATE_ANCHOR_NAME_BEGIN =>
34 use constant TEMPLATE_ANCHOR_NAME_EN
[all...]

Completed in 638 milliseconds

1234567891011>>