/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | sqrtl.c | 19 } u128; typedef 22 static inline long double mkldbl(uint64_t top, u128 x) in mkldbl() 41 static inline u128 asu128(long double x) in asu128() 44 u128 r; in asu128() 74 static inline u128 add64(u128 a, uint64_t b) in add64() 76 u128 r; in add64() 84 static inline u128 add128(u128 a, u128 [all...] |
/third_party/musl/src/math/ |
H A D | sqrtl.c | 19 } u128; typedef 22 static inline long double mkldbl(uint64_t top, u128 x) in mkldbl() 41 static inline u128 asu128(long double x) in asu128() 44 u128 r; in asu128() 74 static inline u128 add64(u128 a, uint64_t b) in add64() 76 u128 r; in add64() 84 static inline u128 add128(u128 a, u128 [all...] |
/third_party/node/deps/openssl/openssl/crypto/poly1305/ |
H A D | poly1305_base2_44.c | 21 typedef uint128_t u128; typedef 88 u128 d0, d1, d2; in poly1305_blocks() 114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks() 115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks() 116 d2 = ((u128)h0 * r2) + ((u128)h in poly1305_blocks() [all...] |
H A D | poly1305.c | 100 typedef uint128_t u128; typedef 154 u128 d0, d1; in poly1305_blocks() 167 h0 = (u64)(d0 = (u128)h0 + U8TOU64(inp + 0)); in poly1305_blocks() 168 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks() 176 d0 = ((u128)h0 * r0) + in poly1305_blocks() 177 ((u128)h1 * s1); in poly1305_blocks() 178 d1 = ((u128)h0 * r1) + in poly1305_blocks() 179 ((u128)h1 * r0) + in poly1305_blocks() 219 u128 t; in poly1305_emit() 227 g0 = (u64)(t = (u128)h in poly1305_emit() [all...] |
/third_party/openssl/crypto/poly1305/ |
H A D | poly1305_base2_44.c | 21 typedef uint128_t u128; typedef 88 u128 d0, d1, d2; in poly1305_blocks() 114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks() 115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks() 116 d2 = ((u128)h0 * r2) + ((u128)h in poly1305_blocks() [all...] |
H A D | poly1305.c | 100 typedef uint128_t u128; typedef 154 u128 d0, d1; in poly1305_blocks() 167 h0 = (u64)(d0 = (u128)h0 + U8TOU64(inp + 0)); in poly1305_blocks() 168 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks() 176 d0 = ((u128)h0 * r0) + in poly1305_blocks() 177 ((u128)h1 * s1); in poly1305_blocks() 178 d1 = ((u128)h0 * r1) + in poly1305_blocks() 179 ((u128)h1 * r0) + in poly1305_blocks() 219 u128 t; in poly1305_emit() 227 g0 = (u64)(t = (u128)h in poly1305_emit() [all...] |
/third_party/elfutils/libdw/ |
H A D | libdw_form.c | 47 Dwarf_Word u128; in __libdw_form_val_compute_len() local 91 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len() 92 result = u128 + (valp - startp); in __libdw_form_val_compute_len() 114 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len() 122 get_uleb128 (u128, valp, endp); in __libdw_form_val_compute_len() 125 result = __libdw_form_val_len (cu, u128, valp); in __libdw_form_val_compute_len()
|
H A D | dwarf_getsrclines.c | 701 unsigned int u128; in read_srclines() local 902 get_uleb128 (u128, linep, lineendp); in read_srclines() 903 advance_pc (u128); in read_srclines() 925 get_uleb128 (u128, linep, lineendp); in read_srclines() 926 state.file = u128; in read_srclines() 936 get_uleb128 (u128, linep, lineendp); in read_srclines() 937 state.column = u128; in read_srclines() 1014 get_uleb128 (u128, linep, lineendp); in read_srclines()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | bitfield-large.rs | 118 ::std::mem::transmute(self._bitfield_1.get(0usize, 128u8) as u128) in x() 124 let val: u128 = ::std::mem::transmute(val); in set_x() 133 let x: u128 = unsafe { ::std::mem::transmute(x) }; 163 ::std::mem::transmute(self._bitfield_1.get(0usize, 80u8) as u128) in x() 169 let val: u128 = ::std::mem::transmute(val); in set_x() 176 ::std::mem::transmute(self._bitfield_1.get(80usize, 48u8) as u128) in y() 182 let val: u128 = ::std::mem::transmute(val); in set_y() 194 let x: u128 = unsafe { ::std::mem::transmute(x) }; 198 let y: u128 = unsafe { ::std::mem::transmute(y) };
|
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_value.rs | 24 let de_u128 = IntoDeserializer::<value::Error>::into_deserializer(1u128); in test_integer128() 27 // u128 to u128 in test_integer128() 28 assert_eq!(1u128, u128::deserialize(de_u128).unwrap()); in test_integer128() 30 // u128 to i128 in test_integer128() 33 // i128 to u128 in test_integer128() 34 assert_eq!(1u128, u128::deserialize(de_i128).unwrap()); in test_integer128()
|
/third_party/node/deps/openssl/openssl/crypto/modes/ |
H A D | gcm128.c | 80 static void gcm_init_8bit(u128 Htable[256], u64 H[2]) in gcm_init_8bit() 83 u128 V; in gcm_init_8bit() 96 u128 *Hi = Htable + i, H0 = *Hi; in gcm_init_8bit() 104 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) in gcm_gmult_8bit() 106 u128 Z = { 0, 0 }; in gcm_gmult_8bit() 221 static void gcm_init_4bit(u128 Htable[16], u64 H[2]) in gcm_init_4bit() 223 u128 V; in gcm_init_4bit() 240 u128 *Hi = Htable + i; in gcm_init_4bit() 300 static void gcm_gmult_4bit(u64 Xi[2], const u128 Htable[16]) in gcm_gmult_4bit() 302 u128 in gcm_gmult_4bit() [all...] |
/third_party/openssl/crypto/modes/ |
H A D | gcm128.c | 80 static void gcm_init_8bit(u128 Htable[256], u64 H[2]) in gcm_init_8bit() 83 u128 V; in gcm_init_8bit() 96 u128 *Hi = Htable + i, H0 = *Hi; in gcm_init_8bit() 104 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) in gcm_gmult_8bit() 106 u128 Z = { 0, 0 }; in gcm_gmult_8bit() 221 static void gcm_init_4bit(u128 Htable[16], u64 H[2]) in gcm_init_4bit() 223 u128 V; in gcm_init_4bit() 240 u128 *Hi = Htable + i; in gcm_init_4bit() 300 static void gcm_gmult_4bit(u64 Xi[2], const u128 Htable[16]) in gcm_gmult_4bit() 302 u128 in gcm_gmult_4bit() [all...] |
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | modes.h | 101 } u128; typedef 125 u128 Htable[256]; 127 u128 Htable[16]; 128 void (*gmult) (u64 Xi[2], const u128 Htable[16]); 129 void (*ghash) (u64 Xi[2], const u128 Htable[16], const u8 *inp,
|
/third_party/openssl/include/crypto/ |
H A D | modes.h | 101 } u128; typedef 125 u128 Htable[256]; 127 u128 Htable[16]; 128 void (*gmult) (u64 Xi[2], const u128 Htable[16]); 129 void (*ghash) (u64 Xi[2], const u128 Htable[16], const u8 *inp,
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | duration.cc | 118 uint128 u128 = 0; in MakeU128() local 120 ++u128; in MakeU128() 124 u128 += static_cast<uint64_t>(a); in MakeU128() 125 return u128; in MakeU128() 137 uint128 u128 = static_cast<uint64_t>(rep_hi); in MakeU128Ticks() local 138 u128 *= static_cast<uint64_t>(kTicksPerSecond); in MakeU128Ticks() 139 u128 += rep_lo; in MakeU128Ticks() 140 return u128; in MakeU128Ticks() 144 inline Duration MakeDurationFromU128(uint128 u128, bool is_neg) { in MakeDurationFromU128() argument 147 const uint64_t h64 = Uint128High64(u128); in MakeDurationFromU128() [all...] |
/third_party/rust/crates/rustix/src/net/ |
H A D | ip.rs | 1305 u128::from_be_bytes(self.octets()) == u128::from_be_bytes(Ipv6Addr::UNSPECIFIED.octets()) 1332 u128::from_be_bytes(self.octets()) == u128::from_be_bytes(Ipv6Addr::LOCALHOST.octets()) 1419 u128::from_be_bytes(self.octets()) == 0x2001_0001_0000_0000_0000_0000_0000_0001 1421 || u128::from_be_bytes(self.octets()) == 0x2001_0001_0000_0000_0000_0000_0000_0002 1901 impl From<Ipv6Addr> for u128 { 1902 /// Convert an `Ipv6Addr` into a host byte order `u128`. 1913 /// assert_eq!(0x102030405060708090A0B0C0D0E0F00D_u128, u128::from(addr)); 1916 fn from(ip: Ipv6Addr) -> u128 { in from() [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | curve25519.c | 398 typedef uint128_t u128; typedef 402 u128 h0, h1, h2, h3, h4; in fe51_mul() 406 h0 = (u128)f_i * (g0 = g[0]); in fe51_mul() 407 h1 = (u128)f_i * (g1 = g[1]); in fe51_mul() 408 h2 = (u128)f_i * (g2 = g[2]); in fe51_mul() 409 h3 = (u128)f_i * (g3 = g[3]); in fe51_mul() 410 h4 = (u128)f_i * (g4 = g[4]); in fe51_mul() 413 h0 += (u128)f_i * (g4 *= 19); in fe51_mul() 414 h1 += (u128)f_i * g0; in fe51_mul() 415 h2 += (u128)f_ in fe51_mul() [all...] |
/third_party/openssl/crypto/ec/ |
H A D | curve25519.c | 398 typedef uint128_t u128; typedef 402 u128 h0, h1, h2, h3, h4; in fe51_mul() 406 h0 = (u128)f_i * (g0 = g[0]); in fe51_mul() 407 h1 = (u128)f_i * (g1 = g[1]); in fe51_mul() 408 h2 = (u128)f_i * (g2 = g[2]); in fe51_mul() 409 h3 = (u128)f_i * (g3 = g[3]); in fe51_mul() 410 h4 = (u128)f_i * (g4 = g[4]); in fe51_mul() 413 h0 += (u128)f_i * (g4 *= 19); in fe51_mul() 414 h1 += (u128)f_i * g0; in fe51_mul() 415 h2 += (u128)f_ in fe51_mul() [all...] |
/third_party/openssl/ohos_lite/crypto/ec/ |
H A D | curve25519.c | 388 typedef __uint128_t u128; typedef 392 u128 h0, h1, h2, h3, h4; in fe51_mul() 396 h0 = (u128)f_i * (g0 = g[0]); in fe51_mul() 397 h1 = (u128)f_i * (g1 = g[1]); in fe51_mul() 398 h2 = (u128)f_i * (g2 = g[2]); in fe51_mul() 399 h3 = (u128)f_i * (g3 = g[3]); in fe51_mul() 400 h4 = (u128)f_i * (g4 = g[4]); in fe51_mul() 403 h0 += (u128)f_i * (g4 *= 19); in fe51_mul() 404 h1 += (u128)f_i * g0; in fe51_mul() 405 h2 += (u128)f_ in fe51_mul() [all...] |
/third_party/rust/crates/libc/src/ |
H A D | fixed_width_ints.rs | 28 // Rust does not guarantee u128/i128 are sound for FFI, and its 56 pub type __uint128 = u128; 60 pub type __uint128_t = u128;
|
/third_party/rust/crates/log/src/kv/ |
H A D | value.rs | 332 fn visit_u128(&mut self, value: u128) -> Result<(), value_bag::Error> { in visit_u128() 444 impl ToValue for u128 { 474 impl<'v> From<&'v u128> for Value<'v> { in from() 475 fn from(value: &'v u128) -> Self { in from() 488 // SAFETY: `NonZeroU128` and `u128` have the same ABI in from() 489 Value::from_value_bag(unsafe { std::mem::transmute::<&std::num::NonZeroU128, &u128>(v) }) in from() 580 #[doc = "Try convert this value into a `u128`."] 581 to_u128 -> u128, 667 fn visit_u128(&mut self, value: u128) -> Result<(), Error> { in visit_u128() 734 fn visit_u128(&mut self, value: u128) [all...] |
/third_party/rust/crates/serde/serde/src/de/ |
H A D | value.rs | 158 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 222 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 269 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str 303 primitive_deserializer!(u128, "a `u128`.", U128Deserializer, visit_u128); 345 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 455 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 534 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 637 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 745 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f3 [all...] |
/third_party/rust/crates/minimal-lexical/src/ |
H A D | lemire.rs | 185 let r = (a as u128) * (b as u128); in full_multiplication()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | issue-1382-rust-primitive-types.h | 29 int u128; member
|
/third_party/rust/crates/nom/src/number/ |
H A D | streaming.rs | 191 pub fn be_u128<I, E: ParseError<I>>(input: I) -> IResult<I, u128, E> in be_u128() 199 let mut res = 0u128; in be_u128() 201 res = (res << 8) + byte as u128; in be_u128() 513 pub fn le_u128<I, E: ParseError<I>>(input: I) -> IResult<I, u128, E> in le_u128() 521 let mut res = 0u128; in le_u128() 523 res += (byte as u128) << (8 * index); in le_u128() 864 /// If the parameter is `nom::number::Endianness::Big`, parse a big endian u128 integer, 865 /// otherwise if `nom::number::Endianness::Little` parse a little endian u128 integer. 870 /// use nom::number::streaming::u128; 873 /// u128 887 pub fn u128<I, E: ParseError<I>>(endian: crate::number::Endianness) -> fn(I) -> IResult<I, u128, E> u128() functions [all...] |