/external/clang/test/Preprocessor/ |
H A D | expr_multichar.c | 5 #error Bad multichar constant calculation!
|
/external/swiftshader/src/OpenGL/compiler/ |
H A D | ConstantUnion.h | 33 bool cast(TBasicType newType, const ConstantUnion &constant) argument 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 [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
H A D | 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); 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 D | CONSTANT_literal_info.java | 9 package com.vladium.jcd.cls.constant; 14 * in the constant pool.
|
/external/swiftshader/third_party/subzero/crosstest/ |
H A D | test_strengthreduce.cpp | 22 #define X(constant, suffix) \ 24 return Val * (uint32_t)constant; \ 27 return Val * (int32_t)constant; \
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
H A D | dynamic_stitch_op_test.py | 40 indices = [constant_op.constant(0), constant_op.constant(1)] 41 data = [constant_op.constant(40), constant_op.constant(60)] 53 constant_op.constant(1) 55 data = [constant_op.constant(40), constant_op.constant(60)] 59 # not a constant tensor, so we can only infer it as a vector of unknown 66 constant_op.constant([0, 4, 7]), 67 constant_op.constant([ [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
H A D | external_constant_pool_test.cc | 37 const uint8* constant = constant_pool.Find("name-0"); local 38 ASSERT_NE(constant, nullptr); 40 EXPECT_EQ(GetFromBuffer<int32>(constant, 0), 1); 41 EXPECT_EQ(GetFromBuffer<int32>(constant, 1), 2); 42 EXPECT_EQ(GetFromBuffer<int32>(constant, 2), 3); 43 EXPECT_EQ(GetFromBuffer<int32>(constant, 3), 4); 54 const uint8* constant = constant_pool.Find("name-0"); local 55 ASSERT_NE(constant, nullptr); 57 EXPECT_EQ(GetFromBuffer<int32>(constant, 0), 1); 58 EXPECT_EQ(GetFromBuffer<int32>(constant, 74 const uint8* constant = constant_pool.Find(name); local [all...] |
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/ |
H A D | 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. [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | TestingWeighers.java | 25 * 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/tensorflow/tensorflow/contrib/kernel_methods/python/ |
H A D | 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([ [all...] |
/external/tensorflow/tensorflow/compiler/xla/tools/parser/ |
H A D | hlo_parser_test.cc | 61 // pred constant 67 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} 72 // s32 constant 78 ROOT %constant = s32[] constant(-42) 83 // f32 constant, but the value is not a decimal 89 ROOT %constant = f32[] constant(42) 94 // f32 constant, ran [all...] |
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
H A D | 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 [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_code.c | 59 unsigned rc_constants_add(struct rc_constant_list * c, struct rc_constant * constant) argument 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 117 struct rc_constant constant; local 143 struct rc_constant constant; local [all...] |
/external/proguard/src/proguard/classfile/constant/visitor/ |
H A D | 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) {} argument
|
H A D | ConstantTagFilter.java | 21 package proguard.classfile.constant.visitor; 24 import proguard.classfile.constant.Constant; 79 public void visitAnyConstant(Clazz clazz, Constant constant) argument 81 if (((1 << constant.getTag()) & constantTagMask) != 0) 83 constant.accept(clazz, constantVisitor);
|
/external/tensorflow/tensorflow/contrib/py2tf/utils/ |
H A D | context_managers_test.py | 33 constant_op.constant(1)): 36 [constant_op.constant(1), 37 constant_op.constant(2)]):
|
/external/mesa3d/src/compiler/glsl/ |
H A D | lower_packing_builtins.cpp | 195 constant(T x) function in class:__anon15868::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( [all...] |
/external/proguard/src/proguard/classfile/editor/ |
H A D | 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. 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 748 addConstant(Constant constant) argument [all...] |
/external/proguard/src/proguard/classfile/constant/ |
H A D | Constant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 46 * Returns the constant pool info tag that specifies the entry type.
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
H A D | 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. [all...] |
/external/tensorflow/tensorflow/python/debug/lib/ |
H A D | common_test.py | 31 a = constant_op.constant(10.0, name="a") 32 b = constant_op.constant(20.0, name="b") 39 a = constant_op.constant(10.0, name="a") 40 b = constant_op.constant(20.0, name="b") 47 a = constant_op.constant(10.0, name="a") 48 b = constant_op.constant(20.0, name="b") 49 c = constant_op.constant(30.0, name="c") 50 d = constant_op.constant(30.0, name="d")
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | 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); 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...] |
/external/syslinux/diag/geodsp/ |
H A D | mk-lba-img.pl | 22 use constant SECTOR_SIZE => 512; 23 use constant LBA_SIZE => 8; 24 use constant LONG_SIZE => 4; 25 use constant NUM_SECTORS => (256*63+1); 26 # use constant NUM_SECTORS => 5; 27 use constant DEBUG => 1;
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | constants_test.cc | 49 std::vector<float> constant = {2.0}; local 52 builder.ConstantR1<float>(constant); 54 ComputeAndCompareR1<float>(&builder, constant, {}, error_spec_); 58 std::vector<int32> constant = {2}; local 61 builder.ConstantR1<int32>(constant); 63 ComputeAndCompareR1<int32>(&builder, constant, {}); 67 std::vector<uint32> constant = {2}; local 70 builder.ConstantR1<uint32>(constant); 72 ComputeAndCompareR1<uint32>(&builder, constant, {}); 76 std::vector<float> constant local 85 std::vector<float> constant = {0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, local 102 std::unique_ptr<Array2D<float>> constant = local 113 auto constant = builder.ConstantLiteral( local 129 auto constant = local [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
H A D | 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) 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...] |