/lib/mpi/ |
D | mpi-cmp.c | 23 int mpi_cmp_ui(MPI u, unsigned long v) in mpi_cmp_ui() argument 27 mpi_normalize(u); in mpi_cmp_ui() 28 if (!u->nlimbs && !limb) in mpi_cmp_ui() 30 if (u->sign) in mpi_cmp_ui() 32 if (u->nlimbs > 1) in mpi_cmp_ui() 35 if (u->d[0] == limb) in mpi_cmp_ui() 37 else if (u->d[0] > limb) in mpi_cmp_ui() 44 int mpi_cmp(MPI u, MPI v) in mpi_cmp() argument 49 mpi_normalize(u); in mpi_cmp() 51 usize = u->nlimbs; in mpi_cmp() [all …]
|
D | longlong.h | 232 #define umul_ppmm(w1, w0, u, v) \ argument 238 : "%0" ((USItype)(u)), \ 241 #define smul_ppmm(w1, w0, u, v) \ argument 247 : "%0" ((SItype)(u)), \ 250 #define __umulsidi3(u, v) \ argument 254 : "%0" ((USItype)(u)), \ 320 #define umul_ppmm(wh, wl, u, v) \ 327 : "*f" ((USItype)(u)), \ 415 #define umul_ppmm(w1, w0, u, v) \ argument 419 : "%0" ((USItype)(u)), \ [all …]
|
/lib/zstd/ |
D | zstd_opt.h | 40 unsigned u; in ZSTD_rescaleFreqs() local 50 for (u = 0; u <= MaxLit; u++) in ZSTD_rescaleFreqs() 51 ssPtr->litFreq[u] = 0; in ZSTD_rescaleFreqs() 52 for (u = 0; u < srcSize; u++) in ZSTD_rescaleFreqs() 53 ssPtr->litFreq[src[u]]++; in ZSTD_rescaleFreqs() 61 for (u = 0; u <= MaxLit; u++) { in ZSTD_rescaleFreqs() 62 ssPtr->litFreq[u] = 1 + (ssPtr->litFreq[u] >> ZSTD_FREQ_DIV); in ZSTD_rescaleFreqs() 63 ssPtr->litSum += ssPtr->litFreq[u]; in ZSTD_rescaleFreqs() 65 for (u = 0; u <= MaxLL; u++) in ZSTD_rescaleFreqs() 66 ssPtr->litLengthFreq[u] = 1; in ZSTD_rescaleFreqs() [all …]
|
D | fse_compress.c | 126 U32 u; in FSE_buildCTable_wksp() local 128 for (u = 1; u <= maxSymbolValue + 1; u++) { in FSE_buildCTable_wksp() 129 if (normalizedCounter[u - 1] == -1) { /* Low proba symbol */ in FSE_buildCTable_wksp() 130 cumul[u] = cumul[u - 1] + 1; in FSE_buildCTable_wksp() 131 tableSymbol[highThreshold--] = (FSE_FUNCTION_TYPE)(u - 1); in FSE_buildCTable_wksp() 133 cumul[u] = cumul[u - 1] + normalizedCounter[u - 1]; in FSE_buildCTable_wksp() 159 U32 u; in FSE_buildCTable_wksp() local 160 for (u = 0; u < tableSize; u++) { in FSE_buildCTable_wksp() 161 …FSE_FUNCTION_TYPE s = tableSymbol[u]; /* note : static analyzer may not understand tableSymbol is … in FSE_buildCTable_wksp() 162 …tableU16[cumul[s]++] = (U16)(tableSize + u); /* TableU16 : sorted by symbol order; gives next stat… in FSE_buildCTable_wksp()
|
D | fse_decompress.c | 155 U32 u; in FSE_buildDTable_wksp() local 156 for (u = 0; u < tableSize; u++) { in FSE_buildDTable_wksp() 157 FSE_FUNCTION_TYPE const symbol = (FSE_FUNCTION_TYPE)(tableDecode[u].symbol); in FSE_buildDTable_wksp() 159 tableDecode[u].nbBits = (BYTE)(tableLog - BIT_highbit32((U32)nextState)); in FSE_buildDTable_wksp() 160 tableDecode[u].newState = (U16)((nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_wksp()
|
D | huf_decompress.c | 145 U32 u; in HUF_readDTableX2_wksp() local 149 for (u = rankVal[w]; u < rankVal[w] + length; u++) in HUF_readDTableX2_wksp() 150 dt[u] = D; in HUF_readDTableX2_wksp() 473 U32 u; in HUF_fillDTableX4() local 474 for (u = start; u < end; u++) in HUF_fillDTableX4() 475 DTable[u] = DElt; in HUF_fillDTableX4()
|
D | compress.c | 399 U32 u; in ZSTD_reduceTable() local 400 for (u = 0; u < size; u++) { in ZSTD_reduceTable() 401 if (table[u] < reducerValue) in ZSTD_reduceTable() 402 table[u] = 0; in ZSTD_reduceTable() 404 table[u] -= reducerValue; in ZSTD_reduceTable() 572 U32 u; in ZSTD_seqToCodes() local 573 for (u = 0; u < nbSeq; u++) { in ZSTD_seqToCodes() 574 U32 const llv = sequences[u].litLength; in ZSTD_seqToCodes() 575 U32 const mlv = sequences[u].matchLength; in ZSTD_seqToCodes() 576 llCodeTable[u] = (llv > 63) ? (BYTE)ZSTD_highbit32(llv) + LL_deltaCode : LL_Code[llv]; in ZSTD_seqToCodes() [all …]
|
/lib/ |
D | test_bpf.c | 72 } u; member 101 self->u.ptr.insns = insn; in bpf_fill_maxinsns1() 102 self->u.ptr.len = len; in bpf_fill_maxinsns1() 120 self->u.ptr.insns = insn; in bpf_fill_maxinsns2() 121 self->u.ptr.len = len; in bpf_fill_maxinsns2() 147 self->u.ptr.insns = insn; in bpf_fill_maxinsns3() 148 self->u.ptr.len = len; in bpf_fill_maxinsns3() 166 self->u.ptr.insns = insn; in bpf_fill_maxinsns4() 167 self->u.ptr.len = len; in bpf_fill_maxinsns4() 189 self->u.ptr.insns = insn; in bpf_fill_maxinsns5() [all …]
|
D | muldi3.c | 16 #define umul_ppmm(w1, w0, u, v) \ argument 21 __ul = __ll_lowpart(u); \ 22 __uh = __ll_highpart(u); \ 42 #define __umulsidi3(u, v) ({ \ argument 44 umul_ppmm(__w.s.high, __w.s.low, u, v); \ 49 long long notrace __muldi3(long long u, long long v) in __muldi3() argument 51 const DWunion uu = {.ll = u}; in __muldi3()
|
D | uuid.c | 113 int guid_parse(const char *uuid, guid_t *u) in guid_parse() argument 115 return __uuid_parse(uuid, u->b, guid_index); in guid_parse() 119 int uuid_parse(const char *uuid, uuid_t *u) in uuid_parse() argument 121 return __uuid_parse(uuid, u->b, uuid_index); in uuid_parse()
|
D | ashldi3.c | 9 long long notrace __ashldi3(long long u, word_type b) in __ashldi3() argument 15 return u; in __ashldi3() 17 uu.ll = u; in __ashldi3()
|
D | lshrdi3.c | 9 long long notrace __lshrdi3(long long u, word_type b) in __lshrdi3() argument 15 return u; in __lshrdi3() 17 uu.ll = u; in __lshrdi3()
|
D | ashrdi3.c | 9 long long notrace __ashrdi3(long long u, word_type b) in __ashrdi3() argument 15 return u; in __ashrdi3() 17 uu.ll = u; in __ashrdi3()
|
D | test_bitfield.c | 14 u##tp _res; \ 16 _res = u##tp##_encode_bits(v, field); \ 22 if (u##tp##_get_bits(_res, field) != v) \
|
D | inflate.c | 354 struct huft *u[BMAX]; /* table stack */ in huft_build() member 359 struct huft **u; in huft_build() local 371 u = stk->u; in huft_build() 448 u[0] = (struct huft *)NULL; /* just to keep compilers happy */ in huft_build() 492 huft_free(u[0]); in huft_build() 500 u[h] = ++q; /* table starts after link */ in huft_build() 511 u[h-1][j] = r; /* connect to last table */ in huft_build()
|
D | atomic64.c | 177 s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_fetch_add_unless() argument 185 if (val != u) in atomic64_fetch_add_unless()
|
D | vsprintf.c | 3152 unsigned long long u; in vsscanf() member 3361 val.u = qualifier != 'L' ? in vsscanf() 3372 val.u = div_u64(val.u, base); in vsscanf() 3382 *va_arg(args, unsigned char *) = val.u; in vsscanf() 3388 *va_arg(args, unsigned short *) = val.u; in vsscanf() 3394 *va_arg(args, unsigned long *) = val.u; in vsscanf() 3400 *va_arg(args, unsigned long long *) = val.u; in vsscanf() 3403 *va_arg(args, size_t *) = val.u; in vsscanf() 3409 *va_arg(args, unsigned int *) = val.u; in vsscanf()
|
D | bch.c | 574 unsigned int u, v, r; in find_poly_deg2_roots() local 583 u = a_pow(bch, l0+l2+2*(GF_N(bch)-l1)); in find_poly_deg2_roots() 591 v = u; in find_poly_deg2_roots() 598 if ((gf_sqr(bch, r)^r) == u) { in find_poly_deg2_roots()
|
/lib/reed_solomon/ |
D | decode_rs.c | 23 uint16_t u, q, tmp, num1, num2, den, discr_r, syn_error; variable 114 u = rs_modnn(rs, prim * (nn - 1 - (eras_pos[i] + pad))); 119 alpha_to[rs_modnn(rs, u + tmp)];
|
/lib/raid6/ |
D | neon.uc | 51 static inline unative_t PMUL(unative_t v, unative_t u) 53 return (unative_t)vmulq_p8((poly8x16_t)v, (poly8x16_t)u);
|