Home | History | Annotate | Download | only in intltest

Lines Matching refs:asInt

454     LLAssert(llong((int32_t)0).asInt() == (int32_t)0);
455 LLAssert(llong((int32_t)1).asInt() == (int32_t)1);
456 LLAssert(llong((int32_t)-1).asInt() == (int32_t)-1);
457 LLAssert(llong((int32_t)0x7fffffff).asInt() == (int32_t)0x7fffffff);
458 LLAssert(llong((int32_t)0xffffffff).asInt() == (int32_t)-1);
459 LLAssert(llong((int32_t)0x80000000).asInt() == (int32_t)0x80000000);
462 LLAssert(llong((int16_t)0).asInt() == (int16_t)0);
463 LLAssert(llong((int16_t)1).asInt() == (int16_t)1);
464 LLAssert(llong((int16_t)-1).asInt
465 LLAssert(llong((int16_t)0x7fff).asInt() == (int16_t)0x7fff);
466 LLAssert(llong((int16_t)0xffff).asInt() == (int16_t)0xffff);
467 LLAssert(llong((int16_t)0x8000).asInt() == (int16_t)0x8000);
470 LLAssert(llong((int8_t)0).asInt() == (int8_t)0);
471 LLAssert(llong((int8_t)1).asInt() == (int8_t)1);
472 LLAssert(llong((int8_t)-1).asInt() == (int8_t)-1);
473 LLAssert(llong((int8_t)0x7f).asInt() == (int8_t)0x7f);
474 LLAssert(llong((int8_t)0xff).asInt() == (int8_t)0xff);
475 LLAssert(llong((int8_t)0x80).asInt() == (int8_t)0x80);
510 // asInt - test unsigned to signed narrowing conversion
511 LLAssert(llong((uint32_t)-1).asInt() == (int32_t)0x7fffffff);
512 LLAssert(llong(-1, 0).asInt() == (int32_t)0x80000000);