Home | History | Annotate | Download | only in intltest

Lines Matching refs:asInt

499     LLAssert(llong((int32_t)0).asInt() == (int32_t)0);
500 LLAssert(llong((int32_t)1).asInt() == (int32_t)1);
501 LLAssert(llong((int32_t)-1).asInt() == (int32_t)-1);
502 LLAssert(llong((int32_t)0x7fffffff).asInt() == (int32_t)0x7fffffff);
503 LLAssert(llong((int32_t)0xffffffff).asInt() == (int32_t)-1);
504 LLAssert(llong((int32_t)0x80000000).asInt() == (int32_t)0x80000000);
507 LLAssert(llong((int16_t)0).asInt() == (int16_t)0);
508 LLAssert(llong((int16_t)1).asInt() == (int16_t)1);
509 LLAssert(llong((int16_t)-1).asInt() == (int16_t)-1);
510 LLAssert(llong((int16_t)0x7fff).asInt() == (int16_t)0x7fff);
511 LLAssert(llong((int16_t)0xffff).asInt() == (int16_t)0xffff);
512 LLAssert(llong((int16_t)0x8000).asInt() == (int16_t)0x8000);
515 LLAssert(llong((int8_t)0).asInt() == (int8_t)0);
516 LLAssert(llong((int8_t)1).asInt() == (int8_t)1);
517 LLAssert(llong((int8_t)-1).asInt() == (int8_t)-1);
518 LLAssert(llong((int8_t)0x7f).asInt() == (int8_t)0x7f);
519 LLAssert(llong((int8_t)0xff).asInt() == (int8_t)0xff);
520 LLAssert(llong((int8_t)0x80).asInt() == (int8_t)0x80);
555 // asInt - test unsigned to signed narrowing conversion
556 LLAssert(llong((uint32_t)-1).asInt() == (int32_t)0x7fffffff);
557 LLAssert(llong(-1, 0).asInt() == (int32_t)0x80000000);