Home
last modified time | relevance | path

Searched refs:attrVal (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/util/
Dxmlconfig.c575 const XML_Char *attrVal[OA_COUNT] = {NULL, NULL, NULL, NULL}; in parseOptInfoAttr() local
583 attrVal[attrName] = attr[i+1]; in parseOptInfoAttr()
585 if (!attrVal[OA_NAME]) XML_FATAL1 ("name attribute missing in option."); in parseOptInfoAttr()
586 if (!attrVal[OA_TYPE]) XML_FATAL1 ("type attribute missing in option."); in parseOptInfoAttr()
587 if (!attrVal[OA_DEFAULT]) XML_FATAL1 ("default attribute missing in option."); in parseOptInfoAttr()
589 opt = findOption (cache, attrVal[OA_NAME]); in parseOptInfoAttr()
591 XML_FATAL ("option %s redefined.", attrVal[OA_NAME]); in parseOptInfoAttr()
594 XSTRDUP (cache->info[opt].name, attrVal[OA_NAME]); in parseOptInfoAttr()
596 if (!strcmp (attrVal[OA_TYPE], "bool")) in parseOptInfoAttr()
598 else if (!strcmp (attrVal[OA_TYPE], "enum")) in parseOptInfoAttr()
[all …]