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

1234567

/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/skia/src/animator/
H A DSkDisplayNumber.cpp43 SkScalar constant; local
46 constant = SK_ScalarMax;
49 constant = SK_ScalarMin;
52 constant = -SK_ScalarInfinity;
55 constant = SK_ScalarNaN;
58 constant = SK_ScalarInfinity;
64 value->fOperand.fScalar = constant;
/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
H A DReferencedMemberVisitor.java26 import proguard.classfile.constant.*;
27 import proguard.classfile.constant.visitor.ConstantVisitor;
52 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument
/external/webkit/WebKit/wx/bindings/python/
H A Dwebview.i56 %constant wxEventType wxEVT_WEBVIEW_BEFORE_LOAD;
57 %constant wxEventType wxEVT_WEBVIEW_LOAD;
58 %constant wxEventType wxEVT_WEBVIEW_NEW_WINDOW;
59 %constant wxEventType wxEVT_WEBVIEW_RIGHT_CLICK;
60 %constant wxEventType wxEVT_WEBVIEW_CONSOLE_MESSAGE;
61 %constant wxEventType wxEVT_WEBVIEW_RECEIVED_TITLE;
/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.
H A DClassConstant.java21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
28 * This Constant represents a class constant in the constant pool.
62 * @param u2nameIndex the index of the name 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...]
H A DConstantPoolSorter.java24 import proguard.classfile.constant.Constant;
31 * This ClassVisitor sorts the constant pool entries of the program classes
32 * that it visits. The sorting order is based on the types of the constant pool
54 // Sort the constant pool and set up an index map.
66 Constant constant = programClass.constantPool[oldIndex];
67 if (constant != null)
70 new ComparableConstant(programClass, oldIndex, constant);
85 // Isn't this a duplicate of the previous constant?
91 // Copy the sorted constant pool entry over to the constant poo
[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/proguard/src/proguard/classfile/constant/visitor/
H A DExceptClassConstantFilter.java21 package proguard.classfile.constant.visitor;
28 import proguard.classfile.constant.ClassConstant;
29 import proguard.classfile.constant.visitor.ConstantVisitor;
/external/proguard/src/proguard/classfile/util/
H A DStringReferenceInitializer.java24 import proguard.classfile.constant.*;
25 import proguard.classfile.constant.visitor.ConstantVisitor;
29 * it visits. More specifically, it fills out the references of string constant
56 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument
/external/proguard/src/proguard/optimize/info/
H A DPackageVisibleMemberInvokingClassMarker.java24 import proguard.classfile.constant.visitor.ConstantVisitor;
25 import proguard.classfile.constant.*;
40 public void visitAnyConstant(Clazz clazz, Constant constant) {} argument

Completed in 157 milliseconds

1234567