Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 641) sorted by relevance

12345678910>>...26

/PHP-5.6/ext/pcre/pcrelib/sljit/
H A DsljitExecAllocator.c128 sljit_uw size; member
136 sljit_uw size; member
153 free_block->size = size; in sljit_insert_free_block()
185 size = ALIGN_SIZE(size); in sljit_malloc_exec()
189 if (free_block->size >= size) { in sljit_malloc_exec()
197 AS_BLOCK_HEADER(header, size)->prev_size = size; in sljit_malloc_exec()
205 header->size = size; in sljit_malloc_exec()
226 header->size = size; in sljit_malloc_exec()
261 free_block->size += header->size; in sljit_free_exec()
272 free_block->size += ((struct free_block*)header)->size; in sljit_free_exec()
[all …]
/PHP-5.6/main/streams/
H A Dphp_streams_int.h24 #define emalloc_rel_orig(size) \ argument
26 ? _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_RELAY_CC) \
27 : _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC) )
29 #define erealloc_rel_orig(ptr, size) \ argument
31 ? _erealloc((ptr), (size), 0 ZEND_FILE_LINE_CC ZEND_FILE_LINE_RELAY_CC) \
32 : _erealloc((ptr), (size), 0 ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC) )
34 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size argument
35 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc… argument
37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent)) argument
38 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) argument
[all …]
/PHP-5.6/Zend/
H A Dzend_alloc.h46 size_t size; member
71 #define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) argument
124 #define pemalloc(size, persistent) ((persistent)?__zend_malloc(size):emalloc(size)) argument
125 …efine safe_pemalloc(nmemb, size, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offse… argument
127 #define pecalloc(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc((nme… argument
128 #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr)… argument
130 …e perealloc_recoverable(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):ereallo… argument
134 #define pemalloc_rel(size, persistent) ((persistent)?__zend_malloc(size):emalloc_rel(size)) argument
136 #define pecalloc_rel(nmemb, size, persistent) ((persistent)?__zend_calloc((nmemb), (size)):ecalloc_… argument
137 #define perealloc_rel(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc_r… argument
[all …]
/PHP-5.6/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c43 pool->free_size += chunk->size; in mysqlnd_mempool_free_chunk()
68 if ((chunk->size + pool->free_size) < size) { in mysqlnd_mempool_resize_chunk()
70 new_ptr = mnd_malloc(size); in mysqlnd_mempool_resize_chunk()
77 chunk->size = size; in mysqlnd_mempool_resize_chunk()
82 pool->free_size += (chunk->size - size); in mysqlnd_mempool_resize_chunk()
86 if (chunk->size >= size) { in mysqlnd_mempool_resize_chunk()
90 new_ptr = mnd_malloc(size); in mysqlnd_mempool_resize_chunk()
96 chunk->size = size; in mysqlnd_mempool_resize_chunk()
124 chunk->size = size; in mysqlnd_mempool_get_chunk()
131 if (size > pool->free_size) { in mysqlnd_mempool_get_chunk()
[all …]
H A Dmysqlnd_alloc.h34 void * (*m_emalloc)(size_t size MYSQLND_MEM_D);
42 void * (*m_malloc)(size_t size MYSQLND_MEM_D);
55 PHPAPI void * _mysqlnd_emalloc(size_t size MYSQLND_MEM_D);
63 PHPAPI void * _mysqlnd_malloc(size_t size MYSQLND_MEM_D);
73 #define mnd_emalloc(size) mysqlnd_allocator.m_emalloc((size) MYSQLND_MEM_C) argument
74 #define mnd_pemalloc(size, pers) mysqlnd_allocator.m_pemalloc((size), (pers) MYSQLND_MEM_C) argument
75 #define mnd_ecalloc(nmemb, size) mysqlnd_allocator.m_ecalloc((nmemb), (size) MYSQLND_MEM_C) argument
76 #define mnd_pecalloc(nmemb, size, p) mysqlnd_allocator.m_pecalloc((nmemb), (size), (p) MYSQLND_MEM_… argument
81 #define mnd_malloc(size) mysqlnd_allocator.m_malloc((size) MYSQLND_MEM_C) argument
82 #define mnd_calloc(nmemb, size) mysqlnd_allocator.m_calloc((nmemb), (size) MYSQLND_MEM_C) argument
[all …]
/PHP-5.6/ext/standard/tests/streams/
H A Dstream_set_chunk_size.phpt42 echo "should elicit one read of size 100 (chunk size)\n";
44 echo "should elicit one read of size 100 (chunk size)\n";
48 echo "should elicit 2 writes of size 100 and one of size 50\n";
64 write with size: 1
65 write with size: 1
66 write with size: 1
70 should elicit one read of size 100 (chunk size)
71 read with size: 100
73 should elicit one read of size 100 (chunk size)
74 read with size: 100
[all …]
/PHP-5.6/ext/standard/
H A Dpack.c602 int size=0; in PHP_FUNCTION() local
643 size = 0; in PHP_FUNCTION()
663 size = 1; in PHP_FUNCTION()
671 size = 2; in PHP_FUNCTION()
685 size = 4; in PHP_FUNCTION()
719 if (size != 0 && size != -1 && size < 0) { in PHP_FUNCTION()
738 if (size != 0 && size != -1 && INT_MAX - size + 1 < inputpos) { in PHP_FUNCTION()
751 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
766 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
794 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
[all …]
/PHP-5.6/ext/standard/tests/file/
H A Dftruncate_variation2-win32.phpt77 -- Testing ftruncate(): truncate file to size = current size --
85 -- Testing ftruncate(): truncate file to size = current size --
93 -- Testing ftruncate(): truncate file to size = current size --
101 -- Testing ftruncate(): truncate file to size = current size --
109 -- Testing ftruncate(): truncate file to size = current size --
117 -- Testing ftruncate(): truncate file to size = current size --
125 -- Testing ftruncate(): truncate file to size = current size --
133 -- Testing ftruncate(): truncate file to size = current size --
141 -- Testing ftruncate(): truncate file to size = current size --
149 -- Testing ftruncate(): truncate file to size = current size --
[all …]
H A Dftruncate_variation2.phpt77 -- Testing ftruncate(): truncate file to size = current size --
85 -- Testing ftruncate(): truncate file to size = current size --
93 -- Testing ftruncate(): truncate file to size = current size --
101 -- Testing ftruncate(): truncate file to size = current size --
109 -- Testing ftruncate(): truncate file to size = current size --
117 -- Testing ftruncate(): truncate file to size = current size --
125 -- Testing ftruncate(): truncate file to size = current size --
133 -- Testing ftruncate(): truncate file to size = current size --
141 -- Testing ftruncate(): truncate file to size = current size --
149 -- Testing ftruncate(): truncate file to size = current size --
[all …]
H A Dftruncate_variation6.phpt2 Test ftruncate() function : usage variations - truncate file to smaller size
12 Prototype: bool ftruncate ( resource $handle, int $size );
16 /* truncate the file to smaller size and display the content */
68 clearstatcache(); // clear previous size value in cache
297 File content after truncating file to 15 size : string(15) "line
306 File content after truncating file to 15 size : string(15) "line
315 File content after truncating file to 15 size : string(15) "line
324 File content after truncating file to 15 size : string(15) "line
333 File content after truncating file to 15 size : string(15) "line
342 File content after truncating file to 15 size : string(15) "line
[all …]
H A Dftruncate_variation6-win32.phpt2 Test ftruncate() function : usage variations - truncate file to smaller size
12 Prototype: bool ftruncate ( resource $handle, int $size );
16 /* truncate the file to smaller size and display the content */
68 clearstatcache(); // clear previous size value in cache
297 File content after truncating file to 15 size : string(15) "line
306 File content after truncating file to 15 size : string(15) "line
315 File content after truncating file to 15 size : string(15) "line
324 File content after truncating file to 15 size : string(15) "line
333 File content after truncating file to 15 size : string(15) "line
342 File content after truncating file to 15 size : string(15) "line
[all …]
H A Dfilesize_variation1-win32.phpt2 Test filesize() function: usage variations - size of files
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "*** Checking filesize() with different size of files ***\n";
22 for($size = 1; $size <10000; $size = $size+1000)
24 create_files($file_path, 1, "numeric", 0755, $size, "w", "filesize_variation");
34 *** Checking filesize() with different size of files ***
H A Dfilesize_variation2-win32.phpt2 Test filesize() function: usage variations - size of dir/subdir
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
22 echo "-- Creating a base dir, and checking its size --\n";
37 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
48 // size of base dir
51 // size of subdir
54 // size of file inside subdir
70 *** Testing size of a dir, sub-dir and file with filesize() ***
71 -- Creating a base dir, and checking its size --
[all …]
H A Dfilesize_variation2.phpt2 Test filesize() function: usage variations - size of dir/subdir
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
22 echo "-- Creating a base dir, and checking its size --\n";
37 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
48 // size of base dir
51 // size of subdir
54 // size of file inside subdir
70 *** Testing size of a dir, sub-dir and file with filesize() ***
71 -- Creating a base dir, and checking its size --
[all …]
/PHP-5.6/main/
H A Dmergesort.c173 if (i == size) in php_mergesort()
179 i = (((t - b) / size) >> 1) * size; in php_mergesort()
194 i = size; in php_mergesort()
242 i = size; \
246 a -= size; \
251 i = size; \
270 size2 = size*2; in setup()
281 insertionsort(list1 + (n - i) * size, i, size, cmp TSRMLS_CC); in setup()
326 swap(f1, f1 + size); in setup()
341 for (ai = a+size; --n >= 1; ai += size) in insertionsort()
[all …]
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_shm.c20 void *fpm_shm_alloc(size_t size) /* {{{ */ in fpm_shm_alloc() argument
24 mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); in fpm_shm_alloc()
28 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory: %s", size, strerror(errno)); in fpm_shm_alloc()
34 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory", size); in fpm_shm_alloc()
38 fpm_shm_size += size; in fpm_shm_alloc()
43 int fpm_shm_free(void *mem, size_t size) /* {{{ */ in fpm_shm_free() argument
50 if (munmap(mem, size) == -1) { in fpm_shm_free()
55 if (fpm_shm_size - size > 0) { in fpm_shm_free()
56 fpm_shm_size -= size; in fpm_shm_free()
/PHP-5.6/ext/pdo_odbc/tests/
H A Dlong_columns.phpt95 Passed on size 32
96 Passed on size 53
97 Passed on size 64
98 Passed on size 79
99 Passed on size 128
100 Passed on size 253
101 Passed on size 254
102 Passed on size 255
103 Passed on size 256
104 Passed on size 257
[all …]
/PHP-5.6/tests/output/
H A Dob_start_basic_004.phpt38 ----( chunk_size: -1, output append size: 1 )----
41 ----( chunk_size: 0, output append size: 1 )----
44 ----( chunk_size: 1, output append size: 1 )----
55 ----( chunk_size: 2, output append size: 1 )----
62 ----( chunk_size: 3, output append size: 1 )----
67 ----( chunk_size: 4, output append size: 1 )----
72 ----( chunk_size: 5, output append size: 1 )----
76 ----( chunk_size: 6, output append size: 1 )----
80 ----( chunk_size: 7, output append size: 1 )----
84 ----( chunk_size: 8, output append size: 1 )----
[all …]
/PHP-5.6/ext/standard/tests/array/
H A Darray_chunk_variation5.phpt13 * 1. -ve size value
15 * 3. size value is zero
16 * 4. Decimal size value
27 // loop through the array for size argument
28 foreach ($sizes as $size){
29 echo "\n-- Testing array_chunk() when size = $size --\n";
30 var_dump( array_chunk($input_array, $size) );
39 -- Testing array_chunk() when size = -1 --
50 -- Testing array_chunk() when size = 4 --
85 -- Testing array_chunk() when size = 0 --
[all …]
/PHP-5.6/ext/mcrypt/tests/
H A Dmcrypt_decrypt_variation2.phpt127 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
131 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
135 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
139 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
143 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
147 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
151 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
155 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
159 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
179 Error: 2 - mcrypt_decrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
[all …]
H A Dmcrypt_decrypt_variation5.phpt127 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
131 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
135 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
139 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
143 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
147 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
151 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
155 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
159 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
179 Error: 2 - mcrypt_decrypt(): Received initialization vector of size %d, but size 8 is required for …
[all …]
H A Dmcrypt_ecb_variation2.phpt129 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
133 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
137 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
141 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
145 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
149 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
153 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
157 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
161 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
181 Error: 2 - mcrypt_ecb(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
[all …]
H A Dmcrypt_encrypt_variation2.phpt127 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
131 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
135 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
139 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
143 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
147 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
151 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
155 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
159 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
179 Error: 2 - mcrypt_encrypt(): Key of size %d not supported by this algorithm. Only keys of size 24 s…
[all …]
H A Dmcrypt_encrypt_variation5.phpt128 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
132 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
136 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
140 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
144 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
148 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
152 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
156 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
160 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
180 Error: 2 - mcrypt_encrypt(): Received initialization vector of size %d, but size 8 is required for …
[all …]
H A Dmcrypt_cbc_variation2.phpt128 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
133 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
138 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
143 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
148 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
153 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
158 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
163 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
168 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
193 Error: 2 - mcrypt_cbc(): Key of size %d not supported by this algorithm. Only keys of size 24 suppo…
[all …]

Completed in 218 milliseconds

12345678910>>...26