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

/PHP_TRUNK/
H A Dserver-tests.php1248 $uri = $this->conf['TEST_BASE_SCRIPT_NAME'].str_replace($this->conf['TEST_BASE_PATH'], '', $tmp_file); variable
1249 $uri = str_replace('\\', '/', $uri); variable
1306 $url .= $uri;
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c241 value = lstFset_get(rc->t->vars, "uri");
414 char *uri = lstFset_get(NSG(t->vars), "uri"); local
422 SG(request_info).request_uri = capi_strdup(uri);
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c117 { "PHP_SELF", "uri" },
173 ZEND_ARG_INFO(0, uri)
325 /* {{{ proto bool nsapi_virtual(string uri)
335 char *uri,*value; local
339 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &uri, &uri_len) == FAILURE) {
344 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to include uri '%s' - Sub-requests not supported on this platform", uri);
347 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to include uri '%s' - Sub-requests do not work with zlib.output_compression", uri);
355 if ((rq = request_restart_internal(uri, NUL
967 char *uri = pblock_findval("uri", rq->reqpb); local
[all...]
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c797 dom_register_prop_handler(&dom_domlocator_prop_handlers, "uri", dom_domlocator_uri_read, NULL TSRMLS_CC);
1494 /* {{{ xmlNsPtr dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) */
1495 xmlNsPtr dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) { argument
1500 if (! ((prefix && !strcmp (prefix, "xml") && strcmp(uri, (char *)XML_XML_NAMESPACE)) ||
1501 (prefix && !strcmp (prefix, "xmlns") && strcmp(uri, (char *)DOM_XMLNS_NAMESPACE)) ||
1502 (prefix && !strcmp(uri, (char *)DOM_XMLNS_NAMESPACE) && strcmp (prefix, "xmlns")))) {
1503 nsptr = xmlNewNs(nodep, (xmlChar *)uri, (xmlChar *)prefix);
H A Ddocument.c1036 char *uri, *name, *value = NULL; local
1041 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os!s|s", &id, dom_document_class_entry, &uri, &uri_len, &name, &name_len, &value, &value_len) == FAILURE) {
1052 if (nodep != NULL && uri != NULL) {
1053 nsptr = xmlSearchNsByHref(nodep->doc, nodep, (xmlChar *) uri);
1055 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
1100 char *uri, *name; local
1105 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os!s", &id, dom_document_class_entry, &uri, &uri_len, &name, &name_len) == FAILURE) {
1118 nsptr = xmlSearchNsByHref(nodep->doc, root, (xmlChar *) uri);
1120 nsptr = dom_get_ns(root, uri, &errorcode, prefix);
1164 char *uri, *nam local
1303 xmlURI *uri; local
[all...]
H A Ddomimplementation.c99 xmlURIPtr uri; local
117 uri = xmlParseURI(name);
118 if (uri != NULL && uri->opaque != NULL) {
119 localname = xmlStrdup((xmlChar *) uri->opaque);
122 xmlFreeURI(uri);
134 if (uri) {
135 xmlFreeURI(uri);
163 char *uri = NULL, *name = NULL; local
167 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssO", &uri,
[all...]
H A Delement.c118 ZEND_ARG_INFO(0, uri)
153 /* {{{ proto void DOMElement::__construct(string name, [string value], [string uri]); */
160 char *name, *value = NULL, *uri = NULL; local
169 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|s!s", &id, dom_element_class_entry, &name, &name_len, &value, &value_len, &uri, &uri_len) == FAILURE) {
181 /* Namespace logic is separate and only when uri passed in to insure no BC breakage */
186 if (nodep != NULL && uri != NULL) {
187 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
203 /* If you don't pass a namespace uri, then you can't set a prefix */
667 char *uri, *name; local
670 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os!s", &id, dom_element_class_entry, &uri,
747 char *uri, *name, *value; local
876 char *name, *uri; local
933 char *uri, *name; local
1035 char *uri, *name; local
1092 char *uri, *name; local
1185 char *uri, *name; local
[all...]
H A Dnamednodemap.c266 char *uri, *named; local
272 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os!s", &id, dom_namednodemap_class_entry, &uri, &urilen, &named, &namedlen) == FAILURE) {
296 itemnode = (xmlNodePtr)xmlHasNsProp(nodep, (xmlChar *) named, (xmlChar *) uri);
H A Dnode.c120 ZEND_ARG_INFO(0, uri)
1520 char *uri; local
1522 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_node_class_entry, &uri, &uri_len) == FAILURE) {
1549 nsptr = xmlSearchNsByHref(lookupp->doc, lookupp, (xmlChar *) uri);
1571 char *uri; local
1573 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_node_class_entry, &uri, &uri_len) == FAILURE) {
1584 if (nsptr && xmlStrEqual(nsptr->href, (xmlChar *) uri)) {
1849 /* {{{ proto int DOMNode::C14NFile(string uri [, bool exclusive [, bool with_comments [, array xpath [, array ns_prefixes]]]])
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c23 #include "libxml/uri.h"
196 xmlChar *uri; local
200 uri = xmlBuildURI(location->children->content, trav->doc->URL);
202 uri = xmlBuildURI(location->children->content, base);
205 schema_load_file(ctx, NULL, uri, tns, 0 TSRMLS_CC);
206 xmlFree(uri);
216 xmlChar *uri; local
220 uri = xmlBuildURI(location->children->content, trav->doc->URL);
222 uri = xmlBuildURI(location->children->content, base);
225 schema_load_file(ctx, NULL, uri, tn
232 xmlChar *uri = NULL; local
[all...]
H A Dphp_soap.h104 char *uri; member in struct:_soapService
H A Dsoap.c63 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version TSRMLS_DC);
64 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC);
1156 if ((tmp = zend_hash_str_find(ht, "uri", sizeof("uri")-1)) != NULL &&
1158 service->uri = estrndup(Z_STRVAL_P(tmp), Z_STRLEN_P(tmp));
1160 php_error_docref(NULL TSRMLS_CC, E_ERROR, "'uri' option is required in nonWSDL mode");
1213 php_error_docref(NULL TSRMLS_CC, E_ERROR, "'uri' option is required in nonWSDL mode");
1224 if (service->uri == NULL) {
1226 service->uri = estrdup(service->sdl->target_ns);
1229 service->uri
2753 zval *uri; local
2850 char *function, *location=NULL, *soap_action = NULL, *uri = NULL; local
3733 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main, xmlNodePtr *node TSRMLS_DC) argument
3835 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
4192 serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC) argument
[all...]
H A Dphp_sdl.c24 #include "libxml/uri.h"
228 void sdl_set_uri_credentials(sdlCtx *ctx, char *uri TSRMLS_DC)
240 s = strstr((char*)uri, "://");
243 l2 = s ? (s - (char*)uri) : strlen((char*)uri);
254 uri[4] == ':' &&
255 uri[l2-3] == ':' &&
256 uri[l2-2] == '8' &&
257 uri[l2-1] == '0') {
270 uri[
387 xmlChar *uri; local
1526 get_sdl_from_cache(const char *fn, const char *uri, time_t t, time_t *cached TSRMLS_DC) argument
2097 add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr sdl TSRMLS_DC) argument
3154 get_sdl(zval *this_ptr, char *uri, zend_long cache_wsdl TSRMLS_DC) argument
3185 zend_hash_str_del(&EG(persistent_list), uri, uri_len); local
[all...]
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c34 #include <libxml/uri.h>
226 xmlURI *uri; local
231 uri = xmlCreateURI();
233 xmlParseURIReference(uri, (const char *)escsource);
236 if (uri->scheme != NULL) {
257 if ((uri->scheme == NULL || isFileUri)) {
259 xmlFreeURI(uri);
265 xmlFreeURI(uri);
1040 char *source, *uri = NULL, *encoding = NULL; local
1079 uri
[all...]
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c168 ZEND_ARG_INFO(0, uri)
202 ZEND_ARG_INFO(0, uri)
208 ZEND_ARG_INFO(0, uri)
215 ZEND_ARG_INFO(0, uri)
222 ZEND_ARG_INFO(0, uri)
250 ZEND_ARG_INFO(0, uri)
256 ZEND_ARG_INFO(0, uri)
274 ZEND_ARG_INFO(0, uri)
281 ZEND_ARG_INFO(0, uri)
587 xmlURI *uri; local
835 char *name, *prefix, *uri; local
919 char *name, *prefix, *uri, *content; local
970 char *name, *prefix, *uri; local
1080 char *name, *prefix, *uri, *content = NULL; local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c41 ZEND_ARG_INFO(0, uri)
691 /* {{{ proto int xsl_xsltprocessor_transform_to_uri(domdocument doc, string uri);
700 char *uri; local
707 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "op", &docp, &uri, &uri_len) == FAILURE) {
715 ret = xsltSaveResultToFilename(uri, newdocp, sheetp, 0);
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c181 static char *dsn_from_uri(char *uri, char *buf, size_t buflen TSRMLS_DC) /* {{{ */ argument
186 stream = php_stream_open_wrapper(uri, "rb", REPORT_ERRORS, NULL);
242 if (!strncmp(data_source, "uri:", sizeof("uri:")-1)) {
244 data_source = dsn_from_uri(data_source + sizeof("uri:")-1, alt_dsn, sizeof(alt_dsn) TSRMLS_CC);
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c42 #include <libxml/uri.h>
303 xmlURI *uri; local
307 uri = xmlParseURI(filename);
308 if (uri && (uri->scheme == NULL ||
309 (xmlStrncmp(BAD_CAST uri->scheme, BAD_CAST "file", 4) == 0))) {
316 if (uri) {
317 xmlFreeURI(uri);
/PHP_TRUNK/ext/xml/
H A Dxml.c1055 void _xml_startNamespaceDeclHandler(void *userData,const XML_Char *prefix, const XML_Char *uri) argument
1064 _xml_xmlchar_zval(uri, 0, parser->target_encoding, &args[2]);

Completed in 58 milliseconds