Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 25 of 242) sorted by relevance

12345678910

/third_party/ulib/jemalloc/include/jemalloc/internal/
A Datomic_inlines.h32 uint32_t atomic_add_u32(uint32_t *p, uint32_t x);
33 uint32_t atomic_sub_u32(uint32_t *p, uint32_t x);
34 bool atomic_cas_u32(uint32_t *p, uint32_t c, uint32_t s);
295 atomic_cas_u32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_u32()
336 atomic_cas_u32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_u32()
362 atomic_cas_u32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_u32()
386 atomic_cas_u32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_u32()
415 atomic_cas_u32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_u32()
443 atomic_cas_u32(uint32_t *p, uint32_t c, uint32_t s) in atomic_cas_u32()
485 return (atomic_cas_u32((uint32_t *)p, (uint32_t)c, (uint32_t)s)); in atomic_cas_p()
[all …]
A Dhash_inlines.h11 uint32_t hash_x86_32(const void *key, int len, uint32_t seed);
40 uint32_t ret; in hash_get_block_32()
93 uint32_t h1 = seed; in hash_x86_32()
100 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32()
120 uint32_t k1 = 0; in hash_x86_32()
145 uint32_t h1 = seed; in hash_x86_128()
157 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128()
191 uint32_t k1 = 0; in hash_x86_128()
192 uint32_t k2 = 0; in hash_x86_128()
193 uint32_t k3 = 0; in hash_x86_128()
[all …]
A Dprng_inlines.h5 uint32_t prng_state_next_u32(uint32_t state);
9 uint32_t prng_lg_range_u32(uint32_t *state, unsigned lg_range,
14 uint32_t prng_range_u32(uint32_t *state, uint32_t range, bool atomic);
20 JEMALLOC_ALWAYS_INLINE uint32_t
21 prng_state_next_u32(uint32_t state) in prng_state_next_u32()
44 JEMALLOC_ALWAYS_INLINE uint32_t
47 uint32_t ret, state1; in prng_lg_range_u32()
53 uint32_t state0; in prng_lg_range_u32()
108 JEMALLOC_ALWAYS_INLINE uint32_t
109 prng_range_u32(uint32_t *state, uint32_t range, bool atomic) in prng_range_u32()
[all …]
/third_party/ulib/musl/include/netinet/
A Dtcp.h65 typedef uint32_t tcp_seq;
84 uint32_t seq;
157 uint32_t tcpi_rto;
158 uint32_t tcpi_ato;
162 uint32_t tcpi_sacked;
163 uint32_t tcpi_lost;
170 uint32_t tcpi_pmtu;
172 uint32_t tcpi_rtt;
173 uint32_t tcpi_rttvar;
176 uint32_t tcpi_advmss;
[all …]
A Din.h12 typedef uint32_t in_addr_t;
38 uint32_t sin6_flowinfo;
40 uint32_t sin6_scope_id;
78 uint32_t htonl(uint32_t);
80 uint32_t ntohl(uint32_t);
118 (((uint32_t*)(a))[0] == 0 && ((uint32_t*)(a))[1] == 0 && ((uint32_t*)(a))[2] == 0 && \
122 (((uint32_t*)(a))[0] == 0 && ((uint32_t*)(a))[1] == 0 && ((uint32_t*)(a))[2] == 0 && \
139 (((uint32_t*)(a))[0] == 0 && ((uint32_t*)(a))[1] == 0 && ((uint32_t*)(a))[2] == 0 && \
291 uint32_t gf_fmode;
292 uint32_t gf_numsrc;
[all …]
/third_party/ulib/cksum/
A Dcrc32.c41 static uint32_t crc32_little OF((uint32_t, const uint8_t FAR *, uint32_t));
42 static uint32_t crc32_big OF((uint32_t, const uint8_t FAR *, uint32_t));
49 static uint32_t gf2_matrix_times OF((uint32_t *mat, uint32_t vec));
50 static void gf2_matrix_square OF((uint32_t *square, uint32_t *mat));
89 uint32_t c; in make_crc_table()
201 uint32_t ZEXPORT crc32(uint32_t crc, const uint8_t* buf, size_t len) in crc32()
315 static uint32_t gf2_matrix_times(uint32_t* mat, uint32_t vec) in gf2_matrix_times()
317 uint32_t sum; in gf2_matrix_times()
330 static void gf2_matrix_square(uint32_t* square, uint32_t* mat) in gf2_matrix_square()
339 uint32_t ZEXPORT crc32_combine(uint32_t crc1, uint32_t crc2, size_t len2) in crc32_combine()
[all …]
A Dadler32.c29 uint32_t tmp = a >> 16; \
63 uint32_t ZEXPORT adler32(uint32_t adler, const uint8_t* buf, size_t len) in adler32()
65 uint32_t sum2; in adler32()
66 uint32_t n; in adler32()
131 uint32_t ZEXPORT adler32_combine(uint32_t adler1, uint32_t adler2, size_t len2) in adler32_combine()
133 uint32_t sum1; in adler32_combine()
134 uint32_t sum2; in adler32_combine()
135 uint32_t rem; in adler32_combine()
139 rem = (uint32_t)len2; in adler32_combine()
/third_party/ulib/cksum/include/lib/
A Dcksum.h26 uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len);
28 uint32_t crc32_combine(uint32_t crc1, uint32_t crc2, size_t len2);
30 uint32_t adler32(uint32_t adler, const uint8_t *buf, size_t len);
32 uint32_t adler32_combine(uint32_t adler1, uint32_t adler2, size_t len2);
34 const uint32_t* get_crc_table(void);
/third_party/ulib/jemalloc/test/include/test/
A DSFMT.h71 uint32_t gen_rand32(sfmt_t *ctx);
72 uint32_t gen_rand32_range(sfmt_t *ctx, uint32_t limit);
77 sfmt_t *init_gen_rand(uint32_t seed);
85 double to_real1(uint32_t v);
87 double to_real2(uint32_t v);
89 double to_real3(uint32_t v);
92 double to_res53_mix(uint32_t x, uint32_t y);
100 JEMALLOC_INLINE double to_real1(uint32_t v) in to_real1()
113 JEMALLOC_INLINE double to_real2(uint32_t v) in to_real2()
147 JEMALLOC_INLINE double to_res53_mix(uint32_t x, uint32_t y) in to_res53_mix()
[all …]
/third_party/ulib/uboringssl/crypto/
A Dcpu-intel.c84 static void OPENSSL_cpuid(uint32_t *out_eax, uint32_t *out_ebx, in OPENSSL_MSVC_PRAGMA()
85 uint32_t *out_ecx, uint32_t *out_edx, uint32_t leaf) { in OPENSSL_MSVC_PRAGMA()
89 *out_eax = (uint32_t)tmp[0]; in OPENSSL_MSVC_PRAGMA()
90 *out_ebx = (uint32_t)tmp[1]; in OPENSSL_MSVC_PRAGMA()
91 *out_ecx = (uint32_t)tmp[2]; in OPENSSL_MSVC_PRAGMA()
92 *out_edx = (uint32_t)tmp[3]; in OPENSSL_MSVC_PRAGMA()
120 uint32_t eax, edx; in OPENSSL_xgetbv()
147 uint32_t eax, ebx, ecx, edx; in OPENSSL_cpuid_setup()
150 uint32_t num_ids = eax; in OPENSSL_cpuid_setup()
164 uint32_t num_extended_ids = eax; in OPENSSL_cpuid_setup()
[all …]
/third_party/ulib/chromiumos-platform-ec/include/chromiumos-platform-ec/
A Dec_commands.h998 uint32_t flags;
1013 uint32_t flags;
1417 uint32_t size;
1431 uint32_t op;
1474 uint32_t rpm;
1482 uint32_t rpm;
1487 uint32_t rpm;
2536 uint32_t time;
2540 uint32_t time;
2802 uint32_t rows;
[all …]
/third_party/ulib/musl/src/crypt/
A Dencrypt.c6 uint32_t l[16], r[16];
10 void __do_des(uint32_t l_in, uint32_t r_in, uint32_t* l_out, uint32_t* r_out, uint32_t count,
11 uint32_t saltbits, const struct expanded_key* ekey);
22 bkey[i] |= (uint32_t)(*key & 1) << j; in setkey()
30 uint32_t b[2]; in encrypt()
38 b[i] |= (uint32_t)(*p & 1) << j; in encrypt()
/third_party/ulib/musl/src/locale/
A D__mo_lookup.c4 static inline uint32_t swapc(uint32_t x, int c) { in swapc()
9 const uint32_t* mo = p; in __mo_lookup()
11 uint32_t b = 0, n = swapc(mo[2], sw); in __mo_lookup()
12 uint32_t o = swapc(mo[3], sw); in __mo_lookup()
13 uint32_t t = swapc(mo[4], sw); in __mo_lookup()
19 uint32_t ol = swapc(mo[o + 2 * (b + n / 2)], sw); in __mo_lookup()
20 uint32_t os = swapc(mo[o + 2 * (b + n / 2) + 1], sw); in __mo_lookup()
25 uint32_t tl = swapc(mo[t + 2 * (b + n / 2)], sw); in __mo_lookup()
26 uint32_t ts = swapc(mo[t + 2 * (b + n / 2) + 1], sw); in __mo_lookup()
/third_party/ulib/musl/include/sys/
A Dsignalfd.h20 uint32_t ssi_signo;
23 uint32_t ssi_pid;
24 uint32_t ssi_uid;
26 uint32_t ssi_tid;
27 uint32_t ssi_band;
28 uint32_t ssi_overrun;
29 uint32_t ssi_trapno;
A Dacct.h21 uint32_t ac_btime;
31 uint32_t ac_exitcode;
40 uint32_t ac_exitcode;
41 uint32_t ac_uid;
42 uint32_t ac_gid;
43 uint32_t ac_pid;
44 uint32_t ac_ppid;
45 uint32_t ac_btime;
/third_party/ulib/cryptolib/
A Dcryptolib.c53 uint32_t tmp = ctx->state[i]; in _HASH_final()
133 uint32_t W[64]; in _SHA256_transform()
164 uint32_t t2 = s0 + maj; in _SHA256_transform()
241 uint32_t W[80]; in _SHA1_transform()
242 uint32_t A, B, C, D, E; in _SHA1_transform()
345 c[i] = (uint32_t)A; in subM()
357 uint32_t d0 = (uint32_t)A * mod->n0inv; in montMulAdd()
364 c[i - 1] = (uint32_t)B; in montMulAdd()
369 c[i - 1] = (uint32_t)A; in montMulAdd()
416 uint32_t a[clBIGNUMWORDS]; in modpowF4()
[all …]
/third_party/ulib/uboringssl/crypto/chacha/
A Dchacha.c29 (((uint32_t)((p)[0])) | ((uint32_t)((p)[1]) << 8) | \
30 ((uint32_t)((p)[2]) << 16) | ((uint32_t)((p)[3]) << 24))
47 uint32_t x[16]; in CRYPTO_hchacha20()
63 OPENSSL_memcpy(out, &x[0], sizeof(uint32_t) * 4); in CRYPTO_hchacha20()
73 const uint32_t key[8], const uint32_t counter[4]);
77 uint32_t counter) { in CRYPTO_chacha_20()
85 const uint32_t *key_ptr = (const uint32_t *)key; in CRYPTO_chacha_20()
88 uint32_t key_u32[8]; in CRYPTO_chacha_20()
119 uint32_t x[16]; in chacha_core()
144 uint32_t counter) { in CRYPTO_chacha_20()
[all …]
/third_party/ulib/uboringssl/include/openssl/
A Derr.h176 OPENSSL_EXPORT uint32_t ERR_get_error(void);
180 OPENSSL_EXPORT uint32_t ERR_get_error_line(const char **file, int *line);
197 OPENSSL_EXPORT uint32_t ERR_peek_error(void);
198 OPENSSL_EXPORT uint32_t ERR_peek_error_line(const char **file, int *line);
204 OPENSSL_EXPORT uint32_t ERR_peek_last_error(void);
206 OPENSSL_EXPORT uint32_t ERR_peek_last_error_line_data(const char **file,
222 OPENSSL_EXPORT void ERR_error_string_n(uint32_t packed_error, char *buf,
227 OPENSSL_EXPORT const char *ERR_lib_error_string(uint32_t packed_error);
389 OPENSSL_EXPORT const char *ERR_func_error_string(uint32_t packed_error);
400 OPENSSL_EXPORT char *ERR_error_string(uint32_t packed_error, char *buf);
[all …]
A Dsha.h99 uint32_t h[5];
104 uint32_t h[5];
106 uint32_t h0;
107 uint32_t h1;
108 uint32_t h2;
109 uint32_t h3;
110 uint32_t h4;
114 uint32_t Nl, Nh;
178 OPENSSL_EXPORT void SHA256_TransformBlocks(uint32_t state[8],
183 uint32_t h[8];
[all …]
/third_party/ulib/uboringssl/crypto/fipsmodule/aes/
A Daes.c73 static const uint32_t Te0[256] = {
127 static const uint32_t Te1[256] = {
181 static const uint32_t Te2[256] = {
235 static const uint32_t Te3[256] = {
531 static const uint32_t rcon[] = {
539 uint32_t *rk; in aes_nohw_set_encrypt_key()
541 uint32_t temp; in aes_nohw_set_encrypt_key()
635 uint32_t *rk; in aes_nohw_set_decrypt_key()
637 uint32_t temp; in aes_nohw_set_decrypt_key()
684 const uint32_t *rk; in aes_nohw_encrypt()
[all …]
/third_party/uapp/mkfs-msdosfs/
A Dmkfs_msdos.h41 AOPT('I', uint32_t, volume_id, 0, "Volume ID") \
47 AOPT('a', uint32_t, sectors_per_fat, 1, "Sectors per FAT") \
48 AOPT('b', uint32_t, block_size, 1, "Block size") \
61 uint32_t timestamp_set : 1;
62 uint32_t volume_id_set : 1;
63 uint32_t media_descriptor_set : 1;
64 uint32_t hidden_sectors_set : 1;
/third_party/ulib/musl/include/
A Dendian.h28 static __inline uint32_t __bswap32(uint32_t __x) { in __bswap32()
29 return (uint32_t)(__x >> 24 | ((__x >> 8) & 0xff00) | ((__x << 8) & 0xff0000) | __x << 24); in __bswap32()
33 return ((uint64_t)__bswap32((uint32_t)__x)) << 32 | (uint64_t)__bswap32((uint32_t)(__x >> 32)); in __bswap64()
49 #define htole32(x) (uint32_t)(x)
50 #define le32toh(x) (uint32_t)(x)
51 #define letoh32(x) (uint32_t)(x)
59 #define htobe32(x) (uint32_t)(x)
60 #define be32toh(x) (uint32_t)(x)
61 #define betoh32(x) (uint32_t)(x)
/third_party/ulib/jemalloc/test/src/
A DSFMT.c74 uint32_t u[4];
83 uint32_t u[4];
92 uint32_t u[4];
127 JEMALLOC_INLINE_C uint32_t func1(uint32_t x);
128 JEMALLOC_INLINE_C uint32_t func2(uint32_t x);
348 uint32_t x, y; in swap()
366 static uint32_t func1(uint32_t x) { in func1()
376 static uint32_t func2(uint32_t x) { in func2()
448 uint32_t r; in gen_rand32()
461 uint32_t gen_rand32_range(sfmt_t *ctx, uint32_t limit) { in gen_rand32_range()
[all …]
/third_party/ulib/musl/zircon/
A Dtake_startup_handle.c13 static uint32_t startup_handles_num;
15 static uint32_t* startup_handles_info;
35 uint32_t nhandles, zx_handle_t handles[], uint32_t handle_info[]) { in __libc_startup_handles_init()
43 zx_handle_t zx_take_startup_handle(uint32_t hnd_info) { in zx_take_startup_handle()
46 for (uint32_t i = 0; i < startup_handles_num; ++i) { in zx_take_startup_handle()
/third_party/ulib/uboringssl/crypto/err/
A Derr.c136 uint32_t packed;
159 extern const uint32_t kOpenSSLReasonValues[];
224 uint32_t ret; in get_error_values()
287 uint32_t ERR_get_error(void) { in ERR_get_error()
300 uint32_t ERR_peek_error(void) { in ERR_peek_error()
314 uint32_t ERR_peek_last_error(void) { in ERR_peek_last_error()
452 const uint32_t a_key = *((const uint32_t*) a) >> 15; in err_string_cmp()
453 const uint32_t b_key = *((const uint32_t*) b) >> 15; in err_string_cmp()
466 static const char *err_string_lookup(uint32_t lib, uint32_t key, in err_string_lookup()
486 uint32_t search_key = lib << 26 | key << 15; in err_string_lookup()
[all …]

Completed in 66 milliseconds

12345678910