Home
last modified time | relevance | path

Searched refs:size (Results 151 – 175 of 775) sorted by relevance

12345678910>>...31

/php-src/ext/xml/tests/
H A Dbug32001b.phpt83 … echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n");
117 Chunk size: all data at once
129 Chunk size: 1 byte(s)
141 Chunk size: all data at once
153 Chunk size: 1 byte(s)
165 Chunk size: all data at once
177 Chunk size: 1 byte(s)
/php-src/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-src/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_variation4.phpt8 Check size of file and hard link
28 echo "\n-- Check size of hard link and file --\n";
44 echo "\n-- Check size of hard link and file --\n";
60 echo "\n-- Check size of hard link and file --\n";
82 -- Check size of hard link and file --
89 -- Check size of hard link and file --
96 -- Check size of hard link and 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
/php-src/ext/gd/tests/
H A Dbug73157.phpt21 printf("chunk size: %d\n", $header['chunk_size']);
24 chunk size: 256
/php-src/ext/spl/
H A Dspl_fixedarray.stub.php7 public function __construct(int $size = 0) {} argument
30 public function setSize(int $size): true {} argument
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_32.c70 size &= 0xf; in emit_x86_instruction()
72 inst_size = size + 1; in emit_x86_instruction()
231 sljit_uw size; in emit_vex_instruction() local
397 size++; in sljit_emit_enter()
399 if (size != 0) { in sljit_emit_enter()
428 args_size = size; in sljit_emit_enter()
586 sljit_uw size; in emit_stack_frame_release() local
595 size++; in emit_stack_frame_release()
604 if (size == 0) in emit_stack_frame_release()
610 INC_SIZE(size); in emit_stack_frame_release()
[all …]
/php-src/Zend/
H A Dzend_call_stack.c91 size_t size = EG(call_stack).max_size; in zend_call_stack_init() local
94 size = zend_call_stack_default_size(); in zend_call_stack_init()
96 size -= 32 * 1024; in zend_call_stack_init()
99 EG(stack_limit) = zend_call_stack_limit(base, size, EG(reserved_stack_size)); in zend_call_stack_init()
383 ULONG size; in zend_call_stack_get_win32() local
712 size_t size; in zend_call_stack_get_solaris_proc_maps() local
723 size = (1 << 20); in zend_call_stack_get_solaris_proc_maps()
731 orig = malloc(size); in zend_call_stack_get_solaris_proc_maps()
738 while (size > 0 && (len = pread(fd, orig, size, 0)) == size) { in zend_call_stack_get_solaris_proc_maps()
740 size <<= 1; in zend_call_stack_get_solaris_proc_maps()
[all …]
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()
/php-src/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-src/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
/php-src/ext/standard/tests/array/
H A Darray_pad_too_large_padding.phpt19 array_pad(): Argument #2 ($length) must not exceed the maximum allowed array size
20 array_pad(): Argument #2 ($length) must not exceed the maximum allowed array size
/php-src/ext/standard/tests/
H A Dgh14643_longname.phpt20 Fatal error: Allowed memory size of %d bytes exhausted %s
22 Fatal error: Allowed memory size of %d bytes exhausted %s
/php-src/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()
/php-src/Zend/tests/stack_limit/
H A Dstack_limit_001.phpt79 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
80 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
81 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
82 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
H A Dstack_limit_003.phpt64 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
65 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
66 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
/php-src/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-src/ext/bz2/
H A Dbz2.c498 unsigned __int64 size = 0; in PHP_FUNCTION() local
500 unsigned long long size = 0; in PHP_FUNCTION() local
526 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
528 if (size > SIZE_MAX) { in PHP_FUNCTION()
533 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
534 bzs.next_out = ZSTR_VAL(dest) + size; in PHP_FUNCTION()
538 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
540 if (UNEXPECTED(size > SIZE_MAX)) { in PHP_FUNCTION()
547 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
548 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION()
[all …]
/php-src/main/streams/
H A Dcast.c68 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() argument
72 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
76 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() argument
79 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer()
98 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() argument
102 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
106 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer() argument
109 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
/php-src/ext/dom/lexbor/lexbor/html/
H A Dparser.c121 lxb_html_parse(lxb_html_parser_t *parser, const lxb_char_t *html, size_t size) in lxb_html_parse() argument
128 lxb_html_parse_chunk_process(parser, html, size); in lxb_html_parse()
149 const lxb_char_t *html, size_t size) in lxb_html_parse_fragment() argument
155 html, size); in lxb_html_parse_fragment()
162 const lxb_char_t *html, size_t size) in lxb_html_parse_fragment_by_tag_id() argument
169 lxb_html_parse_fragment_chunk_process(parser, html, size); in lxb_html_parse_fragment_by_tag_id()
281 const lxb_char_t *html, size_t size) in lxb_html_parse_fragment_chunk_process() argument
287 parser->status = lxb_html_tree_chunk(parser->tree, html, size); in lxb_html_parse_fragment_chunk_process()
404 const lxb_char_t *html, size_t size) in lxb_html_parse_chunk_process() argument
410 parser->status = lxb_html_tree_chunk(parser->tree, html, size); in lxb_html_parse_chunk_process()
/php-src/tests/basic/
H A Drfc1867_post_max_filesize.phpt50 ["size"]=>
65 ["size"]=>
80 ["size"]=>

Completed in 53 milliseconds

12345678910>>...31