Home
last modified time | relevance | path

Searched refs:IntValue (Results 1 – 25 of 55) sorted by relevance

123

/external/turbine/javatests/com/google/turbine/model/
DConstTest.java38 .addEqualityGroup(new Const.IntValue(1), new Const.IntValue(1)) in equalsTest()
39 .addEqualityGroup(new Const.IntValue(2), new Const.IntValue(2)) in equalsTest()
56 ImmutableList.of(new Const.IntValue(1), new Const.IntValue(2))), in equalsTest()
58 ImmutableList.of(new Const.IntValue(1), new Const.IntValue(2)))) in equalsTest()
61 ImmutableList.of(new Const.IntValue(3), new Const.IntValue(4))), in equalsTest()
63 ImmutableList.of(new Const.IntValue(3), new Const.IntValue(4)))) in equalsTest()
66 new ClassSymbol("test/Anno"), ImmutableMap.of("value", new Const.IntValue(3))), in equalsTest()
68 new ClassSymbol("test/Anno"), ImmutableMap.of("value", new Const.IntValue(3)))) in equalsTest()
71 new ClassSymbol("test/Anno"), ImmutableMap.of("value", new Const.IntValue(4))), in equalsTest()
73 new ClassSymbol("test/Anno"), ImmutableMap.of("value", new Const.IntValue(4)))) in equalsTest()
/external/turbine/java/com/google/turbine/model/
DConst.java62 public IntValue asInteger() { in asInteger()
143 public static class IntValue extends Value { class in Const
147 public IntValue(int value) { in IntValue() method in Const.IntValue
166 public IntValue asInteger() { in asInteger()
212 return obj instanceof IntValue && value == ((IntValue) obj).value; in equals()
239 public IntValue asInteger() { in asInteger()
240 return new IntValue((int) value); in asInteger()
312 public IntValue asInteger() { in asInteger()
313 return new IntValue((int) value); in asInteger()
385 public IntValue asInteger() { in asInteger()
[all …]
/external/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc90 ASSERT_LE(cmaps->size(), (size_t)num_cmaps_attr->IntValue()); in TEST_P()
93 int32_t platform_id = GetAttribute(*it, "platform_id")->IntValue(); in TEST_P()
94 int32_t encoding_id = GetAttribute(*it, "encoding_id")->IntValue(); in TEST_P()
99 GetAttribute(*it, "format")->IntValue()); in TEST_P()
113 int32_t glyph_id = GetAttribute(*jt, "gid")->IntValue(); in TEST_P()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DGlobalISelEmitter.cpp497 static MatchTableRecord IntValue(int64_t IntValue) { in IntValue() function in __anon44b4b7180111::MatchTable
498 return MatchTableRecord(None, llvm::to_string(IntValue), 1, in IntValue()
1167 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes()
1168 << MatchTable::IntValue(OpIdx) << MatchTable::Comment("Type") in emitPredicateOpcodes()
1202 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1203 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) in emitPredicateOpcodes()
1205 << MatchTable::IntValue(SizeInBits) << MatchTable::LineBreak; in emitPredicateOpcodes()
1234 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1235 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) in emitPredicateOpcodes()
1236 << MatchTable::Comment("Renderer") << MatchTable::IntValue(ID) in emitPredicateOpcodes()
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DConstantPool.java21 import com.google.turbine.model.Const.IntValue;
102 int index = insert(new Entry(Kind.CLASS_INFO, new IntValue(utf8))); in classInfo()
122 int index = insert(new Entry(Kind.INTEGER, new Const.IntValue(value))); in integer()
160 int index = insert(new Entry(Kind.STRING, new IntValue(utf8))); in string()
172 int index = insert(new Entry(Kind.MODULE, new IntValue(utf8))); in moduleInfo()
184 int index = insert(new Entry(Kind.PACKAGE, new IntValue(utf8))); in packageInfo()
DClassWriter.java23 import com.google.turbine.model.Const.IntValue;
96 output.writeShort(((IntValue) value).value()); in writeConstantPool()
99 output.writeInt(((IntValue) value).value()); in writeConstantPool()
/external/guava/android/guava-tests/test/com/google/common/base/
DEquivalenceTest.java91 private static class IntValue { class in EquivalenceTest
94 IntValue(int value) { in IntValue() method in EquivalenceTest.IntValue
106 .addEquivalenceGroup(new IntValue(1), new IntValue(1)) in testOnResultOf()
107 .addEquivalenceGroup(new IntValue(2)) in testOnResultOf()
/external/guava/guava-tests/test/com/google/common/base/
DEquivalenceTest.java91 private static class IntValue { class in EquivalenceTest
94 IntValue(int value) { in IntValue() method in EquivalenceTest.IntValue
106 .addEquivalenceGroup(new IntValue(1), new IntValue(1)) in testOnResultOf()
107 .addEquivalenceGroup(new IntValue(2)) in testOnResultOf()
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_step_events.cc57 correlation_id = stat.IntValue(); in ConvertHostThreadsXLineToStepEvents()
59 group_id = stat.IntValue(); in ConvertHostThreadsXLineToStepEvents()
103 correlation_id = stat.IntValue(); in ConvertDeviceTraceXLineToStepEvents()
105 group_id = stat.IntValue(); in ConvertDeviceTraceXLineToStepEvents()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DControlExtensions.cs36 case ChannelArg.ValueOneofCase.IntValue: in ToChannelOption()
37 return new ChannelOption(channelArgument.Name, channelArgument.IntValue); in ToChannelOption()
DControl.cs829 case ValueOneofCase.IntValue: in ChannelArg()
830 IntValue = other.IntValue; in ChannelArg()
867 public int IntValue { property in Grpc.Testing.ChannelArg
868 get { return valueCase_ == ValueOneofCase.IntValue ? (int) value_ : 0; }
871 valueCase_ = ValueOneofCase.IntValue;
880 IntValue = 3, enumerator
909 if (IntValue != other.IntValue) return false; in Equals()
919 if (valueCase_ == ValueOneofCase.IntValue) hash ^= IntValue.GetHashCode(); in GetHashCode()
942 if (valueCase_ == ValueOneofCase.IntValue) { in WriteTo()
944 output.WriteInt32(IntValue); in WriteTo()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp81 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
183 unsigned IntValue, in emitIntTextAttribute() argument
188 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute()
256 unsigned IntValue; member
298 Item->IntValue = Value; in setAttributeItem()
333 void setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
340 Item->IntValue = IntValue; in setAttributeItems()
349 IntValue, in setAttributeItems()
377 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
679 unsigned IntValue, in emitIntTextAttribute() argument
[all …]
DARMTargetStreamer.cpp66 unsigned IntValue, in emitIntTextAttribute() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp94 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
207 unsigned IntValue, in emitIntTextAttribute() argument
212 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute()
285 unsigned IntValue; member
327 Item->IntValue = Value; in setAttributeItem()
362 void setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
369 Item->IntValue = IntValue; in setAttributeItems()
378 IntValue, in setAttributeItems()
406 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
778 unsigned IntValue, in emitIntTextAttribute() argument
[all …]
/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java125 return new Const.IntValue(((com.google.turbine.model.Const.IntValue) a).value()); in eval()
400 return new Const.IntValue(~expr.asInteger().value()); in bitwiseComp()
412 return new Const.IntValue(+expr.asInteger().value()); in unaryPlus()
428 return new Const.IntValue(-expr.asInteger().value()); in unaryMinus()
473 return new Const.IntValue(a.asInteger().value() + b.asInteger().value()); in add()
491 return new Const.IntValue(a.asInteger().value() - b.asInteger().value()); in subtract()
509 return new Const.IntValue(a.asInteger().value() * b.asInteger().value()); in mult()
527 return new Const.IntValue(a.asInteger().value() / b.asInteger().value()); in divide()
545 return new Const.IntValue(a.asInteger().value() % b.asInteger().value()); in mod()
566 return new Const.IntValue( in shiftLeft()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DChannelOptionsTest.cs37 Assert.AreEqual(1, option.IntValue); in IntOption()
49 Assert.Throws(typeof(InvalidOperationException), () => { var s = option.IntValue; }); in StringOption()
/external/grpc-grpc/src/csharp/Grpc.Core/
DChannelOptions.cs102 public int IntValue property in Grpc.Core.ChannelOption
182 nativeArgs.SetInteger(i, option.Name, option.IntValue); in CreateChannelArgs()
/external/llvm/lib/MC/
DMCObjectStreamer.cpp174 int64_t IntValue; in EmitULEB128Value() local
175 if (Value->evaluateAsAbsolute(IntValue, getAssembler())) { in EmitULEB128Value()
176 EmitULEB128IntValue(IntValue); in EmitULEB128Value()
183 int64_t IntValue; in EmitSLEB128Value() local
184 if (Value->evaluateAsAbsolute(IntValue, getAssembler())) { in EmitSLEB128Value()
185 EmitSLEB128IntValue(IntValue); in EmitSLEB128Value()
DMCAsmStreamer.cpp797 int64_t IntValue; in EmitValueImpl() local
798 if (!Value->evaluateAsAbsolute(IntValue)) in EmitValueImpl()
815 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in EmitValueImpl()
837 int64_t IntValue; in EmitULEB128Value() local
838 if (Value->evaluateAsAbsolute(IntValue)) { in EmitULEB128Value()
839 EmitULEB128IntValue(IntValue); in EmitULEB128Value()
848 int64_t IntValue; in EmitSLEB128Value() local
849 if (Value->evaluateAsAbsolute(IntValue)) { in EmitSLEB128Value()
850 EmitSLEB128IntValue(IntValue); in EmitSLEB128Value()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCObjectStreamer.cpp239 int64_t IntValue; in EmitULEB128Value() local
240 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in EmitULEB128Value()
241 EmitULEB128IntValue(IntValue); in EmitULEB128Value()
248 int64_t IntValue; in EmitSLEB128Value() local
249 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in EmitSLEB128Value()
250 EmitSLEB128IntValue(IntValue); in EmitSLEB128Value()
DMCAsmStreamer.cpp915 int64_t IntValue; in EmitValueImpl() local
916 if (!Value->evaluateAsAbsolute(IntValue)) in EmitValueImpl()
933 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in EmitValueImpl()
959 int64_t IntValue; in EmitULEB128Value() local
960 if (Value->evaluateAsAbsolute(IntValue)) { in EmitULEB128Value()
961 EmitULEB128IntValue(IntValue); in EmitULEB128Value()
970 int64_t IntValue; in EmitSLEB128Value() local
971 if (Value->evaluateAsAbsolute(IntValue)) { in EmitSLEB128Value()
972 EmitSLEB128IntValue(IntValue); in EmitSLEB128Value()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DBenchmarkResult.cpp48 int64_t IntValue = 0; in deserialize() local
50 if (sscanf(String.data(), kIntegerFormat, &IntValue) == 1) in deserialize()
51 return llvm::MCOperand::createImm(IntValue); in deserialize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmParser.cpp2984 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() local
2985 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue()
2987 getStreamer().EmitIntValue(IntValue, Size); in parseDirectiveValue()
3003 APInt IntValue = Asm.getTok().getAPIntVal(); in parseHexOcta() local
3005 if (!IntValue.isIntN(128)) in parseHexOcta()
3007 if (!IntValue.isIntN(64)) { in parseHexOcta()
3008 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
3009 lo = IntValue.getLoBits(64).getZExtValue(); in parseHexOcta()
3012 lo = IntValue.getZExtValue(); in parseHexOcta()
4579 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() local
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py190 class IntValue(SimpleValue): class
194 class Long(IntValue):
201 class ULong(IntValue):
213 class Short(IntValue):
220 class UShort(IntValue):
227 class Int8(IntValue):
234 class UInt8(IntValue):
241 class UInt24(IntValue):
248 class ComputedInt(IntValue):
562 class ValueFormat(IntValue):
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp2669 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() local
2670 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue()
2672 getStreamer().EmitIntValue(IntValue, Size); in parseDirectiveValue()
2704 APInt IntValue = getTok().getAPIntVal(); in parseDirectiveOctaValue() local
2708 if (IntValue.isIntN(64)) { in parseDirectiveOctaValue()
2710 lo = IntValue.getZExtValue(); in parseDirectiveOctaValue()
2711 } else if (IntValue.isIntN(128)) { in parseDirectiveOctaValue()
2713 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseDirectiveOctaValue()
2714 lo = IntValue.getLoBits(64).getZExtValue(); in parseDirectiveOctaValue()
5008 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local
[all …]

123