Lines Matching refs:data

297 	struct convert_case_data *data = (struct convert_case_data *) void_data;  in convert_case_filter()  local
303 (*data->next_filter->filter_function)(c, data->next_filter); in convert_case_filter()
307 switch (data->case_mode) { in convert_case_filter()
309 code = php_unicode_toupper_simple(c, data->no_encoding); in convert_case_filter()
310 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
314 php_unicode_toupper_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
318 code = php_unicode_tolower_simple(c, data->no_encoding); in convert_case_filter()
319 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
323 php_unicode_tolower_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
327 php_unicode_tofold_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
331 code = php_unicode_tofold_simple(c, data->no_encoding); in convert_case_filter()
332 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
338 if (data->title_mode) { in convert_case_filter()
339 if (data->case_mode == PHP_UNICODE_CASE_TITLE_SIMPLE) { in convert_case_filter()
340 code = php_unicode_tolower_simple(c, data->no_encoding); in convert_case_filter()
341 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
343 php_unicode_tolower_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
346 if (data->case_mode == PHP_UNICODE_CASE_TITLE_SIMPLE) { in convert_case_filter()
347 code = php_unicode_totitle_simple(c, data->no_encoding); in convert_case_filter()
348 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
350 php_unicode_totitle_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
354 data->title_mode = php_unicode_is_cased(c); in convert_case_filter()
368 struct convert_case_data data; in php_unicode_convert_case() local
377 &mbfl_encoding_wchar, convert_case_filter, NULL, &data); in php_unicode_convert_case()
398 data.next_filter = from_wchar; in php_unicode_convert_case()
399 data.no_encoding = src_encoding->no_encoding; in php_unicode_convert_case()
400 data.case_mode = case_mode; in php_unicode_convert_case()
401 data.title_mode = 0; in php_unicode_convert_case()