/lib/ |
D | md5.c | 15 u32 a, b, c, d; in md5_transform() local 19 c = hash[2]; in md5_transform() 22 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 23 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 24 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 25 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 26 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() 27 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform() 28 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform() 29 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in md5_transform() [all …]
|
D | halfmd4.c | 17 #define ROUND(f, a, b, c, d, x, s) \ argument 18 (a += f(b, c, d) + x, a = rol32(a, s)) 28 __u32 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; in half_md4_transform() local 31 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform() 32 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform() 33 ROUND(F, c, d, a, b, in[2] + K1, 11); in half_md4_transform() 34 ROUND(F, b, c, d, a, in[3] + K1, 19); in half_md4_transform() 35 ROUND(F, a, b, c, d, in[4] + K1, 3); in half_md4_transform() 36 ROUND(F, d, a, b, c, in[5] + K1, 7); in half_md4_transform() 37 ROUND(F, c, d, a, b, in[6] + K1, 11); in half_md4_transform() [all …]
|
D | sort.c | 64 int i = (num/2 - 1) * size, n = num * size, c, r; in sort() local 77 for (r = i; r * 2 + size < n; r = c) { in sort() 78 c = r * 2 + size; in sort() 79 if (c < n - size && in sort() 80 cmp_func(base + c, base + c + size) < 0) in sort() 81 c += size; in sort() 82 if (cmp_func(base + r, base + c) >= 0) in sort() 84 swap_func(base + r, base + c, size); in sort() 91 for (r = 0; r * 2 + size < i; r = c) { in sort() 92 c = r * 2 + size; in sort() [all …]
|
D | ucs2_string.c | 60 u16 c = src[i]; in ucs2_utf8size() local 62 if (c >= 0x800) in ucs2_utf8size() 64 else if (c >= 0x80) in ucs2_utf8size() 89 u16 c = src[i]; in ucs2_as_utf8() local 91 if (c >= 0x800) { in ucs2_as_utf8() 95 dest[j++] = 0xe0 | (c & 0xf000) >> 12; in ucs2_as_utf8() 96 dest[j++] = 0x80 | (c & 0x0fc0) >> 6; in ucs2_as_utf8() 97 dest[j++] = 0x80 | (c & 0x003f); in ucs2_as_utf8() 98 } else if (c >= 0x80) { in ucs2_as_utf8() 102 dest[j++] = 0xc0 | (c & 0x7c0) >> 6; in ucs2_as_utf8() [all …]
|
D | string_helpers.c | 297 static bool escape_passthrough(unsigned char c, char **dst, char *end) in escape_passthrough() argument 302 *out = c; in escape_passthrough() 307 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument 312 switch (c) { in escape_space() 343 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument 348 switch (c) { in escape_special() 373 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument 377 if (c) in escape_null() 391 static bool escape_octal(unsigned char c, char **dst, char *end) in escape_octal() argument 399 *out = ((c >> 6) & 0x07) + '0'; in escape_octal() [all …]
|
D | strncpy_from_user.c | 41 unsigned long c, data; in do_strncpy_from_user() local 44 unsafe_get_user(c, (unsigned long __user *)(src+res), byte_at_a_time); in do_strncpy_from_user() 46 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user() 47 if (has_zero(c, &data, &constants)) { in do_strncpy_from_user() 48 data = prep_zero_mask(c, data, &constants); in do_strncpy_from_user() 58 char c; in do_strncpy_from_user() local 60 unsafe_get_user(c,src+res, efault); in do_strncpy_from_user() 61 dst[res] = c; in do_strncpy_from_user() 62 if (!c) in do_strncpy_from_user()
|
D | bch.c | 99 unsigned int c[0]; /* polynomial terms */ member 108 unsigned int c[2]; member 391 pelp->c[0] = 1; in compute_error_locator_polynomial() 393 elp->c[0] = 1; in compute_error_locator_polynomial() 403 if (pelp->c[j]) { in compute_error_locator_polynomial() 404 l = a_log(bch, pelp->c[j]); in compute_error_locator_polynomial() 405 elp->c[j+k] ^= a_pow(bch, tmp+l); in compute_error_locator_polynomial() 421 d ^= gf_mul(bch, elp->c[j], syn[2*i+2-j]); in compute_error_locator_polynomial() 437 int rem, c, r, p, k, param[m]; in solve_linear_system() local 443 for (c = 0; c < m; c++) { in solve_linear_system() [all …]
|
D | string.c | 203 unsigned long c, data; in strscpy() local 205 c = read_word_at_a_time(src+res); in strscpy() 206 if (has_zero(c, &data, &constants)) { in strscpy() 207 data = prep_zero_mask(c, data, &constants); in strscpy() 209 *(unsigned long *)(dest+res) = c & zero_bytemask(data); in strscpy() 212 *(unsigned long *)(dest+res) = c; in strscpy() 219 char c; in strscpy() local 221 c = src[res]; in strscpy() 222 dest[res] = c; in strscpy() 223 if (!c) in strscpy() [all …]
|
D | build_OID_registry | 62 my $c = $components[$loop]; 65 my $tmp = ($c == 0) ? 0 : int(log($c)/log(2)); 102 my $c = $components[$loop]; 105 my $tmp = ($c == 0) ? 0 : int(log($c)/log(2)); 109 push @octets, (($c >> $tmp * 7) & 0x7f) | 0x80; 111 push @octets, $c & 0x7f;
|
D | strnlen_user.c | 31 unsigned long c; in do_strnlen_user() local 48 unsafe_get_user(c, (unsigned long __user *)src, efault); in do_strnlen_user() 49 c |= aligned_byte_mask(align); in do_strnlen_user() 53 if (has_zero(c, &data, &constants)) { in do_strnlen_user() 54 data = prep_zero_mask(c, data, &constants); in do_strnlen_user() 63 unsafe_get_user(c, (unsigned long __user *)(src+res), efault); in do_strnlen_user()
|
D | bitmap.c | 363 int c, old_c, totaldigits, ndigits, nchunks, nbits; in __bitmap_parse() local 369 nchunks = nbits = totaldigits = c = 0; in __bitmap_parse() 376 old_c = c; in __bitmap_parse() 378 if (__get_user(c, ubuf++)) in __bitmap_parse() 382 c = *buf++; in __bitmap_parse() 384 if (isspace(c)) in __bitmap_parse() 392 if (totaldigits && c && isspace(old_c)) in __bitmap_parse() 396 if (c == '\0' || c == ',') in __bitmap_parse() 399 if (!isxdigit(c)) in __bitmap_parse() 410 chunk = (chunk << 4) | hex_to_bin(c); in __bitmap_parse() [all …]
|
D | glob.c | 56 unsigned char c = *str++; in glob_match() local 61 if (c == '\0') in glob_match() 95 match |= (a <= c && c <= b); in glob_match() 108 if (c == d) { in glob_match() 114 if (c == '\0' || !back_pat) in glob_match()
|
D | inflate.c | 352 unsigned c[BMAX+1]; /* bit length count table */ in huft_build() member 357 unsigned *c, *v, *x; in huft_build() local 367 c = stk->c; in huft_build() 373 memzero(stk->c, sizeof(stk->c)); in huft_build() 378 c[*p]++; /* assume all entries <= BMAX */ in huft_build() 381 if (c[0] == n) /* null input--all zero length codes */ in huft_build() 394 if (c[j]) in huft_build() 400 if (c[i]) in huft_build() 411 if ((y -= c[j]) < 0) { in huft_build() 415 if ((y -= c[i]) < 0) { in huft_build() [all …]
|
D | earlycpio.c | 74 unsigned char c, x; in find_cpio_data() local 94 c = *p++; in find_cpio_data() 96 x = c - '0'; in find_cpio_data() 102 x = (c | 0x20) - 'a'; in find_cpio_data()
|
D | decompress_bunzip2.c | 632 unsigned int i, j, c; in start_bunzip() local 655 c = i << 24; in start_bunzip() 657 c = c&0x80000000 ? (c << 1)^0x04c11db7 : (c << 1); in start_bunzip() 658 bd->crc32Table[i] = c; in start_bunzip()
|
D | .gitignore | 6 oid_registry_data.c
|
D | atomic64_test.c | 54 #define INIT(c) do { atomic64_set(&v, c); r = c; } while (0) argument
|
/lib/raid6/ |
D | Makefile | 36 targets += int1.c 37 $(obj)/int1.c: UNROLL := 1 38 $(obj)/int1.c: $(src)/int.uc $(src)/unroll.awk FORCE 41 targets += int2.c 42 $(obj)/int2.c: UNROLL := 2 43 $(obj)/int2.c: $(src)/int.uc $(src)/unroll.awk FORCE 46 targets += int4.c 47 $(obj)/int4.c: UNROLL := 4 48 $(obj)/int4.c: $(src)/int.uc $(src)/unroll.awk FORCE 51 targets += int8.c [all …]
|
D | .gitignore | 2 altivec*.c 3 int*.c 4 tables.c 5 neon?.c
|
D | tilegx.uc | 1 /* -*- linux-c -*- ------------------------------------------------------- * 15 * tilegx$#.c
|
/lib/raid6/test/ |
D | Makefile | 44 gcc -c -x c - >&/dev/null && \ 54 .c.o: 57 %.c: ../%.c 70 raid6test: test.c raid6.a 73 neon1.c: neon.uc ../unroll.awk 76 neon2.c: neon.uc ../unroll.awk 79 neon4.c: neon.uc ../unroll.awk 82 neon8.c: neon.uc ../unroll.awk 85 altivec1.c: altivec.uc ../unroll.awk 88 altivec2.c: altivec.uc ../unroll.awk [all …]
|
/lib/fonts/ |
D | fonts.c | 119 int i, c, cc; in get_default_font() local 126 c = f->pref; in get_default_font() 130 c = 100; in get_default_font() 134 c = 100; in get_default_font() 138 c += 1000; in get_default_font() 142 c += 1000; in get_default_font() 144 if (c > cc) { in get_default_font() 145 cc = c; in get_default_font()
|
/lib/mpi/ |
D | mpi-pow.c | 165 int c; in mpi_powm() local 177 c = count_leading_zeros(e); in mpi_powm() 178 e = (e << c) << 1; /* shift the exp bits to the left, lose msb */ in mpi_powm() 179 c = BITS_PER_MPI_LIMB - 1 - c; in mpi_powm() 192 while (c) { in mpi_powm() 258 c--; in mpi_powm() 266 c = BITS_PER_MPI_LIMB; in mpi_powm()
|
/lib/842/ |
D | 842_compress.c | 231 static int add_template(struct sw842_param *p, u8 c) in add_template() argument 234 u8 *t = comp_ops[c]; in add_template() 237 if (c >= OPS_MAX) in add_template() 295 c, i, t[0], t[1], t[2], t[3]); in add_template() 304 c, b, t[0], t[1], t[2], t[3]); in add_template() 389 static bool check_template(struct sw842_param *p, u8 c) in check_template() argument 391 u8 *t = comp_ops[c]; in check_template() 394 if (c >= OPS_MAX) in check_template()
|
/lib/zlib_deflate/ |
D | defutil.h | 262 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} argument
|