Lines Matching defs:to
32 T to = std::bit_cast<T>(middle);
33 Buffer middle2 = std::bit_cast<Buffer>(to);
35 assert((from == to) == (from == from)); // because NaN
39 assert(std::memcmp(&to, &middle, sizeof(T)) == 0);
50 T to = std::bit_cast<T>(middle);
51 Nested middle2 = std::bit_cast<Nested>(to);
53 assert((from == to) == (from == from)); // because NaN
57 assert(std::memcmp(&to, &middle, sizeof(T)) == 0);
67 T to = std::bit_cast<T>(middle);
68 Intermediate middle2 = std::bit_cast<Intermediate>(to);
70 assert((from == to) == (from == from)); // because NaN
74 assert(std::memcmp(&to, &middle, sizeof(T)) == 0);
267 // TODO: There doesn't seem to be a way to perform non-trivial correctness
273 int to = std::bit_cast<int>(middle);
274 assert(from == to);