Lines Matching defs:doc

292 	xmlChar *doc;
297 if ((ret = build_assoc_xml_doc(name, assoc, &doc)) != 0) {
308 darg.data_ptr = (char *)doc;
309 darg.data_size = xmlStrlen(doc) + 1;
315 (void) xmlFree(doc);
327 (void) xmlFree(doc);
334 (void) xmlFree(doc);
434 print_partial_failure_info(xmlChar *doc)
444 if ((x_doc = xmlParseMemory((const char *)doc, xmlStrlen(doc))) ==
544 * doc - result
550 process_result_response(xmlChar *doc, int obj)
555 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
556 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
572 print_partial_failure_info(doc);
603 * doc - association data
609 process_get_assoc_response(xmlChar *doc, association_t assoc)
616 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
617 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
790 * display data from the get response doc based on flag.
793 * doc - docuemet to process
799 process_get_response(object_type obj, xmlChar *doc, uint32_t flag)
807 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
808 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
1209 * doc - enumerate resonse from the server.
1210 * req_do - pointer to get request doc.
1217 cvt_enumerate_rsp_to_get_req(xmlChar *doc, xmlChar **req_doc,
1225 if ((reader = (xmlTextReaderPtr)xmlReaderForMemory((const char *)doc,
1226 xmlStrlen(doc), NULL, NULL, 0)) == NULL) {
1259 /* XXX - validate isnsResponse element from response doc. */
1402 * build remove request doc based the name.
1403 * the resulted doc is passed in the doc ptr.
1407 * doc - ptr to the resulted doc
1413 char *container, xmlChar **doc)
1564 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
1577 * build create request doc based the name.
1578 * the resulted doc is passed in the doc ptr.
1583 * doc - ptr to the resulted doc
1589 boolean_t enabled, xmlChar **doc)
1702 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
1715 * build create request doc based the name.
1716 * the resulted doc is passed in the doc ptr.
1720 * doc - ptr to the resulted doc
1725 build_rename_xml_doc(char *name, object_type obj, uint32_t id, xmlChar **doc)
1835 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
1848 * build create request doc based the name.
1849 * the resulted doc is passed in the doc ptr.
1853 * doc - ptr to the resulted doc
1859 char *container, xmlChar **doc)
2005 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2018 * build association request doc based the name.
2019 * the resulted doc is passed in the doc ptr.
2023 * doc - ptr to the resulted doc
2028 build_assoc_xml_doc(xmlChar *name, association_t assoc, xmlChar **doc)
2228 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2240 * build association request doc based the name.
2241 * the resulted doc is passed in the doc ptr.
2244 * doc - ptr to the resulted doc
2249 build_enumerate_xml_doc(object_type obj, xmlChar **doc)
2326 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2338 * build association request doc based the name.
2339 * the resulted doc is passed in the doc ptr.
2343 * doc - ptr to the resulted doc
2349 xmlChar **doc)
2513 if ((*doc = xmlStrndup(xbuf->content, len)) == NULL) {
2540 xmlChar *doc, *e_doc;
2568 ret = build_enumerate_xml_doc(Node, &doc);
2575 darg.data_ptr = (char *)doc;
2576 darg.data_size = xmlStrlen(doc) + 1;
2584 (void) xmlFree(doc);
2592 (void) xmlFree(doc);
2601 (void) xmlFree(doc);
2602 doc = e_doc;
2604 darg.data_ptr = (char *)doc;
2605 darg.data_size = xmlStrlen(doc) + 1;
2611 if ((ret = build_get_xml_doc(operandLen, operand, Node, &doc)) ==
2614 darg.data_ptr = (char *)doc;
2615 darg.data_size = xmlStrlen(doc) + 1;
2621 (void) xmlFree(doc);
2629 (void) xmlFree(doc);
2640 (void) xmlFree(doc);
2647 xmlFree(doc);
2670 xmlChar *doc, *e_doc;
2690 ret = build_enumerate_xml_doc(DiscoveryDomain, &doc);
2698 darg.data_ptr = (char *)doc;
2699 darg.data_size = xmlStrlen(doc) + 1;
2705 (void) xmlFree(doc);
2712 (void) xmlFree(doc);
2721 (void) xmlFree(doc);
2722 doc = e_doc;
2726 DiscoveryDomain, &doc)) != 0) {
2729 (void) xmlFree(doc);
2735 darg.data_ptr = (char *)doc;
2736 darg.data_size = xmlStrlen(doc) + 1;
2743 (void) xmlFree(doc);
2751 (void) xmlFree(doc);
2758 xmlFree(doc);
2781 xmlChar *doc, *e_doc;
2801 ret = build_enumerate_xml_doc(DiscoveryDomainSet, &doc);
2809 darg.data_ptr = (char *)doc;
2810 darg.data_size = xmlStrlen(doc) + 1;
2816 (void) xmlFree(doc);
2824 (void) xmlFree(doc);
2833 (void) xmlFree(doc);
2834 doc = e_doc;
2836 darg.data_ptr = (char *)doc;
2837 darg.data_size = xmlStrlen(doc) + 1;
2843 DiscoveryDomainSet, &doc)) == 0) {
2845 darg.data_ptr = (char *)doc;
2846 darg.data_size = xmlStrlen(doc) + 1;
2857 (void) xmlFree(doc);
2869 (void) xmlFree(doc);
2875 (void) xmlFree(doc);
2897 xmlChar *doc;
2908 DiscoveryDomain, NULL, &doc)) == 0) {
2910 darg.data_ptr = (char *)doc;
2911 darg.data_size = xmlStrlen(doc) + 1;
2923 (void) xmlFree(doc);
2935 (void) xmlFree(doc);
2941 xmlFree(doc);
2963 xmlChar *doc;
2974 DiscoveryDomainSet, NULL, &doc)) == 0) {
2976 darg.data_ptr = (char *)doc;
2977 darg.data_size = xmlStrlen(doc) + 1;
2989 (void) xmlFree(doc);
3001 (void) xmlFree(doc);
3008 xmlFree(doc);
3031 xmlChar *doc;
3044 DiscoveryDomain, &doc)) == 0) {
3046 darg.data_ptr = (char *)doc;
3047 darg.data_size = xmlStrlen(doc) + 1;
3059 (void) xmlFree(doc);
3064 (void) xmlFree(doc);
3112 id, &doc)) == 0) {
3114 darg.data_ptr = (char *)doc;
3115 darg.data_size = xmlStrlen(doc) + 1;
3127 (void) xmlFree(doc);
3139 (void) xmlFree(doc);
3145 xmlFree(doc);
3168 xmlChar *doc;
3181 DiscoveryDomainSet, &doc)) == 0) {
3183 darg.data_ptr = (char *)doc;
3184 darg.data_size = xmlStrlen(doc) + 1;
3196 (void) xmlFree(doc);
3201 (void) xmlFree(doc);
3247 id, &doc)) == 0) {
3249 darg.data_ptr = (char *)doc;
3250 darg.data_size = xmlStrlen(doc) + 1;
3262 (void) xmlFree(doc);
3274 (void) xmlFree(doc);
3280 xmlFree(doc);
3302 xmlChar *doc;
3313 DiscoveryDomainMember, options->optarg, &doc)) == 0) {
3315 darg.data_ptr = (char *)doc;
3316 darg.data_size = xmlStrlen(doc) + 1;
3328 (void) xmlFree(doc);
3340 (void) xmlFree(doc);
3346 xmlFree(doc);
3368 xmlChar *doc;
3379 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) {
3381 darg.data_ptr = (char *)doc;
3382 darg.data_size = xmlStrlen(doc) + 1;
3394 (void) xmlFree(doc);
3406 (void) xmlFree(doc);
3412 xmlFree(doc);
3435 xmlChar *doc;
3446 DiscoveryDomainMember, options->optarg, &doc)) == 0) {
3448 darg.data_ptr = (char *)doc;
3449 darg.data_size = xmlStrlen(doc) + 1;
3461 (void) xmlFree(doc);
3473 (void) xmlFree(doc);
3479 xmlFree(doc);
3502 xmlChar *doc;
3513 DiscoveryDomainSetMember, options->optarg, &doc)) == 0) {
3515 darg.data_ptr = (char *)doc;
3516 darg.data_size = xmlStrlen(doc) + 1;
3528 (void) xmlFree(doc);
3540 (void) xmlFree(doc);
3546 xmlFree(doc);
3568 xmlChar *doc;
3579 DiscoveryDomain, NULL, &doc)) == 0) {
3581 darg.data_ptr = (char *)doc;
3582 darg.data_size = xmlStrlen(doc) + 1;
3594 (void) xmlFree(doc);
3606 (void) xmlFree(doc);
3613 xmlFree(doc);
3635 xmlChar *doc;
3646 DiscoveryDomainSet, NULL, &doc)) == 0) {
3648 darg.data_ptr = (char *)doc;
3649 darg.data_size = xmlStrlen(doc) + 1;
3661 (void) xmlFree(doc);
3673 (void) xmlFree(doc);
3679 xmlFree(doc);
3699 xmlChar *doc;
3709 DiscoveryDomainSet, enable, &doc)) == 0) {
3711 darg.data_ptr = (char *)doc;
3712 darg.data_size = xmlStrlen(doc) + 1;
3724 (void) xmlFree(doc);
3728 xmlFree(doc);
3799 xmlChar *doc;
3810 ServerConfig, &doc)) == 0) {
3812 darg.data_ptr = (char *)doc;
3813 darg.data_size = xmlStrlen(doc) + 1;
3819 (void) xmlFree(doc);
3826 (void) xmlFree(doc);
3834 (void) xmlFree(doc);
3840 xmlFree(doc);