HomeSort by relevance Sort by last modified time
    Searched refs:constant (Results 1 - 25 of 1833) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Preprocessor/
expr_multichar.c 5 #error Bad multichar constant calculation!
  /external/swiftshader/src/OpenGL/compiler/
ConstantUnion.h 33 bool cast(TBasicType newType, const ConstantUnion &constant)
38 switch (constant.type)
40 case EbtInt: setFConst(static_cast<float>(constant.getIConst())); break;
41 case EbtUInt: setFConst(static_cast<float>(constant.getUConst())); break;
42 case EbtBool: setFConst(static_cast<float>(constant.getBConst())); break;
43 case EbtFloat: setFConst(static_cast<float>(constant.getFConst())); break;
48 switch (constant.type)
50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break;
51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break;
52 case EbtBool: setIConst(static_cast<int>(constant.getBConst())); break
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
ICONSTANTVisitor.java 9 package com.vladium.jcd.cls.constant;
20 //Object visit (CONSTANT_info constant, Object ctx);
22 Object visit (CONSTANT_Class_info constant, Object ctx);
24 Object visit (CONSTANT_InterfaceMethodref_info constant, Object ctx);
25 Object visit (CONSTANT_Methodref_info constant, Object ctx);
26 Object visit (CONSTANT_Fieldref_info constant, Object ctx);
28 Object visit (CONSTANT_Double_info constant, Object ctx);
29 Object visit (CONSTANT_Float_info constant, Object ctx);
30 Object visit (CONSTANT_Integer_info constant, Object ctx);
31 Object visit (CONSTANT_Long_info constant, Object ctx)
    [all...]
CONSTANT_literal_info.java 9 package com.vladium.jcd.cls.constant;
14 * in the constant pool.
  /external/deqp-deps/glslang/glslang/Include/
