Searched refs:transport_len (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c142 int transport_len; local
158 transport_len = spprintf(&transport, 0, "tcp://%s:%d", resource->host, resource->port);
159 stream = php_stream_xport_create(transport, transport_len, REPORT_ERRORS, STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, NULL, NULL, context, NULL, NULL);
430 int transport_len; local
557 transport_len = spprintf(&transport, 0, "tcp://%s:%d", hoststart, portno);
558 datastream = php_stream_xport_create(transport, transport_len, REPORT_ERRORS, STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, NULL, NULL, context, NULL, NULL);
H A Dhttp_fopen_wrapper.c134 int transport_len, have_header = 0, request_fulluri = 0, ignore_errors = 0; local
170 transport_len = Z_STRLEN_PP(tmpzval);
193 transport_len = Z_STRLEN_PP(tmpzval);
196 transport_len = spprintf(&transport_string, 0, "%s://%s:%d", use_ssl ? "ssl" : "tcp", resource->host, resource->port);
210 stream = php_stream_xport_create(transport_string, transport_len, options,
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c944 int transport_len; local
951 transport_len = mnd_sprintf(&transport, 0, "unix://%s", socket_or_pipe);
959 transport_len = mnd_sprintf(&transport, 0, "pipe://%s", socket_or_pipe);
966 transport_len = mnd_sprintf(&transport, 0, "tcp://%s:%u", host, port);
973 conn->scheme = mnd_pestrndup(transport, transport_len, conn->persistent);
974 conn->scheme_len = transport_len;

Completed in 14 milliseconds