Searched refs:remain (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_io_dp.c229 int rlen, remain; local
236 remain = dp->logicalSize - dp->pos;
237 if (remain >= len) {
240 if (remain == 0) {
243 rlen = remain;
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c134 int remain; local
142 remain = str_length;
143 while( remain > 0 ) {
144 ret = write( 1, str, remain );
147 return str_length - remain;
150 remain -= ret;
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_filep.c53 zip_int64_t remain; /* bytes remaining to be copied */
155 z->remain = z->len;
159 if (z->remain != -1)
160 n = len > (zip_uint64_t)z->remain ? (zip_uint64_t)z->remain : len;
169 if (fseeko(z->f, (off_t)(z->off + (zip_uint64_t)(z->len-z->remain)), SEEK_SET) < 0) {
184 if (z->remain != -1)
185 z->remain -= i;
52 zip_int64_t remain; /* bytes remaining to be copied */ member in struct:read_file
/PHP_TRUNK/Zend/
H A Dzend_stream.c258 size_t read, remain = 4*1024; local
259 *buf = emalloc(remain);
262 while ((read = zend_stream_read(file_handle, *buf + size, remain TSRMLS_CC)) > 0) {
264 remain -= read;
266 if (remain == 0) {
268 remain = size;
273 if (size && remain < ZEND_MMAP_AHEAD) {

Completed in 5 milliseconds