Lines Matching refs:doc
292 xmlChar *doc; in handle_association_info() local
297 if ((ret = build_assoc_xml_doc(name, assoc, &doc)) != 0) { in handle_association_info()
308 darg.data_ptr = (char *)doc; in handle_association_info()
309 darg.data_size = xmlStrlen(doc) + 1; in handle_association_info()
315 (void) xmlFree(doc); in handle_association_info()
327 (void) xmlFree(doc); in handle_association_info()
334 (void) xmlFree(doc); in handle_association_info()
434 print_partial_failure_info(xmlChar *doc) in print_partial_failure_info() argument
444 if ((x_doc = xmlParseMemory((const char *)doc, xmlStrlen(doc))) == in print_partial_failure_info()
550 process_result_response(xmlChar *doc, int obj) in process_result_response() argument
555 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in process_result_response()
556 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in process_result_response()
572 print_partial_failure_info(doc); in process_result_response()
609 process_get_assoc_response(xmlChar *doc, association_t assoc) in process_get_assoc_response() argument
616 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in process_get_assoc_response()
617 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in process_get_assoc_response()
799 process_get_response(object_type obj, xmlChar *doc, uint32_t flag) in process_get_response() argument
807 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in process_get_response()
808 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in process_get_response()
1217 cvt_enumerate_rsp_to_get_req(xmlChar *doc, xmlChar **req_doc, in cvt_enumerate_rsp_to_get_req() argument
1225 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc, in cvt_enumerate_rsp_to_get_req()
1226 xmlStrlen(doc), NULL, NULL, 0)) == NULL) { in cvt_enumerate_rsp_to_get_req()
1413 char *container, xmlChar **doc) in build_delete_xml_doc() argument
1564 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_delete_xml_doc()
1589 boolean_t enabled, xmlChar **doc) in build_modify_xml_doc() argument
1702 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_modify_xml_doc()
1725 build_rename_xml_doc(char *name, object_type obj, uint32_t id, xmlChar **doc) in build_rename_xml_doc() argument
1835 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_rename_xml_doc()
1859 char *container, xmlChar **doc) in build_create_xml_doc() argument
2005 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_create_xml_doc()
2028 build_assoc_xml_doc(xmlChar *name, association_t assoc, xmlChar **doc) in build_assoc_xml_doc() argument
2228 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_assoc_xml_doc()
2249 build_enumerate_xml_doc(object_type obj, xmlChar **doc) in build_enumerate_xml_doc() argument
2326 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_enumerate_xml_doc()
2349 xmlChar **doc) in build_get_xml_doc() argument
2513 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) { in build_get_xml_doc()
2540 xmlChar *doc, *e_doc; in list_node_func() local
2568 ret = build_enumerate_xml_doc(Node, &doc); in list_node_func()
2575 darg.data_ptr = (char *)doc; in list_node_func()
2576 darg.data_size = xmlStrlen(doc) + 1; in list_node_func()
2584 (void) xmlFree(doc); in list_node_func()
2592 (void) xmlFree(doc); in list_node_func()
2601 (void) xmlFree(doc); in list_node_func()
2602 doc = e_doc; in list_node_func()
2604 darg.data_ptr = (char *)doc; in list_node_func()
2605 darg.data_size = xmlStrlen(doc) + 1; in list_node_func()
2611 if ((ret = build_get_xml_doc(operandLen, operand, Node, &doc)) == in list_node_func()
2614 darg.data_ptr = (char *)doc; in list_node_func()
2615 darg.data_size = xmlStrlen(doc) + 1; in list_node_func()
2621 (void) xmlFree(doc); in list_node_func()
2629 (void) xmlFree(doc); in list_node_func()
2640 (void) xmlFree(doc); in list_node_func()
2647 xmlFree(doc); in list_node_func()
2670 xmlChar *doc, *e_doc; in list_dd_func() local
2690 ret = build_enumerate_xml_doc(DiscoveryDomain, &doc); in list_dd_func()
2698 darg.data_ptr = (char *)doc; in list_dd_func()
2699 darg.data_size = xmlStrlen(doc) + 1; in list_dd_func()
2705 (void) xmlFree(doc); in list_dd_func()
2712 (void) xmlFree(doc); in list_dd_func()
2721 (void) xmlFree(doc); in list_dd_func()
2722 doc = e_doc; in list_dd_func()
2726 DiscoveryDomain, &doc)) != 0) { in list_dd_func()
2729 (void) xmlFree(doc); in list_dd_func()
2735 darg.data_ptr = (char *)doc; in list_dd_func()
2736 darg.data_size = xmlStrlen(doc) + 1; in list_dd_func()
2743 (void) xmlFree(doc); in list_dd_func()
2751 (void) xmlFree(doc); in list_dd_func()
2758 xmlFree(doc); in list_dd_func()
2781 xmlChar *doc, *e_doc; in list_ddset_func() local
2801 ret = build_enumerate_xml_doc(DiscoveryDomainSet, &doc); in list_ddset_func()
2809 darg.data_ptr = (char *)doc; in list_ddset_func()
2810 darg.data_size = xmlStrlen(doc) + 1; in list_ddset_func()
2816 (void) xmlFree(doc); in list_ddset_func()
2824 (void) xmlFree(doc); in list_ddset_func()
2833 (void) xmlFree(doc); in list_ddset_func()
2834 doc = e_doc; in list_ddset_func()
2836 darg.data_ptr = (char *)doc; in list_ddset_func()
2837 darg.data_size = xmlStrlen(doc) + 1; in list_ddset_func()
2843 DiscoveryDomainSet, &doc)) == 0) { in list_ddset_func()
2845 darg.data_ptr = (char *)doc; in list_ddset_func()
2846 darg.data_size = xmlStrlen(doc) + 1; in list_ddset_func()
2857 (void) xmlFree(doc); in list_ddset_func()
2869 (void) xmlFree(doc); in list_ddset_func()
2875 (void) xmlFree(doc); in list_ddset_func()
2897 xmlChar *doc; in create_dd_func() local
2908 DiscoveryDomain, NULL, &doc)) == 0) { in create_dd_func()
2910 darg.data_ptr = (char *)doc; in create_dd_func()
2911 darg.data_size = xmlStrlen(doc) + 1; in create_dd_func()
2923 (void) xmlFree(doc); in create_dd_func()
2935 (void) xmlFree(doc); in create_dd_func()
2941 xmlFree(doc); in create_dd_func()
2963 xmlChar *doc; in create_ddset_func() local
2974 DiscoveryDomainSet, NULL, &doc)) == 0) { in create_ddset_func()
2976 darg.data_ptr = (char *)doc; in create_ddset_func()
2977 darg.data_size = xmlStrlen(doc) + 1; in create_ddset_func()
2989 (void) xmlFree(doc); in create_ddset_func()
3001 (void) xmlFree(doc); in create_ddset_func()
3008 xmlFree(doc); in create_ddset_func()
3031 xmlChar *doc; in modify_dd_func() local
3044 DiscoveryDomain, &doc)) == 0) { in modify_dd_func()
3046 darg.data_ptr = (char *)doc; in modify_dd_func()
3047 darg.data_size = xmlStrlen(doc) + 1; in modify_dd_func()
3059 (void) xmlFree(doc); in modify_dd_func()
3064 (void) xmlFree(doc); in modify_dd_func()
3112 id, &doc)) == 0) { in modify_dd_func()
3114 darg.data_ptr = (char *)doc; in modify_dd_func()
3115 darg.data_size = xmlStrlen(doc) + 1; in modify_dd_func()
3127 (void) xmlFree(doc); in modify_dd_func()
3139 (void) xmlFree(doc); in modify_dd_func()
3145 xmlFree(doc); in modify_dd_func()
3168 xmlChar *doc; in modify_ddset_func() local
3181 DiscoveryDomainSet, &doc)) == 0) { in modify_ddset_func()
3183 darg.data_ptr = (char *)doc; in modify_ddset_func()
3184 darg.data_size = xmlStrlen(doc) + 1; in modify_ddset_func()
3196 (void) xmlFree(doc); in modify_ddset_func()
3201 (void) xmlFree(doc); in modify_ddset_func()
3247 id, &doc)) == 0) { in modify_ddset_func()
3249 darg.data_ptr = (char *)doc; in modify_ddset_func()
3250 darg.data_size = xmlStrlen(doc) + 1; in modify_ddset_func()
3262 (void) xmlFree(doc); in modify_ddset_func()
3274 (void) xmlFree(doc); in modify_ddset_func()
3280 xmlFree(doc); in modify_ddset_func()
3302 xmlChar *doc; in add_node_func() local
3313 DiscoveryDomainMember, options->optarg, &doc)) == 0) { in add_node_func()
3315 darg.data_ptr = (char *)doc; in add_node_func()
3316 darg.data_size = xmlStrlen(doc) + 1; in add_node_func()
3328 (void) xmlFree(doc); in add_node_func()
3340 (void) xmlFree(doc); in add_node_func()
3346 xmlFree(doc); in add_node_func()
3368 xmlChar *doc; in add_dd_func() local
3379 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) { in add_dd_func()
3381 darg.data_ptr = (char *)doc; in add_dd_func()
3382 darg.data_size = xmlStrlen(doc) + 1; in add_dd_func()
3394 (void) xmlFree(doc); in add_dd_func()
3406 (void) xmlFree(doc); in add_dd_func()
3412 xmlFree(doc); in add_dd_func()
3435 xmlChar *doc; in remove_node_func() local
3446 DiscoveryDomainMember, options->optarg, &doc)) == 0) { in remove_node_func()
3448 darg.data_ptr = (char *)doc; in remove_node_func()
3449 darg.data_size = xmlStrlen(doc) + 1; in remove_node_func()
3461 (void) xmlFree(doc); in remove_node_func()
3473 (void) xmlFree(doc); in remove_node_func()
3479 xmlFree(doc); in remove_node_func()
3502 xmlChar *doc; in remove_dd_func() local
3513 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) { in remove_dd_func()
3515 darg.data_ptr = (char *)doc; in remove_dd_func()
3516 darg.data_size = xmlStrlen(doc) + 1; in remove_dd_func()
3528 (void) xmlFree(doc); in remove_dd_func()
3540 (void) xmlFree(doc); in remove_dd_func()
3546 xmlFree(doc); in remove_dd_func()
3568 xmlChar *doc; in delete_dd_func() local
3579 DiscoveryDomain, NULL, &doc)) == 0) { in delete_dd_func()
3581 darg.data_ptr = (char *)doc; in delete_dd_func()
3582 darg.data_size = xmlStrlen(doc) + 1; in delete_dd_func()
3594 (void) xmlFree(doc); in delete_dd_func()
3606 (void) xmlFree(doc); in delete_dd_func()
3613 xmlFree(doc); in delete_dd_func()
3635 xmlChar *doc; in delete_ddset_func() local
3646 DiscoveryDomainSet, NULL, &doc)) == 0) { in delete_ddset_func()
3648 darg.data_ptr = (char *)doc; in delete_ddset_func()
3649 darg.data_size = xmlStrlen(doc) + 1; in delete_ddset_func()
3661 (void) xmlFree(doc); in delete_ddset_func()
3673 (void) xmlFree(doc); in delete_ddset_func()
3679 xmlFree(doc); in delete_ddset_func()
3699 xmlChar *doc; in i_enableddset() local
3709 DiscoveryDomainSet, enable, &doc)) == 0) { in i_enableddset()
3711 darg.data_ptr = (char *)doc; in i_enableddset()
3712 darg.data_size = xmlStrlen(doc) + 1; in i_enableddset()
3724 (void) xmlFree(doc); in i_enableddset()
3728 xmlFree(doc); in i_enableddset()
3799 xmlChar *doc; in show_config_func() local
3810 ServerConfig, &doc)) == 0) { in show_config_func()
3812 darg.data_ptr = (char *)doc; in show_config_func()
3813 darg.data_size = xmlStrlen(doc) + 1; in show_config_func()
3819 (void) xmlFree(doc); in show_config_func()
3826 (void) xmlFree(doc); in show_config_func()
3834 (void) xmlFree(doc); in show_config_func()
3840 xmlFree(doc); in show_config_func()