Searched refs:from_fixed (Results 1 – 2 of 2) sorted by relevance
494 int from_fixed = scaled >> 7; in pformat() local496 val = ((from_fixed < 0) ? in pformat()498 (from_fixed > 255) ? in pformat()499 255 : from_fixed); in pformat()517 s64 from_fixed = scaled >> 23; in pformat() local519 val = ((from_fixed < 0) ? in pformat()521 (from_fixed > 255) ? in pformat()522 255 : from_fixed); in pformat()540 s64 from_fixed = scaled >> 16; in pformat() local544 (from_fixed > 32767) ? in pformat()[all …]
401 int32_t from_fixed = scaled >> 7; in helper_fpack16() local403 val = (from_fixed < 0 ? 0 : in helper_fpack16()404 from_fixed > 255 ? 255 : from_fixed); in helper_fpack16()423 int64_t from_fixed = scaled >> 23; in helper_fpack32() local425 val = (from_fixed < 0 ? 0 : in helper_fpack32()426 (from_fixed > 255) ? 255 : from_fixed); in helper_fpack32()444 int64_t from_fixed = scaled >> 16; in helper_fpackfix() local446 val = (from_fixed < -32768 ? -32768 : in helper_fpackfix()447 from_fixed > 32767 ? 32767 : from_fixed); in helper_fpackfix()