Home
last modified time | relevance | path

Searched refs:size (Results 126 – 150 of 662) sorted by relevance

12345678910>>...27

/PHP-7.3/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc52 'size' => strlen($fileOrStream),
62 $stat['size'] = 0;
67 $stat['size'] = 0;
92 sprintf('%11s ',decoct($stat['size'])),
121 if ($stat['size'] % 512) {
122 fwrite($this->tmp, str_repeat("\0", 512 - $stat['size'] % 512));
164 'size' => 0,
/PHP-7.3/ext/xml/tests/
H A Dbug32001b.phpt78 echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
113 Chunk size: all data at once
125 Chunk size: 1 byte(s)
137 Chunk size: all data at once
149 Chunk size: 1 byte(s)
161 Chunk size: all data at once
173 Chunk size: 1 byte(s)
/PHP-7.3/ext/phar/
H A Dtar.h46 char size[12]; /* length of file in bytes */ member
70 char size[12]; /* length of file in bytes */ member
H A Dtar.c219 uint32_t sum1, sum2, size, old; in phar_parse_tarfile() local
275 phar_tar_number(hdr->size, sizeof(hdr->size)); in phar_parse_tarfile()
279 size = (size+511)&~511; in phar_parse_tarfile()
287 if (size > 511) { in phar_parse_tarfile()
392 size = ((size+511)&~511) - size; in phar_parse_tarfile()
532 if (size > 511) { in phar_parse_tarfile()
543 if (read == size) { in phar_parse_tarfile()
544 buf[size] = '\0'; in phar_parse_tarfile()
546 if (size > 50) { in phar_parse_tarfile()
564 myphar->alias_len = size; in phar_parse_tarfile()
[all …]
/PHP-7.3/tests/output/
H A Dbug60768.phpt18 printf("Output size: %d, expected %d\n", strlen($storage), 20 + 10 * 10);
23 Output size: 120, expected 120
/PHP-7.3/ext/dba/
H A Ddba_db3.c50 gkey.data = (char *) key; gkey.size = keylen
137 if (newlen) *newlen = gval.size;
138 new = estrndup(gval.data, gval.size);
151 gval.size = vallen;
209 nkey = estrndup(gkey.data, gkey.size);
210 if (newlen) *newlen = gkey.size;
/PHP-7.3/ext/gd/libgd/
H A Dgdcache.c58 int size, in gdCacheCreate() argument
67 head->size = size; in gdCacheCreate()
122 if (i < head->size) in gdCacheGet()
H A Dgd_gd2.c46 int size; member
163 if (gdGetInt(&cidx[i].size, in) != 1) { in _gd2GetHeader()
167 if (cidx[i].offset < 0 || cidx[i].size < 0) { in _gd2GetHeader()
260 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); in gdImageCreateFromGd2Ptr()
298 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2Ctx()
299 compMax = chunkIdx[i].size; in gdImageCreateFromGd2Ctx()
491 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2PartCtx()
492 compMax = chunkIdx[i].size; in gdImageCreateFromGd2PartCtx()
793 chunkIdx[chunkNum++].size = compLen; in _gdImageGd2()
814 gdPutInt(chunkIdx[x].size, out); in _gdImageGd2()
[all …]
/PHP-7.3/ext/standard/tests/filters/
H A Dbug22538.phpt11 $size = 65536;
21 $cnt = $size;
25 $cnt = $size - ($str_len + $cnt);
/PHP-7.3/Zend/
H A Dzend_llist.c24 ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char per… in zend_llist_init() argument
29 l->size = size; in zend_llist_init()
36 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element()
46 memcpy(tmp->data, element, l->size); in zend_llist_add_element()
54 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element()
64 memcpy(tmp->data, element, l->size); in zend_llist_prepend_element()
153 zend_llist_init(dst, src->size, src->dtor, src->persistent); in zend_llist_copy()
H A Dzend_hash.h263 # define zend_new_array(size) \ argument
264 (__builtin_constant_p(size) ? \
268 _zend_new_array((size)) \
271 _zend_new_array((size)) \
274 # define zend_new_array(size) \ argument
275 _zend_new_array(size)
648 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_mem()
661 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_new_mem()
698 memcpy(p, pData, size); in zend_hash_update_mem()
707 memcpy(p, pData, size); in zend_hash_str_update_mem()
[all …]
H A Dzend_stack.h24 int size, top, max; member
32 ZEND_API int zend_stack_init(zend_stack *stack, int size);
/PHP-7.3/main/streams/
H A Dcast.c61 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() argument
65 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
69 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() argument
72 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer()
90 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() argument
94 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
98 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer() argument
101 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
/PHP-7.3/ext/zip/lib/
H A Dzip_source_buffer.c49 zip_uint64_t size; /* size of data in bytes */ member
199 st->size = ctx->in->size; in read_data()
200 st->comp_size = st->size; in read_data()
274 buffer->size = 0; in buffer_new()
289 buffer->size = length; in buffer_new_read()
333 length = ZIP_MIN(length, buffer->size - buffer->offset); in buffer_read()
363 …zip_int64_t new_offset = zip_source_seek_compute_offset(buffer->offset, buffer->size, data, len, e… in buffer_seek()
430 if (buffer->offset > buffer->size) { in buffer_write()
431 buffer->size = buffer->offset; in buffer_write()
H A Dzip_source_deflate.c47 zip_uint64_t size; member
123 ctx->size = ctx->zstr.total_in; in compress_read()
124 memcpy(data, ctx->buffer, ctx->size); in compress_read()
125 return (zip_int64_t)ctx->size; in compress_read()
162 ctx->size = ctx->zstr.total_in; in compress_read()
319 st->comp_size = ctx->size; in deflate_compress()
388 if (st->comp_size > 0 && st->size > 0) in deflate_decompress()
389 st->comp_size = st->size; in deflate_decompress()
/PHP-7.3/ext/standard/tests/file/
H A Dftruncate_error.phpt6 Prototype: bool ftruncate ( resource $handle, int $size );
16 echo "\n Initial file size = ".filesize($filename)."\n";
25 // check the first size
31 // check the first size
56 // check the first size
63 // check the first size
76 Initial file size = 36
H A Dsymlink_link_linkinfo_is_link_variation4.phpt27 Check size of file and hard link
47 echo "\n-- Check size of hard link and file --\n";
63 echo "\n-- Check size of hard link and file --\n";
79 echo "\n-- Check size of hard link and file --\n";
101 -- Check size of hard link and file --
108 -- Check size of hard link and file --
115 -- Check size of hard link and file --
H A Dcopy_variation11.phpt24 var_dump( filesize($file) ); //size of source before copy
27 var_dump( filesize($dir) ); //size of destination before copy
42 var_dump( filesize($file) ); //size of source after copy
43 var_dump( filesize($dir) ); //size of destination after copy
/PHP-7.3/tests/basic/
H A Drfc1867_post_max_filesize.phpt48 ["size"]=>
61 ["size"]=>
74 ["size"]=>
H A Drfc1867_empty_upload.phpt52 ["size"]=>
65 ["size"]=>
78 ["size"]=>
H A Drfc1867_max_file_size.phpt52 ["size"]=>
65 ["size"]=>
78 ["size"]=>
/PHP-7.3/ext/bcmath/libbcmath/src/
H A Doutput.c61 bc_out_long (val, size, space, out_char) in bc_out_long() argument
63 int size, space;
76 while (size > len)
79 size--;
/PHP-7.3/ext/standard/tests/array/
H A Darray_chunk_error.phpt5 /* Prototype : array array_chunk(array input, int size [, bool preserve_keys])
18 $size = 10;
21 var_dump( array_chunk($input,$size,$preserve_keys, $extra_arg) );
/PHP-7.3/ext/standard/
H A Dmd5.c189 static const void *body(PHP_MD5_CTX *ctx, const void *data, size_t size) in body() argument
286 } while (size -= 64); in body()
313 if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) { in PHP_MD5Update()
316 ctx->hi += size >> 29; in PHP_MD5Update()
323 if (size < free) { in PHP_MD5Update()
324 memcpy(&ctx->buffer[used], data, size); in PHP_MD5Update()
330 size -= free; in PHP_MD5Update()
334 if (size >= 64) { in PHP_MD5Update()
335 data = body(ctx, data, size & ~(size_t)0x3f); in PHP_MD5Update()
336 size &= 0x3f; in PHP_MD5Update()
[all …]
/PHP-7.3/ext/bz2/
H A Dbz2.c567 unsigned __int64 size = 0; in PHP_FUNCTION() local
569 unsigned long long size = 0; in PHP_FUNCTION() local
595 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
597 if (size > SIZE_MAX) { in PHP_FUNCTION()
602 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
603 bzs.next_out = ZSTR_VAL(dest) + size; in PHP_FUNCTION()
607 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
609 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
616 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
617 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION()
[all …]

Completed in 55 milliseconds

12345678910>>...27