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)
145 _rl_find_prev_mbchar_internal (string, seed, find_non_zero)
147 int seed, find_non_zero;
157 if (seed < 0)
159 else if (length < seed)
163 while (point < seed)
304 _rl_is_mbchar_matched (string, seed, end, mbchar, length)
306 int seed, end;
312 if ((end - seed) < length)
316 if (string[seed + i] != mbchar[i])
344 /* Find next `count' characters started byte point of the specified seed.
349 _rl_find_next_mbchar (string, seed, count, flags)
351 int seed, count, flags;
354 return _rl_find_next_mbchar_internal (string, seed, count, flags);
356 return (seed + count);
360 /* Find previous character started byte point of the specified seed.
361 Returned point will be point <= seed. If flags is MB_FIND_NONZERO,
365 _rl_find_prev_mbchar (string, seed, flags)
367 int seed, flags;
370 return _rl_find_prev_mbchar_internal (string, seed, flags);
372 return ((seed == 0) ? seed : seed - 1);