Lines Matching refs:STATE
99 #define STATE ((parser_state_t *)state)
102 #define yyerror(s) OSUnserializeerror(STATE, (s))
153 | object { STATE->parsedObject = $1->object;
155 freeObject(STATE, $1);
163 object: dict { $$ = buildDictionary(STATE, $1); }
164 | array { $$ = buildArray(STATE, $1); }
165 | set { $$ = buildSet(STATE, $1); }
166 | string { $$ = buildString(STATE, $1); }
167 | data { $$ = buildData(STATE, $1); }
168 | number { $$ = buildNumber(STATE, $1); }
169 | boolean { $$ = buildBoolean(STATE, $1); }
170 | idref { $$ = retrieveObject(STATE, $1->idref);
177 freeObject(STATE, $1);
203 freeObject(STATE, $2);
207 key: KEY { $$ = buildString(STATE, $1); }
639 STATE->lineNumber++;
647 tagType = getTag(STATE, tag, &attributeCount, attributes, values);
652 *lvalp = object = newObject(STATE);
709 object->data = getHexData(STATE, &size);
711 object->data = getCFEncodedData(STATE, &size);
714 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END) || strcmp(tag, "data")) {
740 object->number = getNumber(STATE);
741 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END) || strcmp(tag, "integer")) {
750 object->string = getString(STATE);
754 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END)
763 freeObject(STATE, object);
774 object->string = getString(STATE);
778 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END)