/third_party/skia/src/opts/ |
H A D | SkRasterPipeline_opts.h | 121 using U16 = uint16_t; 135 SI U16 pack(U32 v) { return (U16)v; } in pack() 136 SI U8 pack(U16 v) { return (U8)v; } in pack() 143 SI void load2(const uint16_t* ptr, size_t tail, U16* r, U16* g) { in load2() 147 SI void store2(uint16_t* ptr, size_t tail, U16 r, U16 g) { in store2() 151 SI void load3(const uint16_t* ptr, size_t tail, U16* r, U16* in store2() [all...] |
H A D | SkVM_opts.h | 39 using U16 = skvx::Vec<K, uint16_t>; 46 U16 u16; 62 using SkVMInterpreterTypes::U16; 139 STRIDE_K(Op::load16): r[d].i32= skvx::cast<int>(U16::Load(args[immA])); break;
|
/third_party/skia/third_party/skcms/src/ |
H A D | Transform_inl.h | 18 using U16 = V<uint16_t>; 85 // x86, GCC tends to pass U16 (4x uint16_t vector) function arguments in the 134 // NEON's got a F16 -> U16 instruction, so this should be fine without going via I16. 135 SI U16 to_fixed(F f) { return cast<U16>(f + 0.5f); } in to_fixed() 158 SI F F_from_Half(U16 half) { in F_from_Half() 187 SI U16 Half_from_F(F f) { in Half_from_F() 189 return bit_pun<U16>(f); in Half_from_F() 191 return (U16)vcvt_f16_f32(f); in Half_from_F() 193 return (U16)_mm512_cvtps_p in Half_from_F() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | issue-1947.rs | 95 pub type U16 = ::std::os::raw::c_ushort; types 156 pub fn MADZ(&self) -> U16 { in MADZ() 162 pub fn set_MADZ(&mut self, val: U16) { in set_MADZ() 169 pub fn MAI0(&self) -> U16 { in MAI0() 175 pub fn set_MAI0(&mut self, val: U16) { in set_MAI0() 182 pub fn MAI1(&self) -> U16 { in MAI1() 188 pub fn set_MAI1(&mut self, val: U16) { in set_MAI1() 195 pub fn MAI2(&self) -> U16 { in MAI2() 201 pub fn set_MAI2(&mut self, val: U16) { in set_MAI2() 209 MADZ: U16, in new_bitfield_1() [all...] |
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_de.rs | 236 test(0, &[Token::U16(0)]); in test_i8() 240 test(127, &[Token::U16(127)]); in test_i8() 261 test(0, &[Token::U16(0)]); in test_i16() 265 test(32767, &[Token::U16(32767)]); in test_i16() 286 test(0, &[Token::U16(0)]); in test_i32() 290 test(65535, &[Token::U16(65535)]); in test_i32() 311 test(0, &[Token::U16(0)]); in test_i64() 315 test(65535, &[Token::U16(65535)]); in test_i64() 336 test(0, &[Token::U16(0)]); in test_i128() 340 test(65535, &[Token::U16(6553 in test_i128() [all...] |
H A D | test_identifier.rs | 22 assert_de_tokens(&V::Aaa, &[Token::U16(0)]); in variant1() 32 assert_de_tokens(&V::Bbb, &[Token::U16(1)]); in aliases() 53 &[Token::U16(42)], in unknown() 89 assert_de_tokens(&F::Aaa, &[Token::U16(0)]); in field1() 99 assert_de_tokens(&F::Bbb, &[Token::U16(1)]); in aliases() 120 &[Token::U16(42)], in unknown() 153 assert_de_tokens(&F::Other, &[Token::U16(42)]); in unit_fallthrough() 183 assert_de_tokens(&F::Other(42u16), &[Token::U16(42)]); in newtype_fallthrough_generic()
|
H A D | test_de_error.rs | 107 &[Token::U16(128)], in test_i8() 144 &[Token::U16(32768)], in test_i16() 236 &[Token::U16(256)], in test_u8() 432 &[Token::U16(0)], in test_nonzero_i8() 476 &[Token::U16(128)], in test_nonzero_i8() 515 &[Token::U16(0)], in test_nonzero_i16() 547 &[Token::U16(32768)], in test_nonzero_i16() 586 &[Token::U16(0)], in test_nonzero_i32() 645 &[Token::U16(0)], in test_nonzero_i64() 690 &[Token::U16( in test_nonzero_i128() [all...] |
H A D | test_roundtrip.rs | 37 Token::U16(1234), in socket_addr_roundtrip()
|
H A D | test_ser.rs | 94 assert_ser_tokens(&0u16, &[Token::U16(0)]); in test_usizes() 667 assert_ser_tokens(&AtomicU16::new(510u16), &[Token::U16(510u16)]); in test_atomic() 787 Token::U16(1234), in test_net_socketaddr_compact() 798 Token::U16(1234), in test_net_socketaddr_compact() 809 Token::U16(1234), in test_net_socketaddr_compact()
|
/third_party/skia/experimental/lowp-basic/ |
H A D | bilerp-study.cpp | 74 U16 qm = (p10 + p00) << logPixelScale; in bilerp_1() 75 I16 top = (I16)((U16)(constrained_add(simulate_ssse3_mm_mulhrs_epi16(qtx, qw), qm) + 1) >> 1); in bilerp_1() 80 (I16)((U16)(constrained_add(simulate_ssse3_mm_mulhrs_epi16(qtx, qw), qm) + 1) >> 1); in bilerp_1() 85 qm = (U16)bottom + (U16)top; in bilerp_1() 86 U16 scaledAnswer = constrained_add(simulate_ssse3_mm_mulhrs_epi16(qty, qw), qm); in bilerp_1()
|
H A D | QMath.h | 31 using U16 = V<8, uint16_t>; 34 static inline U16 constrained_add(I16 a, U16 b) { in constrained_add() 39 U16 answer = b + a; in constrained_add()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | issue-1947.h | 2 typedef unsigned short U16; typedef 5 U16 MADZ : 10, MAI0 : 2, MAI1 : 2, MAI2 : 2; 7 U16 MATH : 10, MATE : 4, MATW : 2;
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | int.rs | 58 U16, 96 Bool | UChar | UShort | UInt | ULong | ULongLong | U8 | U16 | in is_signed() 115 U16 | I16 => 2, in known_size()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | atom.rs | 10 U16, 36 "u16" => Some(U16), in from_str() 67 U16 => "u16", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | atom.rs | 10 U16, 36 "u16" => Some(U16), in from_str() 67 U16 => "u16", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | atom.rs | 10 U16, 36 "u16" => Some(U16), in from_str() 67 U16 => "u16", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | atom.rs | 10 U16, 36 "u16" => Some(U16), in from_str() 67 U16 => "u16", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | atom.rs | 10 U16, 36 "u16" => Some(U16), in from_str() 67 U16 => "u16", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/lz4/lib/ |
H A D | lz4.c | 303 typedef uint16_t U16; typedef 313 typedef unsigned short U16; typedef 371 static U16 LZ4_read16(const void* memPtr) { return *(const U16*) memPtr; } in LZ4_read16() 375 static void LZ4_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in LZ4_write16() 382 typedef union { U16 u16; U32 u32; reg_t uArch; } __attribute__((packed)) LZ4_unalign; 384 static U16 LZ4_read16(const void* ptr) { return ((const LZ4_unalign*)ptr)->u16; } in LZ4_read16() 388 static void LZ4_write16(void* memPtr, U16 value) { ((LZ4_unalign*)memPtr)->u16 = value; } in LZ4_write16() 393 static U16 LZ4_read1 [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexture.cpp | 1299 #define U16(OFFS, COUNT) ((*((const deUint16*)pixelPtr) >> (OFFS)) & ((1<<(COUNT))-1)) in getPixelInt() macro 1308 case TextureFormat::UNORM_SHORT_565: return swizzleGe(UVec4(U16(11, 5), U16( 5, 6), U16( 0, 5), 1).cast<int>(), m_format.order, TextureFormat::RGB); in getPixelInt() 1309 case TextureFormat::UNORM_SHORT_555: return swizzleGe(UVec4(U16(10, 5), U16( 5, 5), U16( 0, 5), 1).cast<int>(), m_format.order, TextureFormat::RGB); in getPixelInt() 1311 case TextureFormat::UNORM_SHORT_4444: return swizzleGe(UVec4(U16(12, 4), U16( 8, 4), U16( in getPixelInt() 1328 #undef U16 getPixelInt() macro 1395 #define U16 getPixelBitsAsUint64() macro 1424 #undef U16 getPixelBitsAsUint64() macro [all...] |