Home
last modified time | relevance | path

Searched refs:Const (Results 1 – 25 of 1278) sorted by relevance

12345678910>>...52

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DInstruction.java23 import org.apache.bcel.Const;
75 return Const.getOpcodeName(opcode); in getName()
163 if (opcode == Const.WIDE) { // Read next opcode after wide byte in readInstruction()
173 case Const.BIPUSH: in readInstruction()
176 case Const.SIPUSH: in readInstruction()
179 case Const.LDC: in readInstruction()
182 case Const.LDC_W: in readInstruction()
185 case Const.LDC2_W: in readInstruction()
188 case Const.ILOAD: in readInstruction()
191 case Const.LLOAD: in readInstruction()
[all …]
DArithmeticInstruction.java20 import org.apache.bcel.Const;
52 case Const.DADD: in getType()
53 case Const.DDIV: in getType()
54 case Const.DMUL: in getType()
55 case Const.DNEG: in getType()
56 case Const.DREM: in getType()
57 case Const.DSUB: in getType()
59 case Const.FADD: in getType()
60 case Const.FDIV: in getType()
61 case Const.FMUL: in getType()
[all …]
DInstructionConst.java20 import org.apache.bcel.Const;
178 INSTRUCTIONS[Const.NOP] = NOP;
179 INSTRUCTIONS[Const.ACONST_NULL] = ACONST_NULL;
180 INSTRUCTIONS[Const.ICONST_M1] = ICONST_M1;
181 INSTRUCTIONS[Const.ICONST_0] = ICONST_0;
182 INSTRUCTIONS[Const.ICONST_1] = ICONST_1;
183 INSTRUCTIONS[Const.ICONST_2] = ICONST_2;
184 INSTRUCTIONS[Const.ICONST_3] = ICONST_3;
185 INSTRUCTIONS[Const.ICONST_4] = ICONST_4;
186 INSTRUCTIONS[Const.ICONST_5] = ICONST_5;
[all …]
DInstructionConstants.java20 import org.apache.bcel.Const;
183 INSTRUCTIONS[Const.NOP] = NOP; in Clinit()
184 INSTRUCTIONS[Const.ACONST_NULL] = ACONST_NULL; in Clinit()
185 INSTRUCTIONS[Const.ICONST_M1] = ICONST_M1; in Clinit()
186 INSTRUCTIONS[Const.ICONST_0] = ICONST_0; in Clinit()
187 INSTRUCTIONS[Const.ICONST_1] = ICONST_1; in Clinit()
188 INSTRUCTIONS[Const.ICONST_2] = ICONST_2; in Clinit()
189 INSTRUCTIONS[Const.ICONST_3] = ICONST_3; in Clinit()
190 INSTRUCTIONS[Const.ICONST_4] = ICONST_4; in Clinit()
191 INSTRUCTIONS[Const.ICONST_5] = ICONST_5; in Clinit()
[all …]
DInstructionFactory.java20 import org.apache.bcel.Const;
93 if (kind == Const.INVOKEINTERFACE) { in createInvoke()
99 case Const.INVOKESPECIAL: in createInvoke()
101 case Const.INVOKEVIRTUAL: in createInvoke()
103 case Const.INVOKESTATIC: in createInvoke()
105 case Const.INVOKEINTERFACE: in createInvoke()
107 case Const.INVOKEDYNAMIC: in createInvoke()
243 return createInvoke(append_mos[0], Const.INVOKEVIRTUAL); in createAppend()
246 case Const.T_BOOLEAN: in createAppend()
247 case Const.T_CHAR: in createAppend()
[all …]
DLocalVariableInstruction.java23 import org.apache.bcel.Const;
45 return n > Const.MAX_BYTE; in wide()
89 out.writeByte(Const.WIDE); in dump()
114 if (((_opcode >= Const.ILOAD_0) && (_opcode <= Const.ALOAD_3)) in toString()
115 || ((_opcode >= Const.ISTORE_0) && (_opcode <= Const.ASTORE_3))) { in toString()
135 if (((_opcode >= Const.ILOAD) && (_opcode <= Const.ALOAD)) in initFromFile()
136 || ((_opcode >= Const.ISTORE) && (_opcode <= Const.ASTORE))) { in initFromFile()
139 } else if (_opcode <= Const.ALOAD_3) { // compact load instruction such as ILOAD_2 in initFromFile()
140 n = (_opcode - Const.ILOAD_0) % 4; in initFromFile()
143 n = (_opcode - Const.ISTORE_0) % 4; in initFromFile()
[all …]
DConversionInstruction.java20 import org.apache.bcel.Const;
52 case Const.D2I: in getType()
53 case Const.F2I: in getType()
54 case Const.L2I: in getType()
56 case Const.D2F: in getType()
57 case Const.I2F: in getType()
58 case Const.L2F: in getType()
60 case Const.D2L: in getType()
61 case Const.F2L: in getType()
62 case Const.I2L: in getType()
[all …]
DArrayInstruction.java58 case org.apache.bcel.Const.IALOAD: in getType()
59 case org.apache.bcel.Const.IASTORE: in getType()
61 case org.apache.bcel.Const.CALOAD: in getType()
62 case org.apache.bcel.Const.CASTORE: in getType()
64 case org.apache.bcel.Const.BALOAD: in getType()
65 case org.apache.bcel.Const.BASTORE: in getType()
67 case org.apache.bcel.Const.SALOAD: in getType()
68 case org.apache.bcel.Const.SASTORE: in getType()
70 case org.apache.bcel.Const.LALOAD: in getType()
71 case org.apache.bcel.Const.LASTORE: in getType()
[all …]
DBasicType.java20 import org.apache.bcel.Const;
36 super(type, Const.getShortTypeName(type)); in BasicType()
37 if ((type < Const.T_BOOLEAN) || (type > Const.T_VOID)) { in BasicType()
46 case Const.T_VOID: in getType()
48 case Const.T_BOOLEAN: in getType()
50 case Const.T_BYTE: in getType()
52 case Const.T_SHORT: in getType()
54 case Const.T_CHAR: in getType()
56 case Const.T_INT: in getType()
58 case Const.T_LONG: in getType()
[all …]
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp130 ctx->Const.GLSLVersion = options->glsl_version; in initialize_context()
134 ctx->Const.MaxComputeWorkGroupCount[0] = 65535; in initialize_context()
135 ctx->Const.MaxComputeWorkGroupCount[1] = 65535; in initialize_context()
136 ctx->Const.MaxComputeWorkGroupCount[2] = 65535; in initialize_context()
137 ctx->Const.MaxComputeWorkGroupSize[0] = 1024; in initialize_context()
138 ctx->Const.MaxComputeWorkGroupSize[1] = 1024; in initialize_context()
139 ctx->Const.MaxComputeWorkGroupSize[2] = 64; in initialize_context()
140 ctx->Const.MaxComputeWorkGroupInvocations = 1024; in initialize_context()
141 ctx->Const.MaxComputeSharedMemorySize = 32768; in initialize_context()
142 ctx->Const.MaxComputeVariableGroupSize[0] = 512; in initialize_context()
[all …]
Dstandalone_scaffolding.cpp230 ctx->Const.GLSLVersion = 120; in initialize_context_to_defaults()
233 ctx->Const.MaxLights = 8; in initialize_context_to_defaults()
234 ctx->Const.MaxClipPlanes = 6; in initialize_context_to_defaults()
235 ctx->Const.MaxTextureUnits = 2; in initialize_context_to_defaults()
236 ctx->Const.MaxTextureCoordUnits = 2; in initialize_context_to_defaults()
237 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 16; in initialize_context_to_defaults()
239 ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents = 512; in initialize_context_to_defaults()
240 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = 32; in initialize_context_to_defaults()
241 ctx->Const.MaxVarying = 8; /* == gl_MaxVaryingFloats / 4 */ in initialize_context_to_defaults()
242 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context_to_defaults()
[all …]
Dglsl_parser_extras.cpp84 this->forced_language_version = ctx->Const.ForceGLSLVersion; in _mesa_glsl_parse_state()
85 if (ctx->Const.GLSLZeroInit == 1) { in _mesa_glsl_parse_state()
87 } else if (ctx->Const.GLSLZeroInit == 2) { in _mesa_glsl_parse_state()
106 this->Const.MaxLights = ctx->Const.MaxLights; in _mesa_glsl_parse_state()
107 this->Const.MaxClipPlanes = ctx->Const.MaxClipPlanes; in _mesa_glsl_parse_state()
108 this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits; in _mesa_glsl_parse_state()
109 this->Const.MaxTextureCoords = ctx->Const.MaxTextureCoordUnits; in _mesa_glsl_parse_state()
110 this->Const.MaxVertexAttribs = ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs; in _mesa_glsl_parse_state()
111 …this->Const.MaxVertexUniformComponents = ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponen… in _mesa_glsl_parse_state()
112 …this->Const.MaxVertexTextureImageUnits = ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUni… in _mesa_glsl_parse_state()
[all …]
/external/turbine/javatests/com/google/turbine/model/
DConstTest.java29 import com.google.turbine.model.Const.ArrayInitValue;
30 import com.google.turbine.model.Const.IntValue;
43 .addEqualityGroup(new Const.BooleanValue(true), new Const.BooleanValue(true)) in equalsTest()
44 .addEqualityGroup(new Const.BooleanValue(false), new Const.BooleanValue(false)) in equalsTest()
45 .addEqualityGroup(new Const.IntValue(1), new Const.IntValue(1)) in equalsTest()
46 .addEqualityGroup(new Const.IntValue(2), new Const.IntValue(2)) in equalsTest()
47 .addEqualityGroup(new Const.LongValue(1), new Const.LongValue(1)) in equalsTest()
48 .addEqualityGroup(new Const.LongValue(2), new Const.LongValue(2)) in equalsTest()
49 .addEqualityGroup(new Const.CharValue('x'), new Const.CharValue('x')) in equalsTest()
50 .addEqualityGroup(new Const.CharValue('y'), new Const.CharValue('y')) in equalsTest()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DStackMapEntry.java23 import org.apache.bcel.Const;
53 if (frame_type >= Const.SAME_FRAME && frame_type <= Const.SAME_FRAME_MAX) { in StackMapEntry()
54 byte_code_offset = frame_type - Const.SAME_FRAME; in StackMapEntry()
55 } else if (frame_type >= Const.SAME_LOCALS_1_STACK_ITEM_FRAME && in StackMapEntry()
56 frame_type <= Const.SAME_LOCALS_1_STACK_ITEM_FRAME_MAX) { in StackMapEntry()
57 byte_code_offset = frame_type - Const.SAME_LOCALS_1_STACK_ITEM_FRAME; in StackMapEntry()
60 } else if (frame_type == Const.SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED) { in StackMapEntry()
64 } else if (frame_type >= Const.CHOP_FRAME && frame_type <= Const.CHOP_FRAME_MAX) { in StackMapEntry()
66 } else if (frame_type == Const.SAME_FRAME_EXTENDED) { in StackMapEntry()
68 } else if (frame_type >= Const.APPEND_FRAME && frame_type <= Const.APPEND_FRAME_MAX) { in StackMapEntry()
[all …]
DAccessFlags.java20 import org.apache.bcel.Const;
93 setFlag(Const.ACC_PUBLIC, flag); in isPublic()
97 return (access_flags & Const.ACC_PUBLIC) != 0; in isPublic()
101 setFlag(Const.ACC_PRIVATE, flag); in isPrivate()
105 return (access_flags & Const.ACC_PRIVATE) != 0; in isPrivate()
109 setFlag(Const.ACC_PROTECTED, flag); in isProtected()
113 return (access_flags & Const.ACC_PROTECTED) != 0; in isProtected()
117 setFlag(Const.ACC_STATIC, flag); in isStatic()
121 return (access_flags & Const.ACC_STATIC) != 0; in isStatic()
125 setFlag(Const.ACC_FINAL, flag); in isFinal()
[all …]
DAttribute.java27 import org.apache.bcel.Const;
186 byte tag = Const.ATTR_UNKNOWN; // Unknown attribute in readAttribute()
189 … final ConstantUtf8 c = (ConstantUtf8) constant_pool.getConstant(name_index, Const.CONSTANT_Utf8); in readAttribute()
196 for (byte i = 0; i < Const.KNOWN_ATTRIBUTES; i++) in readAttribute()
198 if (name.equals(Const.getAttributeName(i))) in readAttribute()
208 case Const.ATTR_UNKNOWN: in readAttribute()
215 case Const.ATTR_CONSTANT_VALUE: in readAttribute()
217 case Const.ATTR_SOURCE_FILE: in readAttribute()
219 case Const.ATTR_CODE: in readAttribute()
221 case Const.ATTR_EXCEPTIONS: in readAttribute()
[all …]
DConstantPool.java24 import org.apache.bcel.Const;
75 if ((tag == Const.CONSTANT_Double) || (tag == Const.CONSTANT_Long)) { in ConstantPool()
106 case Const.CONSTANT_Class: in constantToString()
108 c = getConstant(i, Const.CONSTANT_Utf8); in constantToString()
111 case Const.CONSTANT_String: in constantToString()
113 c = getConstant(i, Const.CONSTANT_Utf8); in constantToString()
116 case Const.CONSTANT_Utf8: in constantToString()
119 case Const.CONSTANT_Double: in constantToString()
122 case Const.CONSTANT_Float: in constantToString()
125 case Const.CONSTANT_Long: in constantToString()
[all …]
DConstant.java24 import org.apache.bcel.Const;
100 return Const.getConstantName(tag) + "[" + tag + "]"; in toString()
138 case Const.CONSTANT_Class: in readConstant()
140 case Const.CONSTANT_Fieldref: in readConstant()
142 case Const.CONSTANT_Methodref: in readConstant()
144 case Const.CONSTANT_InterfaceMethodref: in readConstant()
146 case Const.CONSTANT_String: in readConstant()
148 case Const.CONSTANT_Integer: in readConstant()
150 case Const.CONSTANT_Float: in readConstant()
152 case Const.CONSTANT_Long: in readConstant()
[all …]
DUtility.java37 import org.apache.bcel.Const;
105 for (int i = 0; p < Const.MAX_ACC_FLAG; i++) { // Loop through known flags in accessToString()
113 if (for_class && ((p == Const.ACC_SUPER) || (p == Const.ACC_INTERFACE))) { in accessToString()
116 buf.append(Const.getAccessName(i)).append(" "); in accessToString()
129 return ((access_flags & Const.ACC_INTERFACE) != 0) ? "interface" : "class"; in classOrInterface()
197 final StringBuilder buf = new StringBuilder(Const.getOpcodeName(opcode)); in codeToString()
201 if ((opcode == Const.TABLESWITCH) || (opcode == Const.LOOKUPSWITCH)) { in codeToString()
208 + Const.getOpcodeName(opcode) + ":" + b); in codeToString()
217 case Const.TABLESWITCH: in codeToString()
236 case Const.LOOKUPSWITCH: { in codeToString()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DCodeHTML.java25 import org.apache.bcel.Const;
95 buf.append("<TT>").append(Const.getOpcodeName(opcode)).append("</TT></TD><TD>"); in codeToHTML()
99 if ((opcode == Const.TABLESWITCH) || (opcode == Const.LOOKUPSWITCH)) { in codeToHTML()
109 case Const.TABLESWITCH: in codeToHTML()
133 case Const.LOOKUPSWITCH: in codeToHTML()
158 case Const.GOTO: in codeToHTML()
159 case Const.IFEQ: in codeToHTML()
160 case Const.IFGE: in codeToHTML()
161 case Const.IFGT: in codeToHTML()
162 case Const.IFLE: in codeToHTML()
[all …]
DInstructionFinder.java29 import org.apache.bcel.Const;
117 if (pattern.equals(Const.getOpcodeName(i))) { in mapName()
346 map.put("iconst", precompile(Const.ICONST_0, Const.ICONST_5, Const.ICONST_M1));
347 …map.put("lconst", new String(new char[] { '(', makeChar(Const.LCONST_0), '|', makeChar(Const.LCONS…
348 …map.put("dconst", new String(new char[] { '(', makeChar(Const.DCONST_0), '|', makeChar(Const.DCONS…
349 …st", new String(new char[] { '(', makeChar(Const.FCONST_0), '|', makeChar(Const.FCONST_1), '|', ma…
350 map.put("lload", precompile(Const.LLOAD_0, Const.LLOAD_3, Const.LLOAD));
351 map.put("iload", precompile(Const.ILOAD_0, Const.ILOAD_3, Const.ILOAD));
352 map.put("dload", precompile(Const.DLOAD_0, Const.DLOAD_3, Const.DLOAD));
353 map.put("fload", precompile(Const.FLOAD_0, Const.FLOAD_3, Const.FLOAD));
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c202 ctx->Const.MaxTextureUnits = I915_TEX_UNITS; in i915CreateContext()
203 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
204 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
205 ctx->Const.MaxTextureCoordUnits = I915_TEX_UNITS; in i915CreateContext()
206 ctx->Const.MaxVarying = I915_TEX_UNITS; in i915CreateContext()
207 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = in i915CreateContext()
208 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxInputComponents = ctx->Const.MaxVarying * 4; in i915CreateContext()
209 ctx->Const.MaxCombinedTextureImageUnits = in i915CreateContext()
210 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits + in i915CreateContext()
211 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits; in i915CreateContext()
[all …]
/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java45 import com.google.turbine.model.Const;
46 import com.google.turbine.model.Const.ConstCastError;
47 import com.google.turbine.model.Const.Value;
89 private final Env<FieldSymbol, Const.Value> values;
119 public Const eval(Tree t) { in eval()
123 Const.Value a = (Const.Value) ((Tree.Literal) t).value(); in eval()
129 return new Const.CharValue(((com.google.turbine.model.Const.CharValue) a).value()); in eval()
131 return new Const.IntValue(((com.google.turbine.model.Const.IntValue) a).value()); in eval()
133 return new Const.LongValue(((com.google.turbine.model.Const.LongValue) a).value()); in eval()
135 return new Const.FloatValue(((com.google.turbine.model.Const.FloatValue) a).value()); in eval()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c431 ctx->Const.SpirVCapabilities.atomic_storage = devinfo->gen >= 7; in brw_initialize_spirv_supported_capabilities()
432 ctx->Const.SpirVCapabilities.draw_parameters = true; in brw_initialize_spirv_supported_capabilities()
433 ctx->Const.SpirVCapabilities.float64 = devinfo->gen >= 8; in brw_initialize_spirv_supported_capabilities()
434 ctx->Const.SpirVCapabilities.geometry_streams = devinfo->gen >= 7; in brw_initialize_spirv_supported_capabilities()
435 ctx->Const.SpirVCapabilities.image_write_without_format = true; in brw_initialize_spirv_supported_capabilities()
436 ctx->Const.SpirVCapabilities.int64 = devinfo->gen >= 8; in brw_initialize_spirv_supported_capabilities()
437 ctx->Const.SpirVCapabilities.tessellation = true; in brw_initialize_spirv_supported_capabilities()
438 ctx->Const.SpirVCapabilities.transform_feedback = devinfo->gen >= 7; in brw_initialize_spirv_supported_capabilities()
439 ctx->Const.SpirVCapabilities.variable_pointers = true; in brw_initialize_spirv_supported_capabilities()
440 ctx->Const.SpirVCapabilities.integer_functions2 = devinfo->gen >= 8; in brw_initialize_spirv_supported_capabilities()
[all …]
/external/tensorflow/tensorflow/core/data/
Dstandalone_test.cc32 name: "Const/_0"
33 op: "Const"
50 name: "Const/_1"
51 op: "Const"
68 name: "Const/_2"
69 op: "Const"
88 input: "Const/_0"
89 input: "Const/_1"
90 input: "Const/_2"
120 name: "Const/_0"
[all …]

12345678910>>...52