Searched refs:str_length (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_multibyte.h27 typedef size_t (*zend_encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length);
H A Dzend.h195 size_t (*write_function)(const char *str, size_t str_length);
216 typedef int (*zend_write_func_t)(const char *str, size_t str_length);
/PHP_TRUNK/main/
H A DSAPI.h231 size_t (*ub_write)(const char *str, size_t str_length);
H A Dmain.c1914 static size_t php_output_wrapper(const char *str, size_t str_length) argument
1916 return php_output_write(str, str_length);
/PHP_TRUNK/sapi/cli/
H A Dcli.h33 extern PHP_CLI_API size_t sapi_cli_single_write(const char *str, size_t str_length);
36 size_t (*cli_shell_write)(const char *str, size_t str_length);
37 size_t (*cli_shell_ub_write)(const char *str, size_t str_length);
H A Dphp_cli.c259 PHP_CLI_API size_t sapi_cli_single_write(const char *str, size_t str_length) /* {{{ */ argument
269 shell_wrote = cli_shell_callbacks.cli_shell_write(str, str_length);
277 ret = write(STDOUT_FILENO, str, str_length);
286 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
292 static size_t sapi_cli_ub_write(const char *str, size_t str_length) /* {{{ */ argument
295 size_t remaining = str_length;
298 if (!str_length) {
304 ub_wrote = cli_shell_callbacks.cli_shell_ub_write(str, str_length);
H A Dphp_cli_server.c491 static size_t sapi_cli_server_ub_write(const char *str, size_t str_length) /* {{{ */ argument
497 return php_cli_server_client_send_through(client, str, str_length);
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c453 static int sapi_nsapi_ub_write(const char *str, unsigned int str_length) argument
462 retval = net_write(rc->sn->csd, (char *)str, str_length);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c129 static size_t sapi_lsapi_ub_write(const char *str, size_t str_length) argument
134 ret = LSAPI_Write( str, str_length );
135 if ( ret < str_length ) {
137 return str_length - ret;
140 remain = str_length;
145 return str_length - remain;
151 return str_length;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c277 static inline size_t sapi_cgibin_single_write(const char *str, uint str_length) argument
284 ret = fcgi_write(request, FCGI_STDOUT, str, str_length);
293 ret = write(STDOUT_FILENO, str, str_length);
299 return fwrite(str, 1, MIN(str_length, 16384), stdout);
303 static size_t sapi_cgibin_ub_write(const char *str, size_t str_length) argument
306 uint remaining = str_length;
313 return str_length - remaining;
319 return str_length;
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c82 static size_t readline_shell_write(const char *str, size_t str_length) /* {{{ */ argument
85 smart_str_appendl(CLIR_G(prompt_str), str, str_length); local
86 return str_length;
93 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe);
100 static size_t readline_shell_ub_write(const char *str, size_t str_length) /* {{{ */ argument
105 php_last_char = str[str_length-1];
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c79 php_apache_sapi_ub_write(const char *str, size_t str_length) argument
87 if (ap_rwrite(str, str_length, r) < 0) {
91 return str_length; /* we always consume all the data passed to us. */
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c278 static inline size_t sapi_cgi_single_write(const char *str, size_t str_length) argument
283 ret = write(STDOUT_FILENO, str, str_length);
289 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
294 static size_t sapi_cgi_ub_write(const char *str, size_t str_length) argument
297 size_t remaining = str_length;
304 return str_length - remaining;
310 return str_length;
313 static size_t sapi_fcgi_ub_write(const char *str, size_t str_length) argument
316 size_t remaining = str_length;
325 return str_length
[all...]
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c51 static inline size_t php_embed_single_write(const char *str, size_t str_length) argument
56 ret = write(STDOUT_FILENO, str, str_length);
62 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
68 static size_t php_embed_ub_write(const char *str, size_t str_length) argument
71 size_t remaining = str_length;
83 return str_length;

Completed in 34 milliseconds