/lib/zstd/common/ |
D | compiler.h | 74 #define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ argument 134 #define LIKELY(x) (__builtin_expect((x), 1)) argument 135 #define UNLIKELY(x) (__builtin_expect((x), 0)) argument 144 # define __has_builtin(x) 0 argument 149 # define __has_feature(x) 0 argument 154 # define ZSTD_HAS_C_ATTRIBUTE(x) __has_c_attribute(x) argument 156 # define ZSTD_HAS_C_ATTRIBUTE(x) 0 argument 162 #define ZSTD_HAS_CPP_ATTRIBUTE(x) 0 argument
|
/lib/math/ |
D | prime_numbers.c | 69 static bool slow_is_prime_number(unsigned long x) in slow_is_prime_number() 82 static unsigned long slow_next_prime_number(unsigned long x) in slow_next_prime_number() 90 static unsigned long clear_multiples(unsigned long x, in clear_multiples() 109 static bool expand_to_next_prime(unsigned long x) in expand_to_next_prime() 188 unsigned long next_prime_number(unsigned long x) in next_prime_number() 221 bool is_prime_number(unsigned long x) in is_prime_number() 266 unsigned long x, last; in selftest() local
|
D | int_sqrt.c | 20 unsigned long int_sqrt(unsigned long x) in int_sqrt() 49 u32 int_sqrt64(u64 x) in int_sqrt64()
|
/lib/ |
D | locking-selftest.c | 229 #define L(x) spin_lock(&lock_##x) argument 230 #define U(x) spin_unlock(&lock_##x) argument 231 #define LU(x) L(x); U(x) argument 232 #define SI(x) spin_lock_init(&lock_##x) argument 234 #define WL(x) write_lock(&rwlock_##x) argument 235 #define WU(x) write_unlock(&rwlock_##x) argument 236 #define WLU(x) WL(x); WU(x) argument 238 #define RL(x) read_lock(&rwlock_##x) argument 239 #define RU(x) read_unlock(&rwlock_##x) argument 240 #define RLU(x) RL(x); RU(x) argument [all …]
|
D | extable.c | 16 #define ex_to_insn(x) ((x)->insn) argument 18 static inline unsigned long ex_to_insn(const struct exception_table_entry *x) in ex_to_insn() 29 struct exception_table_entry *x = a, *y = b, tmp; in swap_ex() local 53 const struct exception_table_entry *x = a, *y = b; in cmp_ex_sort() local
|
D | decompress_unzstd.c | 88 static int INIT handle_zstd_error(size_t ret, void (*error)(char *x)) in handle_zstd_error() 125 void (*error)(char *x)) in decompress_single() 168 void (*error)(char *x)) in __unzstd() 336 void (*error)(char *x)) in unzstd() 346 void (*error)(char *x)) in __decompress()
|
D | crc32.c | 37 # define tole(x) ((__force u32) cpu_to_le32(x)) argument 39 # define tole(x) (x) argument 43 # define tobe(x) ((__force u32) cpu_to_be32(x)) argument 45 # define tobe(x) (x) argument 61 # define DO_CRC(x) crc = t0[(crc ^ (x)) & 255] ^ (crc >> 8) argument 216 static u32 __attribute_const__ gf2_multiply(u32 x, u32 y, u32 modulus)
|
D | decompress_inflate.c | 47 void(*error)(char *x)) { in __gunzip() 205 void (*error)(char *x)) in gunzip() 215 void (*error)(char *x)) in __decompress()
|
D | checksum.c | 37 static inline unsigned short from32to16(unsigned int x) in from32to16() 149 static inline u32 from64to32(u64 x) in from64to32()
|
D | decompress_unxz.c | 179 const uint8_t *x = a; in memeq() local 255 void (*error)(char *x)) in unxz() 403 void (*error)(char *x)) in __decompress()
|
D | decompress_unlz4.c | 31 STATIC inline int INIT unlz4(u8 *input, long in_len, in unlz4() 212 void (*error)(char *x) in __decompress()
|
D | crc4.c | 25 uint8_t crc4(uint8_t c, uint64_t x, int bits) in crc4()
|
D | decompress_unlzo.c | 97 STATIC int INIT unlzo(u8 *input, long in_len, in unlzo() 282 void (*error)(char *x)) in __decompress()
|
D | test_bits.c | 44 unsigned int x, y; in genmask_input_check_test() local
|
/lib/crypto/ |
D | chacha.c | 16 static void chacha_permute(u32 *x, int nrounds) in chacha_permute() 78 u32 x[16]; in chacha_block_generic() local 105 u32 x[16]; in hchacha_block_generic() local
|
D | sha256.c | 41 static inline u32 Ch(u32 x, u32 y, u32 z) in Ch() 46 static inline u32 Maj(u32 x, u32 y, u32 z) in Maj() 51 #define e0(x) (ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22)) argument 52 #define e1(x) (ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25)) argument 53 #define s0(x) (ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3)) argument 54 #define s1(x) (ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10)) argument
|
D | aes.c | 94 u32 x = w & 0x7f7f7f7f; in mul_by_x() local 103 u32 x = w & 0x3f3f3f3f; in mul_by_x2() local 111 static u32 mix_columns(u32 x) in mix_columns() 126 static u32 inv_mix_columns(u32 x) in inv_mix_columns()
|
D | des.c | 25 #define ROL(x, r) ((x) = rol32((x), (r))) argument 26 #define ROR(x, r) ((x) = ror32((x), (r))) argument 604 #define T1(x) pt[2 * (x) + 0] argument 605 #define T2(x) pt[2 * (x) + 1] argument 606 #define T3(x) pt[2 * (x) + 2] argument 607 #define T4(x) pt[2 * (x) + 3] argument
|
D | sha1.c | 40 #define setW(x, val) (*(volatile __u32 *)&W(x) = (val)) argument 42 #define setW(x, val) do { W(x) = (val); __asm__("":::"memory"); } while (0) argument 44 #define setW(x, val) (W(x) = (val)) argument 48 #define W(x) (array[(x)&15]) argument
|
/lib/lzo/ |
D | lzo1x_decompress_safe.c | 23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x)) argument 24 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x)) argument 25 #define NEED_IP(x) if (!HAVE_IP(x)) goto input_overrun argument 26 #define NEED_OP(x) if (!HAVE_OP(x)) goto output_overrun argument
|
/lib/mpi/ |
D | mpi-inline.h | 27 mpi_limb_t x; in mpihelp_add_1() local 70 mpi_limb_t x; in mpihelp_sub_1() local
|
D | generic_mpih-sub1.c | 23 mpi_limb_t x, y, cy; in mpihelp_sub_n() local
|
D | generic_mpih-add1.c | 24 mpi_limb_t x, y, cy; in mpihelp_add_n() local
|
D | generic_mpih-mul3.c | 26 mpi_limb_t x; in mpihelp_submul_1() local
|
D | generic_mpih-mul2.c | 26 mpi_limb_t x; in mpihelp_addmul_1() local
|