Lines Matching refs:methods
105 if (parser->methods.object_start && FAILURE == parser->methods.object_start(parser)) {
113 if (parser->methods.object_end && FAILURE == parser->methods.object_end(parser, &$$)) {
131 parser->methods.object_create(parser, &$$);
139 parser->methods.object_create(parser, &$$);
140 if (parser->methods.object_update(parser, &$$, $1.key, &$1.val) == FAILURE) {
146 if (parser->methods.object_update(parser, &$1, $3.key, &$3.val) == FAILURE) {
173 if (parser->methods.array_start && FAILURE == parser->methods.array_start(parser)) {
181 if (parser->methods.array_end && FAILURE == parser->methods.array_end(parser, &$$)) {
199 parser->methods.array_create(parser, &$$);
207 parser->methods.array_create(parser, &$$);
208 parser->methods.array_append(parser, &$$, &$1);
212 parser->methods.array_append(parser, &$1, &$3);
339 memcpy(&parser->methods, parser_methods, sizeof(php_json_parser_methods)); in php_json_parser_init_ex()