Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-8.1/ext/dba/
H A Ddba_db3.c48 gkey.data = (char *) key; gkey.size = keylen
135 if (newlen) *newlen = gval.size;
136 new = estrndup(gval.data, gval.size);
149 gval.size = vallen;
207 nkey = estrndup(gkey.data, gkey.size);
208 if (newlen) *newlen = gkey.size;
/PHP-8.1/ext/mbstring/tests/
H A Dmb_str_split_jp.phpt49 $size = 50000;
50 $long = str_repeat($string, $size); /* 50k x 2 chars = 1e5 chars */
55 /* check array size */
56 if($size !== $count) printf("Long string splitting error: actual array size: %d expected: %d\n", $c…
/PHP-8.1/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 Dgdcache.c58 int size, in gdCacheCreate() argument
67 head->size = size; in gdCacheCreate()
122 if (i < head->size) in gdCacheGet()
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()
H A Dgd.h361 gdImagePtr gdImageCreateFromJpegPtr (int size, void *data);
365 gdImagePtr gdImageCreateFromWebpPtr (int size, void *data);
368 gdImagePtr gdImageCreateFromAvifPtr(int size, void *data);
373 gdImagePtr gdImageCreateFromTgaPtr(int size, void *data);
376 gdImagePtr gdImageCreateFromBmpPtr (int size, void *data);
615 void *gdImageWBMPPtr(gdImagePtr im, int *size, int fg);
638 void *gdImageJpegPtr(gdImagePtr im, int *size, int quality);
646 void *gdImageAvifPtr(gdImagePtr im, int *size);
666 void* gdImagePngPtr(gdImagePtr im, int *size);
669 void* gdImageGdPtr(gdImagePtr im, int *size);
[all …]
/PHP-8.1/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-8.1/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.c216 uint32_t sum1, sum2, size, old; in phar_parse_tarfile() local
281 phar_tar_number(hdr->size, sizeof(hdr->size)); in phar_parse_tarfile()
285 size = (size+511)&~511; in phar_parse_tarfile()
293 if (size > 511) { in phar_parse_tarfile()
398 size = ((size+511)&~511) - size; in phar_parse_tarfile()
539 if (size > 511) { in phar_parse_tarfile()
550 if (read == size) { in phar_parse_tarfile()
551 buf[size] = '\0'; in phar_parse_tarfile()
553 if (size > 50) { in phar_parse_tarfile()
571 myphar->alias_len = size; in phar_parse_tarfile()
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dtempnam_variation9.phpt2 Test tempnam() function: usage variations - test prefix maximum size
11 /* Testing the maximum prefix size */
13 echo "*** Testing tempnam() maximum prefix size ***\n";
58 *** Testing tempnam() maximum prefix size ***
H A Dfread_variation2.phpt23 // read the data of size $read_size
27 // check if data read is of expected size
74 // read from file, by giving the file actual size,
80 // reading file by giving less than its size
112 -- Reading file content less than max. file size, expected : 0 bytes --
131 -- Reading file content less than max. file size, expected : 0 bytes --
150 -- Reading file content less than max. file size, expected : 0 bytes --
169 -- Reading file content less than max. file size, expected : 0 bytes --
188 -- Reading file content less than max. file size, expected : 0 bytes --
207 -- Reading file content less than max. file size, expected : 0 bytes --
[all …]
H A Dcopy_variation11.phpt19 var_dump( filesize($file) ); //size of source before copy
22 var_dump( filesize($dir) ); //size of destination before copy
37 var_dump( filesize($file) ); //size of source after copy
38 var_dump( filesize($dir) ); //size of destination after copy
H A Dfilesize_basic.phpt5 echo "*** Testing size of files and directories with filesize() ***\n";
27 *** Testing size of files and directories with filesize() ***
H A Dlstat_stat_variation21.phpt25 echo "*** Testing stat() on file by truncating it to given size ***\n";
40 $affected_members = array(7, 9, 10, 'size', 'mtime', 'ctime');
51 *** Testing stat() on file by truncating it to given size ***
/PHP-8.1/ext/standard/
H A Dcrypt_blowfish.c380 static int BF_decode(BF_word *dst, const char *src, int size) in BF_decode() argument
383 unsigned char *end = dptr + size; in BF_decode()
404 static void BF_encode(char *dst, const BF_word *src, int size) in BF_encode() argument
407 const unsigned char *end = sptr + size; in BF_encode()
640 char *output, int size, in BF_crypt() argument
657 if (size < 7 + 22 + 31 + 1) { in BF_crypt()
770 if (size < 3) in _crypt_output_magic()
804 char *output, int size) in php_crypt_blowfish_rn() argument
821 _crypt_output_magic(setting, output, size); in php_crypt_blowfish_rn()
822 retval = BF_crypt(key, setting, output, size, 16); in php_crypt_blowfish_rn()
[all …]
/PHP-8.1/ext/standard/tests/filters/
H A Dbug22538.phpt11 $size = 65536;
21 $cnt = $size;
25 $cnt = $size - ($str_len + $cnt);
/PHP-8.1/ext/bz2/
H A Dbz2.c501 unsigned __int64 size = 0; in PHP_FUNCTION() local
503 unsigned long long size = 0; in PHP_FUNCTION() local
529 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
531 if (size > SIZE_MAX) { in PHP_FUNCTION()
536 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
537 bzs.next_out = ZSTR_VAL(dest) + size; in PHP_FUNCTION()
541 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
543 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
550 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
551 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION()
[all …]
/PHP-8.1/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()
155 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 void zend_stack_init(zend_stack *stack, int size);
/PHP-8.1/main/streams/
H A Dcast.c59 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() argument
63 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
67 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() argument
70 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer()
89 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() argument
93 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
97 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer() argument
100 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
/PHP-8.1/ext/opcache/jit/libudis86/
H A Dsyn.c99 switch (opr->size) { in ud_syn_rel_target()
159 if (op->_oprcode == OP_sI && op->size != u->opr_mode) { in ud_syn_print_imm()
160 if (op->size == 8) { in ud_syn_print_imm()
163 UD_ASSERT(op->size == 32); in ud_syn_print_imm()
170 switch (op->size) { in ud_syn_print_imm()
/PHP-8.1/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-8.1/tests/basic/
H A Drfc1867_post_max_filesize.phpt50 ["size"]=>
65 ["size"]=>
80 ["size"]=>
H A Drfc1867_max_file_size.phpt54 ["size"]=>
69 ["size"]=>
84 ["size"]=>
H A Drfc1867_empty_upload.phpt54 ["size"]=>
69 ["size"]=>
84 ["size"]=>

Completed in 53 milliseconds

12345678910>>...28