Lines Matching defs:node

230 	xmlNodePtr node;
271 if ((node = xmlDocGetRootElement(bhp->bh_config)) == NULL) {
276 if (xmlStrcmp(node->name, DTD_ELEM_BRAND) != 0) {
281 if ((property = xmlGetProp(node, DTD_ATTR_NAME)) == NULL) {
392 xmlNodePtr node;
399 if ((node = xmlDocGetRootElement(bhp->bh_config)) == NULL)
402 if (xmlStrcmp(node->name, DTD_ELEM_BRAND) != 0)
405 for (node = node->xmlChildrenNode; node != NULL;
406 node = node->next) {
407 if (xmlStrcmp(node->name, tagname) == 0)
411 if (node == NULL) {
420 if ((content = xmlNodeGetContent(node)) == NULL)
733 xmlNodePtr node;
739 if ((node = xmlDocGetRootElement(bhp->bh_platform)) == NULL)
742 allow_excl = xmlGetProp(node, DTD_ATTR_ALLOWEXCL);
768 xmlNodePtr node;
773 if ((node = xmlDocGetRootElement(bhp->bh_config)) == NULL)
776 for (node = node->xmlChildrenNode; node != NULL; node = node->next) {
778 if (xmlStrcmp(node->name, DTD_ELEM_PRIVILEGE) != 0)
781 name = xmlGetProp(node, DTD_ATTR_NAME);
782 set = xmlGetProp(node, DTD_ATTR_SET);
783 iptype = xmlGetProp(node, DTD_ATTR_IPTYPE);
817 xmlNodePtr node;
823 if ((node = xmlDocGetRootElement(bhp->bh_platform)) == NULL)
826 for (node = node->xmlChildrenNode; node != NULL; node = node->next) {
828 if (xmlStrcmp(node->name, mount_type) != 0)
831 special = xmlGetProp(node, DTD_ATTR_SPECIAL);
832 dir = xmlGetProp(node, DTD_ATTR_DIRECTORY);
833 type = xmlGetProp(node, DTD_ATTR_TYPE);
834 opt = xmlGetProp(node, DTD_ATTR_OPT);
923 xmlNodePtr node;
927 if ((node = xmlDocGetRootElement(bhp->bh_platform)) == NULL)
930 for (node = node->xmlChildrenNode; node != NULL; node = node->next) {
932 if (xmlStrcmp(node->name, DTD_ELEM_SYMLINK) != 0)
935 source = xmlGetProp(node, DTD_ATTR_SOURCE);
936 target = xmlGetProp(node, DTD_ATTR_TARGET);
971 xmlNodePtr node;
983 if ((node = xmlDocGetRootElement(bhp->bh_platform)) == NULL)
986 for (node = node->xmlChildrenNode; node != NULL; node = node->next) {
988 if (xmlStrcmp(node->name, DTD_ELEM_DEVICE) != 0)
991 match = xmlGetProp(node, DTD_ATTR_MATCH);
992 name = xmlGetProp(node, DTD_ATTR_NAME);
993 arch = xmlGetProp(node, DTD_ATTR_ARCH);
994 iptype = xmlGetProp(node, DTD_ATTR_IPTYPE);