Home
last modified time | relevance | path

Searched refs:r (Results 1 – 6 of 6) sorted by relevance

/lib/
Dsort.c52 int i = (num/2 - 1) * size, n = num * size, c, r; in sort() local
59 for (r = i; r * 2 + size < n; r = c) { in sort()
60 c = r * 2 + size; in sort()
64 if (cmp_func(base + r, base + c) >= 0) in sort()
66 swap_func(base + r, base + c, size); in sort()
73 for (r = 0; r * 2 + size < i; r = c) { in sort()
74 c = r * 2 + size; in sort()
78 if (cmp_func(base + r, base + c) >= 0) in sort()
80 swap_func(base + r, base + c, size); in sort()
97 int *a, i, r = 1;
[all …]
Dinflate.c343 struct huft r; /* table entry for structure assignment */ in huft_build() local
503 r.b = (uch)l; /* bits to dump before this table */ in huft_build()
504 r.e = (uch)(16 + j); /* bits in this table */ in huft_build()
505 r.v.t = q; /* pointer to this table */ in huft_build()
507 u[h-1][j] = r; /* connect to last table */ in huft_build()
514 r.b = (uch)(k - w); in huft_build()
516 r.e = 99; /* out of values--invalid code */ in huft_build()
519 r.e = (uch)(*p < 256 ? 16 : 15); /* 256 is end-of-block code */ in huft_build()
520 r.v.n = (ush)(*p); /* simple code is just the value */ in huft_build()
525 r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ in huft_build()
[all …]
Drandom32.c76 unsigned long r; in random32() local
78 r = __random32(state); in random32()
80 return r; in random32()
Dstring.c431 const char *r; in strcspn() local
435 for (r = reject; *r != '\0'; ++r) { in strcspn()
436 if (*p == *r) in strcspn()
Dlmb.c88 static void lmb_remove_region(struct lmb_region *rgn, unsigned long r) in lmb_remove_region() argument
92 for (i = r; i < rgn->cnt - 1; i++) { in lmb_remove_region()
/lib/reed_solomon/
Ddecode_rs.c21 int i, j, r, k, pad; variable
122 r = no_eras;
124 while (++r <= nroots) { /* r is the step number */
127 for (i = 0; i < r; i++) {
128 if ((lambda[i] != 0) && (s[r - i - 1] != nn)) {
132 s[r - i - 1])];
151 if (2 * el <= r + no_eras - 1) {
152 el = r + no_eras - el;