Home
last modified time | relevance | path

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

12

/external/turbine/java/com/google/turbine/model/
DConst.java48 public IntValue asInteger() { in asInteger()
119 public static class IntValue extends Value { class in Const
123 public IntValue(int value) { in IntValue() method in Const.IntValue
142 public IntValue asInteger() { in asInteger()
205 public IntValue asInteger() { in asInteger()
206 return new IntValue((int) value); in asInteger()
268 public IntValue asInteger() { in asInteger()
269 return new IntValue((int) value); in asInteger()
331 public IntValue asInteger() { in asInteger()
332 return new IntValue((int) value); 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/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEquivalenceTest.java85 private static class IntValue { class in EquivalenceTest
88 IntValue(int value) { in IntValue() method in EquivalenceTest.IntValue
99 .addEquivalenceGroup(new IntValue(1), new IntValue(1)) in testOnResultOf()
100 .addEquivalenceGroup(new IntValue(2)) in testOnResultOf()
/external/guava/guava-tests/test/com/google/common/base/
DEquivalenceTest.java95 private static class IntValue { class in EquivalenceTest
98 IntValue(int value) { in IntValue() method in EquivalenceTest.IntValue
109 .addEquivalenceGroup(new IntValue(1), new IntValue(1)) in testOnResultOf()
110 .addEquivalenceGroup(new IntValue(2)) in testOnResultOf()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCObjectStreamer.cpp124 int64_t IntValue; in EmitULEB128Value() local
125 if (Value->EvaluateAsAbsolute(IntValue, getAssembler())) { in EmitULEB128Value()
126 EmitULEB128IntValue(IntValue); in EmitULEB128Value()
134 int64_t IntValue; in EmitSLEB128Value() local
135 if (Value->EvaluateAsAbsolute(IntValue, getAssembler())) { in EmitSLEB128Value()
136 EmitSLEB128IntValue(IntValue); in EmitSLEB128Value()
DMCAsmStreamer.cpp615 int64_t IntValue; in EmitValueImpl() local
616 if (!Value->EvaluateAsAbsolute(IntValue)) in EmitValueImpl()
619 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()
620 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
622 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
623 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()
634 int64_t IntValue; in EmitULEB128Value() local
635 if (Value->EvaluateAsAbsolute(IntValue)) { in EmitULEB128Value()
636 EmitULEB128IntValue(IntValue); in EmitULEB128Value()
645 int64_t IntValue; in EmitSLEB128Value() local
[all …]
DELFObjectWriter.cpp182 int64_t IntValue; in SymbolValue() local
183 if (Value->EvaluateAsAbsolute(IntValue, Layout)) in SymbolValue()
184 return (uint64_t)IntValue; in SymbolValue()
/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/turbine/java/com/google/turbine/bytecode/
DConstantPool.java21 import com.google.turbine.model.Const.IntValue;
98 int index = insert(new Entry(Kind.CLASS_INFO, new IntValue(utf8))); in classInfo()
118 int index = insert(new Entry(Kind.INTEGER, new Const.IntValue(value))); in integer()
156 int index = insert(new Entry(Kind.STRING, new IntValue(utf8))); in string()
DClassWriter.java23 import com.google.turbine.model.Const.IntValue;
92 output.writeShort(((IntValue) value).value()); in writeConstantPool()
95 output.writeInt(((IntValue) value).value()); in writeConstantPool()
DConstantPoolReader.java137 return new Const.IntValue(reader.readInt()); in constant()
/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java115 return new Const.IntValue(((com.google.turbine.model.Const.IntValue) a).value()); in eval()
374 return new Const.IntValue(~expr.asInteger().value()); in bitwiseComp()
386 return new Const.IntValue(+expr.asInteger().value()); in unaryPlus()
402 return new Const.IntValue(-expr.asInteger().value()); in unaryMinus()
446 return new Const.IntValue(a.asInteger().value() + b.asInteger().value()); in add()
464 return new Const.IntValue(a.asInteger().value() - b.asInteger().value()); in subtract()
482 return new Const.IntValue(a.asInteger().value() * b.asInteger().value()); in mult()
500 return new Const.IntValue(a.asInteger().value() / b.asInteger().value()); in divide()
518 return new Const.IntValue(a.asInteger().value() % b.asInteger().value()); in mod()
539 return new Const.IntValue( in shiftLeft()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXMCAsmStreamer.cpp371 int64_t IntValue; in EmitValueImpl() local
372 if (!Value->EvaluateAsAbsolute(IntValue)) in EmitValueImpl()
375 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()
376 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
378 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
379 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py91 class IntValue(SimpleValue): class
95 class Long(IntValue):
127 class Short(IntValue):
133 class UShort(IntValue):
139 class UInt24(IntValue):
286 class ValueFormat(IntValue):
/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/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 …]
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp920 uint64_t IntValue = MCE->getValue(); in ParseDirectiveFalign() local
921 if (!isUIntN(Size, IntValue) && !isIntN(Size, IntValue)) in ParseDirectiveFalign()
923 MaxBytesToFill = IntValue; in ParseDirectiveFalign()
949 uint64_t IntValue = MCE->getValue(); in ParseDirectiveValue() local
950 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in ParseDirectiveValue()
952 getStreamer().EmitIntValue(IntValue, Size); in ParseDirectiveValue()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java178 assertThat(((Const.IntValue) y.value()).value()).isEqualTo(42); in fields()
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmParser.cpp1732 uint64_t IntValue = MCE->getValue(); in ParseDirectiveValue() local
1733 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in ParseDirectiveValue()
1735 getStreamer().EmitIntValue(IntValue, Size, DEFAULT_ADDRSPACE); in ParseDirectiveValue()
/external/clang/lib/Analysis/
DCFG.cpp660 llvm::APInt IntValue = IntLiteral->getValue(); in checkIncorrectRelationalOperator() local
661 if ((IntValue == 1) || (IntValue == 0)) in checkIncorrectRelationalOperator()
665 !IntValue.isNegative(); in checkIncorrectRelationalOperator()
722 llvm::APInt IntValue = IntLiteral->getValue(); in checkIncorrectEqualityOperator() local
723 if ((IntValue == 1) || (IntValue == 0)) { in checkIncorrectEqualityOperator()
/external/llvm/include/llvm/MC/
DMCStreamer.h119 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp1774 uint64_t IntValue = MCE->getValue(); in ParseDirectiveWord() local
1775 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in ParseDirectiveWord()
1777 getStreamer().EmitIntValue(IntValue, Size); in ParseDirectiveWord()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1357 SDValue IntValue; member
1375 State.IntValue = DAG.getNode(ISD::BITCAST, DL, IVT, Value); in getSignAsIntValue()
1410 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, in getSignAsIntValue()
1442 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN()
1444 SDValue SignBit = DAG.getNode(ISD::AND, DL, IntVT, SignAsInt.IntValue, in ExpandFCOPYSIGN()
1461 EVT MagVT = MagAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN()
1463 SDValue ClearedSign = DAG.getNode(ISD::AND, DL, MagVT, MagAsInt.IntValue, in ExpandFCOPYSIGN()
1507 EVT IntVT = ValueAsInt.IntValue.getValueType(); in ExpandFABS()
1509 SDValue ClearedSign = DAG.getNode(ISD::AND, DL, IntVT, ValueAsInt.IntValue, in ExpandFABS()

12