/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/lib/common/ |
H A D | xpath.c | 49 if (xpathObj == NULL) { in freeXpathObject() 54 …if (xpathObj->nodesetval->nodeTab[lpc] && xpathObj->nodesetval->nodeTab[lpc]->type != XML_NAMESPAC… in freeXpathObject() 60 xmlXPathFreeObject(xpathObj); in freeXpathObject() 67 int max = numXpathResults(xpathObj); in getXpathResult() 111 if (xpathObj == NULL) { in dedupXpathResults() 148 xmlXPathObjectPtr xpathObj = NULL; in xpath_search() local 163 return xpathObj; in xpath_search() 194 freeXpathObject(xpathObj); in crm_foreach_xpath_result() 228 xmlXPathObjectPtr xpathObj = NULL; in get_xpath_object() local 238 max = numXpathResults(xpathObj); in get_xpath_object() [all …]
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/lib/common/ |
H A D | xpath.c | 43 if (xpathObj == NULL) { in freeXpathObject() 48 …if (xpathObj->nodesetval->nodeTab[lpc] && xpathObj->nodesetval->nodeTab[lpc]->type != XML_NAMESPAC… in freeXpathObject() 54 xmlXPathFreeObject(xpathObj); in freeXpathObject() 61 int max = numXpathResults(xpathObj); in getXpathResult() 105 if (xpathObj == NULL) { in dedupXpathResults() 142 xmlXPathObjectPtr xpathObj = NULL; in xpath_search() local 157 return xpathObj; in xpath_search() 188 freeXpathObject(xpathObj); in crm_foreach_xpath_result() 218 xmlXPathObjectPtr xpathObj = NULL; in get_xpath_object() local 228 max = numXpathResults(xpathObj); in get_xpath_object() [all …]
|
/dports/dns/opendnssec2/opendnssec-2.1.10/signer/src/parser/ |
H A D | addnsparser.c | 59 xmlXPathObjectPtr xpathObj = NULL; in parse_addns_remote() local 84 if(xpathObj == NULL) { in parse_addns_remote() 92 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_addns_remote() 130 xmlXPathFreeObject(xpathObj); in parse_addns_remote() 154 xmlXPathObjectPtr xpathObj = NULL; in parse_addns_acl() local 179 if(xpathObj == NULL) { in parse_addns_acl() 187 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_addns_acl() 219 xmlXPathFreeObject(xpathObj); in parse_addns_acl() 269 if(xpathObj == NULL) { in parse_addns_tsig_static() 277 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_addns_tsig_static() [all …]
|
H A D | confparser.c | 147 xmlXPathObjectPtr xpathObj = NULL; in parse_conf_repositories() local 180 if(xpathObj == NULL) { in parse_conf_repositories() 188 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_conf_repositories() 238 xmlXPathFreeObject(xpathObj); in parse_conf_repositories() 285 if(xpathObj == NULL) { in parse_conf_listener() 299 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_conf_listener() 341 xmlXPathFreeObject(xpathObj); in parse_conf_listener() 384 if (xpathObj == NULL || xpathObj->nodesetval == NULL || in parse_conf_string() 391 if (xpathObj) { in parse_conf_string() 401 xmlXPathFreeObject(xpathObj); in parse_conf_string() [all …]
|
H A D | zonelistparser.c | 55 xmlXPathObjectPtr xpathObj = NULL; in parse_zonelist_element() local 61 xpathObj = xmlXPathEvalExpression(expr, xpathCtx); in parse_zonelist_element() 62 if (xpathObj == NULL) { in parse_zonelist_element() 67 str = (const char*) xmlXPathCastToString(xpathObj); in parse_zonelist_element() 68 xmlXPathFreeObject(xpathObj); in parse_zonelist_element() 102 xmlXPathObjectPtr xpathObj = NULL; in parse_zonelist_adapter() local 111 xpathObj = xmlXPathEvalExpression(expr, xpathCtx); in parse_zonelist_adapter() 112 if (xpathObj == NULL) { in parse_zonelist_adapter() 117 if (xpathObj->nodesetval) { in parse_zonelist_adapter() 138 xmlXPathFreeObject(xpathObj); in parse_zonelist_adapter() [all …]
|
H A D | signconfparser.c | 55 xmlXPathObjectPtr xpathObj = NULL; in parse_sc_keys() local 87 xpathObj = xmlXPathEvalExpression(xexpr, xpathCtx); in parse_sc_keys() 88 if(xpathObj == NULL) { in parse_sc_keys() 98 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_sc_keys() 160 xmlXPathFreeObject(xpathObj); in parse_sc_keys() 308 xmlXPathObjectPtr xpathObj = NULL; in parse_sc_dnskey_sigrrs() local 334 xpathObj = xmlXPathEvalExpression(xexpr, xpathCtx); in parse_sc_dnskey_sigrrs() 335 if(xpathObj == NULL) { in parse_sc_dnskey_sigrrs() 343 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_sc_dnskey_sigrrs() 346 curNode = xpathObj->nodesetval->nodeTab[i]; in parse_sc_dnskey_sigrrs() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/preferences/src/c/ |
H A D | getScilabPreference.c | 189 if (xpathObj && xpathObj->nodesetval && xpathObj->nodesetval->nodeMax) in getAttribute() 194 if (xpathObj) in getAttribute() 196 xmlXPathFreeObject(xpathObj); in getAttribute() 300 xmlXPathObjectPtr xpathObj = NULL; in getPrefAttributesValues() local 315 if (xpathObj && xpathObj->nodesetval && xpathObj->nodesetval->nodeMax) in getPrefAttributesValues() 350 if (xpathObj) in getPrefAttributesValues() 352 xmlXPathFreeObject(xpathObj); in getPrefAttributesValues() 365 xmlXPathObjectPtr xpathObj = NULL; in setPrefAttributesValues() local 383 if (xpathObj && xpathObj->nodesetval && xpathObj->nodesetval->nodeMax) in setPrefAttributesValues() 401 if (xpathObj) in setPrefAttributesValues() [all …]
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/daemons/controld/ |
H A D | controld_te_callbacks.c | 58 xpathObj = in te_update_diff_v1() 68 freeXpathObject(xpathObj); in te_update_diff_v1() 71 xpathObj = in te_update_diff_v1() 80 freeXpathObject(xpathObj); in te_update_diff_v1() 83 xpathObj = in te_update_diff_v1() 105 freeXpathObject(xpathObj); in te_update_diff_v1() 108 xpathObj = in te_update_diff_v1() 119 freeXpathObject(xpathObj); in te_update_diff_v1() 156 freeXpathObject(xpathObj); in te_update_diff_v1() 159 xpathObj = in te_update_diff_v1() [all …]
|
/dports/net-mgmt/collectd5/collectd-5.12.0/src/ |
H A D | bind.c | 384 xmlXPathObject *xpathObj = in bind_xml_read_timestamp() local 386 if (xpathObj == NULL) { in bind_xml_read_timestamp() 392 if ((xpathObj->nodesetval == NULL) || (xpathObj->nodesetval->nodeNr < 1)) { in bind_xml_read_timestamp() 467 if (xpathObj == NULL) { in bind_parse_generic_name_value() 475 for (int i = 0; xpathObj->nodesetval && (i < xpathObj->nodesetval->nodeNr); in bind_parse_generic_name_value() 546 if (xpathObj == NULL) { in bind_parse_generic_value_list() 554 for (int i = 0; xpathObj->nodesetval && (i < xpathObj->nodesetval->nodeNr); in bind_parse_generic_value_list() 606 if (xpathObj == NULL) { in bind_parse_generic_name_attr_value_list() 614 for (int i = 0; xpathObj->nodesetval && (i < xpathObj->nodesetval->nodeNr); in bind_parse_generic_name_attr_value_list() 1298 if (xpathObj == NULL || xpathObj->nodesetval == NULL || in bind_xml() [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/lib/fencing/ |
H A D | st_rhcs.c | 71 xmlXPathObject *xpathObj = NULL; in stonith_rhcs_parameter_not_required() local 79 xpathObj = xpath_search(metadata, xpath); in stonith_rhcs_parameter_not_required() 80 if (numXpathResults(xpathObj) > 0) { in stonith_rhcs_parameter_not_required() 85 freeXpathObject(xpathObj); in stonith_rhcs_parameter_not_required() 104 xmlXPathObject *xpathObj = NULL; in stonith__rhcs_get_metadata() local 138 xpathObj = xpath_search(xml, "//actions"); in stonith__rhcs_get_metadata() 139 if (numXpathResults(xpathObj) > 0) { in stonith__rhcs_get_metadata() 140 actions = getXpathResult(xpathObj, 0); in stonith__rhcs_get_metadata() 142 freeXpathObject(xpathObj); in stonith__rhcs_get_metadata() 146 if (numXpathResults(xpathObj) <= 0) { in stonith__rhcs_get_metadata() [all …]
|
/dports/net/libcmis/libcmis-0.5.2/src/libcmis/ |
H A D | atom-session.cxx | 116 if ( xpathObj != NULL ) in parseServiceDocument() 119 if ( xpathObj->nodesetval ) in parseServiceDocument() 120 nbWorkspaces = xpathObj->nodesetval->nodeNr; in parseServiceDocument() 144 xmlXPathFreeObject( xpathObj ); in parseServiceDocument() 221 … if ( NULL != xpathObj && NULL != xpathObj->nodesetval && ( 0 < xpathObj->nodesetval->nodeNr ) ) in createObjectFromEntryDoc() 227 xmlNodePtr node = xpathObj->nodesetval->nodeTab[0]; in createObjectFromEntryDoc() 241 xmlXPathFreeObject( xpathObj ); in createObjectFromEntryDoc() 344 if ( NULL != xpathObj && NULL != xpathObj->nodesetval ) in getChildrenTypes() 346 int size = xpathObj->nodesetval->nodeNr; in getChildrenTypes() 349 xmlNodePtr node = xpathObj->nodesetval->nodeTab[i]; in getChildrenTypes() [all …]
|
H A D | atom-workspace.cxx | 50 if ( NULL != xpathObj ) in AtomRepository() 51 readCollections( xpathObj->nodesetval ); in AtomRepository() 52 xmlXPathFreeObject( xpathObj ); in AtomRepository() 55 xpathObj = xmlXPathEvalExpression( BAD_CAST( "//cmisra:uritemplate" ), xpathCtx ); in AtomRepository() 56 if ( NULL != xpathObj ) in AtomRepository() 57 readUriTemplates( xpathObj->nodesetval ); in AtomRepository() 58 xmlXPathFreeObject( xpathObj ); in AtomRepository() 61 xpathObj = xmlXPathEvalExpression( BAD_CAST( "//cmisra:repositoryInfo" ), xpathCtx ); in AtomRepository() 62 if ( NULL != xpathObj ) in AtomRepository() 63 initializeFromNode( xpathObj->nodesetval->nodeTab[0] ); in AtomRepository() [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/crmd/ |
H A D | te_callbacks.c | 70 xpathObj = in te_update_diff_v1() 80 freeXpathObject(xpathObj); in te_update_diff_v1() 83 xpathObj = in te_update_diff_v1() 92 freeXpathObject(xpathObj); in te_update_diff_v1() 95 xpathObj = in te_update_diff_v1() 117 freeXpathObject(xpathObj); in te_update_diff_v1() 120 xpathObj = in te_update_diff_v1() 131 freeXpathObject(xpathObj); in te_update_diff_v1() 162 xpathObj = in te_update_diff_v1() 176 freeXpathObject(xpathObj); in te_update_diff_v1() [all …]
|
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/parser/ |
H A D | confparser.c | 150 xmlXPathObjectPtr xpathObj = NULL; in parse_conf_string() local 173 if (xpathObj == NULL || xpathObj->nodesetval == NULL || in parse_conf_string() 180 if (xpathObj) { in parse_conf_string() 181 xmlXPathFreeObject(xpathObj); in parse_conf_string() 186 if (xpathObj->nodesetval != NULL && in parse_conf_string() 190 xmlXPathFreeObject(xpathObj); in parse_conf_string() 195 xmlXPathFreeObject(xpathObj); in parse_conf_string() 209 xmlXPathObjectPtr xpathObj = NULL; in parse_conf_repositories() local 242 if(xpathObj == NULL) { in parse_conf_repositories() 250 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_conf_repositories() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/io/src/cpp/ |
H A D | loadlib.cpp | 161 xmlXPathObjectPtr xpathObj = NULL; in parseLibFile() local 180 xpathObj = xmlXPathEval((const xmlChar*)"//scilablib", xpathCtxt); in parseLibFile() 181 if (xpathObj && xpathObj->nodesetval->nodeMax) in parseLibFile() 183 xmlAttrPtr attrib = xpathObj->nodesetval->nodeTab[0]->properties; in parseLibFile() 191 xmlXPathFreeObject(xpathObj); in parseLibFile() 199 xmlXPathFreeObject(xpathObj); in parseLibFile() 204 xpathObj = xmlXPathEval((const xmlChar*)"//scilablib/macro", xpathCtxt); in parseLibFile() 205 if (xpathObj && xpathObj->nodesetval->nodeMax) in parseLibFile() 208 for (int i = 0; i < xpathObj->nodesetval->nodeNr; i++) in parseLibFile() 273 if (xpathObj) in parseLibFile() [all …]
|
/dports/graphics/frogr/frogr-1.6/src/flicksoup/ |
H A D | fsp-parser.c | 368 if ((xpathObj != NULL) && (xpathObj->nodesetval->nodeNr > 0)) in _check_token_parser() 432 xmlXPathFreeObject (xpathObj); in _check_token_parser() 456 if ((xpathObj != NULL) && (xpathObj->nodesetval->nodeNr > 0)) in _exchange_token_parser() 480 xmlXPathFreeObject (xpathObj); in _exchange_token_parser() 504 if ((xpathObj != NULL) && (xpathObj->nodesetval->nodeNr > 0)) in _get_upload_status_parser() 597 xmlXPathFreeObject (xpathObj); in _get_upload_status_parser() 621 if ((xpathObj != NULL) && (xpathObj->nodesetval->nodeNr > 0)) in _photo_get_upload_result_parser() 640 xmlXPathFreeObject (xpathObj); in _photo_get_upload_result_parser() 664 if ((xpathObj != NULL) && (xpathObj->nodesetval->nodeNr > 0)) in _get_photo_info_parser() 758 if ((xpathObj != NULL) && (xpathObj->nodesetval->nodeNr > 0)) in _photoset_created_parser() [all …]
|
/dports/dns/opendnssec2/opendnssec-2.1.10/libhsm/src/bin/ |
H A D | confparser.c | 55 xmlXPathObjectPtr xpathObj = NULL; in parse_conf_repositories() local 87 xpathObj = xmlXPathEvalExpression(xexpr, xpathCtx); in parse_conf_repositories() 88 if(xpathObj == NULL) { in parse_conf_repositories() 96 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_conf_repositories() 97 for (i = 0; i < xpathObj->nodesetval->nodeNr; i++) { in parse_conf_repositories() 107 curNode = xpathObj->nodesetval->nodeTab[i]->xmlChildrenNode; in parse_conf_repositories() 108 name = (char *) xmlGetProp(xpathObj->nodesetval->nodeTab[i], in parse_conf_repositories() 145 xmlXPathFreeObject(xpathObj); in parse_conf_repositories()
|
/dports/dns/opendnssec2/opendnssec-2.1.10/libhsm/checks/ |
H A D | confparser.c | 55 xmlXPathObjectPtr xpathObj = NULL; in parse_conf_repositories() local 87 xpathObj = xmlXPathEvalExpression(xexpr, xpathCtx); in parse_conf_repositories() 88 if(xpathObj == NULL) { in parse_conf_repositories() 96 if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr > 0) { in parse_conf_repositories() 97 for (i = 0; i < xpathObj->nodesetval->nodeNr; i++) { in parse_conf_repositories() 107 curNode = xpathObj->nodesetval->nodeTab[i]->xmlChildrenNode; in parse_conf_repositories() 108 name = (char *) xmlGetProp(xpathObj->nodesetval->nodeTab[i], in parse_conf_repositories() 145 xmlXPathFreeObject(xpathObj); in parse_conf_repositories()
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/lib/fencing/ |
H A D | st_rhcs.c | 94 xmlXPathObject *xpathObj = NULL; local 102 xpathObj = xpath_search(metadata, xpath); 103 if (numXpathResults(xpathObj) > 0) { 108 freeXpathObject(xpathObj); 127 xmlXPathObject *xpathObj = NULL; local 161 xpathObj = xpath_search(xml, "//actions"); 162 if (numXpathResults(xpathObj) > 0) { 163 actions = getXpathResult(xpathObj, 0); 165 freeXpathObject(xpathObj); 169 if (numXpathResults(xpathObj) <= 0) { [all …]
|
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/enforcer/ |
H A D | repositorylist_cmd.c | 46 xmlXPathObjectPtr xpathObj = NULL; in perform_repositorylist() local 70 xpathObj = xmlXPathEvalExpression(xexpr, xpathCtx); in perform_repositorylist() 71 if(xpathObj == NULL) { in perform_repositorylist() 82 if (xpathObj->nodesetval){ in perform_repositorylist() 83 for (i = 0; i < xpathObj->nodesetval->nodeNr; i++) { in perform_repositorylist() 84 curNode = xpathObj->nodesetval->nodeTab[i]->xmlChildrenNode; in perform_repositorylist() 85 repository = (char*)xmlGetProp(xpathObj->nodesetval->nodeTab[i], (const xmlChar *)"name"); in perform_repositorylist() 103 xmlXPathFreeObject(xpathObj); in perform_repositorylist()
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/tools/ |
H A D | crm_rule.c | 109 xmlXPathObjectPtr xpathObj = NULL; in crm_rule_check() local 126 xpathObj = xpath_search(cib_constraints, xpath); in crm_rule_check() 127 max = numXpathResults(xpathObj); in crm_rule_check() 140 freeXpathObject(xpathObj); in crm_rule_check() 145 max = numXpathResults(xpathObj); in crm_rule_check() 154 freeXpathObject(xpathObj); in crm_rule_check() 159 max = numXpathResults(xpathObj); in crm_rule_check() 163 freeXpathObject(xpathObj); in crm_rule_check() 168 max = numXpathResults(xpathObj); in crm_rule_check() 177 match = getXpathResult(xpathObj, 0); in crm_rule_check() [all …]
|
/dports/www/flickcurl/flickcurl-1.26/src/ |
H A D | blog.c | 80 xmlXPathObjectPtr xpathObj = NULL; in flickcurl_build_blogs() local 83 xpathObj = xmlXPathEvalExpression(xpathExpr, xpathCtx); in flickcurl_build_blogs() 84 if(!xpathObj) { in flickcurl_build_blogs() 91 nodes = xpathObj->nodesetval; in flickcurl_build_blogs() 144 if(xpathObj) in flickcurl_build_blogs() 145 xmlXPathFreeObject(xpathObj); in flickcurl_build_blogs() 195 xmlXPathObjectPtr xpathObj = NULL; in flickcurl_build_blog_services() local 199 if(!xpathObj) { in flickcurl_build_blog_services() 206 nodes = xpathObj->nodesetval; in flickcurl_build_blog_services() 258 if(xpathObj) in flickcurl_build_blog_services() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/jvm/src/c/ |
H A D | loadLibrarypath.c | 45 xmlXPathObjectPtr xpathObj = NULL; in LoadLibrarypath() local 68 xpathObj = xmlXPathEval((const xmlChar*)"//librarypaths/path", xpathCtxt); in LoadLibrarypath() 70 if (xpathObj && xpathObj->nodesetval->nodeMax) in LoadLibrarypath() 74 for (i = 0; i < xpathObj->nodesetval->nodeNr; i++) in LoadLibrarypath() 76 xmlAttrPtr attrib = xpathObj->nodesetval->nodeTab[i]->properties; in LoadLibrarypath() 132 if (xpathObj) in LoadLibrarypath() 134 xmlXPathFreeObject(xpathObj); in LoadLibrarypath()
|
H A D | loadOnUseClassPath.c | 46 xmlXPathObjectPtr xpathObj = NULL; in loadOnUseClassPath() local 76 xpathObj = xmlXPathEval((const xmlChar*)XPath, xpathCtxt); in loadOnUseClassPath() 77 if (xpathObj && xpathObj->nodesetval->nodeMax) in loadOnUseClassPath() 81 for (i = 0; i < xpathObj->nodesetval->nodeNr; i++) in loadOnUseClassPath() 83 xmlAttrPtr attrib = xpathObj->nodesetval->nodeTab[i]->parent->properties; in loadOnUseClassPath() 120 if (xpathObj) in loadOnUseClassPath() 122 xmlXPathFreeObject(xpathObj); in loadOnUseClassPath()
|
/dports/net/libgrss/libgrss-0.7.0/src/ |
H A D | feeds-xoxo-group-handler.c | 40 xmlXPathObjectPtr xpathObj; in find_first_element() local 45 xpathObj = xmlXPathEvalExpression (BAD_CAST"//xhtml:ol[@class='xoxo']", xpathCtx); in find_first_element() 47 if (xpathObj->nodesetval == NULL || xpathObj->nodesetval->nodeNr < 1) in find_first_element() 50 ret = xpathObj->nodesetval->nodeTab [0]; in find_first_element() 52 xmlXPathFreeObject (xpathObj); in find_first_element() 82 xmlXPathObjectPtr xpathObj; in feeds_xoxo_group_handler_parse() local 94 xpathObj = xmlXPathEvalExpression (BAD_CAST"//xhtml:a[@type='webfeed']", xpathCtx); in feeds_xoxo_group_handler_parse() 96 for (i = 0; i < xpathObj->nodesetval->nodeNr; ++i) { in feeds_xoxo_group_handler_parse() 97 cur = xpathObj->nodesetval->nodeTab [i]; in feeds_xoxo_group_handler_parse() 119 xmlXPathFreeObject (xpathObj); in feeds_xoxo_group_handler_parse()
|