Lines Matching defs:ns
298 * os is start of old pos array, ns is start of new,
305 better(Env_t* env, Pos_t* os, Pos_t* ns, Pos_t* oend, Pos_t* nend, int level)
316 DEBUG_CODE(0x0080,{sfprintf(sfstdout, " %-*.*sold ", (level + 3) * 4, (level + 3) * 4, "");for (oe = os; oe < oend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n %-*.*snew ", (level + 3) * 4, (level + 3) * 4, "");for (oe = ns; oe < nend; oe++)sfprintf(sfstdout, "<%d,%d,%d>", oe->p - env->beg, oe->serial, oe->be);sfprintf(sfstdout, "\n");},{0;});
317 if (ns >= nend)
322 if (ns->serial > n)
324 if (n > ns->serial)
329 if (ns->p > os->p)
331 if (os->p > ns->p)
343 ne = ns;
357 if (k = better(env, os + 1, ns + 1, oe, ne, level + 1))
360 ns = ne + 1;
383 _better(Env_t* env, Pos_t* os, Pos_t* ns, Pos_t* oend, Pos_t* nend, int level)
388 i = better(env, os, ns, oend, nend, 0);