Home
last modified time | relevance | path

Searched refs:st_size (Results 1 – 25 of 32) sorted by last modified time

12

/PHP-5.5/sapi/thttpd/
H A Dthttpd_patch750 hc->end_byte_loc = hc->sb.st_size - 1;
759 hc, 200, ok200title, hc->encodings, "", hc->type, hc->sb.st_size,
769 - hc, 304, err304title, hc->encodings, "", hc->type, hc->sb.st_size,
797 - hc, 200, ok200title, hc->encodings, "", hc->type, hc->sb.st_size,
799 + hc, 200, ok200title, hc->encodings, extraheads, hc->type, hc->sb.st_size,
1375 m = find_hash( sbP->st_ino, sbP->st_dev, sbP->st_size, sbP->st_ctime );
/PHP-5.5/sapi/cli/
H A Dphp_cli_server.c2077 smart_str_append_generic_ex(&buffer, client->request.sb.st_size, 1, size_t, _unsigned); in php_cli_server_begin_send_static()
/PHP-5.5/sapi/apache2filter/
H A Dsapi_apache2.c195 ctx->finfo.st_size = ctx->r->finfo.size; in php_apache_sapi_get_stat()
/PHP-5.5/sapi/apache2handler/
H A Dsapi_apache2.c234 ctx->finfo.st_size = ctx->r->finfo.size; in php_apache_sapi_get_stat()
/PHP-5.5/main/streams/
H A Dstreams.c1467 if (php_stream_stat(src, &ssbuf) == 0 && ssbuf.sb.st_size > 0) { in _php_stream_copy_to_mem()
1468 max_len = ssbuf.sb.st_size + step; in _php_stream_copy_to_mem()
1519 if (ssbuf.sb.st_size == 0 in _php_stream_copy_to_stream_ex()
H A Dmemory.c215 ssb->sb.st_size = ms->fsize; in php_stream_memory_stat()
H A Dplain_wrapper.c669 if (range->length == 0 && range->offset > 0 && range->offset < data->sb.st_size) { in php_stdiop_set_option()
670 range->length = data->sb.st_size - range->offset; in php_stdiop_set_option()
672 if (range->length == 0 || range->length > data->sb.st_size) { in php_stdiop_set_option()
673 range->length = data->sb.st_size; in php_stdiop_set_option()
675 if (range->offset >= data->sb.st_size) { in php_stdiop_set_option()
676 range->offset = data->sb.st_size; in php_stdiop_set_option()
/PHP-5.5/main/
H A Dmain.c1318 return ssb.sb.st_size; in php_zend_stream_fsizer()
/PHP-5.5/ext/zip/
H A Dzip_stream.c154 ssb->sb.st_size = sb.size; in php_zip_ops_stat()
157 ssb->sb.st_size = 0; in php_zip_ops_stat()
/PHP-5.5/ext/zip/lib/
H A Dzip_source_filep.c221 st->size = fst.st_size; in read_file()
/PHP-5.5/ext/standard/
H A Diptc.c220 poi = spoolbuf = safe_emalloc(1, (size_t)iptcdata_len + sizeof(psheader) + 1024 + 1, sb.st_size); in PHP_FUNCTION()
221 memset(poi, 0, iptcdata_len + sizeof(psheader) + sb.st_size + 1024 + 1); in PHP_FUNCTION()
H A Dftp_fopen_wrapper.c822 ssb->sb.st_size = 0; in php_stream_ftp_url_stat()
827 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
886 ssb->sb.st_blocks = (int)((4095 + ssb->sb.st_size) / ssb->sb.st_blksize); /* emulate ceil */ in php_stream_ftp_url_stat()
H A Dfile.c1559 MAKE_LONG_ZVAL_INCREF(stat_size, stat_ssb.sb.st_size); in PHP_NAMED_FUNCTION()
H A Dfilestat.c969 RETURN_LONG((long)ssb.sb.st_size); in php_stat()
1026 MAKE_LONG_ZVAL_INCREF(stat_size, stat_sb->st_size); in php_stat()
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c1199 ssb->sb.st_size = sqlite3_stream->size;
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c26048 && statbuf.st_size==0
29120 *pSize = buf.st_size;
29158 if( nSize>(i64)buf.st_size ){
29166 err = osFallocate(pFile->h, buf.st_size, nSize-buf.st_size);
29181 iWrite = ((buf.st_size + 2*nBlk - 1)/nBlk)*nBlk-1;
29182 assert( iWrite>=buf.st_size );
29183 assert( (iWrite/nBlk)==((buf.st_size+nBlk-1)/nBlk) );
29903 if( sStat.st_size<nByte ){
29924 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){
30303 nMap = statbuf.st_size;
[all …]
/PHP-5.5/ext/soap/
H A Dphp_sdl.c1556 buf = in = emalloc(st.st_size); in get_sdl_from_cache()
1557 if (read(f, in, st.st_size) != st.st_size) { in get_sdl_from_cache()
/PHP-5.5/ext/session/
H A Dmod_files.c65 size_t st_size; member
372 data->st_size = *vallen = sbuf.st_size; in PS_READ_FUNC()
374 if (sbuf.st_size == 0) { in PS_READ_FUNC()
379 *val = emalloc(sbuf.st_size); in PS_READ_FUNC()
382 n = pread(data->fd, *val, sbuf.st_size, 0); in PS_READ_FUNC()
385 n = read(data->fd, *val, sbuf.st_size); in PS_READ_FUNC()
388 if (n != sbuf.st_size) { in PS_READ_FUNC()
413 if (vallen < (int)data->st_size) { in PS_WRITE_FUNC()
/PHP-5.5/ext/phar/
H A Dutil.c238 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry()
H A Dstream.c486 ssb->sb.st_size = data->uncompressed_filesize; in phar_dostat()
500 ssb->sb.st_size = 0; in phar_dostat()
514 ssb->sb.st_size = 0; in phar_dostat()
H A Dfunc_interceptors.c490 RETURN_LONG((long)stat_sb->st_size); in phar_fancy_stat()
553 MAKE_LONG_ZVAL_INCREF(stat_size, stat_sb->st_size); in phar_fancy_stat()
672 sb.st_size = 0; in phar_file_stat()
718 sb.st_size = 0; in phar_file_stat()
745 sb.st_size = data->uncompressed_filesize; in phar_file_stat()
763 sb.st_size = 0; in phar_file_stat()
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_stmt.c425 P->len = SQL_LEN_DATA_AT_EXEC(sb.sb.st_size); in odbc_stmt_param_hook()
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c737 *size = tmpbuf->st_size; in zend_get_file_handle_timestamp()
819 *size = statbuf.st_size; in zend_get_file_handle_timestamp()
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c2643 if (st.sb.st_size < 8) { in apprentice_map()
2648 map->len = (size_t)st.sb.st_size; in apprentice_map()
2653 if (php_stream_read(stream, map->p, (size_t)st.sb.st_size) != (size_t)st.sb.st_size) { in apprentice_map()
2693 nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map()
2694 entries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map()
2695 if ((off_t)(entries * sizeof(struct magic)) != st.sb.st_size) { in apprentice_map()
2697 dbname, (unsigned long long)st.sb.st_size, in apprentice_map()
H A Dfsmagic.c239 if ((ms->flags & MAGIC_DEVICES) == 0 && sb->st_size == 0) { in file_fsmagic()

Completed in 464 milliseconds

12