Lines Matching refs:r
64 long l, r, m; in prop_lookup() local
81 r = _ucprop_offsets[n + m] - 1; in prop_lookup()
83 while (l <= r) { in prop_lookup()
88 m = (l + r) >> 1; in prop_lookup()
93 r = m - 2; in prop_lookup()
122 static unsigned long case_lookup(unsigned long code, long l, long r, int field) in case_lookup() argument
130 while (l <= r) { in case_lookup()
135 m = (l + r) >> 1; in case_lookup()
140 r = m - 1; in case_lookup()
148 MBSTRING_API unsigned long php_turkish_toupper(unsigned long code, long l, long r, int field) in php_turkish_toupper() argument
153 return case_lookup(code, l, r, field); in php_turkish_toupper()
156 MBSTRING_API unsigned long php_turkish_tolower(unsigned long code, long l, long r, int field) in php_turkish_tolower() argument
161 return case_lookup(code, l, r, field); in php_turkish_tolower()
167 long l, r; in php_unicode_toupper() local
178 r = (l + _uccase_len[1]) - 1; in php_unicode_toupper()
181 return php_turkish_toupper(code, l, r, field); in php_unicode_toupper()
190 r = _uccase_size - 1; in php_unicode_toupper()
192 return case_lookup(code, l, r, field); in php_unicode_toupper()
198 long l, r; in php_unicode_tolower() local
209 r = _uccase_len[0] - 1; in php_unicode_tolower()
212 return php_turkish_tolower(code, l, r, field); in php_unicode_tolower()
221 r = _uccase_size - 1; in php_unicode_tolower()
223 return case_lookup(code, l, r, field); in php_unicode_tolower()
229 long l, r; in php_unicode_totitle() local
244 r = _uccase_len[0] - 1; in php_unicode_totitle()
250 r = (l + _uccase_len[1]) - 1; in php_unicode_totitle()
252 return case_lookup(code, l, r, field); in php_unicode_totitle()