Searched refs:str_length (Results 1 - 13 of 13) 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/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_server.c486 static size_t sapi_cli_server_ub_write(const char *str, size_t str_length) /* {{{ */ argument
492 return php_cli_server_client_send_through(client, str, str_length);
H A Dphp_cli.c261 PHP_CLI_API size_t sapi_cli_single_write(const char *str, size_t str_length) /* {{{ */ argument
271 shell_wrote = cli_shell_callbacks.cli_shell_write(str, str_length);
279 ret = write(STDOUT_FILENO, str, str_length);
288 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
294 static size_t sapi_cli_ub_write(const char *str, size_t str_length) /* {{{ */ argument
297 size_t remaining = str_length;
300 if (!str_length) {
306 ub_wrote = cli_shell_callbacks.cli_shell_ub_write(str, str_length);
/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;
/PHP_TRUNK/main/
H A DSAPI.h231 size_t (*ub_write)(const char *str, size_t str_length);
H A Dmain.c1874 static size_t php_output_wrapper(const char *str, size_t str_length) argument
1876 return php_output_write(str, str_length);
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c73 php_apache_sapi_ub_write(const char *str, size_t str_length) argument
81 if (ap_rwrite(str, str_length, r) < 0) {
85 return str_length; /* we always consume all the data passed to us. */
/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.c282 static inline size_t sapi_cgibin_single_write(const char *str, uint str_length) /* {{{ */ argument
289 ret = fcgi_write(request, FCGI_STDOUT, str, str_length);
298 ret = write(STDOUT_FILENO, str, str_length);
304 return fwrite(str, 1, MIN(str_length, 16384), stdout);
309 static size_t sapi_cgibin_ub_write(const char *str, size_t str_length) /* {{{ */ argument
312 uint remaining = str_length;
319 return str_length - remaining;
325 return str_length;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c290 static inline size_t sapi_cgi_single_write(const char *str, size_t str_length) argument
295 ret = write(STDOUT_FILENO, str, str_length);
301 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
306 static size_t sapi_cgi_ub_write(const char *str, size_t str_length) argument
309 size_t remaining = str_length;
316 return str_length - remaining;
322 return str_length;
325 static size_t sapi_fcgi_ub_write(const char *str, size_t str_length) argument
328 size_t remaining = str_length;
337 return str_length
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c81 static size_t readline_shell_write(const char *str, size_t str_length) /* {{{ */ argument
84 smart_str_appendl(CLIR_G(prompt_str), str, str_length); local
85 return str_length;
92 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe);
99 static size_t readline_shell_ub_write(const char *str, size_t str_length) /* {{{ */ argument
104 php_last_char = str[str_length-1];

Completed in 26 milliseconds