Home
last modified time | relevance | path

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

12345678910>>...25

/PHP-7.4/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.4/ext/gd/libgd/
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 …]
H A Dgd_wbmp.c193 gdImagePtr gdImageCreateFromWBMPPtr (int size, void *data) in gdImageCreateFromWBMPPtr() argument
196 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); in gdImageCreateFromWBMPPtr()
215 void * gdImageWBMPPtr (gdImagePtr im, int *size, int fg) in gdImageWBMPPtr() argument
220 rv = gdDPExtractData(out, size); in gdImageWBMPPtr()
/PHP-7.4/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_stack.h24 int size, top, max; member
32 ZEND_API int zend_stack_init(zend_stack *stack, int size);
H A Dzend_hash.h283 # define zend_new_array(size) \ argument
284 (__builtin_constant_p(size) ? \
288 _zend_new_array((size)) \
291 _zend_new_array((size)) \
294 # define zend_new_array(size) \ argument
295 _zend_new_array(size)
669 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_mem()
682 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_new_mem()
719 memcpy(p, pData, size); in zend_hash_update_mem()
728 memcpy(p, pData, size); in zend_hash_str_update_mem()
[all …]
/PHP-7.4/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()
91 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() argument
95 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
99 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer() argument
102 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
/PHP-7.4/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"]=>
H A Drfc1867_anonymous_upload.phpt37 ["size"]=>
50 ["size"]=>
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_32.c72 sljit_s32 args, size; in sljit_emit_enter() local
114 INC_SIZE(size); in sljit_emit_enter()
291 sljit_s32 size; in sljit_emit_return() local
317 size += 2; in sljit_emit_return()
322 INC_SIZE(size); in sljit_emit_return()
373 size &= 0xf; in emit_x86_instruction()
374 inst_size = size; in emit_x86_instruction()
438 buf_ptr = inst + size; in emit_x86_instruction()
898 sljit_s32 size, saved_size; in skip_frames_before_return() local
923 size = 0; in skip_frames_before_return()
[all …]
/PHP-7.4/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 Dfread_variation2.phpt31 // read the data of size $read_size
35 // check if data read is of expected size
82 // read from file, by giving the file actual size,
88 // reading file by giving less than its size
120 -- Reading file content less than max. file size, expeceted : 0 bytes --
139 -- Reading file content less than max. file size, expeceted : 0 bytes --
158 -- Reading file content less than max. file size, expeceted : 0 bytes --
177 -- Reading file content less than max. file size, expeceted : 0 bytes --
196 -- Reading file content less than max. file size, expeceted : 0 bytes --
215 -- Reading file content less than max. file size, expeceted : 0 bytes --
[all …]
H A Dsymlink_link_linkinfo_is_link_variation4.phpt21 Check size of file and hard link
41 echo "\n-- Check size of hard link and file --\n";
57 echo "\n-- Check size of hard link and file --\n";
73 echo "\n-- Check size of hard link and file --\n";
95 -- Check size of hard link and file --
102 -- Check size of hard link and file --
109 -- 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.4/ext/bcmath/libbcmath/src/
H A Doutput.c60 bc_out_long (val, size, space, out_char) in bc_out_long() argument
62 int size, space;
75 while (size > len)
78 size--;
/PHP-7.4/ext/phar/
H A Dtar.c219 uint32_t sum1, sum2, size, old; in phar_parse_tarfile() local
284 phar_tar_number(hdr->size, sizeof(hdr->size)); in phar_parse_tarfile()
288 size = (size+511)&~511; in phar_parse_tarfile()
296 if (size > 511) { in phar_parse_tarfile()
401 size = ((size+511)&~511) - size; in phar_parse_tarfile()
541 if (size > 511) { in phar_parse_tarfile()
552 if (read == size) { in phar_parse_tarfile()
553 buf[size] = '\0'; in phar_parse_tarfile()
555 if (size > 50) { in phar_parse_tarfile()
573 myphar->alias_len = size; in phar_parse_tarfile()
[all …]
/PHP-7.4/ext/oci8/tests/
H A Dcoll_002.phpt17 var_dump($coll1->size());
31 Warning: OCI-Collection::size(): supplied resource is not a valid oci8 collection resource in %s on…
H A Dcoll_006.phpt17 var_dump($coll1->size());
31 Warning: OCI-Collection::size(): supplied resource is not a valid oci8 collection resource in %s on…
H A Dcoll_007.phpt16 var_dump($coll1->size());
32 Warning: OCI-Collection::trim(): OCI-22167: given trim size [3] must be less than or equal to [0] i…
/PHP-7.4/ext/standard/
H A Dmd5.c190 static const void *body(PHP_MD5_CTX *ctx, const void *data, size_t size) in body() argument
287 } while (size -= 64); in body()
314 if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) { in PHP_MD5Update()
317 ctx->hi += size >> 29; in PHP_MD5Update()
324 if (size < free) { in PHP_MD5Update()
325 memcpy(&ctx->buffer[used], data, size); in PHP_MD5Update()
331 size -= free; in PHP_MD5Update()
335 if (size >= 64) { in PHP_MD5Update()
336 data = body(ctx, data, size & ~(size_t)0x3f); in PHP_MD5Update()
337 size &= 0x3f; in PHP_MD5Update()
[all …]
/PHP-7.4/ext/gd/tests/
H A Dimagegd_truecolor.phpt24 printf("size: %d\n", strlen($buffer));
32 size: 411
/PHP-7.4/ext/zlib/tests/
H A Dbug_34821.phpt20 foreach ($b as $size) {
23 } while (++$i < $size);
/PHP-7.4/ext/bz2/
H A Dbz2.c575 unsigned __int64 size = 0; in PHP_FUNCTION() local
577 unsigned long long size = 0; in PHP_FUNCTION() local
603 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
605 if (size > SIZE_MAX) { in PHP_FUNCTION()
610 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
611 bzs.next_out = ZSTR_VAL(dest) + size; in PHP_FUNCTION()
615 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
617 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
624 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
625 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION()
[all …]

Completed in 80 milliseconds

12345678910>>...25