Home
last modified time | relevance | path

Searched refs:asInteger (Results 1 – 9 of 9) sorted by relevance

/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java337 return value.asInteger(); in coerce()
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()
567 a.asInteger().value() << (b.asInteger().value() & INT_SHIFT_MASK)); in shiftLeft()
[all …]
/external/turbine/java/com/google/turbine/model/
DConst.java62 public IntValue asInteger() { in asInteger() method in Const.Value
166 public IntValue asInteger() { in asInteger() method in Const.IntValue
239 public IntValue asInteger() { in asInteger() method in Const.LongValue
312 public IntValue asInteger() { in asInteger() method in Const.CharValue
385 public IntValue asInteger() { in asInteger() method in Const.FloatValue
458 public IntValue asInteger() { in asInteger() method in Const.DoubleValue
569 public IntValue asInteger() { in asInteger() method in Const.ShortValue
638 public IntValue asInteger() { in asInteger() method in Const.ByteValue
/external/turbine/java/com/google/turbine/bytecode/
DAnnotationWriter.java84 writeConst('B', pool.integer(value.asInteger().value())); in writeConstElementValue()
87 writeConst('C', pool.integer(value.asInteger().value())); in writeConstElementValue()
90 writeConst('S', pool.integer(value.asInteger().value())); in writeConstElementValue()
99 writeConst('I', pool.integer(value.asInteger().value())); in writeConstElementValue()
DAttributeWriter.java131 output.writeShort(pool.integer(value.asInteger().value())); in writeConstantValue()
/external/python/pyasn1/docs/source/pyasn1/type/univ/
Dbitstring.rst10 …eTypeWith, isSuperTypeOf, tagSet, effectiveTagSet, tagMap, subtypeSpec, asInteger, asNumbers, asOc…
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java174 return new Const.IntValue(value.asInteger().value()); in bindConstValue()
183 return new Const.BooleanValue(value.asInteger().value() != 0); in bindConstValue()
/external/python/pyasn1/tests/type/
Dtest_univ.py448 assert self.b.clone('11000000011001').asInteger() == 12313
449 assert self.b.clone('1100110011011111').asInteger() == 52447
456 assert BitString('11000000011001').asInteger() == 12313
/external/python/pyasn1/
DCHANGES.rst237 * .asNumbers(), .asOctets() and asInteger() representation added
/external/python/pyasn1/pyasn1/type/
Duniv.py569 def asInteger(self): member in BitString