Home
last modified time | relevance | path

Searched refs:ndx (Results 1 – 3 of 3) sorted by relevance

/picolibc-latest/newlib/libc/search/
Dhash_page.c121 int ndx) in __delpair() argument
130 if (bp[ndx + 1] < REAL_KEY) in __delpair()
132 if (ndx != 1) in __delpair()
133 newoff = bp[ndx - 1]; in __delpair()
136 pairlen = newoff - bp[ndx + 1]; in __delpair()
138 if (ndx != (n - 1)) { in __delpair()
143 memmove(dst, src, bp[ndx + 1] - OFFSET(bp)); in __delpair()
146 for (i = ndx + 2; i <= n; i += 2) { in __delpair()
179 int ndx, retval; in __split_page() local
200 for (n = 1, ndx = 1; n < ino[0]; n += 2) { in __split_page()
[all …]
Dhash.c625 int n, ndx, off, size; local
643 for (bp = (__uint16_t *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
654 ndx += 2;
664 ndx = 1;
667 if ((ndx =
668 __find_bigpair(hashp, rbufp, ndx, kp, size)) > 0)
670 if (ndx == -2) {
674 ndx = 0;
686 ndx = 1;
719 if (bp[ndx + 1] < REAL_KEY) {
[all …]
Dhash_bigkey.c267 int ndx, in __find_bigpair() argument
282 for (bytes = hashp->BSIZE - bp[ndx]; in __find_bigpair()
283 (int) bytes <= size && bp[ndx + 1] == PARTIAL_KEY; in __find_bigpair()
284 bytes = hashp->BSIZE - bp[ndx]) { in __find_bigpair()
285 if (memcmp(p + bp[ndx], kkey, bytes)) in __find_bigpair()
289 bufp = __get_buf(hashp, bp[ndx + 2], bufp, 0); in __find_bigpair()
294 ndx = 1; in __find_bigpair()
297 if ((int) bytes != ksize || memcmp(p + bp[ndx], kkey, bytes)) { in __find_bigpair()
303 return (ndx); in __find_bigpair()
358 int ndx, in __big_return() argument
[all …]