Lines Matching refs:max
86 Count up to max number of characters in a ucs2_t string.
88 size_t strnlen_w(const ucs2_t *src, size_t max)
92 for(len = 0; *src++ && (len < max); len++) ;
224 copy a string with max len
227 ucs2_t *strncpy_w(ucs2_t *dest, const ucs2_t *src, const size_t max)
233 for (len = 0; (src[len] != 0) && (len < max); len++)
235 while (len < max)
246 ucs2_t *strncat_w(ucs2_t *dest, const ucs2_t *src, const size_t max)
254 len = strnlen_w(src, max);
287 int max = PRECOMP_COUNT - 1;
292 while (max >= min) {
293 mid = (min + max) / 2;
298 max = mid - 1;
311 int max = PRECOMP_SP_COUNT - 1;
316 while (max >= min) {
317 mid = (min + max) / 2;
322 max = mid - 1;
335 int max = DECOMP_COUNT - 1;
341 while (max >= min) {
342 mid = (min + max) / 2;
347 max = mid - 1;
361 int max = DECOMP_SP_COUNT - 1;
368 while (max >= min) {
369 mid = (min + max) / 2;
374 max = mid - 1;