Lines Matching defs:srcndx
809 size_t entsize, size_t num_ent, size_t srcndx,
815 if (((srcndx + cnt) > num_ent) || ((dstndx + cnt) > num_ent))
820 if (srcndx == dstndx)
833 if (srcndx > dstndx) {
835 hi = srcndx;
837 low = srcndx;
844 EC_WORD(srcndx), EC_WORD(srcndx + cnt - 1),
850 name_str, EC_WORD(srcndx), EC_WORD(dstndx));
854 EC_WORD(srcndx), EC_WORD(srcndx + cnt - 1),
857 if (srcndx < dstndx) {
858 srcndx += cnt - 1;
860 for (; cnt-- > 0; srcndx--, dstndx--) {
862 * Copy item at srcndx to scratch location
864 * save = dyn[srcndx];
866 bcopy(data + (srcndx * entsize), scr_item, entsize);
872 * for (i = srcndx; i < dstndx; i++)
875 bcopy(data + ((srcndx + 1) * entsize),
876 data + (srcndx * entsize),
877 (dstndx - srcndx) * entsize);
887 for (; cnt-- > 0; srcndx++, dstndx++) {
889 * Copy item at srcndx to scratch location
891 * save = dyn[srcndx];
893 bcopy(data + (srcndx * entsize), scr_item, entsize);
899 * for (i = srcndx; i > dstndx; i--)
904 (srcndx - dstndx) * entsize);