Lines Matching refs:seed
76 _rl_find_next_mbchar_internal (string, seed, count, find_non_zero)
78 int seed, count, find_non_zero;
88 if (seed < 0)
89 seed = 0;
91 return seed;
93 point = seed + _rl_adjust_point (string, seed, &ps);
94 /* if this is true, means that seed was not pointed character
96 if (seed < point)
144 _rl_find_prev_mbchar_internal (string, seed, find_non_zero)
146 int seed, find_non_zero;
156 if (seed < 0)
158 else if (length < seed)
162 while (point < seed)
303 _rl_is_mbchar_matched (string, seed, end, mbchar, length)
305 int seed, end;
311 if ((end - seed) < length)
315 if (string[seed + i] != mbchar[i])
343 /* Find next `count' characters started byte point of the specified seed.
348 _rl_find_next_mbchar (string, seed, count, flags)
350 int seed, count, flags;
353 return _rl_find_next_mbchar_internal (string, seed, count, flags);
355 return (seed + count);
359 /* Find previous character started byte point of the specified seed.
360 Returned point will be point <= seed. If flags is MB_FIND_NONZERO,
364 _rl_find_prev_mbchar (string, seed, flags)
366 int seed, flags;
369 return _rl_find_prev_mbchar_internal (string, seed, flags);
371 return ((seed == 0) ? seed : seed - 1);