Lines Matching refs:info

50 	php_mb_encoding_handler_info_t info;  in ZEND_EXTERN_MODULE_GLOBALS()  local
133 info.data_type = arg; in ZEND_EXTERN_MODULE_GLOBALS()
134 info.separator = separator; in ZEND_EXTERN_MODULE_GLOBALS()
135 info.report_errors = false; in ZEND_EXTERN_MODULE_GLOBALS()
136 info.to_encoding = MBSTRG(internal_encoding); in ZEND_EXTERN_MODULE_GLOBALS()
137 info.from_encodings = MBSTRG(http_input_list); in ZEND_EXTERN_MODULE_GLOBALS()
138 info.num_from_encodings = MBSTRG(http_input_list_size); in ZEND_EXTERN_MODULE_GLOBALS()
142 detected = _php_mb_encoding_handler_ex(&info, &v_array, res); in ZEND_EXTERN_MODULE_GLOBALS()
173 const mbfl_encoding *_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *… in _php_mb_encoding_handler_ex() argument
189 for (const char *s2 = info->separator; *s2; s2++) { in _php_mb_encoding_handler_ex()
202 var = php_strtok_r(res, info->separator, &strtok_buf); in _php_mb_encoding_handler_ex()
222 var = php_strtok_r(NULL, info->separator, &strtok_buf); in _php_mb_encoding_handler_ex()
233 if (info->num_from_encodings == 0) { in _php_mb_encoding_handler_ex()
235 } else if (info->num_from_encodings == 1) { in _php_mb_encoding_handler_ex()
236 from_encoding = info->from_encodings[0]; in _php_mb_encoding_handler_ex()
240 …identd = mbfl_encoding_detector_new(info->from_encodings, info->num_from_encodings, MBSTRG(strict_… in _php_mb_encoding_handler_ex()
256 if (info->report_errors) { in _php_mb_encoding_handler_ex()
266 if (from_encoding != &mbfl_encoding_pass && info->to_encoding != &mbfl_encoding_pass) { in _php_mb_encoding_handler_ex()
268 … mb_fast_convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_encoding, MBSTR… in _php_mb_encoding_handler_ex()
273 … mb_fast_convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_encoding, MBSTR… in _php_mb_encoding_handler_ex()
279 …if (sapi_module.input_filter(info->data_type, ZSTR_VAL(converted_var), &val, ZSTR_LEN(converted_va… in _php_mb_encoding_handler_ex()
288 if (sapi_module.input_filter(info->data_type, var, &val, len_list[n], &new_val_len)) { in _php_mb_encoding_handler_ex()
312 php_mb_encoding_handler_info_t info; in SAPI_POST_HANDLER_FUNC() local
317 info.data_type = PARSE_POST; in SAPI_POST_HANDLER_FUNC()
318 info.separator = "&"; in SAPI_POST_HANDLER_FUNC()
319 info.report_errors = false; in SAPI_POST_HANDLER_FUNC()
320 info.to_encoding = MBSTRG(internal_encoding); in SAPI_POST_HANDLER_FUNC()
321 info.from_encodings = MBSTRG(http_input_list); in SAPI_POST_HANDLER_FUNC()
322 info.num_from_encodings = MBSTRG(http_input_list_size); in SAPI_POST_HANDLER_FUNC()
326 detected = _php_mb_encoding_handler_ex(&info, arg, post_data_str ? ZSTR_VAL(post_data_str) : NULL); in SAPI_POST_HANDLER_FUNC()