Lines Matching refs:STATE
99 #define STATE ((parser_state_t *)state)
102 #define yyerror(s) OSUnserializeerror(STATE, (s))
148 | object { STATE->parsedObject = $1->object;
150 freeObject(STATE, $1);
158 object: dict { $$ = buildDictionary(STATE, $1); }
159 | array { $$ = buildArray(STATE, $1); }
160 | set { $$ = buildSet(STATE, $1); }
161 | string { $$ = buildString(STATE, $1); }
162 | data { $$ = buildData(STATE, $1); }
163 | number { $$ = buildNumber(STATE, $1); }
164 | boolean { $$ = buildBoolean(STATE, $1); }
165 | idref { $$ = retrieveObject(STATE, $1->idref);
172 freeObject(STATE, $1);
198 freeObject(STATE, $2);
202 key: KEY { $$ = buildString(STATE, $1); }
667 STATE->lineNumber++;
675 tagType = getTag(STATE, tag, &attributeCount, attributes, values);
680 *lvalp = object = newObject(STATE);
737 object->data = getHexData(STATE, &size);
739 object->data = getCFEncodedData(STATE, &size);
742 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END) || strcmp(tag, "data")) {
768 object->number = getNumber(STATE);
769 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END) || strcmp(tag, "integer")) {
778 object->string = getString(STATE);
782 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END)
791 freeObject(STATE, object);
802 object->string = getString(STATE);
806 if ((getTag(STATE, tag, &attributeCount, attributes, values) != TAG_END)