Lines Matching refs:methods
91 if (parser->methods.object_start && FAILURE == parser->methods.object_start(parser)) {
99 if (parser->methods.object_end && FAILURE == parser->methods.object_end(parser, &$$)) {
117 …if ((parser->scanner.options & PHP_JSON_OBJECT_AS_ARRAY) && parser->methods.object_create == php_j…
120 parser->methods.object_create(parser, &$$);
129 parser->methods.object_create(parser, &$$);
130 if (parser->methods.object_update(parser, &$$, Z_STR($1), &$3) == FAILURE) {
136 if (parser->methods.object_update(parser, &$1, Z_STR($3), &$5) == FAILURE) {
147 if (parser->methods.array_start && FAILURE == parser->methods.array_start(parser)) {
155 if (parser->methods.array_end && FAILURE == parser->methods.array_end(parser, &$$)) {
173 if (parser->methods.array_create == php_json_parser_array_create) {
176 parser->methods.array_create(parser, &$$);
185 parser->methods.array_create(parser, &$$);
186 parser->methods.array_append(parser, &$$, &$1);
190 parser->methods.array_append(parser, &$1, &$3);
301 memcpy(&parser->methods, parser_methods, sizeof(php_json_parser_methods)); in php_json_parser_init_ex()