Lines Matching refs:info

51 	php_mb_encoding_handler_info_t info;  in ZEND_EXTERN_MODULE_GLOBALS()  local
134 info.data_type = arg; in ZEND_EXTERN_MODULE_GLOBALS()
135 info.separator = separator; in ZEND_EXTERN_MODULE_GLOBALS()
136 info.report_errors = 0; in ZEND_EXTERN_MODULE_GLOBALS()
137 info.to_encoding = MBSTRG(internal_encoding); in ZEND_EXTERN_MODULE_GLOBALS()
138 info.to_language = MBSTRG(language); in ZEND_EXTERN_MODULE_GLOBALS()
139 info.from_encodings = MBSTRG(http_input_list); in ZEND_EXTERN_MODULE_GLOBALS()
140 info.num_from_encodings = MBSTRG(http_input_list_size); in ZEND_EXTERN_MODULE_GLOBALS()
141 info.from_language = MBSTRG(language); in ZEND_EXTERN_MODULE_GLOBALS()
145 detected = _php_mb_encoding_handler_ex(&info, &v_array, res); in ZEND_EXTERN_MODULE_GLOBALS()
176 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 mbfl_string_init_set(&string, info->to_encoding); in _php_mb_encoding_handler_ex()
190 mbfl_string_init_set(&resvar, info->to_encoding); in _php_mb_encoding_handler_ex()
191 mbfl_string_init_set(&resval, info->to_encoding); in _php_mb_encoding_handler_ex()
202 for (s2=info->separator; *s2 != '\0'; s2++) { in _php_mb_encoding_handler_ex()
216 var = php_strtok_r(res, info->separator, &strtok_buf); in _php_mb_encoding_handler_ex()
236 var = php_strtok_r(NULL, info->separator, &strtok_buf); in _php_mb_encoding_handler_ex()
247 if (info->num_from_encodings == 0) { in _php_mb_encoding_handler_ex()
249 } else if (info->num_from_encodings == 1) { in _php_mb_encoding_handler_ex()
250 from_encoding = info->from_encodings[0]; in _php_mb_encoding_handler_ex()
254 …identd = mbfl_encoding_detector_new(info->from_encodings, info->num_from_encodings, MBSTRG(strict_… in _php_mb_encoding_handler_ex()
269 if (info->report_errors) { in _php_mb_encoding_handler_ex()
278 convd = mbfl_buffer_converter_new(from_encoding, info->to_encoding, 0); in _php_mb_encoding_handler_ex()
283 if (info->report_errors) { in _php_mb_encoding_handler_ex()
315 if (sapi_module.input_filter(info->data_type, var, &val, val_len, &new_val_len)) { in _php_mb_encoding_handler_ex()
347 php_mb_encoding_handler_info_t info; in SAPI_POST_HANDLER_FUNC() local
352 info.data_type = PARSE_POST; in SAPI_POST_HANDLER_FUNC()
353 info.separator = "&"; in SAPI_POST_HANDLER_FUNC()
354 info.report_errors = 0; in SAPI_POST_HANDLER_FUNC()
355 info.to_encoding = MBSTRG(internal_encoding); in SAPI_POST_HANDLER_FUNC()
356 info.to_language = MBSTRG(language); in SAPI_POST_HANDLER_FUNC()
357 info.from_encodings = MBSTRG(http_input_list); in SAPI_POST_HANDLER_FUNC()
358 info.num_from_encodings = MBSTRG(http_input_list_size); in SAPI_POST_HANDLER_FUNC()
359 info.from_language = MBSTRG(language); in SAPI_POST_HANDLER_FUNC()
363 detected = _php_mb_encoding_handler_ex(&info, arg, post_data_str ? ZSTR_VAL(post_data_str) : NULL); in SAPI_POST_HANDLER_FUNC()