/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/libxml2/python/tests/ |
H A D | tstURI.py | 8 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/libxml2/python/tests/ |
H A D | tstURI.py | 8 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/libxml2/python/tests/ |
H A D | tstURI.py | 8 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...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/libxml2/ |
H A D | testURI.c | 16 #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 D | uri.c | 2 * uri.c: set of generic URI related routines 17 #include <libxml/uri.h> 21 static void xmlCleanURI(xmlURIPtr uri); 167 * @uri: pointer to an URI structure 177 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { argument 189 if (uri != NULL) { 190 if (uri->scheme != NULL) xmlFree(uri->scheme); 191 uri->scheme = STRNDUP(*str, cur - *str); 199 * @uri 213 xmlParse3986Fragment(xmlURIPtr uri, const char **str) argument 250 xmlParse3986Query(xmlURIPtr uri, const char **str) argument 294 xmlParse3986Port(xmlURIPtr uri, const char **str) argument 325 xmlParse3986Userinfo(xmlURIPtr uri, const char **str) argument 400 xmlParse3986Host(xmlURIPtr uri, const char **str) argument 476 xmlParse3986Authority(xmlURIPtr uri, const char **str) argument 547 xmlParse3986PathAbEmpty(xmlURIPtr uri, const char **str) argument 587 xmlParse3986PathAbsolute(xmlURIPtr uri, const char **str) argument 633 xmlParse3986PathRootless(xmlURIPtr uri, const char **str) argument 675 xmlParse3986PathNoScheme(xmlURIPtr uri, const char **str) argument 720 xmlParse3986HierPart(xmlURIPtr uri, const char **str) argument 769 xmlParse3986RelativeRef(xmlURIPtr uri, const char *str) argument 823 xmlParse3986URI(xmlURIPtr uri, const char *str) argument 864 xmlParse3986URIReference(xmlURIPtr uri, const char *str) argument 899 xmlURIPtr uri; local 928 xmlParseURIReference(xmlURIPtr uri, const char *str) argument 945 xmlURIPtr uri; local 1000 xmlSaveUri(xmlURIPtr uri) argument 1404 xmlPrintURI(FILE *stream, xmlURIPtr uri) argument 1421 xmlCleanURI(xmlURIPtr uri) argument 1451 xmlFreeURI(xmlURIPtr uri) argument 1822 xmlURIPtr uri; local 2475 xmlURIPtr uri; local 2594 xmlURIPtr uri; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/libxml2/ |
H A D | testURI.c | 16 #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 D | uri.c | 2 * uri.c: set of generic URI related routines 17 #include <libxml/uri.h> 21 static void xmlCleanURI(xmlURIPtr uri); 167 * @uri: pointer to an URI structure 177 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { argument 189 if (uri != NULL) { 190 if (uri->scheme != NULL) xmlFree(uri->scheme); 191 uri->scheme = STRNDUP(*str, cur - *str); 199 * @uri 213 xmlParse3986Fragment(xmlURIPtr uri, const char **str) argument 250 xmlParse3986Query(xmlURIPtr uri, const char **str) argument 294 xmlParse3986Port(xmlURIPtr uri, const char **str) argument 325 xmlParse3986Userinfo(xmlURIPtr uri, const char **str) argument 400 xmlParse3986Host(xmlURIPtr uri, const char **str) argument 476 xmlParse3986Authority(xmlURIPtr uri, const char **str) argument 547 xmlParse3986PathAbEmpty(xmlURIPtr uri, const char **str) argument 587 xmlParse3986PathAbsolute(xmlURIPtr uri, const char **str) argument 633 xmlParse3986PathRootless(xmlURIPtr uri, const char **str) argument 675 xmlParse3986PathNoScheme(xmlURIPtr uri, const char **str) argument 720 xmlParse3986HierPart(xmlURIPtr uri, const char **str) argument 769 xmlParse3986RelativeRef(xmlURIPtr uri, const char *str) argument 823 xmlParse3986URI(xmlURIPtr uri, const char *str) argument 864 xmlParse3986URIReference(xmlURIPtr uri, const char *str) argument 899 xmlURIPtr uri; local 928 xmlParseURIReference(xmlURIPtr uri, const char *str) argument 945 xmlURIPtr uri; local 1000 xmlSaveUri(xmlURIPtr uri) argument 1404 xmlPrintURI(FILE *stream, xmlURIPtr uri) argument 1421 xmlCleanURI(xmlURIPtr uri) argument 1451 xmlFreeURI(xmlURIPtr uri) argument 1822 xmlURIPtr uri; local 2475 xmlURIPtr uri; local 2594 xmlURIPtr uri; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/libxml2/ |
H A D | testURI.c | 16 #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 D | uri.c | 2 * uri.c: set of generic URI related routines 17 #include <libxml/uri.h> 21 static void xmlCleanURI(xmlURIPtr uri); 167 * @uri: pointer to an URI structure 177 xmlParse3986Scheme(xmlURIPtr uri, const char **str) { argument 189 if (uri != NULL) { 190 if (uri->scheme != NULL) xmlFree(uri->scheme); 191 uri->scheme = STRNDUP(*str, cur - *str); 199 * @uri 213 xmlParse3986Fragment(xmlURIPtr uri, const char **str) argument 250 xmlParse3986Query(xmlURIPtr uri, const char **str) argument 294 xmlParse3986Port(xmlURIPtr uri, const char **str) argument 325 xmlParse3986Userinfo(xmlURIPtr uri, const char **str) argument 400 xmlParse3986Host(xmlURIPtr uri, const char **str) argument 476 xmlParse3986Authority(xmlURIPtr uri, const char **str) argument 547 xmlParse3986PathAbEmpty(xmlURIPtr uri, const char **str) argument 587 xmlParse3986PathAbsolute(xmlURIPtr uri, const char **str) argument 633 xmlParse3986PathRootless(xmlURIPtr uri, const char **str) argument 675 xmlParse3986PathNoScheme(xmlURIPtr uri, const char **str) argument 720 xmlParse3986HierPart(xmlURIPtr uri, const char **str) argument 769 xmlParse3986RelativeRef(xmlURIPtr uri, const char *str) argument 823 xmlParse3986URI(xmlURIPtr uri, const char *str) argument 864 xmlParse3986URIReference(xmlURIPtr uri, const char *str) argument 899 xmlURIPtr uri; local 928 xmlParseURIReference(xmlURIPtr uri, const char *str) argument 945 xmlURIPtr uri; local 1000 xmlSaveUri(xmlURIPtr uri) argument 1404 xmlPrintURI(FILE *stream, xmlURIPtr uri) argument 1421 xmlCleanURI(xmlURIPtr uri) argument 1451 xmlFreeURI(xmlURIPtr uri) argument 1822 xmlURIPtr uri; local 2475 xmlURIPtr uri; local 2594 xmlURIPtr uri; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/neon/src/ |
H A D | ne_redirect.c | 43 int valid; /* non-zero if .uri contains a redirect */ 44 ne_uri uri; member in struct:redirect 49 create(ne_request *req, void *session, const char *method, const char *uri) argument 53 red->requri = ne_strdup(uri); 86 /* free last uri. */ 87 ne_uri_free(&red->uri); 90 if (ne_uri_parse(location, &red->uri) || red->uri.path == NULL) { 99 if (!red->uri.host) { 101 ne_fill_server_uri(red->sess, &red->uri); [all...] |
H A D | ne_basic.c | 53 int ne_getmodtime(ne_session *sess, const char *uri, time_t *modtime) argument 55 ne_request *req = ne_request_create(sess, "HEAD", uri); 89 int ne_put(ne_session *sess, const char *uri, int fd) argument 104 req = ne_request_create(sess, "PUT", uri); 107 ne_lock_using_resource(req, uri, 0); 108 ne_lock_using_parent(req, uri); 166 static int get_range_common(ne_session *sess, const char *uri, argument 170 ne_request *req = ne_request_create(sess, "GET", uri); 202 int ne_get_range(ne_session *sess, const char *uri, argument 217 return get_range_common(sess, uri, brang 221 ne_get(ne_session *sess, const char *uri, int fd) argument 239 ne_post(ne_session *sess, const char *uri, int fd, const char *buffer) argument 356 ne_options2(ne_session *sess, const char *uri, unsigned int *caps) argument 455 ne_delete(ne_session *sess, const char *uri) argument 475 ne_mkcol(ne_session *sess, const char *uri) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/libxml2/doc/tutorial/ |
H A D | includeaddattribute.c | 10 parseDoc(char *docname, char *uri) { 39 newattr = xmlNewProp (newnode, "uri", uri); 47 char *uri; 51 printf("Usage: %s docname, uri\n", argv[0]); 56 uri = argv[2]; 57 doc = parseDoc (docname, uri);
|
H A D | includegetattribute.c | 11 xmlChar *uri; 15 uri = xmlGetProp(cur, "uri"); 16 printf("uri: %s\n", uri); 17 xmlFree(uri);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/neon/src/ |
H A D | ne_redirect.c | 43 int valid; /* non-zero if .uri contains a redirect */ 44 ne_uri uri; member in struct:redirect 49 create(ne_request *req, void *session, const char *method, const char *uri) argument 53 red->requri = ne_strdup(uri); 86 /* free last uri. */ 87 ne_uri_free(&red->uri); 90 if (ne_uri_parse(location, &red->uri) || red->uri.path == NULL) { 99 if (!red->uri.host) { 101 ne_fill_server_uri(red->sess, &red->uri); [all...] |
H A D | ne_basic.c | 53 int ne_getmodtime(ne_session *sess, const char *uri, time_t *modtime) argument 55 ne_request *req = ne_request_create(sess, "HEAD", uri); 89 int ne_put(ne_session *sess, const char *uri, int fd) argument 104 req = ne_request_create(sess, "PUT", uri); 107 ne_lock_using_resource(req, uri, 0); 108 ne_lock_using_parent(req, uri); 166 static int get_range_common(ne_session *sess, const char *uri, argument 170 ne_request *req = ne_request_create(sess, "GET", uri); 202 int ne_get_range(ne_session *sess, const char *uri, argument 217 return get_range_common(sess, uri, brang 221 ne_get(ne_session *sess, const char *uri, int fd) argument 239 ne_post(ne_session *sess, const char *uri, int fd, const char *buffer) argument 356 ne_options2(ne_session *sess, const char *uri, unsigned int *caps) argument 455 ne_delete(ne_session *sess, const char *uri) argument 475 ne_mkcol(ne_session *sess, const char *uri) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/libxml2/doc/tutorial/ |
H A D | includeaddattribute.c | 10 parseDoc(char *docname, char *uri) { 39 newattr = xmlNewProp (newnode, "uri", uri); 47 char *uri; 51 printf("Usage: %s docname, uri\n", argv[0]); 56 uri = argv[2]; 57 doc = parseDoc (docname, uri);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/neon/src/ |
H A D | ne_redirect.c | 43 int valid; /* non-zero if .uri contains a redirect */ 44 ne_uri uri; member in struct:redirect 49 create(ne_request *req, void *session, const char *method, const char *uri) argument 53 red->requri = ne_strdup(uri); 86 /* free last uri. */ 87 ne_uri_free(&red->uri); 90 if (ne_uri_parse(location, &red->uri) || red->uri.path == NULL) { 99 if (!red->uri.host) { 101 ne_fill_server_uri(red->sess, &red->uri); [all...] |
H A D | ne_basic.c | 53 int ne_getmodtime(ne_session *sess, const char *uri, time_t *modtime) argument 55 ne_request *req = ne_request_create(sess, "HEAD", uri); 89 int ne_put(ne_session *sess, const char *uri, int fd) argument 104 req = ne_request_create(sess, "PUT", uri); 107 ne_lock_using_resource(req, uri, 0); 108 ne_lock_using_parent(req, uri); 166 static int get_range_common(ne_session *sess, const char *uri, argument 170 ne_request *req = ne_request_create(sess, "GET", uri); 202 int ne_get_range(ne_session *sess, const char *uri, argument 217 return get_range_common(sess, uri, brang 221 ne_get(ne_session *sess, const char *uri, int fd) argument 239 ne_post(ne_session *sess, const char *uri, int fd, const char *buffer) argument 356 ne_options2(ne_session *sess, const char *uri, unsigned int *caps) argument 455 ne_delete(ne_session *sess, const char *uri) argument 475 ne_mkcol(ne_session *sess, const char *uri) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/libxml2/doc/tutorial/ |
H A D | includeaddattribute.c | 10 parseDoc(char *docname, char *uri) { 39 newattr = xmlNewProp (newnode, "uri", uri); 47 char *uri; 51 printf("Usage: %s docname, uri\n", argv[0]); 56 uri = argv[2]; 57 doc = parseDoc (docname, uri);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libevent/include/event2/ |
H A D | http.h | 55 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */ 56 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */ 59 #define HTTP_NOTFOUND 404 /**< could not find content for uri */ 60 #define HTTP_BADMETHOD 405 /**< method not allowed for this uri */ 502 @param uri the URI associated with the request 508 enum evhttp_cmd_type type, const char *uri); 638 @param uri an encoded URI 641 char *evhttp_decode_uri(const char *uri); 652 @param uri a URI-encode encoded URI 658 char *evhttp_uridecode(const char *uri, in [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libevent/include/event2/ |
H A D | http.h | 55 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */ 56 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */ 59 #define HTTP_NOTFOUND 404 /**< could not find content for uri */ 60 #define HTTP_BADMETHOD 405 /**< method not allowed for this uri */ 502 @param uri the URI associated with the request 508 enum evhttp_cmd_type type, const char *uri); 638 @param uri an encoded URI 641 char *evhttp_decode_uri(const char *uri); 652 @param uri a URI-encode encoded URI 658 char *evhttp_uridecode(const char *uri, in [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libevent/include/event2/ |
H A D | http.h | 55 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */ 56 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */ 59 #define HTTP_NOTFOUND 404 /**< could not find content for uri */ 60 #define HTTP_BADMETHOD 405 /**< method not allowed for this uri */ 502 @param uri the URI associated with the request 508 enum evhttp_cmd_type type, const char *uri); 638 @param uri an encoded URI 641 char *evhttp_decode_uri(const char *uri); 652 @param uri a URI-encode encoded URI 658 char *evhttp_uridecode(const char *uri, in [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/neon/test/ |
H A D | session.c | 38 ne_uri uri = {0}; local 41 ne_fill_server_uri(sess, &uri); 43 ONCMP("localhost", uri.host, "fill_uri", "host"); 44 ONN("port mis-match", uri.port != 7777); 45 ONCMP("http", uri.scheme, "fill_uri", "scheme"); 48 ne_uri_free(&uri); 55 ne_uri uri = {0}; local 58 ne_fill_proxy_uri(sess, &uri); 60 ONN("no proxy host should be set", uri.host != NULL); 61 ONN("no proxy port should be set", uri [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/neon/test/ |
H A D | session.c | 38 ne_uri uri = {0}; local 41 ne_fill_server_uri(sess, &uri); 43 ONCMP("localhost", uri.host, "fill_uri", "host"); 44 ONN("port mis-match", uri.port != 7777); 45 ONCMP("http", uri.scheme, "fill_uri", "scheme"); 48 ne_uri_free(&uri); 55 ne_uri uri = {0}; local 58 ne_fill_proxy_uri(sess, &uri); 60 ONN("no proxy host should be set", uri.host != NULL); 61 ONN("no proxy port should be set", uri [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/neon/test/ |
H A D | session.c | 38 ne_uri uri = {0}; local 41 ne_fill_server_uri(sess, &uri); 43 ONCMP("localhost", uri.host, "fill_uri", "host"); 44 ONN("port mis-match", uri.port != 7777); 45 ONCMP("http", uri.scheme, "fill_uri", "scheme"); 48 ne_uri_free(&uri); 55 ne_uri uri = {0}; local 58 ne_fill_proxy_uri(sess, &uri); 60 ONN("no proxy host should be set", uri.host != NULL); 61 ONN("no proxy port should be set", uri [all...] |