/PHP-7.3/ext/xmlrpc/libxmlrpc/ |
H A D | queue.c | 133 q->size = 0; in Q_Init() 298 if(q->size == 0) { in Q_PushHead() 308 q->size++; in Q_PushHead() 348 if(q->size == 0) { in Q_PushTail() 361 q->size++; in Q_PushTail() 399 q->size--; in Q_PopHead() 401 if(q->size == 0) in Q_PopHead() 441 q->size--; in Q_PopTail() 443 if(q->size == 0) in Q_PopTail() 557 q->size--; in Q_Iter_Del() [all …]
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | filesize_variation4-win32.phpt | 12 Description : Returns the size of the file in bytes, or FALSE 24 echo "-- opening the file in 'w' mode and get the size --\n"; 29 var_dump( filesize($filename) ); //size of the file = strlen of string 32 echo "-- opening the file in 'wt' mode and get the size --\n"; 37 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string 54 echo "-- creating a hole and checking the size --\n"; 61 echo "-- writing data after hole and checking the size --\n"; 90 -- opening the file in 'w' mode and get the size -- 93 -- opening the file in 'wt' mode and get the size -- 100 -- creating a hole and checking the size -- [all …]
|
H A D | filesize_variation4.phpt | 12 Description : Returns the size of the file in bytes, or FALSE 26 echo "-- opening the file in 'w' mode and get the size --\n"; 31 var_dump( filesize($filename) ); //size of the file = strlen of string 34 echo "-- opening the file in 'wt' mode and get the size --\n"; 39 var_dump( filesize($filename) ); //size of the file = strlen of string = 191 bytes 56 echo "-- creating a hole and checking the size --\n"; 63 echo "-- writing data after hole and checking the size --\n"; 92 -- opening the file in 'w' mode and get the size -- 95 -- opening the file in 'wt' mode and get the size -- 102 -- creating a hole and checking the size -- [all …]
|
H A D | fread_variation2.phpt | 31 // read the data of size $read_size 35 // check if data read is of expected size 82 // read from file, by giving the file actual size, 88 // reading file by giving less than its size 118 -- Reading file content less than max. file size, expeceted : 0 bytes -- 133 -- Reading file content less than max. file size, expeceted : 0 bytes -- 148 -- Reading file content less than max. file size, expeceted : 0 bytes -- 163 -- Reading file content less than max. file size, expeceted : 0 bytes -- 178 -- Reading file content less than max. file size, expeceted : 0 bytes -- 193 -- Reading file content less than max. file size, expeceted : 0 bytes -- [all …]
|
H A D | fread_variation1.phpt | 13 /* Read content less than file size & 33 // read the data of size $read_size 37 // check if data read is of expected size 83 // read from file, by giving the file actual size, 89 // reading file by giving less than its size 119 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 134 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 149 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 164 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 179 -- Reading file content less than max. file size, expeceted : 1000 bytes -- [all …]
|
H A D | userstreams_006.phpt | 13 echo "size: ", strlen($data), "\n"; 35 size: 42 36 size: 28
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gd_io_dp.c | 49 static int appendDynamic (dynamicPtr * dp, const void *src, int size); 95 void * gdDPExtractData (struct gdIOCtx *ctx, int *size) in gdDPExtractData() argument 107 *size = dp->logicalSize; in gdDPExtractData() 110 *size = 0; in gdDPExtractData() 201 dynamicPutbuf (struct gdIOCtx *ctx, const void *buf, int size) in dynamicPutbuf() argument 206 appendDynamic (dctx->dp, buf, size); in dynamicPutbuf() 210 return size; in dynamicPutbuf() 296 static int appendDynamic (dynamicPtr * dp, const void *src, int size) in appendDynamic() argument 306 bytesNeeded = dp->pos + size; in appendDynamic() 320 memcpy((void *) (tmp + (dp->pos)), src, size); in appendDynamic() [all …]
|
H A D | gd_io_ss.c | 45 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size); 79 static int sourceGetbuf (gdIOCtx * ctx, void *buf, int size) in sourceGetbuf() argument 86 res = ((lctx->src->source) (lctx->src->context, buf, size)); in sourceGetbuf() 116 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size) in sinkPutbuf() argument 123 res = (lctx->snk->sink) (lctx->snk->context, buf, size); in sinkPutbuf()
|
H A D | gd_io_file.c | 77 static int filePutbuf (gdIOCtx * ctx, const void *buf, int size) in filePutbuf() argument 82 return fwrite(buf, 1, size, fctx->f); in filePutbuf() 86 static int fileGetbuf (gdIOCtx * ctx, void *buf, int size) in fileGetbuf() argument 91 return fread(buf, 1, size, fctx->f); in fileGetbuf()
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_chunk_variation4.phpt | 5 /* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) 7 * : Chunks an array into size large chunks 17 $size = 2; 27 var_dump( array_chunk($input_array, $size) ); 30 var_dump( array_chunk($input_array, $size, true) ); 33 var_dump( array_chunk($input_array, $size, false) );
|
/PHP-7.3/Zend/ |
H A D | zend_stack.c | 23 #define ZEND_STACK_ELEMENT(stack, n) ((void *)((char *) (stack)->elements + (stack)->size * (n))) 25 ZEND_API int zend_stack_init(zend_stack *stack, int size) in zend_stack_init() argument 27 stack->size = size; in zend_stack_init() 39 stack->elements = safe_erealloc(stack->elements, stack->size, stack->max, 0); in zend_stack_push() 41 memcpy(ZEND_STACK_ELEMENT(stack, stack->top), element, stack->size); in zend_stack_push()
|
H A D | zend_string.c | 31 static zend_string* ZEND_FASTCALL zend_string_init_interned_permanent(const char *str, size_t size,… 32 static zend_string* ZEND_FASTCALL zend_string_init_interned_request(const char *str, size_t size, i… 134 if ((p->h == h) && (ZSTR_LEN(p->key) == size)) { in zend_interned_string_ht_lookup_ex() 135 if (!memcmp(ZSTR_VAL(p->key), str, size)) { in zend_interned_string_ht_lookup_ex() 259 zend_ulong h = zend_inline_hash_func(str, size); in zend_string_init_interned_permanent() 261 ret = zend_interned_string_ht_lookup_ex(h, str, size, &interned_strings_permanent); in zend_string_init_interned_permanent() 267 ret = zend_string_init(str, size, permanent); in zend_string_init_interned_permanent() 275 zend_ulong h = zend_inline_hash_func(str, size); in zend_string_init_interned_request() 278 ret = zend_interned_string_ht_lookup_ex(h, str, size, &interned_strings_permanent); in zend_string_init_interned_request() 283 ret = zend_interned_string_ht_lookup_ex(h, str, size, &CG(interned_strings)); in zend_string_init_interned_request() [all …]
|
/PHP-7.3/ext/opcache/ |
H A D | zend_shared_alloc.c | 105 static void copy_shared_segments(void *to, void *from, int count, int size) in copy_shared_segments() argument 114 memcpy(shared_segments_to_p, shared_segments_from_p, size); in copy_shared_segments() 115 shared_segments_to_p = ((char *)shared_segments_to_p + size); in copy_shared_segments() 116 shared_segments_from_p = ((char *)shared_segments_from_p + size); in copy_shared_segments() 309 void *zend_shared_alloc(size_t size) in zend_shared_alloc() argument 312 unsigned int block_size = ZEND_ALIGNED_SIZE(size); in zend_shared_alloc() 337 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size() argument 348 return ZEND_ALIGNED_SIZE(size); in zend_shared_memdup_size() 351 void *_zend_shared_memdup(void *source, size_t size, zend_bool free_source) in _zend_shared_memdup() argument 362 ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size)); in _zend_shared_memdup() [all …]
|
H A D | zend_persist_calc.c | 118 uint32_t size; in zend_persist_zval_calc() local 128 size = zend_shared_memdup_size(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval_calc() 129 if (size) { in zend_persist_zval_calc() 130 ADD_SIZE(size); in zend_persist_zval_calc() 136 if (size) { in zend_persist_zval_calc() 137 ADD_SIZE(size); in zend_persist_zval_calc() 143 if (size) { in zend_persist_zval_calc() 144 ADD_SIZE(size); in zend_persist_zval_calc() 391 new_persistent_script->size = 0; in zend_accel_script_persist_calc() 410 new_persistent_script->size = (new_persistent_script->size + 63) & ~63; in zend_accel_script_persist_calc() [all …]
|
H A D | shared_alloc_mmap.c | 59 shared_segment->size = requested_size; in create_segments() 72 shared_segment->size = requested_size; in create_segments() 79 munmap(shared_segment->p, shared_segment->size); in detach_segment()
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_shm.h | 6 void *fpm_shm_alloc(size_t size); 7 int fpm_shm_free(void *mem, size_t size);
|
H A D | fpm_str.h | 6 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ in str_purify_filename() argument 11 end = dst + size - 1; in str_purify_filename()
|
/PHP-7.3/ext/pcre/pcre2lib/ |
H A D | pcre2_error.c | 290 pcre2_get_error_message(int enumber, PCRE2_UCHAR *buffer, PCRE2_SIZE size) in pcre2_get_error_message() argument 296 if (size == 0) return PCRE2_ERROR_NOMEMORY; in pcre2_get_error_message() 322 if (i >= size - 1) in pcre2_get_error_message()
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | st.c | 104 new_size(size) in new_size() argument 105 int size; in new_size() 111 if ((1<<i) > size) return 1<<i; 143 st_init_table_with_size(type, size) in st_init_table_with_size() argument 145 int size; 156 size = new_size(size); /* round up to prime number */ 163 tbl->num_bins = size; 187 st_init_numtable_with_size(size) in st_init_numtable_with_size() argument 188 int size; in st_init_numtable_with_size() 200 st_init_strtable_with_size(size) in st_init_strtable_with_size() argument [all …]
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_source_zip_new.c | 77 if ((start > 0 || len > 0) && (start+len < start || start+len > st.size)) { in _zip_source_zip_new() 114 st2.size = len ? len : st.size-start; in _zip_source_zip_new() 115 st2.comp_size = st2.size; in _zip_source_zip_new() 120 if ((src = _zip_source_window_new(srcza->src, offset+start, st2.size, &st2, &za->error)) == NULL) { in _zip_source_zip_new() 164 s2 = zip_source_window(za, src, start, len ? len : st.size-start); in _zip_source_zip_new()
|
H A D | zip_stat_init.c | 47 st->size = 0; in zip_stat_init() 62 dst->size = src->size; in _zip_stat_merge()
|
/PHP-7.3/win32/ |
H A D | sockets.c | 33 int size = sizeof(address); in socketpair() local 56 if(getsockname(sock[0], (struct sockaddr *)&address, &size) != 0) { in socketpair() 74 redirect = accept(sock[0],(struct sockaddr*)&address, &size); in socketpair()
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_watch.h | 71 size_t size; member 129 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch); 148 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { in phpdbg_get_total_page_size() argument 149 …return (size_t) phpdbg_get_page_boundary((void *) ((size_t) addr + size - 1)) - (size_t) phpdbg_ge… in phpdbg_get_total_page_size()
|
/PHP-7.3/tests/basic/ |
H A D | rfc1867_max_file_uploads_empty_files.phpt | 52 ["size"]=> 65 ["size"]=> 78 ["size"]=> 91 ["size"]=>
|
/PHP-7.3/ext/oci8/tests/ |
H A D | lob_007.phpt | 2 oci_lob_write()/size()/load() 28 var_dump($blob->size()); 30 var_dump($blob->size()); 39 var_dump($row[0]->size());
|