Lines Matching refs:doc

298 	xmlChar *doc;  in handle_association_info()  local
303 if ((ret = build_assoc_xml_doc(name, assoc, &doc)) != 0) { in handle_association_info()
314 darg.data_ptr = (char *)doc; in handle_association_info()
315 darg.data_size = xmlStrlen(doc) + 1; in handle_association_info()
321 (void) xmlFree(doc); in handle_association_info()
333 (void) xmlFree(doc); in handle_association_info()
340 (void) xmlFree(doc); in handle_association_info()
440 print_partial_failure_info(xmlChar *doc) in print_partial_failure_info() argument
450 if ((x_doc = xmlParseMemory((const char *)doc, xmlStrlen(doc))) == in print_partial_failure_info()
556 process_result_response(xmlChar *doc, int obj) in process_result_response() argument
561 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in process_result_response()
562 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in process_result_response()
578 print_partial_failure_info(doc); in process_result_response()
615 process_get_assoc_response(xmlChar *doc, association_t assoc) in process_get_assoc_response() argument
622 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in process_get_assoc_response()
623 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in process_get_assoc_response()
805 process_get_response(object_type obj, xmlChar *doc, uint32_t flag) in process_get_response() argument
813 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in process_get_response()
814 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in process_get_response()
1223 cvt_enumerate_rsp_to_get_req(xmlChar *doc, xmlChar **req_doc, in cvt_enumerate_rsp_to_get_req() argument
1231 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in cvt_enumerate_rsp_to_get_req()
1232 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in cvt_enumerate_rsp_to_get_req()
1419 char *container, xmlChar **doc) in build_delete_xml_doc() argument
1570 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_delete_xml_doc()
1595 boolean_t enabled, xmlChar **doc) in build_modify_xml_doc() argument
1708 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_modify_xml_doc()
1731 build_rename_xml_doc(char *name, object_type obj, uint32_t id, xmlChar **doc) in build_rename_xml_doc() argument
1841 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_rename_xml_doc()
1865 char *container, xmlChar **doc) in build_create_xml_doc() argument
2011 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_create_xml_doc()
2034 build_assoc_xml_doc(xmlChar *name, association_t assoc, xmlChar **doc) in build_assoc_xml_doc() argument
2234 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_assoc_xml_doc()
2255 build_enumerate_xml_doc(object_type obj, xmlChar **doc) in build_enumerate_xml_doc() argument
2332 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_enumerate_xml_doc()
2355 xmlChar **doc) in build_get_xml_doc() argument
2519 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_get_xml_doc()
2546 xmlChar *doc, *e_doc; in list_node_func() local
2574 ret = build_enumerate_xml_doc(Node, &doc); in list_node_func()
2581 darg.data_ptr = (char *)doc; in list_node_func()
2582 darg.data_size = xmlStrlen(doc) + 1; in list_node_func()
2590 (void) xmlFree(doc); in list_node_func()
2598 (void) xmlFree(doc); in list_node_func()
2607 (void) xmlFree(doc); in list_node_func()
2608 doc = e_doc; in list_node_func()
2610 darg.data_ptr = (char *)doc; in list_node_func()
2611 darg.data_size = xmlStrlen(doc) + 1; in list_node_func()
2617 if ((ret = build_get_xml_doc(operandLen, operand, Node, &doc)) == in list_node_func()
2620 darg.data_ptr = (char *)doc; in list_node_func()
2621 darg.data_size = xmlStrlen(doc) + 1; in list_node_func()
2627 (void) xmlFree(doc); in list_node_func()
2635 (void) xmlFree(doc); in list_node_func()
2646 (void) xmlFree(doc); in list_node_func()
2653 xmlFree(doc); in list_node_func()
2676 xmlChar *doc, *e_doc; in list_dd_func() local
2696 ret = build_enumerate_xml_doc(DiscoveryDomain, &doc); in list_dd_func()
2704 darg.data_ptr = (char *)doc; in list_dd_func()
2705 darg.data_size = xmlStrlen(doc) + 1; in list_dd_func()
2711 (void) xmlFree(doc); in list_dd_func()
2718 (void) xmlFree(doc); in list_dd_func()
2727 (void) xmlFree(doc); in list_dd_func()
2728 doc = e_doc; in list_dd_func()
2732 DiscoveryDomain, &doc)) != 0) { in list_dd_func()
2735 (void) xmlFree(doc); in list_dd_func()
2741 darg.data_ptr = (char *)doc; in list_dd_func()
2742 darg.data_size = xmlStrlen(doc) + 1; in list_dd_func()
2749 (void) xmlFree(doc); in list_dd_func()
2757 (void) xmlFree(doc); in list_dd_func()
2764 xmlFree(doc); in list_dd_func()
2787 xmlChar *doc, *e_doc; in list_ddset_func() local
2807 ret = build_enumerate_xml_doc(DiscoveryDomainSet, &doc); in list_ddset_func()
2815 darg.data_ptr = (char *)doc; in list_ddset_func()
2816 darg.data_size = xmlStrlen(doc) + 1; in list_ddset_func()
2822 (void) xmlFree(doc); in list_ddset_func()
2830 (void) xmlFree(doc); in list_ddset_func()
2839 (void) xmlFree(doc); in list_ddset_func()
2840 doc = e_doc; in list_ddset_func()
2842 darg.data_ptr = (char *)doc; in list_ddset_func()
2843 darg.data_size = xmlStrlen(doc) + 1; in list_ddset_func()
2849 DiscoveryDomainSet, &doc)) == 0) { in list_ddset_func()
2851 darg.data_ptr = (char *)doc; in list_ddset_func()
2852 darg.data_size = xmlStrlen(doc) + 1; in list_ddset_func()
2863 (void) xmlFree(doc); in list_ddset_func()
2875 (void) xmlFree(doc); in list_ddset_func()
2881 (void) xmlFree(doc); in list_ddset_func()
2903 xmlChar *doc; in create_dd_func() local
2914 DiscoveryDomain, NULL, &doc)) == 0) { in create_dd_func()
2916 darg.data_ptr = (char *)doc; in create_dd_func()
2917 darg.data_size = xmlStrlen(doc) + 1; in create_dd_func()
2929 (void) xmlFree(doc); in create_dd_func()
2941 (void) xmlFree(doc); in create_dd_func()
2947 xmlFree(doc); in create_dd_func()
2969 xmlChar *doc; in create_ddset_func() local
2980 DiscoveryDomainSet, NULL, &doc)) == 0) { in create_ddset_func()
2982 darg.data_ptr = (char *)doc; in create_ddset_func()
2983 darg.data_size = xmlStrlen(doc) + 1; in create_ddset_func()
2995 (void) xmlFree(doc); in create_ddset_func()
3007 (void) xmlFree(doc); in create_ddset_func()
3014 xmlFree(doc); in create_ddset_func()
3037 xmlChar *doc; in modify_dd_func() local
3050 DiscoveryDomain, &doc)) == 0) { in modify_dd_func()
3052 darg.data_ptr = (char *)doc; in modify_dd_func()
3053 darg.data_size = xmlStrlen(doc) + 1; in modify_dd_func()
3065 (void) xmlFree(doc); in modify_dd_func()
3070 (void) xmlFree(doc); in modify_dd_func()
3118 id, &doc)) == 0) { in modify_dd_func()
3120 darg.data_ptr = (char *)doc; in modify_dd_func()
3121 darg.data_size = xmlStrlen(doc) + 1; in modify_dd_func()
3133 (void) xmlFree(doc); in modify_dd_func()
3145 (void) xmlFree(doc); in modify_dd_func()
3151 xmlFree(doc); in modify_dd_func()
3174 xmlChar *doc; in modify_ddset_func() local
3187 DiscoveryDomainSet, &doc)) == 0) { in modify_ddset_func()
3189 darg.data_ptr = (char *)doc; in modify_ddset_func()
3190 darg.data_size = xmlStrlen(doc) + 1; in modify_ddset_func()
3202 (void) xmlFree(doc); in modify_ddset_func()
3207 (void) xmlFree(doc); in modify_ddset_func()
3253 id, &doc)) == 0) { in modify_ddset_func()
3255 darg.data_ptr = (char *)doc; in modify_ddset_func()
3256 darg.data_size = xmlStrlen(doc) + 1; in modify_ddset_func()
3268 (void) xmlFree(doc); in modify_ddset_func()
3280 (void) xmlFree(doc); in modify_ddset_func()
3286 xmlFree(doc); in modify_ddset_func()
3308 xmlChar *doc; in add_node_func() local
3319 DiscoveryDomainMember, options->optarg, &doc)) == 0) { in add_node_func()
3321 darg.data_ptr = (char *)doc; in add_node_func()
3322 darg.data_size = xmlStrlen(doc) + 1; in add_node_func()
3334 (void) xmlFree(doc); in add_node_func()
3346 (void) xmlFree(doc); in add_node_func()
3352 xmlFree(doc); in add_node_func()
3374 xmlChar *doc; in add_dd_func() local
3385 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) { in add_dd_func()
3387 darg.data_ptr = (char *)doc; in add_dd_func()
3388 darg.data_size = xmlStrlen(doc) + 1; in add_dd_func()
3400 (void) xmlFree(doc); in add_dd_func()
3412 (void) xmlFree(doc); in add_dd_func()
3418 xmlFree(doc); in add_dd_func()
3441 xmlChar *doc; in remove_node_func() local
3452 DiscoveryDomainMember, options->optarg, &doc)) == 0) { in remove_node_func()
3454 darg.data_ptr = (char *)doc; in remove_node_func()
3455 darg.data_size = xmlStrlen(doc) + 1; in remove_node_func()
3467 (void) xmlFree(doc); in remove_node_func()
3479 (void) xmlFree(doc); in remove_node_func()
3485 xmlFree(doc); in remove_node_func()
3508 xmlChar *doc; in remove_dd_func() local
3519 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) { in remove_dd_func()
3521 darg.data_ptr = (char *)doc; in remove_dd_func()
3522 darg.data_size = xmlStrlen(doc) + 1; in remove_dd_func()
3534 (void) xmlFree(doc); in remove_dd_func()
3546 (void) xmlFree(doc); in remove_dd_func()
3552 xmlFree(doc); in remove_dd_func()
3574 xmlChar *doc; in delete_dd_func() local
3585 DiscoveryDomain, NULL, &doc)) == 0) { in delete_dd_func()
3587 darg.data_ptr = (char *)doc; in delete_dd_func()
3588 darg.data_size = xmlStrlen(doc) + 1; in delete_dd_func()
3600 (void) xmlFree(doc); in delete_dd_func()
3612 (void) xmlFree(doc); in delete_dd_func()
3619 xmlFree(doc); in delete_dd_func()
3641 xmlChar *doc; in delete_ddset_func() local
3652 DiscoveryDomainSet, NULL, &doc)) == 0) { in delete_ddset_func()
3654 darg.data_ptr = (char *)doc; in delete_ddset_func()
3655 darg.data_size = xmlStrlen(doc) + 1; in delete_ddset_func()
3667 (void) xmlFree(doc); in delete_ddset_func()
3679 (void) xmlFree(doc); in delete_ddset_func()
3685 xmlFree(doc); in delete_ddset_func()
3705 xmlChar *doc; in i_enableddset() local
3715 DiscoveryDomainSet, enable, &doc)) == 0) { in i_enableddset()
3717 darg.data_ptr = (char *)doc; in i_enableddset()
3718 darg.data_size = xmlStrlen(doc) + 1; in i_enableddset()
3730 (void) xmlFree(doc); in i_enableddset()
3734 xmlFree(doc); in i_enableddset()
3805 xmlChar *doc; in show_config_func() local
3816 ServerConfig, &doc)) == 0) { in show_config_func()
3818 darg.data_ptr = (char *)doc; in show_config_func()
3819 darg.data_size = xmlStrlen(doc) + 1; in show_config_func()
3825 (void) xmlFree(doc); in show_config_func()
3832 (void) xmlFree(doc); in show_config_func()
3840 (void) xmlFree(doc); in show_config_func()
3846 xmlFree(doc); in show_config_func()