Lines Matching defs:shift
36 register int shift;
51 ep = sp + (shift = strlen(sp));
52 if (!(vpath = search(state.path.table ? state.path.table : &state.vpath, sp, shift, (const char*)visits, T_PREFIX)))
65 shift = vpathlen - (cp - sp);
66 if (shift < 0)
69 * shift left
75 else if (shift > 0)
78 * shift right extra
84 tmp[shift] = *tmp;
85 extra += shift;
89 * shift right cp
95 tmp[shift] = *tmp;
96 strcopy(sp + vpathlen + 1, cp + shift + 1);
108 strcpy(sp = ep + shift, extra);