/lib/ |
D | percpu_test.c | 26 long l = 0; in percpu_test_init() local 33 l += -1; in percpu_test_init() 35 CHECK(l, long_counter, -1); in percpu_test_init() 37 l += 1; in percpu_test_init() 39 CHECK(l, long_counter, 0); in percpu_test_init() 64 l += -ui_one; in percpu_test_init() 66 CHECK(l, long_counter, 0xffffffff); in percpu_test_init() 68 l += ui_one; in percpu_test_init() 70 CHECK(l, long_counter, (long)0x100000000LL); in percpu_test_init() 73 l = 0; in percpu_test_init() [all …]
|
D | kfifo.c | 108 unsigned int l; in kfifo_copy_in() local 116 l = min(len, size - off); in kfifo_copy_in() 118 memcpy(fifo->data + off, src, l); in kfifo_copy_in() 119 memcpy(fifo->data, src + l, len - l); in kfifo_copy_in() 130 unsigned int l; in __kfifo_in() local 132 l = kfifo_unused(fifo); in __kfifo_in() 133 if (len > l) in __kfifo_in() 134 len = l; in __kfifo_in() 147 unsigned int l; in kfifo_copy_out() local 155 l = min(len, size - off); in kfifo_copy_out() [all …]
|
D | inflate.c | 344 int l; /* bits per table (returned in m) */ in huft_build() local 393 l = *m; in huft_build() 398 if ((unsigned)l < j) in huft_build() 399 l = j; in huft_build() 404 if ((unsigned)l > i) in huft_build() 405 l = i; in huft_build() 406 *m = l; in huft_build() 447 w = -l; /* bits decoded == (l * h) */ in huft_build() 463 while (k > w + l) in huft_build() 467 w += l; /* previous table always l bits */ in huft_build() [all …]
|
D | reciprocal_div.c | 16 int l; in reciprocal_value() local 18 l = fls(d - 1); in reciprocal_value() 19 m = ((1ULL << 32) * ((1ULL << l) - d)); in reciprocal_value() 23 R.sh1 = min(l, 1); in reciprocal_value() 24 R.sh2 = max(l - 1, 0); in reciprocal_value()
|
D | decompress_unlzo.c | 57 int l; in parse_header() local 72 for (l = 0; l < 9; l++) { in parse_header() 73 if (*parse++ != lzop_magic[l]) in parse_header() 102 l = *parse++; in parse_header() 104 if (end - parse < l + 4) in parse_header() 106 parse += l + 4; in parse_header()
|
D | lcm.c | 18 unsigned long l = lcm(a, b); in lcm_not_zero() local 20 if (l) in lcm_not_zero() 21 return l; in lcm_not_zero()
|
D | bch.c | 120 const int l = BCH_ECC_WORDS(bch)-1; in encode_bch_unaligned() local 123 p = bch->mod8_tab + (l+1)*(((ecc[0] >> 24)^(*data++)) & 0xff); in encode_bch_unaligned() 125 for (i = 0; i < l; i++) in encode_bch_unaligned() 128 ecc[l] = (ecc[l] << 8)^(*p); in encode_bch_unaligned() 187 const unsigned int l = BCH_ECC_WORDS(bch)-1; in encode_bch() local 190 uint32_t w, r[l+1]; in encode_bch() 192 const uint32_t * const tab1 = tab0 + 256*(l+1); in encode_bch() 193 const uint32_t * const tab2 = tab1 + 256*(l+1); in encode_bch() 194 const uint32_t * const tab3 = tab2 + 256*(l+1); in encode_bch() 234 p0 = tab0 + (l+1)*((w >> 0) & 0xff); in encode_bch() [all …]
|
D | test_hexdump.c | 56 size_t l = len; in test_hexdump_prepare_test() local 63 if (l > rs) in test_hexdump_prepare_test() 64 l = rs; in test_hexdump_prepare_test() 80 for (i = 0; i < l / gs; i++) { in test_hexdump_prepare_test() 98 strncpy(p, data_a, l); in test_hexdump_prepare_test() 99 p += l; in test_hexdump_prepare_test()
|
D | decompress_inflate.c | 147 long l = strm->next_out - out_buf; in __gunzip() local 148 if (l != flush(out_buf, l)) { in __gunzip()
|
D | digsig.c | 77 unsigned nret, l; in digsig_verify_rsa() local 157 p = mpi_get_buffer(res, &l, NULL); in digsig_verify_rsa() 164 head = len - l; in digsig_verify_rsa() 166 memcpy(out1 + head, p, l); in digsig_verify_rsa()
|
/lib/lzo/ |
D | lzo1x_compress.c | 222 size_t l = in_len; in lzo1x_1_compress() local 225 while (l > 20) { in lzo1x_1_compress() 226 size_t ll = l <= (M4_MAX_OFFSET + 1) ? l : (M4_MAX_OFFSET + 1); in lzo1x_1_compress() 235 l -= ll; in lzo1x_1_compress() 237 t += l; in lzo1x_1_compress()
|
/lib/xz/ |
D | xz_dec_lzma2.c | 619 static void lzma_len(struct xz_dec_lzma2 *s, struct lzma_len_dec *l, in lzma_len() argument 625 if (!rc_bit(&s->rc, &l->choice)) { in lzma_len() 626 probs = l->low[pos_state]; in lzma_len() 630 if (!rc_bit(&s->rc, &l->choice2)) { in lzma_len() 631 probs = l->mid[pos_state]; in lzma_len() 635 probs = l->high; in lzma_len()
|
/lib/mpi/ |
D | longlong.h | 440 #define rshift_rhlc(r, h, l, c) \ argument 443 "=r" (r) : "r" (h), "r" (l), "rn" (c)) 499 #define rshift_rhlc(r, h, l, c) \ argument 504 __nn.__i.__h = (h); __nn.__i.__l = (l); \
|