Home
last modified time | relevance | path

Searched refs:u128 (Results 1 – 25 of 71) sorted by relevance

123

/third_party/musl/src/math/
Dsqrtl.c19 } 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 b) in add128()
86 u128 r; in add128()
94 static inline u128 sub64(u128 a, uint64_t b) in sub64()
96 u128 r; in sub64()
[all …]
/third_party/musl/porting/liteos_a/kernel/src/math/
Dsqrtl.c19 } 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 b) in add128()
86 u128 r; in add128()
94 static inline u128 sub64(u128 a, uint64_t b) in sub64()
96 u128 r; in sub64()
[all …]
/third_party/openssl/crypto/poly1305/
Dpoly1305_base2_44.c21 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)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
140 u128 t; in poly1305_emit()
148 h0 = (u64)(t = (u128)h0 + (h1 << 44)); h1 >>= 20; in poly1305_emit()
149 h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64)); h2 >>= 40; in poly1305_emit()
153 g0 = (u64)(t = (u128)h0 + 5); in poly1305_emit()
154 g1 = (u64)(t = (u128)h1 + (t >> 64)); in poly1305_emit()
[all …]
Dpoly1305.c100 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)h0 + 5); in poly1305_emit()
[all …]
/third_party/node/deps/openssl/openssl/crypto/poly1305/
Dpoly1305_base2_44.c21 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)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
140 u128 t; in poly1305_emit()
148 h0 = (u64)(t = (u128)h0 + (h1 << 44)); h1 >>= 20; in poly1305_emit()
149 h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64)); h2 >>= 40; in poly1305_emit()
153 g0 = (u64)(t = (u128)h0 + 5); in poly1305_emit()
154 g1 = (u64)(t = (u128)h1 + (t >> 64)); in poly1305_emit()
[all …]
Dpoly1305.c100 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)h0 + 5); in poly1305_emit()
[all …]
/third_party/elfutils/libdw/
Dlibdw_form.c47 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()
Ddwarf_getsrclines.c701 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/
Dbitfield-large.rs118 ::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) };
Dlong_double.rs12 pub bar: u128,
/third_party/openssl/crypto/modes/
Dgcm128.c80 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 Z; in gcm_gmult_4bit()
[all …]
/third_party/node/deps/openssl/openssl/crypto/modes/
Dgcm128.c80 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 Z; in gcm_gmult_4bit()
[all …]
/third_party/rust/crates/serde/test_suite/tests/
Dtest_value.rs24 let de_u128 = IntoDeserializer::<value::Error>::into_deserializer(1u128); in test_integer128()
28 assert_eq!(1u128, u128::deserialize(de_u128).unwrap()); in test_integer128()
34 assert_eq!(1u128, u128::deserialize(de_i128).unwrap()); in test_integer128()
/third_party/openssl/include/crypto/
Dmodes.h101 } 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/node/deps/openssl/openssl/include/crypto/
Dmodes.h101 } 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/
Dduration.cc118 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/
Dip.rs1305 u128::from_be_bytes(self.octets()) == u128::from_be_bytes(Ipv6Addr::UNSPECIFIED.octets()) in is_unspecified()
1332 u128::from_be_bytes(self.octets()) == u128::from_be_bytes(Ipv6Addr::LOCALHOST.octets()) in is_loopback()
1419 u128::from_be_bytes(self.octets()) == 0x2001_0001_0000_0000_0000_0000_0000_0001 in is_global()
1421 … || u128::from_be_bytes(self.octets()) == 0x2001_0001_0000_0000_0000_0000_0000_0002 in is_global()
1901 impl From<Ipv6Addr> for u128 { implementation
1916 fn from(ip: Ipv6Addr) -> u128 { in from() argument
1917 u128::from_be_bytes(ip.octets) in from()
1921 impl From<u128> for Ipv6Addr {
1938 fn from(ip: u128) -> Ipv6Addr { in from()
/third_party/openssl/crypto/ec/
Dcurve25519.c398 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_i * g1; in fe51_mul()
[all …]
/third_party/node/deps/openssl/openssl/crypto/ec/
Dcurve25519.c398 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_i * g1; in fe51_mul()
[all …]
/third_party/openssl/ohos_lite/crypto/ec/
Dcurve25519.c388 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_i * g1; in fe51_mul()
[all …]
/third_party/rust/crates/libc/src/
Dfixed_width_ints.rs56 pub type __uint128 = u128;
60 pub type __uint128_t = u128;
/third_party/rust/crates/serde/serde/src/de/
Dvalue.rs151 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
213 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
253 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str
293 primitive_deserializer!(u128, "a `u128`.", U128Deserializer, visit_u128);
325 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
428 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
507 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
600 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
698 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
775 bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
[all …]
/third_party/rust/crates/log/src/kv/
Dvalue.rs332 fn visit_u128(&mut self, value: u128) -> Result<(), value_bag::Error> { in visit()
444 impl ToValue for u128 { implementation
474 impl<'v> From<&'v u128> for Value<'v> {
475 fn from(value: &'v u128) -> Self { in from()
489 Value::from_value_bag(unsafe { std::mem::transmute::<&std::num::NonZeroU128, &u128>(v) }) in from()
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) -> Result<(), Error> { in visit_u128()
/third_party/rust/crates/minimal-lexical/src/
Dlemire.rs185 let r = (a as u128) * (b as u128); in full_multiplication()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dissue-1382-rust-primitive-types.h29 int u128; member

123