Home
last modified time | relevance | path

Searched refs:to_bits (Results 1 – 3 of 3) sorted by relevance

/third_party/flatbuffers/rust/flatbuffers/src/
Dendian_scalar.rs140 f32::from_bits(x.to_bits().swap_bytes()) in byte_swap_f32()
147 f64::from_bits(x.to_bits().swap_bytes()) in byte_swap_f64()
/third_party/pixman/pixman/
Dpixman-private.h999 unorm_to_unorm (uint32_t val, int from_bits, int to_bits) in unorm_to_unorm() argument
1009 if (from_bits >= to_bits) in unorm_to_unorm()
1010 return val >> (from_bits - to_bits); in unorm_to_unorm()
1013 result = val << (to_bits - from_bits); in unorm_to_unorm()
1023 if (from_bits < to_bits) \ in unorm_to_unorm()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs1077 x == f32::from_bits(x.to_bits().swap_bytes()) in palindrome_32()
1080 x == f64::from_bits(x.to_bits().swap_bytes()) in palindrome_64()