Home
last modified time | relevance | path

Searched refs:encoder (Results 1 – 10 of 10) sorted by relevance

/PHP-7.2/ext/json/
H A Djson_encoder.c37 int options, php_json_encoder *encoder);
85 for (i = 0; i < encoder->depth; ++i) { in php_json_pretty_print_indent()
144 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_array()
157 ++encoder->depth; in php_json_encode_array()
228 if (encoder->depth > encoder->max_depth) { in php_json_encode_array()
229 encoder->error_code = PHP_JSON_ERROR_DEPTH; in php_json_encode_array()
234 --encoder->depth; in php_json_encode_array()
254 int options, php_json_encoder *encoder) /* {{{ */ in php_json_escape_string() argument
309 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string()
454 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object()
[all …]
H A Dphp_json_encoder.h33 static inline void php_json_encode_init(php_json_encoder *encoder) in php_json_encode_init() argument
35 memset(encoder, 0, sizeof(php_json_encoder)); in php_json_encode_init()
38 int php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder);
H A Djson.c191 php_json_encoder encoder; in php_json_encode_ex() local
194 php_json_encode_init(&encoder); in php_json_encode_ex()
195 encoder.max_depth = depth; in php_json_encode_ex()
197 return_code = php_json_encode_zval(buf, val, options, &encoder); in php_json_encode_ex()
198 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
231 php_json_encoder encoder; in PHP_FUNCTION() local
243 php_json_encode_init(&encoder); in PHP_FUNCTION()
244 encoder.max_depth = (int)depth; in PHP_FUNCTION()
245 php_json_encode_zval(&buf, parameter, (int)options, &encoder); in PHP_FUNCTION()
246 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1640 encoder->filter_dtor(encoder); in mbfl_strcut()
1652 (*encoder->filter_flush)(encoder); in mbfl_strcut()
1663 encoder->filter_dtor(encoder); in mbfl_strcut()
1674 encoder->filter_dtor(encoder); in mbfl_strcut()
1692 encoder->filter_dtor(encoder); in mbfl_strcut()
1706 (*encoder->filter_flush)(encoder); in mbfl_strcut()
1716 encoder->filter_dtor(encoder); in mbfl_strcut()
1723 bk.encoder.filter_dtor(&bk.encoder); in mbfl_strcut()
1728 encoder->filter_dtor(encoder); in mbfl_strcut()
1735 (*encoder->filter_flush)(encoder); in mbfl_strcut()
[all …]
/PHP-7.2/ext/xml/
H A Dxml.c560 unsigned short (*encoder)(unsigned char) = NULL; in xml_utf8_encode() local
564 encoder = enc->encoding_function; in xml_utf8_encode()
569 if (encoder == NULL) { in xml_utf8_encode()
580 c = encoder ? encoder((unsigned char)(*s)) : (unsigned short)(*s); in xml_utf8_encode()
/PHP-7.2/ext/libxml/
H A Dlibxml.c430 xmlCharEncodingHandlerPtr encoder, in php_libxml_output_buffer_create_filename() argument
463 ret = xmlAllocOutputBuffer(encoder); in php_libxml_output_buffer_create_filename()
/PHP-7.2/
H A DNEWS2781 . Introduced encoder struct instead of global which fixes bugs #66025 and
/PHP-7.2/ext/pcre/pcrelib/
H A DChangeLog667 8. Add missing (new) files sljitNativeTILEGX.c and sljitNativeTILEGX-encoder.c
/PHP-7.2/ext/fileinfo/tests/
H A Dmagic24478 # the number of comments and the encoder version.
H A Dmagic私はガラスを食べられます24478 # the number of comments and the encoder version.

Completed in 145 milliseconds