Searched refs:OA_TYPE (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/util/ |
D | xmlconfig.c | 573 enum OptAttr {OA_DEFAULT = 0, OA_NAME, OA_TYPE, OA_VALID, OA_COUNT}; in parseOptInfoAttr() enumerator 586 if (!attrVal[OA_TYPE]) XML_FATAL1 ("type attribute missing in option."); in parseOptInfoAttr() 596 if (!strcmp (attrVal[OA_TYPE], "bool")) in parseOptInfoAttr() 598 else if (!strcmp (attrVal[OA_TYPE], "enum")) in parseOptInfoAttr() 600 else if (!strcmp (attrVal[OA_TYPE], "int")) in parseOptInfoAttr() 602 else if (!strcmp (attrVal[OA_TYPE], "float")) in parseOptInfoAttr() 604 else if (!strcmp (attrVal[OA_TYPE], "string")) in parseOptInfoAttr() 607 XML_FATAL ("illegal type in option: %s.", attrVal[OA_TYPE]); in parseOptInfoAttr()
|