Searched defs:uri (Results 1 - 25 of 55) sorted by relevance

123

/vbox/src/libs/libxml2-2.6.31/python/tests/
H A DtstURI.py8 uri = libxml2.parseURI("http://example.org:8088/foo/bar?query=simple#fragid") variable
9 if uri.scheme() != 'http':
12 if uri.server() != 'example.org':
15 if uri.port() != 8088:
18 if uri.path() != '/foo/bar':
21 if uri.query() != 'query=simple':
24 if uri.fragment() != 'fragid':
27 uri.setScheme("https")
28 uri.setPort(223)
29 uri
33 uri = None variable
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Duri_test.c6 #include <ipxe/uri.h>
37 struct uri *uri = NULL; local
41 uri = parse_uri ( uri_string );
42 if ( ! uri ) {
46 unparse_uri ( buf, sizeof ( buf ), uri, URI_ALL );
59 uri_put ( uri );
70 struct uri *base_uri = NULL;
71 struct uri *relative_uri = NULL;
72 struct uri *resolved_ur
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/usr/
H A Dimgmgmt.c29 #include <ipxe/uri.h>
41 * @v uri URI
45 int imgdownload ( struct uri *uri, struct image **image ) { argument
46 size_t len = ( unparse_uri ( NULL, 0, uri, URI_ALL ) + 1 );
52 *image = alloc_image ( uri );
59 password = uri->password;
61 uri->password = "***";
63 uri, URI_ALL );
64 uri
106 struct uri *uri; local
[all...]
H A Dautoboot.c30 #include <ipxe/uri.h>
74 * @ret uri URI, or NULL on failure
76 static struct uri * parse_next_server_and_filename ( struct in_addr next_server,
80 struct uri *uri; local
83 uri = parse_uri ( filename );
84 if ( ! uri )
93 if ( next_server.s_addr && filename[0] && ! uri_is_absolute ( uri ) ) {
94 uri_put ( uri );
97 uri
249 struct uri *uri; local
283 struct uri *uri; local
[all...]
H A Dpxemenu.c33 #include <ipxe/uri.h>
347 struct uri *uri; local
375 uri = fetch_next_server_and_filename ( pxebs_settings );
376 if ( ! uri )
380 rc = uriboot ( uri, NULL, 0, URIBOOT_NO_SAN );
381 uri_put ( uri );
/vbox/src/libs/libxml2-2.6.31/
H A DtestURI.c16 #include <libxml/uri.h>
25 xmlURIPtr uri; local
28 uri = xmlCreateURI();
31 ret = xmlParseURIReference(uri, str);
36 if (uri->scheme) printf("scheme: %s\n", uri->scheme);
37 if (uri->opaque) printf("opaque: %s\n", uri->opaque);
38 if (uri->authority) printf("authority: %s\n", uri
[all...]
H A Dxmlcatalog.c27 #include <libxml/uri.h>
555 xmlURIPtr uri; local
558 uri = xmlParseURI(argv[i]);
559 if (uri == NULL) {
569 xmlFreeURI(uri);
H A Duri.c2 * uri.c: set of generic URI related routines
17 #include <libxml/uri.h>
219 * @uri: pointer to an xmlURI
226 xmlSaveUri(xmlURIPtr uri) { argument
232 if (uri == NULL) return(NULL);
244 if (uri->scheme != NULL) {
245 p = uri->scheme;
269 if (uri->opaque != NULL) {
270 p = uri->opaque;
292 if (uri
567 xmlPrintURI(FILE *stream, xmlURIPtr uri) argument
584 xmlCleanURI(xmlURIPtr uri) argument
614 xmlFreeURI(xmlURIPtr uri) argument
982 xmlURIPtr uri; local
1115 xmlParseURIFragment(xmlURIPtr uri, const char **str) argument
1150 xmlParseURIQuery(xmlURIPtr uri, const char **str) argument
1193 xmlParseURIScheme(xmlURIPtr uri, const char **str) argument
1224 xmlParseURIOpaquePart(xmlURIPtr uri, const char **str) argument
1279 xmlParseURIServer(xmlURIPtr uri, const char **str) argument
1453 xmlParseURIRelSegment(xmlURIPtr uri, const char **str) argument
1496 xmlParseURIPathSegments(xmlURIPtr uri, const char **str, int slash) argument
1587 xmlParseURIAuthority(xmlURIPtr uri, const char **str) argument
1642 xmlParseURIHierPart(xmlURIPtr uri, const char **str) argument
1691 xmlParseAbsoluteURI(xmlURIPtr uri, const char **str) argument
1728 xmlParseRelativeURI(xmlURIPtr uri, const char **str) argument
1782 xmlParseURIReference(xmlURIPtr uri, const char *str) argument
1829 xmlURIPtr uri; local
1858 xmlURIPtr uri; local
2415 xmlURIPtr uri; local
2529 xmlURIPtr uri; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dopen.c25 #include <ipxe/uri.h>
55 * @v uri URI
61 int xfer_open_uri ( struct interface *intf, struct uri *uri ) {
63 struct uri *resolved_uri;
67 resolved_uri = resolve_uri ( cwuri, uri );
111 struct uri *uri; local
117 uri = parse_uri ( uri_string );
118 if ( ! uri )
173 struct uri *uri = va_arg ( args, struct uri * ); local
[all...]
H A Duri.c33 #include <ipxe/uri.h>
38 * @v uri URI
40 static void dump_uri ( struct uri *uri ) {
41 if ( ! uri )
43 if ( uri->scheme )
44 DBG ( " scheme \"%s\"", uri->scheme );
45 if ( uri->opaque )
46 DBG ( " opaque \"%s\"", uri->opaque );
47 if ( uri
74 struct uri *uri; local
206 uri_port( struct uri *uri, unsigned int default_port ) argument
221 unparse_uri( char *buf, size_t size, struct uri *uri, unsigned int fields ) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/hci/commands/
H A Dsanboot_cmd.c25 #include <ipxe/uri.h>
87 struct uri *uri; local
102 uri = parse_uri ( root_path );
103 if ( ! uri ) {
109 uri = NULL;
122 if ( ( rc = uriboot ( NULL, uri, opts.drive, flags ) ) != 0 )
126 uri_put ( uri );
/vbox/src/VBox/Devices/PC/ipxe/src/image/
H A Defi_image.c27 #include <ipxe/uri.h>
48 char *uri; local
59 uri_len = unparse_uri ( NULL, 0, image->uri, URI_ALL ) + 1;
67 /* Allocate space for the uri, final command line and device path */
74 uri = (char *) ( cmdline + cmdline_len );
75 devpath = (FILEPATH_DEVICE_PATH *) ( uri + uri_len );
91 unparse_uri ( uri, uri_len, image->uri, URI_ALL );
95 cmdline[i] = uri[i];
96 devpath->PathName[i] = uri[
[all...]
/vbox/src/libs/libxml2-2.6.31/doc/examples/
H A DtestWriter.c23 void testXmlwriterFilename(const char *uri);
64 * @uri: the output URI
69 testXmlwriterFilename(const char *uri) argument
75 /* Create a new XmlWriter for uri, with no compression. */
76 writer = xmlNewTextWriterFilename(uri, 0);
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dimage.h18 struct uri;
30 struct uri *uri; member in struct:image
147 extern struct image * alloc_image ( struct uri *uri );
H A Duri.h18 * Terminology for this data structure is as per uri(7), except that
24 * be accessed in array fashion in some places in uri.c where doing so
47 struct uri { struct
91 #define uri_get_field( uri, field ) (&uri->scheme)[field]
105 * @v uri URI
112 static inline int uri_is_absolute ( struct uri *uri ) {
113 return ( uri->scheme != NULL );
119 * @v uri UR
[all...]
H A Dx509.h128 char *uri; member in struct:x509_ocsp_responder
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/
H A DUIWizardExportApp.cpp88 CVFSExplorer explorer = pAppliance->CreateVFSExplorer(uri(false /* fWithFile */));
138 CProgress progress = appliance.Write(field("format").toString(), options, uri());
160 QString UIWizardExportApp::uri(bool fWithFile) const function in class:UIWizardExportApp
178 QString uri("SunCloud://");
180 uri = QString("%1%2").arg(uri).arg(field("username").toString());
182 uri = QString("%1:%2").arg(uri).arg(field("password").toString());
184 uri = QString("%1@").arg(uri);
[all...]
/vbox/src/VBox/Main/webservice/jaxlibs/
H A Dstreambuffer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/stream/ ...
H A Dresolver.jar ... PUBLIC public static final int SYSTEM public static final int URI public static final int REWRITE_SYSTEM public static final int REWRITE_URI ...
/vbox/src/VBox/Devices/PC/ipxe/src/net/tcp/
H A Dftp.c14 #include <ipxe/uri.h>
55 struct uri *uri; member in struct:ftp_request
84 uri_put ( ftp->uri );
129 return ftp->uri->path;
140 return ftp->uri->user ? ftp->uri->user : ftp_default_user;
151 return ftp->uri->password ? ftp->uri->password : ftp_default_password;
417 * @v uri Unifor
[all...]
H A Dhttpcore.c36 #include <ipxe/uri.h>
119 struct uri *uri; member in struct:http_request
158 uri_put ( http->uri );
639 const char *host = http->uri->host;
640 const char *user = http->uri->user;
642 ( http->uri->password ? http->uri->password : "" );
646 int request_len = unparse_uri ( NULL, 0, http->uri,
673 unparse_uri ( dynamic->request, sizeof ( dynamic->request ), http->uri,
888 http_open_filter( struct interface *xfer, struct uri *uri, unsigned int default_port, int ( * filter ) ( struct interface *xfer, const char *name, struct interface **next ) ) argument
[all...]
/vbox/src/libs/libxml2-2.6.31/python/
H A Dtypes.c189 libxml_xmlURIPtrWrap(xmlURIPtr uri) argument
194 printf("libxml_xmlURIPtrWrap: uri = %p\n", uri);
196 if (uri == NULL) {
201 PyCObject_FromVoidPtrAndDesc((void *) uri, (char *) "xmlURIPtr",
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Daoe.c36 #include <ipxe/uri.h>
980 * @v uri URI
987 static int aoe_parse_uri ( struct uri *uri, unsigned int *major, argument
993 if ( ! uri->opaque )
995 ptr = uri->opaque;
1020 * @v uri URI
1023 static int aoe_open ( struct interface *parent, struct uri *uri ) {
1040 if ( ( rc = aoe_parse_uri ( uri,
[all...]
H A Dfcp.c36 #include <ipxe/uri.h>
1020 * @v uri URI
1027 static int fcp_parse_uri ( struct uri *uri, struct fc_name *wwn, argument
1035 if ( uri->opaque ) {
1038 uri->opaque ) < ( FC_NAME_STRLEN + 1 /* : */ ) )
1040 if ( uri->opaque[FC_NAME_STRLEN] != ':' )
1043 lun_text = &uri->opaque[FC_NAME_STRLEN + 1];
1046 if ( ! ( uri->host && uri
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dint13.c31 #include <ipxe/uri.h>
74 struct uri *uri; member in struct:int13_drive
298 if ( ( rc = xfer_open_uri ( &int13->block, int13->uri ) ) != 0 ) {
1579 uri_put ( int13->uri );
1586 * @v uri URI
1593 static int int13_hook ( struct uri *uri, unsigned int drive ) { argument
1619 int13->uri = uri_get ( uri );
[all...]

Completed in 198 milliseconds

123