Home
last modified time | relevance | path

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

12345678910>>...24

/PHP-5.5/ext/zlib/tests/
H A Dbug_34821.phpt20 foreach ($b as $size) {
23 } while (++$i < $size);
H A Dgztell_basic2.phpt17 foreach ($sizes as $size) {
18 echo "bytes written=".gzwrite($h, str_repeat(b'1', $size))."\n";;
/PHP-5.5/ext/oci8/tests/
H A Dcoll_003.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…
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-5.5/ext/standard/tests/file/
H A Dlstat_stat_variation21.phpt32 echo "*** Testing stat() on file by truncating it to given size ***\n";
47 $affected_members = array(7, 9, 10, 'size', 'mtime', 'ctime');
59 *** Testing stat() on file by truncating it to given size ***
H A Dfilesize_variation5.phpt2 Test filesize() function: usage variations - size of files
9 * Description : Returns the size of the file in bytes, or FALSE
/PHP-5.5/tests/basic/
H A Drfc1867_post_max_filesize.phpt50 [%u|b%"size"]=>
63 [%u|b%"size"]=>
76 [%u|b%"size"]=>
H A Drfc1867_empty_upload.phpt54 [%u|b%"size"]=>
67 [%u|b%"size"]=>
80 [%u|b%"size"]=>
H A Drfc1867_max_file_size.phpt54 [%u|b%"size"]=>
67 [%u|b%"size"]=>
80 [%u|b%"size"]=>
H A Drfc1867_anonymous_upload.phpt39 [%u|b%"size"]=>
52 [%u|b%"size"]=>
/PHP-5.5/Zend/
H A Dzend_stack.c33 ZEND_API int zend_stack_push(zend_stack *stack, const void *element, int size) in zend_stack_push() argument
42 stack->elements[stack->top] = (void *) emalloc(size); in zend_stack_push()
43 memcpy(stack->elements[stack->top], element, size); in zend_stack_push()
H A Dzend_multibyte.c186 size_t size = 0; in zend_multibyte_set_script_encoding_by_string() local
193 …if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSR… in zend_multibyte_set_script_encoding_by_string()
197 if (size == 0) { in zend_multibyte_set_script_encoding_by_string()
202 if (FAILURE == zend_multibyte_set_script_encoding(list, size TSRMLS_CC)) { in zend_multibyte_set_script_encoding_by_string()
H A Dzend_ts_hash.c267 …(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) in zend_ts_hash_copy() argument
271 zend_hash_copy(TS_HASH(target), TS_HASH(source), pCopyConstructor, tmp, size); in zend_ts_hash_copy()
276 …sh(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) in zend_ts_hash_copy_to_hash() argument
279 zend_hash_copy(target, TS_HASH(source), pCopyConstructor, tmp, size); in zend_ts_hash_copy_to_hash()
283 …arget, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite) in zend_ts_hash_merge() argument
287 zend_hash_merge(TS_HASH(target), TS_HASH(source), pCopyConstructor, tmp, size, overwrite); in zend_ts_hash_merge()
292 …ble *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func… in zend_ts_hash_merge_ex() argument
296 zend_hash_merge_ex(TS_HASH(target), TS_HASH(source), pCopyConstructor, size, pMergeSource, pParam); in zend_ts_hash_merge_ex()
/PHP-5.5/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc52 'size' => strlen($fileOrStream),
85 sprintf('%11s ',decoct($stat['size'])),
113 if ($stat['size'] % 512) {
114 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
156 'size' => 0,
H A Dmake.dangerous.tar.php.inc53 'size' => strlen($fileOrStream),
86 sprintf('%11s ',decoct($stat['size'])),
114 if ($stat['size'] % 512) {
115 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
157 'size' => 0,
/PHP-5.5/ext/bz2/
H A Dbz2.c548 unsigned __int64 size = 0; in PHP_FUNCTION() local
550 unsigned long long size = 0; in PHP_FUNCTION() local
575 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
576 dest = safe_erealloc(dest, 1, bzs.avail_out+1, (size_t) size ); in PHP_FUNCTION()
577 bzs.next_out = dest + size; in PHP_FUNCTION()
581 size = (bzs.total_out_hi32 * (unsigned int) -1) + bzs.total_out_lo32; in PHP_FUNCTION()
582 dest = safe_erealloc(dest, 1, (size_t) size, 1); in PHP_FUNCTION()
583 dest[size] = '\0'; in PHP_FUNCTION()
584 RETVAL_STRINGL(dest, (int) size, 0); in PHP_FUNCTION()
/PHP-5.5/win32/
H A Dwinutil.c80 PHPAPI int php_win32_get_random_bytes(unsigned char *buf, size_t size) { /* {{{ */ in php_win32_get_random_bytes() argument
118 ret = CryptGenRandom(hCryptProv, size, buf); in php_win32_get_random_bytes()
/PHP-5.5/ext/opcache/
H A Dshared_alloc_posix.c75 shared_segment->common.size = requested_size; in create_segments()
82 munmap(shared_segment->common.p, shared_segment->common.size); in detach_segment()
/PHP-5.5/ext/sockets/
H A Dsendrecvmsg.c98 entry.size = sizev; \ in init_ancillary_registry()
302 if (entry->var_el_size > 0 && n > (LONG_MAX - (long)entry->size - in PHP_FUNCTION()
310 RETURN_LONG((long)CMSG_SPACE(entry->size + n * entry->var_el_size)); in PHP_FUNCTION()
369 socklen_t size; in php_do_getsockopt_ipv6_rfc3542() local
378 size = sizeof(struct in6_pktinfo); in php_do_getsockopt_ipv6_rfc3542()
386 buffer = ecalloc(1, size); in php_do_getsockopt_ipv6_rfc3542()
387 res = getsockopt(php_sock->bsd_socket, level, optname, buffer, &size); in php_do_getsockopt_ipv6_rfc3542()
/PHP-5.5/ext/dba/libflatfile/
H A Dflatfile.c108 size_t size = key_datum.dsize; in flatfile_delete() local
130 if (size == num && !memcmp(buf, key, size)) { in flatfile_delete()
164 size_t size = key_datum.dsize; in flatfile_findkey() local
178 if (size == num) { in flatfile_findkey()
179 if (!memcmp(buf, key, size)) { in flatfile_findkey()
/PHP-5.5/main/
H A Doutput.c823 context->in.size = size; in php_output_context_feed()
837 context->in.size = context->out.size; in php_output_context_swap()
841 context->out.size = 0; in php_output_context_swap()
851 context->out.size = context->in.size; in php_output_context_pass()
856 context->in.size = 0; in php_output_context_pass()
884 handler->size = chunk_size; in php_output_handler_init()
887 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init()
906 handler->buffer.size += grow_max; in php_output_handler_append()
912 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
945 handler->buffer.size, in php_output_handler_op()
[all …]
/PHP-5.5/ext/zlib/
H A Dzlib.c53 static voidpf php_zlib_alloc(voidpf opaque, uInt items, uInt size) in php_zlib_alloc() argument
55 return (voidpf)safe_emalloc(items, size, 0); in php_zlib_alloc()
142 output_context->out.data = emalloc(output_context->out.size); in php_zlib_output_handler_ex()
148 ctx->Z.avail_out = output_context->out.size; in php_zlib_output_handler_ex()
169 output_context->out.used = output_context->out.size - ctx->Z.avail_out; in php_zlib_output_handler_ex()
365 buffer.size = (max && (max < Z->avail_in)) ? max : Z->avail_in; in php_zlib_inflate_rounds()
372 Z->avail_out = buffer.free = buffer.size - buffer.used; in php_zlib_inflate_rounds()
384 buffer.size += (buffer.size >> 3) + 1; in php_zlib_inflate_rounds()
621 int size; in PHP_FUNCTION() local
637 size = php_stream_passthru(stream); in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_32.c144 compiler->size++; in push_cpool()
150 compiler->size++; in push_cpool()
176 compiler->size++; in push_inst()
221 compiler->size++; in push_inst_with_literal()
240 compiler->size++; in push_inst_with_unique_literal()
563 sljit_uw size; in sljit_generate_code() local
584 size = compiler->size + (compiler->patches << 1); in sljit_generate_code()
588 size = compiler->size; in sljit_generate_code()
854 local_size = ((size + local_size + 7) & ~7) - size; in sljit_emit_enter()
873 sljit_si size; in sljit_set_context() local
[all …]
H A DsljitLir.c491 SLJIT_ASSERT(size <= 256); in ensure_buf()
501 new_frag->used_size = size; in ensure_buf()
510 SLJIT_ASSERT(size <= 256); in ensure_abuf()
529 if (size <= 0 || size > 128) in sljit_alloc_memory()
531 size = (size + 7) & ~7; in sljit_alloc_memory()
533 if (size <= 0 || size > 64) in sljit_alloc_memory()
535 size = (size + 3) & ~3; in sljit_alloc_memory()
593 label->size = compiler->size; in set_label()
1142 CHECK_ARGUMENT(size > 0 && size < 16); in check_sljit_emit_op_custom()
1733 SLJIT_UNUSED_ARG(size); in sljit_alloc_memory()
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Darray_chunk_variation3.phpt5 /* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys])
18 $size = 10;
68 var_dump( array_chunk($input, $size, $value) );

Completed in 86 milliseconds

12345678910>>...24