Home
last modified time | relevance | path

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

12345678910>>...37

/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 …]
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 …]
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 …]
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 …]
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 …]
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp142 ctx->Const.GLSLVersion = options->glsl_version; in initialize_context()
144 ctx->Const.MaxComputeWorkGroupCount[0] = 65535; in initialize_context()
145 ctx->Const.MaxComputeWorkGroupCount[1] = 65535; in initialize_context()
146 ctx->Const.MaxComputeWorkGroupCount[2] = 65535; in initialize_context()
147 ctx->Const.MaxComputeWorkGroupSize[0] = 1024; in initialize_context()
148 ctx->Const.MaxComputeWorkGroupSize[1] = 1024; in initialize_context()
149 ctx->Const.MaxComputeWorkGroupSize[2] = 64; in initialize_context()
150 ctx->Const.MaxComputeWorkGroupInvocations = 1024; in initialize_context()
151 ctx->Const.MaxComputeSharedMemorySize = 32768; in initialize_context()
152 ctx->Const.MaxComputeVariableGroupSize[0] = 512; in initialize_context()
[all …]
Dglsl_parser_extras.cpp85 this->forced_language_version = ctx->Const.ForceGLSLVersion; in _mesa_glsl_parse_state()
86 this->zero_init = ctx->Const.GLSLZeroInit; in _mesa_glsl_parse_state()
101 this->Const.MaxLights = ctx->Const.MaxLights; in _mesa_glsl_parse_state()
102 this->Const.MaxClipPlanes = ctx->Const.MaxClipPlanes; in _mesa_glsl_parse_state()
103 this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits; in _mesa_glsl_parse_state()
104 this->Const.MaxTextureCoords = ctx->Const.MaxTextureCoordUnits; in _mesa_glsl_parse_state()
105 this->Const.MaxVertexAttribs = ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs; in _mesa_glsl_parse_state()
106 …this->Const.MaxVertexUniformComponents = ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponen… in _mesa_glsl_parse_state()
107 …this->Const.MaxVertexTextureImageUnits = ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUni… in _mesa_glsl_parse_state()
108 this->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxCombinedTextureImageUnits; in _mesa_glsl_parse_state()
[all …]
Dstandalone_scaffolding.cpp210 ctx->Const.GLSLVersion = 120; in initialize_context_to_defaults()
213 ctx->Const.MaxLights = 8; in initialize_context_to_defaults()
214 ctx->Const.MaxClipPlanes = 6; in initialize_context_to_defaults()
215 ctx->Const.MaxTextureUnits = 2; in initialize_context_to_defaults()
216 ctx->Const.MaxTextureCoordUnits = 2; in initialize_context_to_defaults()
217 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 16; in initialize_context_to_defaults()
219 ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents = 512; in initialize_context_to_defaults()
220 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = 32; in initialize_context_to_defaults()
221 ctx->Const.MaxVarying = 8; /* == gl_MaxVaryingFloats / 4 */ in initialize_context_to_defaults()
222 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = 0; in initialize_context_to_defaults()
[all …]
Dbuiltin_variables.cpp620 add_const("gl_MaxVertexAttribs", state->Const.MaxVertexAttribs); in generate_constants()
622 state->Const.MaxVertexTextureImageUnits); in generate_constants()
624 state->Const.MaxCombinedTextureImageUnits); in generate_constants()
625 add_const("gl_MaxTextureImageUnits", state->Const.MaxTextureImageUnits); in generate_constants()
626 add_const("gl_MaxDrawBuffers", state->Const.MaxDrawBuffers); in generate_constants()
634 state->Const.MaxFragmentUniformComponents); in generate_constants()
636 state->Const.MaxVertexUniformComponents); in generate_constants()
641 state->Const.MaxVertexUniformComponents / 4); in generate_constants()
643 state->Const.MaxFragmentUniformComponents / 4); in generate_constants()
650 state->ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents / 4); in generate_constants()
[all …]
/external/turbine/javatests/com/google/turbine/model/
DConstTest.java36 .addEqualityGroup(new Const.BooleanValue(true), new Const.BooleanValue(true)) in equalsTest()
37 .addEqualityGroup(new Const.BooleanValue(false), new Const.BooleanValue(false)) in equalsTest()
38 .addEqualityGroup(new Const.IntValue(1), new Const.IntValue(1)) in equalsTest()
39 .addEqualityGroup(new Const.IntValue(2), new Const.IntValue(2)) in equalsTest()
40 .addEqualityGroup(new Const.LongValue(1), new Const.LongValue(1)) in equalsTest()
41 .addEqualityGroup(new Const.LongValue(2), new Const.LongValue(2)) in equalsTest()
42 .addEqualityGroup(new Const.CharValue('x'), new Const.CharValue('x')) in equalsTest()
43 .addEqualityGroup(new Const.CharValue('y'), new Const.CharValue('y')) in equalsTest()
44 .addEqualityGroup(new Const.FloatValue(1), new Const.FloatValue(1)) in equalsTest()
45 .addEqualityGroup(new Const.FloatValue(2), new Const.FloatValue(2)) 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 …]
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 …]
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 …]
/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/turbine/java/com/google/turbine/binder/
DConstEvaluator.java43 import com.google.turbine.model.Const;
44 import com.google.turbine.model.Const.ConstCastError;
45 import com.google.turbine.model.Const.Value;
87 private final Env<FieldSymbol, Const.Value> values;
100 Env<FieldSymbol, Const.Value> values, in ConstEvaluator()
113 public Const eval(Tree t) { in eval()
117 Const.Value a = (Const.Value) ((Tree.Literal) t).value(); in eval()
123 return new Const.CharValue(((com.google.turbine.model.Const.CharValue) a).value()); in eval()
125 return new Const.IntValue(((com.google.turbine.model.Const.IntValue) a).value()); in eval()
127 return new Const.LongValue(((com.google.turbine.model.Const.LongValue) a).value()); in eval()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c203 ctx->Const.MaxTextureUnits = I915_TEX_UNITS; in i915CreateContext()
204 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
205 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
206 ctx->Const.MaxTextureCoordUnits = I915_TEX_UNITS; in i915CreateContext()
207 ctx->Const.MaxVarying = I915_TEX_UNITS; in i915CreateContext()
208 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = in i915CreateContext()
209 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxInputComponents = ctx->Const.MaxVarying * 4; in i915CreateContext()
210 ctx->Const.MaxCombinedTextureImageUnits = in i915CreateContext()
211 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits + in i915CreateContext()
212 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits; in i915CreateContext()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c357 ctx->Const.MaxComputeWorkGroupSize[0] >= 1024) || in brw_initialize_context_constants()
359 ctx->Const.MaxComputeWorkGroupSize[0] >= 128), in brw_initialize_context_constants()
371 ctx->Const.MaxDualSourceDrawBuffers = 1; in brw_initialize_context_constants()
372 ctx->Const.MaxDrawBuffers = BRW_MAX_DRAW_BUFFERS; in brw_initialize_context_constants()
373 ctx->Const.MaxCombinedShaderOutputResources = in brw_initialize_context_constants()
391 ctx->Const.QueryCounterBits.Timestamp = 36; in brw_initialize_context_constants()
393 ctx->Const.MaxTextureCoordUnits = 8; /* Mesa limit */ in brw_initialize_context_constants()
394 ctx->Const.MaxImageUnits = MAX_IMAGE_UNITS; in brw_initialize_context_constants()
396 ctx->Const.MaxRenderbufferSize = 16384; in brw_initialize_context_constants()
397 ctx->Const.MaxTextureLevels = MIN2(15 /* 16384 */, MAX_TEXTURE_LEVELS); in brw_initialize_context_constants()
[all …]
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h25 { GL_ALIASED_LINE_WIDTH_RANGE, CONTEXT_FLOAT2(Const.MinLineWidth), NO_EXTRA },
26 { GL_MAX_ELEMENTS_VERTICES, CONTEXT_INT(Const.MaxArrayLockSize), NO_EXTRA },
27 { GL_MAX_ELEMENTS_INDICES, CONTEXT_INT(Const.MaxArrayLockSize), NO_EXTRA },
28 …{ GL_MAX_TEXTURE_SIZE, LOC_CUSTOM, TYPE_INT, offsetof(struct gl_context, Const.MaxTextureLevels), …
29 { GL_MAX_VIEWPORT_DIMS, CONTEXT_INT2(Const.MaxViewportWidth), NO_EXTRA },
31 { GL_ALIASED_POINT_SIZE_RANGE, CONTEXT_FLOAT2(Const.MinPointSize), NO_EXTRA },
48 { GL_SUBPIXEL_BITS, CONTEXT_INT(Const.SubPixelBits), NO_EXTRA },
54 …{ GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB, LOC_CUSTOM, TYPE_INT, offsetof(struct gl_context, Const.MaxCub…
83 { GL_MAX_RENDERBUFFER_SIZE_EXT, CONTEXT_INT(Const.MaxRenderbufferSize), NO_EXTRA },
84 { GL_MAX_CLIP_PLANES, CONTEXT_INT(Const.MaxClipPlanes), NO_EXTRA },
[all …]
/external/tensorflow/tensorflow/cc/framework/
Dgradients_test.cc32 using ops::Const;
91 auto x = Const(scope, {{1.0, 2.0}, {3.0, 4.0}}); in TEST_F()
92 auto y = Const(scope, {{1.0, 0.0}, {0.0, 1.0}}); in TEST_F()
99 auto dz = Const(scope, {{1.0, 1.0}, {1.0, 1.0}}); in TEST_F()
104 auto dz = Const(scope, {{1.0, 1.0}, {1.0, 1.0}}); in TEST_F()
117 auto x = Const(scope, {{1.0, 2.0}, {3.0, 4.0}}); in TEST_F()
118 auto y = Const(scope, {{1.0, 0.0}, {0.0, 1.0}}); in TEST_F()
143 auto u = Const(scope, {{1.0, 2.0}, {3.0, 4.0}}); in TEST_F()
144 auto v = Const(scope, {{1.0, 0.0}, {0.0, 1.0}}); in TEST_F()
147 auto y = Const(scope, {{1.0, 0.0}, {0.0, 1.0}}); in TEST_F()
[all …]

12345678910>>...37