Home
last modified time | relevance | path

Searched refs:doc (Results 1 – 25 of 59) sorted by relevance

123

/titanic_41/usr/src/cmd/isns/isnsadm/
H A Disnsadm.c292 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
[all …]
/titanic_41/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c619 xmlDocPtr doc, in locate_xml_node() argument
645 *context = xmlXPathNewContext(doc); in locate_xml_node()
778 xmlDocPtr doc; in xml_init_data() local
870 doc = xmlNewDoc(BAD_CAST "1.0"); in xml_init_data()
872 if (doc != NULL && in xml_init_data()
878 (void) xmlDocSetRootElement(doc, root); in xml_init_data()
879 if (xmlSaveFormatFile(xml_file, doc, 1) == -1) { in xml_init_data()
880 xmlFreeDoc(doc); in xml_init_data()
883 xmlFreeDoc(doc); in xml_init_data()
885 if (doc != NULL) { in xml_init_data()
[all …]
/titanic_41/usr/src/cmd/lvm/metassist/controller/
H A Dmetassist.c93 char *file, char **valid_types, xmlDocPtr *doc, char **root);
94 static int get_volume_request_or_config(xmlDocPtr *doc, char **root);
257 xmlDocPtr doc; in create_volume_request_XML() local
261 doc = xmlNewDoc((xmlChar *)"1.0"); in create_volume_request_XML()
265 doc, NULL, (xmlChar *)ELEMENT_VOLUMEREQUEST, NULL); in create_volume_request_XML()
266 xmlAddChild((xmlNodePtr) doc, (xmlNodePtr)request); in create_volume_request_XML()
331 xmlDocDumpFormatMemory(doc, &text, NULL, 1); in create_volume_request_XML()
337 return (doc); in create_volume_request_XML()
992 xmlDocPtr *doc, in get_doc_from_file() argument
1003 *doc = xmlSAXParseFile((xmlSAXHandlerPtr) in get_doc_from_file()
[all …]
/titanic_41/usr/src/cmd/lvm/metassist/xml/
H A Dxml_convert.h95 extern int xml_to_request(xmlDocPtr doc, request_t **request);
109 extern int xml_to_defaults(xmlDocPtr doc, defaults_t **defaults);
123 extern int xml_to_config(xmlDocPtr doc, devconfig_t **config);
138 extern int config_to_xml(devconfig_t *config, xmlDocPtr *doc);
151 extern int xml_to_commands(xmlDocPtr doc, char **commands);
H A Dxml_convert.c160 static int validate_doc(xmlDocPtr doc, const char *name, const char *systemID);
443 xmlDocPtr doc, in xml_to_request() argument
452 doc, ELEMENT_VOLUMEREQUEST, VOLUME_REQUEST_DTD_LOC)) == 0) { in xml_to_request()
458 error = xml_to_devconfig(xmlDocGetRootElement(doc), in xml_to_request()
480 xmlDocPtr doc, in xml_to_defaults() argument
488 if ((error = validate_doc(doc, ELEMENT_VOLUMEDEFAULTS, in xml_to_defaults()
501 if ((error = xml_to_devconfig(xmlDocGetRootElement(doc), in xml_to_defaults()
554 xmlDocPtr doc, in xml_to_config() argument
563 doc, ELEMENT_VOLUMECONFIG, VOLUME_CONFIG_DTD_LOC)) == 0) { in xml_to_config()
570 xmlDocGetRootElement(doc), config_elements, *config); in xml_to_config()
[all …]
/titanic_41/usr/src/cmd/isns/isnsd/
H A Dadmintf.c132 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; in cb_get_node_info() local
134 root = xmlDocGetRootElement(doc); in cb_get_node_info()
603 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; in cb_get_dd_info() local
605 root = xmlDocGetRootElement(doc); in cb_get_dd_info()
686 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; in cb_get_ddset_info() local
688 root = xmlDocGetRootElement(doc); in cb_get_ddset_info()
770 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; in cb_enumerate_node_info() local
772 root = xmlDocGetRootElement(doc); in cb_enumerate_node_info()
870 xmlDocPtr doc = (xmlDocPtr)lcp->data[1].ptr; in i_enumerate_dd_dds_info() local
872 root = xmlDocGetRootElement(doc); in i_enumerate_dd_dds_info()
[all …]
H A Ddoor.c989 xmlDocPtr doc; in build_mgmt_response() local
997 doc = xmlNewDoc((uchar_t *)"1.0"); in build_mgmt_response()
999 (void) xmlDocSetRootElement(doc, root); in build_mgmt_response()
1009 ret = get_node_op(&req, doc); in build_mgmt_response()
1012 ret = get_dd_op(&req, doc); in build_mgmt_response()
1015 ret = get_ddset_op(&req, doc); in build_mgmt_response()
1018 ret = get_serverconfig_op(doc); in build_mgmt_response()
1028 ret = enumerate_node_op(doc); in build_mgmt_response()
1031 ret = enumerate_dd_op(doc); in build_mgmt_response()
1034 ret = enumerate_ddset_op(doc); in build_mgmt_response()
[all …]
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c862 xmlDocPtr doc = NULL; in kmf_get_policy() local
877 doc = xmlCtxtReadFile(ctxt, filename, NULL, in kmf_get_policy()
879 if (doc == NULL || ctxt->valid == 0) { in kmf_get_policy()
884 cur = xmlDocGetRootElement(doc); in kmf_get_policy()
923 if (doc != NULL) in kmf_get_policy()
924 xmlFreeDoc(doc); in kmf_get_policy()
1035 update_policyfile(xmlDocPtr doc, char *filename) in update_policyfile() argument
1101 if (xmlDocFormatDump(tmpfile, doc, 1) == -1) { in update_policyfile()
1144 xmlDocPtr doc = NULL; in kmf_delete_policy_from_db() local
1167 doc = xmlCtxtReadFile(ctxt, dbfilename, NULL, in kmf_delete_policy_from_db()
[all …]
/titanic_41/usr/src/cmd/availdevs/
H A Davaildevs.c181 xmlDocPtr doc = xmlNewDoc((xmlChar *)"1.0"); in create_doc() local
185 doc, NULL, (xmlChar *)ELEMENT_ROOT, NULL); in create_doc()
186 (void) xmlAddChild((xmlNodePtr) doc, (xmlNodePtr)root); in create_doc()
188 return (doc); in create_doc()
227 xmlDocPtr doc = create_doc(); in main() local
228 xmlNodePtr root = xmlDocGetRootElement(doc); in main()
253 (void) xmlDocFormatDump(stdout, doc, 1); in main()
256 xmlFreeDoc(doc); in main()
/titanic_41/usr/src/cmd/auditrecord/
H A Daudit_record_xml54 my $doc = new auditxml ($ARGV[0]); # input XML file
58 foreach my $eventId ($doc->getEventIds) {
59 my $event = $doc->getEvent($eventId);
/titanic_41/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c76 xmlDocPtr doc = NULL; in load_policies() local
85 doc = xmlCtxtReadFile(ctxt, file, NULL, in load_policies()
87 if (doc == NULL || ctxt->valid == 0) { in load_policies()
92 cur = xmlDocGetRootElement(doc); in load_policies()
143 if (doc != NULL) in load_policies()
144 xmlFreeDoc(doc); in load_policies()
/titanic_41/usr/src/lib/libdtrace_jni/
H A DMakefile52 doc: target
53 @cd java; pwd; make doc
/titanic_41/usr/src/pkg/transforms/
H A Dfacets15 <transform dir file link path=usr/share/man/.* -> default facet.doc.man true>
16 <transform dir file link path=usr/has/man/.* -> default facet.doc.man true>
/titanic_41/usr/src/cmd/ssh/
H A DMakefile88 THIRDPARTYLICENSE: doc/LICENCE
89 $(SED) -n '/1)/,$$p' doc/LICENCE > $@
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_compound_nameref.sh97 nameref doc=xdoc
100 print -v doc
/titanic_41/usr/src/test/os-tests/
H A DMakefile18 SUBDIRS = cmd runfiles tests doc
/titanic_41/usr/src/test/util-tests/
H A DMakefile19 SUBDIRS = cmd runfiles tests doc
/titanic_41/usr/src/test/libc-tests/
H A DMakefile19 SUBDIRS = cfg cmd runfiles tests doc
/titanic_41/usr/src/test/zfs-tests/
H A DMakefile18 SUBDIRS = cmd include runfiles tests doc
/titanic_41/usr/src/cmd/pools/poold/
H A DMakefile71 DOCDIR = doc
137 doc: all target
/titanic_41/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DMakefile71 all: $(JNIH) $(CLASSES) $(EXAMPLEOBJS) doc
146 doc: target
/titanic_41/usr/src/lib/libbsm/
H A Dauditxml79 my $doc = new auditxml ($filename);
109 while ($event = $doc->getNextEvent()) {
134 while ($textList = $doc->getNextMsgId()) {
139 printAPIFile($headerFile, $doc);
699 if (defined ($doc->getToken($tokenId))) {
739 if (defined ($token = $doc->getToken($tokenId))) {
982 if (defined (my $token = $doc->getToken($tokenId))) {
/titanic_41/usr/src/lib/libpool/common/
H A Dpool_xml.c289 if (node->doc->_private) { in get_unique_id()
291 pool_conf_to_elem((pool_conf_t *)node->doc->_private), in get_unique_id()
301 pool_conf_to_elem((pool_conf_t *)node->doc->_private), "_next_id", in get_unique_id()
551 if ((ctx = xmlXPathNewContext(pxe->pxe_node->doc)) == NULL) { in pool_xml_rm_property()
585 if (xmlHasProp(node, name) == NULL && pool_is_xml_attr(node->doc, in pool_xml_get_attr()
660 if (xmlHasProp(node, name) == NULL && pool_is_xml_attr(node->doc, in pool_xml_set_attr()
735 if ((ctx = xmlXPathNewContext(node->doc)) == NULL) { in pool_xml_get_prop()
838 if ((ctx = xmlXPathNewContext(node->doc)) == NULL) { in pool_xml_set_prop()
946 elemDTD = xmlGetDtdElementDesc(pxe->pxe_node->doc->extSubset, in pool_xml_get_properties()
1367 pool_conf_t *conf = node->doc->_private; in pool_xml_elem_wrap()
[all …]
/titanic_41/usr/src/lib/libshell/
H A DMakefile67 include Makefile.doc
/titanic_41/usr/src/lib/libbrand/common/
H A Dlibbrand.c188 xmlDocPtr doc; in open_xml_file() local
198 if ((doc = xmlParseFile(file)) == NULL) in open_xml_file()
205 xmlFreeDoc(doc); in open_xml_file()
210 valid = xmlValidateDocument(cvp, doc); in open_xml_file()
213 xmlFreeDoc(doc); in open_xml_file()
217 return (doc); in open_xml_file()

123