ConstantUnion.h 210 bool operator==(const TConstUnion& constant) const
212 if (constant.type != type)
217 if (constant.i16Const == i16Const)
222 if (constant.u16Const == u16Const)
227 if (constant.i8Const == i8Const)
232 if (constant.u8Const == u8Const)
237 if (constant.iConst == iConst)
242 if (constant.uConst == uConst)
247 if (constant.i64Const == i64Const)
252 if (constant.u64Const == u64Const
    [all...]
  /external/swiftshader/third_party/subzero/crosstest/
test_strengthreduce.cpp 22 #define X(constant, suffix) \
24 return Val * (uint32_t)constant; \
27 return Val * (int32_t)constant; \
  /external/guava/guava-tests/test/com/google/common/cache/
TestingWeighers.java 25 * Returns a {@link Weigher} that returns the given {@code constant} for every request.
27 static Weigher<Object, Object> constantWeigher(int constant) {
28 return new ConstantWeigher(constant);
46 private final int constant; field in class:TestingWeighers.ConstantWeigher
48 ConstantWeigher(int constant) {
49 this.constant = constant;
54 return constant;
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
CstInsn.java 21 import com.android.dexgen.rop.cst.Constant;
24 * 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
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
dynamic_stitch_op_test.py 41 indices = [constant_op.constant(0), constant_op.constant(1)]
42 data = [constant_op.constant(40), constant_op.constant(60)]
55 constant_op.constant(1)
57 data = [constant_op.constant(40), constant_op.constant(60)]
61 # not a constant tensor, so we can only infer it as a vector of unknown
73 constant_op.constant([0, 4, 7]),
74 constant_op.constant([1, 6, 2, 3, 5]
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_code.c 59 unsigned rc_constants_add(struct rc_constant_list * c, struct rc_constant * constant)
77 c->Constants[index] = *constant;
85 * Add a state vector to the constant list, while trying to avoid duplicates.
90 struct rc_constant constant; local
100 memset(&constant, 0, sizeof(constant));
101 constant.Type = RC_CONSTANT_STATE;
102 constant.Size = 4;
103 constant.u.State[0] = state0;
104 constant.u.State[1] = state1
117 struct rc_constant constant; local
143 struct rc_constant constant; local
    [all...]
  /external/proguard/src/proguard/classfile/constant/visitor/
MethodrefTraveler.java 21 package proguard.classfile.constant.visitor;
24 import proguard.classfile.constant.*;
29 * to their methodref constants, and applies a given constant visitor.
41 * Creates a new v that will delegate to the given constant visitor.
51 public void visitAnyConstant(Clazz clazz, Constant constant) {}
ConstantTagFilter.java 21 package proguard.classfile.constant.visitor;
24 import proguard.classfile.constant.Constant;
79 public void visitAnyConstant(Clazz clazz, Constant constant)
81 if (((1 << constant.getTag()) & constantTagMask) != 0)
83 constant.accept(clazz, constantVisitor);
  /external/tensorflow/tensorflow/compiler/xla/service/
hlo_parser_test.cc 81 // pred constant
87 ROOT %constant = pred[] constant(true), metadata={op_type="const" op_name="\"it\'s not a problem\n" source_file="path/to/test.cc" source_line=68}, backend_config="foo\" bar"
92 // pred array constant
98 ROOT %constant = pred[2,3]{1,0} constant({ { 0, 1, 0 }, { 1, 0, 1 } })
104 // s32 constant
110 ROOT %constant = s32[] constant(-42)
115 // f32 constant, but the value is not a decimal and there is a backen
    [all...]
  /external/mesa3d/src/compiler/glsl/
lower_packing_builtins.cpp 195 constant(T x) function in class:__anon33027::lower_packing_builtins_visitor
197 return factory.constant(x);
218 return bitfield_insert(bit_and(swizzle_x(u), constant(0xffffu)),
220 constant(16u),
221 constant(16u));
225 return bit_or(lshift(swizzle_y(u), constant(16u)),
226 bit_and(swizzle_x(u), constant(0xffffu)));
250 bit_and(swizzle_x(u), constant(0xffu)),
251 swizzle_y(u), constant(8u), constant(8u))
    [all...]
  /external/proguard/src/proguard/classfile/editor/
ConstantPoolEditor.java 24 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.
56 Constant[] constantPool = targetClass.constantPool;
61 Constant constant = constantPool[index]; local
63 if (constant != null &&
64 constant.getTag() == ClassConstants.CONSTANT_Integer)
66 IntegerConstant integerConstant = (IntegerConstant)constant;
90 Constant constant = constantPool[index]; local
120 Constant constant = constantPool[index]; local
150 Constant constant = constantPool[index]; local
182 Constant constant = constantPool[index]; local
234 Constant constant = constantPool[index]; local
269 Constant constant = constantPool[index]; local
374 Constant constant = constantPool[index]; local
481 Constant constant = constantPool[index]; local
588 Constant constant = constantPool[index]; local
633 Constant constant = constantPool[index]; local
665 Constant constant = constantPool[index]; local
696 Constant constant = constantPool[index]; local
727 Constant constant = constantPool[index]; local
    [all...]
  /external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
filtering_postprocessor_test.py 37 constant_op.constant(
38 [[40.], [20.]], dtype=float_dtype), constant_op.constant(
39 [3., 6.], dtype=float_dtype), constant_op.constant([-1, -2])
42 constant_op.constant(
43 [[80.], [180.]], dtype=float_dtype), constant_op.constant(
44 [1., 2.], dtype=float_dtype), constant_op.constant([-1, -2])
47 current_times=constant_op.constant([1, 2]),
48 current_values=constant_op.constant([[0.], [1.]], dtype=float_dtype),
53 constant_op.constant([[0.1], [10.]], dtype=float_dtype),
55 constant_op.constant([[[1.0]], [[1.0]]], dtype=float_dtype)
    [all...]
  /external/tensorflow/tensorflow/contrib/kernel_methods/python/
losses_test.py 36 logits = constant_op.constant([-1.0, 2.1], shape=(2,))
37 labels = constant_op.constant([0, 1])
44 logits = constant_op.constant([-1.0, 2.1], shape=(2, 1))
45 labels = constant_op.constant([1, 0], shape=(1, 1, 2))
52 logits = constant_op.constant([-1.0, 2.1], shape=(2, 1))
53 labels = constant_op.constant([1, 0], shape=(2,))
54 weights = constant_op.constant([1.5, 0.2], shape=(2, 1, 1))
61 logits = constant_op.constant([-1.0, 2.1], shape=(2, 1))
62 labels = constant_op.constant([1, 0], dtype=dtypes.float32)
69 logits = constant_op.constant([-1.0, 2.1], shape=(2, 1)
    [all...]
  /external/proguard/src/proguard/classfile/constant/
Constant.java 21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
32 public abstract class Constant implements VisitorAccepter
46 * Returns the constant pool info tag that specifies the entry type.
  /external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
svm_test.py 35 'example_id': constant_op.constant(['1', '2', '3']),
36 'feature1': constant_op.constant([[0.0], [1.0], [3.0]]),
37 'feature2': constant_op.constant([[1.0], [-1.2], [1.0]]),
38 }, constant_op.constant([[1], [0], [1]])
61 'example_id': constant_op.constant(['1', '2', '3']),
62 'feature1': constant_op.constant([0.5, 1.0, 1.0]),
63 'feature2': constant_op.constant([1.0, -1.0, 0.5]),
64 }, constant_op.constant([1, 0, 1])
93 constant_op.constant(['1', '2', '3']),
95 constant_op.constant([[0.5, 1.0], [1.0, -1.0], [1.0, 0.5]])
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/
IConstantCollection.java 11 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);
62 * A simple interface to express custom semantics of constant equality.
68 boolean equals (CONSTANT_info constant);
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 new constant [may not be null; input unchecked
    [all...]
  /external/tensorflow/tensorflow/python/ops/ragged/
ragged_map_flat_values_op_test.py 48 rt = ragged_factory_ops.constant([[1, 2, 3], [], [4, 5], [6]])
57 tensor = ragged_factory_ops.constant([[1, 2, 3], [], [4, 5]])
64 x = ragged_factory_ops.constant([[3, 1, 4], [], [1, 5]])
65 y = ragged_factory_ops.constant([[1, 2, 3], [], [4, 5]])
70 y = ragged_factory_ops.constant([[1, 2, 3], [], [4, 5]])
75 condition = ragged_factory_ops.constant(
77 x = ragged_factory_ops.constant([['a', 'b', 'c'], [], ['d', 'e']])
78 y = ragged_factory_ops.constant([['A', 'B', 'C'], [], ['D', 'E']])
85 x = ragged_factory_ops.constant([[1, 2, 3], [], [4, 5]])
86 y = ragged_factory_ops.constant([[10, 20, 30], [], [40, 50]]
    [all...]
  /external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
constant_resolver.py 27 ResolveConstant(named_value.constant)
28 named_value.resolved_value = named_value.constant.resolved_value
31 def ResolveConstant(constant):
32 if constant in computed:
34 if constant in in_progress:
35 raise RuntimeError('Circular dependency for constant: %s' % constant.name)
36 in_progress.add(constant)
37 if isinstance(constant.value, (mojom.EnumValue, mojom.ConstantValue)):
38 resolved_value = GetResolvedValue(constant.value
    [all...]
  /external/proguard/src/proguard/classfile/instruction/
SimpleInstruction.java 29 * 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)
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...]
  /dalvik/dx/src/com/android/dx/dex/code/
CstInsn.java 21 import com.android.dx.rop.cst.Constant;
26 * Instruction which has a single constant argument in addition
30 /** {@code non-null;} the constant argument for this instruction */
31 private final Constant constant; field in class:CstInsn
34 * {@code >= -1;} the constant pool index for {@link #constant}, or
40 * {@code >= -1;} the constant pool index for the class reference in
41 * {@link #constant} if any, or {@code -1} if not yet set
47 * initially unknown ({@code -1}) as is the constant pool index
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/
gpu_copy_test.cc 41 HloInstruction* constant = builder.AddInstruction( local
44 constant->shape(), HloOpcode::kCopy, constant));

Completed in 3115 milliseconds

1 2 3 4 5 6 7 8 91011>>