Lines Matching refs:w
233 static uint32_t *emit_special_casing_sequence(uint32_t w, uint32_t *out) in emit_special_casing_sequence() argument
235 unsigned int len = w >> 24; in emit_special_casing_sequence()
236 const unsigned int *p = &_uccase_extra_table[w & 0xFFFFFF]; in emit_special_casing_sequence()
252 uint32_t w = wchar_buf[i]; in scan_ahead_for_cased_letter() local
253 if (php_unicode_is_cased(w)) { in scan_ahead_for_cased_letter()
256 if (!php_unicode_is_case_ignorable(w)) { in scan_ahead_for_cased_letter()
270 uint32_t w = *end; in scan_back_for_cased_letter() local
271 if (php_unicode_is_cased(w)) { in scan_back_for_cased_letter()
274 if (!php_unicode_is_case_ignorable(w)) { in scan_back_for_cased_letter()
305 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
306 *p++ = (UNEXPECTED(w > 0xFFFFFF)) ? w : php_unicode_toupper_simple(w, src_encoding); in php_unicode_convert_case()
312 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
313 *p++ = (UNEXPECTED(w > 0xFFFFFF)) ? w : php_unicode_tolower_simple(w, src_encoding); in php_unicode_convert_case()
319 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
320 *p++ = (UNEXPECTED(w > 0xFFFFFF)) ? w : php_unicode_tofold_simple(w, src_encoding); in php_unicode_convert_case()
326 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
327 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
328 *p++ = w; in php_unicode_convert_case()
331 …*p++ = title_mode ? php_unicode_tolower_simple(w, src_encoding) : php_unicode_totitle_simple(w, sr… in php_unicode_convert_case()
332 if (!php_unicode_is_case_ignorable(w)) { in php_unicode_convert_case()
333 title_mode = php_unicode_is_cased(w); in php_unicode_convert_case()
340 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
341 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
342 *p++ = w; in php_unicode_convert_case()
345 w = php_unicode_toupper_raw(w, src_encoding); in php_unicode_convert_case()
346 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
347 p = emit_special_casing_sequence(w, p); in php_unicode_convert_case()
349 *p++ = w; in php_unicode_convert_case()
356 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
357 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
358 *p++ = w; in php_unicode_convert_case()
361 if (w == 0x3A3) { in php_unicode_convert_case()
398 w = php_unicode_tolower_raw(w, src_encoding); in php_unicode_convert_case()
399 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
400 p = emit_special_casing_sequence(w, p); in php_unicode_convert_case()
402 *p++ = w; in php_unicode_convert_case()
409 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
410 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
411 *p++ = w; in php_unicode_convert_case()
414 w = php_unicode_tofold_raw(w, src_encoding); in php_unicode_convert_case()
415 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
416 p = emit_special_casing_sequence(w, p); in php_unicode_convert_case()
418 *p++ = w; in php_unicode_convert_case()
425 uint32_t w = wchar_buf[i]; in php_unicode_convert_case() local
426 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
427 *p++ = w; in php_unicode_convert_case()
432 if (w == 0x3A3) { in php_unicode_convert_case()
448 w2 = php_unicode_tolower_raw(w, src_encoding); in php_unicode_convert_case()
450 w2 = php_unicode_totitle_raw(w, src_encoding); in php_unicode_convert_case()
458 if (!php_unicode_is_case_ignorable(w)) { in php_unicode_convert_case()
459 title_mode = php_unicode_is_cased(w); in php_unicode_convert_case()