Lines Matching refs:error_code
138 json_globals->error_code = 0; in PHP_GINIT_FUNCTION()
254 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION; in json_encode_array()
354 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH; in json_encode_array()
456 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in json_escape_string()
584 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION; in json_encode_serializable_object()
655 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode()
676 JSON_G(error_code) = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode()
699 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_decode_ex()
744 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode_ex()
787 jp->error_code = PHP_JSON_ERROR_NONE; in php_json_decode_ex()
794 JSON_G(error_code) = jp->error_code; in php_json_decode_ex()
813 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()
819 if (JSON_G(error_code) != PHP_JSON_ERROR_NONE && !(options & PHP_JSON_PARTIAL_OUTPUT_ON_ERROR)) { in PHP_FUNCTION()
843 JSON_G(error_code) = 0; in PHP_FUNCTION()
868 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()
880 switch(JSON_G(error_code)) { in PHP_FUNCTION()