Searched refs:lastidx (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/common/lib/libc/gen/ |
| H A D | radixtree.c | 817 unsigned int lastidx; in gang_lookup_scan() local 832 lastidx = path->p_lastidx; in gang_lookup_scan() 833 KASSERT(lastidx == RADIX_TREE_INVALID_HEIGHT || in gang_lookup_scan() 834 lastidx == t->t_height || in gang_lookup_scan() 835 !entry_match_p(*path_pptr(t, path, lastidx), tagmask)); in gang_lookup_scan() 837 if (lastidx == RADIX_TREE_INVALID_HEIGHT) { in gang_lookup_scan() 842 lastidx = 0; in gang_lookup_scan() 843 vpp = path_pptr(t, path, lastidx); in gang_lookup_scan() 848 vpp = path_pptr(t, path, lastidx); in gang_lookup_scan() 854 KASSERT(lastidx == t->t_height); in gang_lookup_scan() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| H A D | ctf.c | 866 int lastidx = 0, baseidx = -1; in resurrect_labels() local 874 lastidx = ctl->ctl_typeidx; in resurrect_labels() 876 debug(3, "Resurrected label %s type idx %d\n", label, lastidx); in resurrect_labels() 878 tdata_label_add(td, label, lastidx); in resurrect_labels() 881 baseidx = lastidx; in resurrect_labels() 884 return (lastidx); in resurrect_labels() 888 return (lastidx); in resurrect_labels() 902 return (lastidx); in resurrect_labels()
|
| /netbsd-src/lib/libedit/ |
| H A D | readline.c | 483 int lastidx; in readline() local 488 lastidx = count - 1; in readline() 489 if (buf[lastidx] == '\n') in readline() 490 buf[lastidx] = '\0'; in readline()
|
| /netbsd-src/sys/dev/usb/ |
| H A D | usb_subr.c | 327 int curidx, lastidx, curaidx = 0; in usbd_find_idesc() local 329 for (curidx = lastidx = -1; end - p >= sizeof(*desc);) { in usbd_find_idesc() 349 if (idesc->bInterfaceNumber != lastidx) { in usbd_find_idesc() 350 lastidx = idesc->bInterfaceNumber; in usbd_find_idesc()
|