/illumos-gate/usr/src/cmd/availdevs/ |
H A D | availdevs.c | 181 xmlDocPtr doc = xmlNewDoc((xmlChar *)"1.0"); local 185 doc, NULL, (xmlChar *)ELEMENT_ROOT, NULL); 186 (void) xmlAddChild((xmlNodePtr) doc, (xmlNodePtr)root); 188 return (doc); 227 xmlDocPtr doc = create_doc(); local 228 xmlNodePtr root = xmlDocGetRootElement(doc); 253 (void) xmlDocFormatDump(stdout, doc, 1); 256 xmlFreeDoc(doc);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_parse.c | 35 tf_info_new(topo_mod_t *mp, xmlDocPtr doc, xmlChar *scheme) argument 46 r->tf_xdoc = doc;
|
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | util.c | 76 xmlDocPtr doc = NULL; local 85 doc = xmlCtxtReadFile(ctxt, file, NULL, 87 if (doc == NULL || ctxt->valid == 0) { 92 cur = xmlDocGetRootElement(doc); 143 if (doc != NULL) 144 xmlFreeDoc(doc);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | door.c | 111 * ctext: context ptr for the original doc 150 * ctext: context ptr for the original doc to parse request info. 277 * ctext: context ptr for the original doc to parse request info. 335 * Lastly it extract the object name form the doc that assocation 338 * ctext: context ptr for the original doc to parse request info. 476 * ctext: context ptr for the original doc to parse request info. 666 * ctext: context ptr for the original doc to parse request info. 902 * build_mgmt_request -- extracts the request info from the given XML doc. 904 * x_doc: ptr to the request XML doc 981 * build_mgmt_response -- sets an XML doc wit 995 xmlDocPtr doc; local 1148 xmlDocPtr doc; local 1283 add_entry(pthread_t tid, xmlChar *doc) argument [all...] |
H A D | admintf.c | 111 * to the response doc. 132 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 134 root = xmlDocGetRootElement(doc); 603 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 605 root = xmlDocGetRootElement(doc); 686 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 688 root = xmlDocGetRootElement(doc); 770 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 772 root = xmlDocGetRootElement(doc); 870 xmlDocPtr doc local 1032 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 1100 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 1168 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 1236 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; local 1291 handle_partial_success( xmlDocPtr doc, int ret ) argument 1354 handle_partial_failure( xmlDocPtr doc, int ret, boolean_t all_failed ) argument 1617 i_get_dd_dds_op( request_t *req, xmlDocPtr doc, isns_type_t obj_type ) argument 2190 delete_dd_ddset_op( request_t *req, xmlDocPtr doc, object_type type ) argument 2295 delete_ddmember_ddsetmember_op( request_t *req, xmlDocPtr doc, object_type type ) argument 2448 create_ddmember_ddsetmember_op( request_t *req, xmlDocPtr doc, object_type type ) argument 2620 rename_dd_ddset_op( request_t *req, xmlDocPtr doc, object_type type ) argument 2731 update_dd_ddset_op( request_t *req, xmlDocPtr doc, object_type type ) argument 2835 create_dd_ddset_op( request_t *req, xmlDocPtr doc, object_type type ) argument [all...] |
H A D | isns_mgmt.h | 192 xmlChar *doc; member in struct:thr_elem
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_impl.h | 110 xmlDocPtr doc; member in struct:sa_handle_impl
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | policy.c | 862 xmlDocPtr doc = NULL; local 877 doc = xmlCtxtReadFile(ctxt, filename, NULL, 879 if (doc == NULL || ctxt->valid == 0) { 884 cur = xmlDocGetRootElement(doc); 923 if (doc != NULL) 924 xmlFreeDoc(doc); 1035 update_policyfile(xmlDocPtr doc, char *filename) argument 1101 if (xmlDocFormatDump(tmpfile, doc, 1) == -1) { 1144 xmlDocPtr doc = NULL; local 1167 doc 1345 xmlDocPtr doc = NULL; local [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/controller/ |
H A D | metassist.c | 93 char *file, char **valid_types, xmlDocPtr *doc, char **root); 94 static int get_volume_request_or_config(xmlDocPtr *doc, char **root); 257 xmlDocPtr doc; local 261 doc = xmlNewDoc((xmlChar *)"1.0"); 265 doc, NULL, (xmlChar *)ELEMENT_VOLUMEREQUEST, NULL); 266 xmlAddChild((xmlNodePtr) doc, (xmlNodePtr)request); 331 xmlDocDumpFormatMemory(doc, &text, NULL, 1); 337 return (doc); 979 * @param doc 992 xmlDocPtr *doc, 989 get_doc_from_file( char *file, char **valid_types, xmlDocPtr *doc, char **root) argument 1049 get_volume_request_or_config( xmlDocPtr *doc, char **root) argument 1169 xmlDocPtr doc; local 1386 xmlDocPtr doc; local [all...] |
/illumos-gate/usr/src/cmd/isns/isnsadm/ |
H A D | isnsadm.c | 298 xmlChar *doc; local 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) argument 450 if ((x_doc = xmlParseMemory((const char *)doc, xmlStrlen(doc))) 556 process_result_response(xmlChar *doc, int obj) argument 615 process_get_assoc_response(xmlChar *doc, association_t assoc) argument 805 process_get_response(object_type obj, xmlChar *doc, uint32_t flag) argument 1223 cvt_enumerate_rsp_to_get_req(xmlChar *doc, xmlChar **req_doc, object_type obj, uint32_t flag) argument 1418 build_delete_xml_doc(int operandLen, char **operand, object_type obj, char *container, xmlChar **doc) argument 1594 build_modify_xml_doc(int operandLen, char **operand, object_type obj, boolean_t enabled, xmlChar **doc) argument 1731 build_rename_xml_doc(char *name, object_type obj, uint32_t id, xmlChar **doc) argument 1864 build_create_xml_doc(int operandLen, char **operand, object_type obj, char *container, xmlChar **doc) argument 2034 build_assoc_xml_doc(xmlChar *name, association_t assoc, xmlChar **doc) argument 2255 build_enumerate_xml_doc(object_type obj, xmlChar **doc) argument 2354 build_get_xml_doc(int operandLen, char **operand, object_type obj, xmlChar **doc) argument 2546 xmlChar *doc, *e_doc; local 2676 xmlChar *doc, *e_doc; local 2787 xmlChar *doc, *e_doc; local 2903 xmlChar *doc; local 2969 xmlChar *doc; local 3037 xmlChar *doc; local 3174 xmlChar *doc; local 3308 xmlChar *doc; local 3374 xmlChar *doc; local 3441 xmlChar *doc; local 3508 xmlChar *doc; local 3574 xmlChar *doc; local 3641 xmlChar *doc; local 3705 xmlChar *doc; local 3805 xmlChar *doc; local [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.c | 219 * open the xml file and assign the global xml doc if the xml file 220 * is not opened, set the doc pointer with the opened xml file for 223 * docp - the doc pointer for returning. 255 * close the global xml doc and ignore any changes that has been 535 * parse one isns object from the xml doc. 611 * locate the xml node from xml doc by matching the object UID. 613 * doc - the xml doc. 625 xmlDocPtr doc, 651 *context = xmlXPathNewContext(doc); 624 locate_xml_node( xmlDocPtr doc, int otype, int match_uid, xmlNodePtr *node, xmlXPathContextPtr *context, xmlXPathObjectPtr *result ) argument 784 xmlDocPtr doc; local 933 xmlDocPtr doc = NULL; local 1008 xmlDocPtr doc; local 1107 xmlDocPtr doc; local 1256 xmlDocPtr doc; local 1317 xmlDocPtr doc; local [all...] |
/illumos-gate/usr/src/lib/libbrand/common/ |
H A D | libbrand.c | 182 * Returns the XML doc pointer, or NULL on failure. It will validate the 188 xmlDocPtr doc; local 198 if ((doc = xmlParseFile(file)) == NULL) 205 xmlFreeDoc(doc); 210 valid = xmlValidateDocument(cvp, doc); 213 xmlFreeDoc(doc); 217 return (doc); 397 * Retrieve the specified value from the XML doc
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_xml.c | 289 if (node->doc->_private) { 291 pool_conf_to_elem((pool_conf_t *)node->doc->_private), 301 pool_conf_to_elem((pool_conf_t *)node->doc->_private), "_next_id", 383 /* Delete all the "shadowed" children of the doc */ 551 if ((ctx = xmlXPathNewContext(pxe->pxe_node->doc)) == NULL) { 585 if (xmlHasProp(node, name) == NULL && pool_is_xml_attr(node->doc, 660 if (xmlHasProp(node, name) == NULL && pool_is_xml_attr(node->doc, 735 if ((ctx = xmlXPathNewContext(node->doc)) == NULL) { 838 if ((ctx = xmlXPathNewContext(node->doc)) == NULL) { 946 elemDTD = xmlGetDtdElementDesc(pxe->pxe_node->doc 2070 pool_is_xml_attr(xmlDocPtr doc, const char *elem, const char *attr) argument [all...] |
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 2243 xmlDocPtr doc; local 2246 doc = xmlNewDoc((xmlChar *)"1.0"); 2247 if (doc != NULL) { 2250 (void) xmlDocSetRootElement(doc, root); 2252 return (doc); 2256 * show_group_xml(doc, group) 2258 * Copy the group info into the XML doc. 2262 show_group_xml(xmlDocPtr doc, sa_group_t group) argument 2267 root = xmlDocGetRootElement(doc); 2295 xmlDocPtr doc; local [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/xml/ |
H A D | xml_convert.c | 160 static int validate_doc(xmlDocPtr doc, const char *name, const char *systemID); 432 * @param doc 443 xmlDocPtr doc, 450 /* Validate doc against known DTD */ 452 doc, ELEMENT_VOLUMEREQUEST, VOLUME_REQUEST_DTD_LOC)) == 0) { 457 /* Convert the XML doc into a request_t */ 458 error = xml_to_devconfig(xmlDocGetRootElement(doc), 469 * @param doc 480 xmlDocPtr doc, 487 /* Validate doc agains 442 xml_to_request( xmlDocPtr doc, request_t **request) argument 479 xml_to_defaults( xmlDocPtr doc, defaults_t **defaults) argument 553 xml_to_config( xmlDocPtr doc, devconfig_t **config) argument 591 config_to_xml( devconfig_t *config, xmlDocPtr *doc) argument 633 xml_to_commands( xmlDocPtr doc, char **commands) argument 768 validate_doc( xmlDocPtr doc, const char *name, const char *systemID) argument 1167 xmlDocPtr doc; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | builtins.c | 2024 char *doc = (*builtin)->long_doc; 2026 /* At first, print the name and the short doc. */ 2030 /* Print the long doc. */ 2031 while (*doc) 2033 int len = grub_strlen (doc); 2041 if (doc[len - 1] == ' ') 2047 grub_putchar (*doc++); 2001 char *doc = (*builtin)->long_doc; local
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 9014 write_service_bundle(xmlDocPtr doc, FILE *f) argument 9020 xmlDocDumpFormatMemory(doc, &mem, &sz, 1); 10821 xmlDocPtr doc; local 10853 doc = xmlNewDoc((xmlChar *)"1.0"); 10854 if (doc == NULL) 10857 if (xmlCreateIntSubset(doc, (xmlChar *)"service_bundle", NULL, 10866 (void) xmlAddSibling(doc->children, sb); 10870 result = write_service_bundle(doc, f); 10882 xmlFreeDoc(doc); 11031 xmlDocPtr doc; local 11078 xmlDocPtr doc; local [all...] |