Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 592) sorted by path

12345678910>>...24

/PHP-5.5/
H A D.gdbinit607 printf " block size status file:line\n"
628 …if $p->size == sizeof(struct _zval_struct) && ((struct _zval_struct *)$aptr)->type >= 0 && ((struc…
629 printf "ZVAL?(%-2d) ", $p->size
631 printf "%-9d ", $p->size
633 set $total_size = $total_size + $p->size
H A DNEWS137 . Fixed bug #71906 (AddressSanitizer: negative-size-param (-1) in
1083 string size). (Francisco Alonso, Jan Kaluza, Remi)
3216 . Reduced size of temp_variable.
4003 encoding with spaces after chunk size). (Dmitry)
4102 size). (Pierre, os at irj dot ru)
5411 - Fixed bug #47281 ($php_errormsg is limited in size of characters)
7064 - Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887).
7208 - Fixed size calculation in chunk_split(). (Stas)
7742 - Added support for hex numbers of any size. (Matt)
7831 - Fixed ftruncate() with negative size on FreeBSD. (Hannes)
[all …]
H A DREADME.STREAMS274 bufsize is the size of the buffer to use - if 0, then buffering at the stream
355 such as coping with a buffer size too small to hold the data,
/PHP-5.5/TSRM/
H A DTSRM.c34 size_t size; member
215 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo… in ts_allocate_id() argument
219 TSRM_ERROR((TSRM_ERROR_LEVEL_CORE, "Obtaining a new resource id, %d bytes", size)); in ts_allocate_id()
238 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].size = size; in ts_allocate_id()
253 p->storage[j] = (void *) malloc(resource_types_table[j].size); in ts_allocate_id()
292 (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); in allocate_new_resource()
758 int size; in tsrm_error() local
762 size = vfprintf(tsrm_error_file, format, args); in tsrm_error()
766 return size; in tsrm_error()
H A DTSRM.h111 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…
H A Dtsrm_config_common.h58 # define tsrm_do_alloca_ex(size, limit, use_heap) \ argument
59 ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size))
60 # define tsrm_do_alloca(size, use_heap) \ argument
61 tsrm_do_alloca_ex(size, TSRM_ALLOCA_MAX_SIZE, use_heap)
H A Dtsrm_virtual_cwd.c535 CWD_API char *virtual_getcwd(char *buf, size_t size TSRMLS_DC) /* {{{ */ in virtual_getcwd()
545 if (length > size-1) { in virtual_getcwd()
643 long size = sizeof(realpath_cache_bucket) + path_len + 1; in realpath_cache_add() local
648 size += realpath_len + 1; in realpath_cache_add()
652 if (CWDG(realpath_cache_size) + size <= CWDG(realpath_cache_size_limit)) { in realpath_cache_add()
653 realpath_cache_bucket *bucket = malloc(size); in realpath_cache_add()
686 CWDG(realpath_cache_size) += size; in realpath_cache_add()
H A Dtsrm_virtual_cwd.h155 CWD_API char *virtual_getcwd(char *buf, size_t size TSRMLS_DC);
258 #define VCWD_GETCWD(buff, size) virtual_getcwd(buff, size TSRMLS_CC) argument
290 #define VCWD_GETCWD(buff, size) getcwd(buff, size) argument
H A Dtsrm_win32.c591 TSRM_API int shmget(int key, int size, int flags) in shmget() argument
598 if (size < 0) { in shmget()
610 shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, size, shm_segment); in shmget()
630 shm->descriptor->shm_segsz = size; in shmget()
642 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
H A Dtsrm_win32.h104 TSRM_API int shmget(int key, int size, int flags);
/PHP-5.5/Zend/tests/
H A Dbug38779.phpt23 return array('size' => strlen($this->data));
H A Dbug40770.phpt22 Fatal error: Allowed memory size of 8388608 bytes exhausted%s(tried to allocate %d bytes) in %s on …
H A Dbug47596.phpt2 Bug #47596 (Bus error on parsing file, when file size is equal to page size)
H A Dbug54268.phpt35 Fatal error: Allowed memory size of %s bytes exhausted%s(tried to allocate %s bytes) in %s on line …
H A Dbug55509.phpt71 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sbug55509.…
H A Dbug63055.phpt5 /* the default gc root size is 10,000 */
/PHP-5.5/Zend/
H A Dzend.h202 # define do_alloca_ex(size, limit, use_heap) \ argument
203 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size))
204 # define do_alloca(size, use_heap) \ argument
205 do_alloca_ex(size, ZEND_ALLOCA_MAX_SIZE, use_heap)
678 #define STR_REALLOC(ptr, size) \ argument
679 ptr = (char *) erealloc(ptr, size);
H A Dzend_API.c627 fci->size = 0; in zend_parse_arg_impl()
1009 ZEND_API int _array_init(zval *arg, uint size ZEND_FILE_LINE_DC) /* {{{ */ in _array_init()
1013 _zend_hash_init(Z_ARRVAL_P(arg), size, NULL, ZVAL_PTR_DTOR, 0 ZEND_FILE_LINE_RELAY_CC); in _array_init()
3244 fci->size = sizeof(*fci); in zend_fcall_info_init()
H A Dzend_API.h44 size_t size; member
231 #define ZEND_FCI_INITIALIZED(fci) ((fci).size != 0)
361 #define array_init_size(arg, size) _array_init((arg), (size) ZEND_FILE_LINE_CC) argument
365 ZEND_API int _array_init(zval *arg, uint size ZEND_FILE_LINE_DC);
H A Dzend_alloc.c167 memcpy(ret, segment, size > segment->size ? segment->size : size); in zend_mm_mem_mmap_realloc()
351 size_t size; member
360 size_t size; member
1015 if (read(fd, buf, size) == size) { in zend_mm_random()
1300 leak.size = p->debug.size; in zend_mm_check_leaks()
1635 size = 0; in zend_mm_shutdown()
1782 size); in zend_mm_safe_error()
1793 size); in zend_mm_safe_error()
2101 heap->size -= size; in _zend_mm_free_int()
2251 heap->size = heap->size + true_size - orig_size; in _zend_mm_realloc_int()
[all …]
H A Dzend_alloc.h46 size_t size; member
70 #define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) argument
122 #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) argument
123 …efine safe_pemalloc(nmemb, size, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offse… argument
125 #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nme… argument
126 #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr)… argument
128 …e perealloc_recoverable(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):ereallo… argument
132 #define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size):emalloc_rel(size)) argument
134 #define pecalloc_rel(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc_… argument
135 #define perealloc_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_r… argument
[all …]
H A Dzend_compile.c3234 #define REALLOC_BUF_IF_EXCEED(buf, offset, length, size) \ argument
3235 if (UNEXPECTED(offset - buf + size >= length)) { \
3236 length += size + 1; \
H A Dzend_dynamic_array.c31 …ND_API int zend_dynamic_array_init(dynamic_array *da, unsigned int element_size, unsigned int size) in zend_dynamic_array_init() argument
34 da->allocated = size; in zend_dynamic_array_init()
36 da->array = (char *) emalloc(size*element_size); in zend_dynamic_array_init()
H A Dzend_dynamic_array.h33 …D_API int zend_dynamic_array_init(dynamic_array *da, unsigned int element_size, unsigned int size);
H A Dzend_exceptions.c689 fci.size = sizeof(fci); in ZEND_METHOD()

Completed in 115 milliseconds

12345678910>>...24