Lines Matching defs:doc

298 	xmlChar *doc;
303 if ((ret = build_assoc_xml_doc(name, assoc, &doc)) != 0) {
314 darg.data_ptr = (char *)doc;
315 darg.data_size = xmlStrlen(doc) + 1;
321 (void) xmlFree(doc);
333 (void) xmlFree(doc);
340 (void) xmlFree(doc);
440 print_partial_failure_info(xmlChar *doc)
450 if ((x_doc = xmlParseMemory((const char *)doc, xmlStrlen(doc))) ==
550 * doc - result
556 process_result_response(xmlChar *doc, int obj)
561 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
562 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
578 print_partial_failure_info(doc);
609 * doc - association data
615 process_get_assoc_response(xmlChar *doc, association_t assoc)
622 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
623 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
796 * display data from the get response doc based on flag.
799 * doc - docuemet to process
805 process_get_response(object_type obj, xmlChar *doc, uint32_t flag)
813 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
814 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
1215 * doc - enumerate resonse from the server.
1216 * req_do - pointer to get request doc.
1223 cvt_enumerate_rsp_to_get_req(xmlChar *doc, xmlChar **req_doc,
1231 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
1232 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
1265 /* XXX - validate isnsResponse element from response doc. */
1408 * build remove request doc based the name.
1409 * the resulted doc is passed in the doc ptr.
1413 * doc - ptr to the resulted doc
1419 char *container, xmlChar **doc)
1570 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
1583 * build create request doc based the name.
1584 * the resulted doc is passed in the doc ptr.
1589 * doc - ptr to the resulted doc
1595 boolean_t enabled, xmlChar **doc)
1708 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
1721 * build create request doc based the name.
1722 * the resulted doc is passed in the doc ptr.
1726 * doc - ptr to the resulted doc
1731 build_rename_xml_doc(char *name, object_type obj, uint32_t id, xmlChar **doc)
1841 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
1854 * build create request doc based the name.
1855 * the resulted doc is passed in the doc ptr.
1859 * doc - ptr to the resulted doc
1865 char *container, xmlChar **doc)
2011 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2024 * build association request doc based the name.
2025 * the resulted doc is passed in the doc ptr.
2029 * doc - ptr to the resulted doc
2034 build_assoc_xml_doc(xmlChar *name, association_t assoc, xmlChar **doc)
2234 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2246 * build association request doc based the name.
2247 * the resulted doc is passed in the doc ptr.
2250 * doc - ptr to the resulted doc
2255 build_enumerate_xml_doc(object_type obj, xmlChar **doc)
2332 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2344 * build association request doc based the name.
2345 * the resulted doc is passed in the doc ptr.
2349 * doc - ptr to the resulted doc
2355 xmlChar **doc)
2519 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2546 xmlChar *doc, *e_doc;
2574 ret = build_enumerate_xml_doc(Node, &doc);
2581 darg.data_ptr = (char *)doc;
2582 darg.data_size = xmlStrlen(doc) + 1;
2590 (void) xmlFree(doc);
2598 (void) xmlFree(doc);
2607 (void) xmlFree(doc);
2608 doc = e_doc;
2610 darg.data_ptr = (char *)doc;
2611 darg.data_size = xmlStrlen(doc) + 1;
2617 if ((ret = build_get_xml_doc(operandLen, operand, Node, &doc)) ==
2620 darg.data_ptr = (char *)doc;
2621 darg.data_size = xmlStrlen(doc) + 1;
2627 (void) xmlFree(doc);
2635 (void) xmlFree(doc);
2646 (void) xmlFree(doc);
2653 xmlFree(doc);
2676 xmlChar *doc, *e_doc;
2696 ret = build_enumerate_xml_doc(DiscoveryDomain, &doc);
2704 darg.data_ptr = (char *)doc;
2705 darg.data_size = xmlStrlen(doc) + 1;
2711 (void) xmlFree(doc);
2718 (void) xmlFree(doc);
2727 (void) xmlFree(doc);
2728 doc = e_doc;
2732 DiscoveryDomain, &doc)) != 0) {
2735 (void) xmlFree(doc);
2741 darg.data_ptr = (char *)doc;
2742 darg.data_size = xmlStrlen(doc) + 1;
2749 (void) xmlFree(doc);
2757 (void) xmlFree(doc);
2764 xmlFree(doc);
2787 xmlChar *doc, *e_doc;
2807 ret = build_enumerate_xml_doc(DiscoveryDomainSet, &doc);
2815 darg.data_ptr = (char *)doc;
2816 darg.data_size = xmlStrlen(doc) + 1;
2822 (void) xmlFree(doc);
2830 (void) xmlFree(doc);
2839 (void) xmlFree(doc);
2840 doc = e_doc;
2842 darg.data_ptr = (char *)doc;
2843 darg.data_size = xmlStrlen(doc) + 1;
2849 DiscoveryDomainSet, &doc)) == 0) {
2851 darg.data_ptr = (char *)doc;
2852 darg.data_size = xmlStrlen(doc) + 1;
2863 (void) xmlFree(doc);
2875 (void) xmlFree(doc);
2881 (void) xmlFree(doc);
2903 xmlChar *doc;
2914 DiscoveryDomain, NULL, &doc)) == 0) {
2916 darg.data_ptr = (char *)doc;
2917 darg.data_size = xmlStrlen(doc) + 1;
2929 (void) xmlFree(doc);
2941 (void) xmlFree(doc);
2947 xmlFree(doc);
2969 xmlChar *doc;
2980 DiscoveryDomainSet, NULL, &doc)) == 0) {
2982 darg.data_ptr = (char *)doc;
2983 darg.data_size = xmlStrlen(doc) + 1;
2995 (void) xmlFree(doc);
3007 (void) xmlFree(doc);
3014 xmlFree(doc);
3037 xmlChar *doc;
3050 DiscoveryDomain, &doc)) == 0) {
3052 darg.data_ptr = (char *)doc;
3053 darg.data_size = xmlStrlen(doc) + 1;
3065 (void) xmlFree(doc);
3070 (void) xmlFree(doc);
3118 id, &doc)) == 0) {
3120 darg.data_ptr = (char *)doc;
3121 darg.data_size = xmlStrlen(doc) + 1;
3133 (void) xmlFree(doc);
3145 (void) xmlFree(doc);
3151 xmlFree(doc);
3174 xmlChar *doc;
3187 DiscoveryDomainSet, &doc)) == 0) {
3189 darg.data_ptr = (char *)doc;
3190 darg.data_size = xmlStrlen(doc) + 1;
3202 (void) xmlFree(doc);
3207 (void) xmlFree(doc);
3253 id, &doc)) == 0) {
3255 darg.data_ptr = (char *)doc;
3256 darg.data_size = xmlStrlen(doc) + 1;
3268 (void) xmlFree(doc);
3280 (void) xmlFree(doc);
3286 xmlFree(doc);
3308 xmlChar *doc;
3319 DiscoveryDomainMember, options->optarg, &doc)) == 0) {
3321 darg.data_ptr = (char *)doc;
3322 darg.data_size = xmlStrlen(doc) + 1;
3334 (void) xmlFree(doc);
3346 (void) xmlFree(doc);
3352 xmlFree(doc);
3374 xmlChar *doc;
3385 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) {
3387 darg.data_ptr = (char *)doc;
3388 darg.data_size = xmlStrlen(doc) + 1;
3400 (void) xmlFree(doc);
3412 (void) xmlFree(doc);
3418 xmlFree(doc);
3441 xmlChar *doc;
3452 DiscoveryDomainMember, options->optarg, &doc)) == 0) {
3454 darg.data_ptr = (char *)doc;
3455 darg.data_size = xmlStrlen(doc) + 1;
3467 (void) xmlFree(doc);
3479 (void) xmlFree(doc);
3485 xmlFree(doc);
3508 xmlChar *doc;
3519 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) {
3521 darg.data_ptr = (char *)doc;
3522 darg.data_size = xmlStrlen(doc) + 1;
3534 (void) xmlFree(doc);
3546 (void) xmlFree(doc);
3552 xmlFree(doc);
3574 xmlChar *doc;
3585 DiscoveryDomain, NULL, &doc)) == 0) {
3587 darg.data_ptr = (char *)doc;
3588 darg.data_size = xmlStrlen(doc) + 1;
3600 (void) xmlFree(doc);
3612 (void) xmlFree(doc);
3619 xmlFree(doc);
3641 xmlChar *doc;
3652 DiscoveryDomainSet, NULL, &doc)) == 0) {
3654 darg.data_ptr = (char *)doc;
3655 darg.data_size = xmlStrlen(doc) + 1;
3667 (void) xmlFree(doc);
3679 (void) xmlFree(doc);
3685 xmlFree(doc);
3705 xmlChar *doc;
3715 DiscoveryDomainSet, enable, &doc)) == 0) {
3717 darg.data_ptr = (char *)doc;
3718 darg.data_size = xmlStrlen(doc) + 1;
3730 (void) xmlFree(doc);
3734 xmlFree(doc);
3805 xmlChar *doc;
3816 ServerConfig, &doc)) == 0) {
3818 darg.data_ptr = (char *)doc;
3819 darg.data_size = xmlStrlen(doc) + 1;
3825 (void) xmlFree(doc);
3832 (void) xmlFree(doc);
3840 (void) xmlFree(doc);
3846 xmlFree(doc);