Lines Matching refs:sent_bytes
215 int sent_bytes = 0; in php_roxen_low_ub_write() local
230 sent_bytes = Pike_sp[-1].u.integer; in php_roxen_low_ub_write()
232 if(sent_bytes != str_length) { in php_roxen_low_ub_write()
236 return sent_bytes; in php_roxen_low_ub_write()
251 int sent_bytes = 0, fd = MY_FD; in php_roxen_sapi_ub_write() local
254 for(sent_bytes=0;sent_bytes < str_length;) in php_roxen_sapi_ub_write()
257 written = fd_write(fd, str + sent_bytes, str_length - sent_bytes); in php_roxen_sapi_ub_write()
266 return sent_bytes; in php_roxen_sapi_ub_write()
273 sent_bytes += written; in php_roxen_sapi_ub_write()
277 THREAD_SAFE_RUN(sent_bytes = php_roxen_low_ub_write(str, str_length TSRMLS_CC), in php_roxen_sapi_ub_write()
280 return sent_bytes; in php_roxen_sapi_ub_write()