Home
last modified time | relevance | path

Searched refs:JSON_G (Results 1 – 23 of 23) sorted by relevance

/dports/www/mod_php81/php-8.1.1/ext/json/
H A Djson.c105 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION()
153 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
161 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
207 JSON_G(error_code) = error_code; in php_json_decode_ex()
240 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
280 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
285 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
320 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
329 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h94 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/lang/php81/php-8.1.1/ext/json/
H A Djson.c105 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION()
153 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
161 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
207 JSON_G(error_code) = error_code; in php_json_decode_ex()
240 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
280 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
285 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
320 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
329 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h94 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/lang/php80/php-8.0.15/ext/json/
H A Djson.c109 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION()
157 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
165 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
209 JSON_G(error_code) = error_code; in php_json_decode_ex()
242 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
282 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
287 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
322 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
331 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h93 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/www/mod_php80/php-8.0.15/ext/json/
H A Djson.c109 JSON_G(error_code) = 0; in PHP_RINIT_FUNCTION()
157 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
165 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
209 JSON_G(error_code) = error_code; in php_json_decode_ex()
242 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
282 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
287 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
322 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
331 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h93 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/lang/php73/php-7.3.33/ext/json/
H A Djson.c203 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
211 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
255 JSON_G(error_code) = error_code; in php_json_decode_ex()
289 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
330 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
335 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
373 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
385 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h93 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/lang/php74/php-7.4.27/ext/json/
H A Djson.c202 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
210 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
254 JSON_G(error_code) = error_code; in php_json_decode_ex()
288 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
329 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
334 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
372 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
384 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h95 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/devel/php73-json/php-7.3.33/ext/json/
H A Djson.c203 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
211 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
255 JSON_G(error_code) = error_code; in php_json_decode_ex()
289 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
330 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
335 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
373 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
385 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h93 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/devel/php74-json/php-7.4.27/ext/json/
H A Djson.c202 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
210 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
254 JSON_G(error_code) = error_code; in php_json_decode_ex()
288 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
329 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
334 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
372 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
384 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h95 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/www/mod_php73/php-7.3.33/ext/json/
H A Djson.c203 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
211 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
255 JSON_G(error_code) = error_code; in php_json_decode_ex()
289 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
330 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
335 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
373 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
385 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h93 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/www/mod_php74/php-7.4.27/ext/json/
H A Djson.c202 JSON_G(error_code) = encoder.error_code; in php_json_encode_ex()
210 return php_json_encode_ex(buf, val, options, JSON_G(encode_max_depth)); in php_json_encode()
254 JSON_G(error_code) = error_code; in php_json_decode_ex()
288 JSON_G(error_code) = encoder.error_code; in PHP_FUNCTION()
329 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
334 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()
372 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
384 RETURN_STRING(php_json_get_error_msg(JSON_G(error_code))); in PHP_FUNCTION()
H A Dphp_json.h95 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
/dports/devel/pecl-swoole/swoole-4.8.5/thirdparty/php/standard/
H A Dvar_decoder.cc188 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in json_decode()
193 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in json_decode()
201 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in json_decode()
204 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in json_decode()
/dports/databases/pecl-couchbase/couchbase-2.6.2/
H A Dcouchbase.h48 #undef JSON_G
51 #define JSON_G(v) TSRMG(*pcbc_json_globals_id, zend_json_globals *, v) macro
54 #define JSON_G(v) (pcbc_json_globals->v) macro
383JSON_G(error_code) = 0; …
384JSON_G(encode_max_depth) = PHP_JSON_PARSER_DEFAULT_DEPTH; …
389JSON_G(error_code) = 0; …
397 …(__pcbc_error_code) = JSON_G(error_code); …
407 …(__pcbc_error_code) = JSON_G(error_code); …
/dports/databases/pecl-redis/redis-5.3.5/
H A Dlibrary.c3220 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in redis_unserialize()
3222 ret = JSON_G(error_code) == PHP_JSON_ERROR_NONE; in redis_unserialize()