Home
last modified time | relevance | path

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

/PHP-7.3/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
317 encoder->error_code = PHP_JSON_ERROR_UTF8; in php_json_escape_string()
479 encoder->error_code = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object()
[all …]
H A Djson.c196 php_json_encoder encoder; in php_json_encode_ex() local
199 php_json_encode_init(&encoder); in php_json_encode_ex()
200 encoder.max_depth = depth; in php_json_encode_ex()
203 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
272 php_json_encoder encoder; in PHP_FUNCTION() local
284 php_json_encode_init(&encoder); in PHP_FUNCTION()
285 encoder.max_depth = (int)depth; in PHP_FUNCTION()
286 php_json_encode_zval(&buf, parameter, (int)options, &encoder); in PHP_FUNCTION()
289 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
295 if (encoder.error_code != PHP_JSON_ERROR_NONE) { in PHP_FUNCTION()
[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);
/PHP-7.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1453 encoder->filter_dtor(encoder); in mbfl_strcut()
1465 (*encoder->filter_flush)(encoder); in mbfl_strcut()
1476 encoder->filter_dtor(encoder); in mbfl_strcut()
1487 encoder->filter_dtor(encoder); in mbfl_strcut()
1505 encoder->filter_dtor(encoder); in mbfl_strcut()
1519 (*encoder->filter_flush)(encoder); in mbfl_strcut()
1529 encoder->filter_dtor(encoder); in mbfl_strcut()
1536 bk.encoder.filter_dtor(&bk.encoder); in mbfl_strcut()
1541 encoder->filter_dtor(encoder); in mbfl_strcut()
1548 (*encoder->filter_flush)(encoder); in mbfl_strcut()
[all …]
/PHP-7.3/ext/xml/
H A Dxml.c558 unsigned short (*encoder)(unsigned char) = NULL; in xml_utf8_encode() local
562 encoder = enc->encoding_function; in xml_utf8_encode()
567 if (encoder == NULL) { in xml_utf8_encode()
578 c = encoder ? encoder((unsigned char)(*s)) : (unsigned short)(*s); in xml_utf8_encode()
/PHP-7.3/ext/libxml/
H A Dlibxml.c433 xmlCharEncodingHandlerPtr encoder, in php_libxml_output_buffer_create_filename() argument
471 ret = xmlAllocOutputBuffer(encoder); in php_libxml_output_buffer_create_filename()
/PHP-7.3/ext/fileinfo/tests/
H A Dmagic26439 # the number of comments and the encoder version.
H A Dmagic私はガラスを食べられます26439 # the number of comments and the encoder version.

Completed in 158 milliseconds