/PHP-8.1/ext/dba/ |
H A D | dba_db3.c | 48 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 D | mb_str_split_jp.phpt | 49 $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 D | gd_gd2.c | 46 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 D | gdcache.c | 58 int size, in gdCacheCreate() argument 67 head->size = size; in gdCacheCreate() 122 if (i < head->size) in gdCacheGet()
|
H A D | gd_wbmp.c | 193 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 D | gd.h | 361 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 D | bug60768.phpt | 18 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 D | tar.h | 46 char size[12]; /* length of file in bytes */ member 70 char size[12]; /* length of file in bytes */ member
|
H A D | tar.c | 216 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 D | tempnam_variation9.phpt | 2 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 D | fread_variation2.phpt | 23 // 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 D | copy_variation11.phpt | 19 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 D | filesize_basic.phpt | 5 echo "*** Testing size of files and directories with filesize() ***\n"; 27 *** Testing size of files and directories with filesize() ***
|
H A D | lstat_stat_variation21.phpt | 25 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 D | crypt_blowfish.c | 380 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 D | bug22538.phpt | 11 $size = 65536; 21 $cnt = $size; 25 $cnt = $size - ($str_len + $cnt);
|
/PHP-8.1/ext/bz2/ |
H A D | bz2.c | 501 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 D | zend_llist.c | 24 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 D | zend_stack.h | 24 int size, top, max; member 32 ZEND_API void zend_stack_init(zend_stack *stack, int size);
|
/PHP-8.1/main/streams/ |
H A D | cast.c | 59 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 D | syn.c | 99 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 D | sljitNativeX86_32.c | 72 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 D | rfc1867_post_max_filesize.phpt | 50 ["size"]=> 65 ["size"]=> 80 ["size"]=>
|
H A D | rfc1867_max_file_size.phpt | 54 ["size"]=> 69 ["size"]=> 84 ["size"]=>
|
H A D | rfc1867_empty_upload.phpt | 54 ["size"]=> 69 ["size"]=> 84 ["size"]=>
|