Lines Matching refs:first
363 int first, last, cur, center; in find_code_size() local
367 first = 0; in find_code_size()
372 center = (last - first)/2; in find_code_size()
373 cur = center + first; in find_code_size()
376 first = cur; in find_code_size()
383 if (last - first == 1) in find_code_size()
385 if (code >= RANGE_LEFT (first) && code <= RANGE_RIGHT (first)) in find_code_size()
386 return (ucs2_t)tblp[RANGE_INDEX (first) in find_code_size()
387 + code - RANGE_LEFT (first)]; in find_code_size()
396 first = 0; in find_code_size()
403 center = (last - first)/2; in find_code_size()
404 cur = center + first; in find_code_size()
408 first = cur; in find_code_size()
415 if (last - first == 1) in find_code_size()
417 if (code == tblp[UNRANGED_INDEX (first)]) in find_code_size()
418 return (ucs2_t)tblp[UNRANGED_INDEX (first) + 1]; in find_code_size()