Lines Matching defs:tmp
349 int64_t tmp;
350 return !__builtin_add_overflow(a, b, &tmp) ? tmp : (tmp < 0 ? INT64_MAX : INT64_MIN);
368 int64_t tmp;
369 return !__builtin_sub_overflow(a, b, &tmp) ? tmp : (tmp < 0 ? INT64_MAX : INT64_MIN);
476 unsigned int tmp = (GET_BYTE) - 128;\
477 if(tmp>>6)\
479 val= (val<<6) + tmp;\
507 * @def PUT_UTF8(val, tmp, PUT_BYTE)
512 * @param tmp is a temporary variable and should be of type uint8_t. It
516 * It could be a function or a statement, and uses tmp as the input byte.
517 * For example, PUT_BYTE could be "*output++ = tmp;" PUT_BYTE will be
522 #define PUT_UTF8(val, tmp, PUT_BYTE)\
527 tmp = in;\
532 tmp = (256 - (256 >> bytes)) | (in >> shift);\
536 tmp = 0x80 | ((in >> shift) & 0x3f);\
543 * @def PUT_UTF16(val, tmp, PUT_16BIT)
548 * @param tmp is a temporary variable and should be of type uint16_t. It
552 * in desired endianness. It could be a function or a statement, and uses tmp
553 * as the input byte. For example, PUT_BYTE could be "*output++ = tmp;"
556 #define PUT_UTF16(val, tmp, PUT_16BIT)\
560 tmp = in;\
563 tmp = 0xD800 | ((in - 0x10000) >> 10);\
565 tmp = 0xDC00 | ((in - 0x10000) & 0x3FF);\