/PHP-5.5/sapi/thttpd/ |
H A D | thttpd_patch | 750 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 D | php_cli_server.c | 2077 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 D | sapi_apache2.c | 195 ctx->finfo.st_size = ctx->r->finfo.size; in php_apache_sapi_get_stat()
|
/PHP-5.5/sapi/apache2handler/ |
H A D | sapi_apache2.c | 234 ctx->finfo.st_size = ctx->r->finfo.size; in php_apache_sapi_get_stat()
|
/PHP-5.5/main/streams/ |
H A D | streams.c | 1467 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 D | memory.c | 215 ssb->sb.st_size = ms->fsize; in php_stream_memory_stat()
|
H A D | plain_wrapper.c | 669 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 D | main.c | 1318 return ssb.sb.st_size; in php_zend_stream_fsizer()
|
/PHP-5.5/ext/zip/ |
H A D | zip_stream.c | 154 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 D | zip_source_filep.c | 221 st->size = fst.st_size; in read_file()
|
/PHP-5.5/ext/standard/ |
H A D | iptc.c | 220 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 D | ftp_fopen_wrapper.c | 822 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 D | file.c | 1559 MAKE_LONG_ZVAL_INCREF(stat_size, stat_ssb.sb.st_size); in PHP_NAMED_FUNCTION()
|
H A D | filestat.c | 969 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 D | sqlite3.c | 1199 ssb->sb.st_size = sqlite3_stream->size;
|
/PHP-5.5/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 26048 && 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 D | php_sdl.c | 1556 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 D | mod_files.c | 65 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 D | util.c | 238 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry()
|
H A D | stream.c | 486 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 D | func_interceptors.c | 490 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 D | odbc_stmt.c | 425 P->len = SQL_LEN_DATA_AT_EXEC(sb.sb.st_size); in odbc_stmt_param_hook()
|
/PHP-5.5/ext/opcache/ |
H A D | ZendAccelerator.c | 737 *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 D | apprentice.c | 2643 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 D | fsmagic.c | 239 if ((ms->flags & MAGIC_DEVICES) == 0 && sb->st_size == 0) { in file_fsmagic()
|