Home
last modified time | relevance | path

Searched refs:LongConstant (Results 1 – 25 of 121) sorted by relevance

12345

/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/impl/
H A DLongConstant.java13 public class LongConstant extends Constant { class
15 private static final LongConstant ZERO = new LongConstant(0L);
16 private static final LongConstant MIN_VALUE = new LongConstant(Long.MIN_VALUE);
26 return new LongConstant(value); in fromValue()
29 private LongConstant(long value) { in LongConstant() method in LongConstant
89 LongConstant other = (LongConstant) obj; in equals()
H A DConstant.java66 case (T_long<<4)+T_byte : return LongConstant.fromValue(byteValue()); in castTo()
68 case (T_long<<4)+T_short : return LongConstant.fromValue(shortValue()); in castTo()
72 case (T_long<<4)+T_double : return LongConstant.fromValue((long)doubleValue()); in castTo()
73 case (T_long<<4)+T_float : return LongConstant.fromValue((long)floatValue()); in castTo()
75 case (T_long<<4)+T_char : return LongConstant.fromValue(charValue()); in castTo()
76 case (T_long<<4)+T_int : return LongConstant.fromValue(intValue()); in castTo()
235 case T_long: return LongConstant.fromValue(~ cst.longValue()); in computeConstantOperation()
301 case T_long: return LongConstant.fromValue(left.intValue() & right.longValue()); in computeConstantOperationAND()
309 case T_int: return LongConstant.fromValue(left.longValue() & right.intValue()); in computeConstantOperationAND()
386 case T_long: return LongConstant.fromValue(left.intValue() / right.longValue()); in computeConstantOperationDIVIDE()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/
H A DLongConstant.java16 public class LongConstant extends Constant { class
18 private static final LongConstant ZERO = new LongConstant(0L);
19 private static final LongConstant MIN_VALUE = new LongConstant(Long.MIN_VALUE);
29 return new LongConstant(value); in fromValue()
32 private LongConstant(long value) { in LongConstant() method in LongConstant
104 LongConstant other = (LongConstant) obj; in equals()
H A DConstant.java70 case (T_long<<4)+T_byte : return LongConstant.fromValue(byteValue()); in castTo()
72 case (T_long<<4)+T_short : return LongConstant.fromValue(shortValue()); in castTo()
76 case (T_long<<4)+T_double : return LongConstant.fromValue((long)doubleValue()); in castTo()
77 case (T_long<<4)+T_float : return LongConstant.fromValue((long)floatValue()); in castTo()
79 case (T_long<<4)+T_char : return LongConstant.fromValue(charValue()); in castTo()
80 case (T_long<<4)+T_int : return LongConstant.fromValue(intValue()); in castTo()
239 case T_long: return LongConstant.fromValue(~ cst.longValue()); in computeConstantOperation()
305 case T_long: return LongConstant.fromValue(left.intValue() & right.longValue()); in computeConstantOperationAND()
313 case T_int: return LongConstant.fromValue(left.longValue() & right.intValue()); in computeConstantOperationAND()
390 case T_long: return LongConstant.fromValue(left.intValue() / right.longValue()); in computeConstantOperationDIVIDE()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/mcs/
H A Dcfold.cs215 if (left is LongConstant){ in BinaryFold()
216 long res = ((LongConstant)left).Value | ((LongConstant)right).Value; in BinaryFold()
263 if (left is LongConstant){ in BinaryFold()
264 long res = ((LongConstant)left).Value & ((LongConstant)right).Value; in BinaryFold()
288 if (left is LongConstant){ in BinaryFold()
289 long res = ((LongConstant)left).Value ^ ((LongConstant)right).Value; in BinaryFold()
996 else if (left is LongConstant) in BinaryFold()
1040 else if (left is LongConstant) in BinaryFold()
1076 else if (left is LongConstant) in BinaryFold()
1112 else if (left is LongConstant) in BinaryFold()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/lang/clang-mesa/clang-13.0.1.src/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; in do_jump()
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}}
36 printf("%lu", LongConstant);
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Sema/
H A Dformat-strings-enum.c29 typedef enum { LongConstant = ~0UL } LongEnum; enumerator
33 printf("%u", LongConstant); // expected-warning{{format specifies type 'unsigned int'}} in testLong()
36 printf("%lu", LongConstant); in testLong()
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/OpenGL/
H A Dconstant.py21 elif isinstance( value, long ) and cls is not LongConstant:
22 return LongConstant( name, value )
56 class LongConstant( NumericConstant, long ): class
59 LongConstant = IntConstant
/dports/graphics/py-PyOpenGL/PyOpenGL-3.1.5/OpenGL/
H A Dconstant.py21 elif isinstance( value, long ) and cls is not LongConstant:
22 return LongConstant( name, value )
56 class LongConstant( NumericConstant, long ): class
59 LongConstant = IntConstant
/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/ast/
H A DLongLiteral.java16 import org.eclipse.jdt.internal.compiler.impl.LongConstant;
79 this.constant = LongConstant.fromValue(0L); in computeConstant()
103 this.constant = LongConstant.fromValue(-1L); in computeConstant()
123 this.constant = LongConstant.fromValue(-1L); in computeConstant()
140 this.constant = LongConstant.fromValue(computedValue); in computeValue()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/
H A DLongLiteral.java19 import org.eclipse.jdt.internal.compiler.impl.LongConstant;
83 this.constant = LongConstant.fromValue(0L); in computeConstant()
107 this.constant = LongConstant.fromValue(-1L); in computeConstant()
127 this.constant = LongConstant.fromValue(-1L); in computeConstant()
144 this.constant = LongConstant.fromValue(computedValue); in computeValue()

12345