/php-src/ext/curl/tests/responder/ |
H A D | get.inc | 34 … echo $_FILES['file']['name'] . '|' . $_FILES['file']['type'] . '|' . $_FILES['file']['size'];
|
/php-src/ext/date/ |
H A D | php_date.c | 2069 size_t size; in php_timezone_to_string() local 2072 size = sizeof("+05:00"); in php_timezone_to_string() 2075 size = sizeof("+05:00:01"); in php_timezone_to_string() 2078 zend_string *tmpstr = zend_string_alloc(size - 1, 0); in php_timezone_to_string() 2081 ZSTR_LEN(tmpstr) = snprintf(ZSTR_VAL(tmpstr), size, format, in php_timezone_to_string()
|
/php-src/ext/dba/ |
H A D | dba_cdb.c | 209 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size) argument 211 # define cdb_file_read(fildes, buf, size) read(fildes, buf, size) argument
|
H A D | dba_db1.c | 92 gkey.size = ZSTR_LEN(key); in DBA_FETCH_FUNC() 96 return zend_string_init(gval.data, gval.size, /* persistent */ false); in DBA_FETCH_FUNC() 108 gkey.size = ZSTR_LEN(key); in DBA_UPDATE_FUNC() 111 gval.size = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 123 gkey.size = ZSTR_LEN(key); in DBA_EXISTS_FUNC() 134 gkey.size = ZSTR_LEN(key); in DBA_DELETE_FUNC() 149 return zend_string_init(gkey.data, gkey.size, /* persistent */ false); in DBA_FIRSTKEY_FUNC() 164 return zend_string_init(gkey.data, gkey.size, /* persistent */ false); in DBA_NEXTKEY_FUNC()
|
H A D | dba_db2.c | 91 gkey.size = ZSTR_LEN(key); in DBA_FETCH_FUNC() 97 return zend_string_init(gval.data, gval.size, /* persistent */ false); in DBA_FETCH_FUNC() 107 gkey.size = ZSTR_LEN(key); in DBA_UPDATE_FUNC() 110 gval.size = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 126 gkey.size = ZSTR_LEN(key); in DBA_EXISTS_FUNC() 140 gkey.size = ZSTR_LEN(key); in DBA_DELETE_FUNC() 175 return zend_string_init(gkey.data, gkey.size, /* persistent */ false);
|
H A D | dba_db3.c | 124 gkey.size = ZSTR_LEN(key); 128 return zend_string_init(gval.data, gval.size, /* persistent */ false); 141 gkey.size = ZSTR_LEN(key); 145 gval.size = ZSTR_LEN(val); 162 gkey.size = ZSTR_LEN(key); 178 gkey.size = ZSTR_LEN(key); 209 return zend_string_init(gkey.data, gkey.size, /* persistent */ false);
|
H A D | dba_db4.c | 154 gkey.size = ZSTR_LEN(key); 161 fetched_value = zend_string_init(gval.data, gval.size, /* persistent */ false); 177 gkey.size = ZSTR_LEN(key); 181 gval.size = ZSTR_LEN(val); 198 gkey.size = ZSTR_LEN(key); 222 gkey.size = ZSTR_LEN(key); 258 key = zend_string_init(gkey.data, gkey.size, /* persistent */ false);
|
/php-src/ext/dba/libflatfile/ |
H A D | flatfile.c | 103 size_t size = key_datum.dsize; in flatfile_delete() local 125 if (size == num && !memcmp(buf, key, size)) { in flatfile_delete() 158 size_t size = key_datum.dsize; in flatfile_findkey() local 172 if (size == num) { in flatfile_findkey() 173 if (!memcmp(buf, key, size)) { in flatfile_findkey()
|
/php-src/ext/dba/libinifile/ |
H A D | inifile.c | 306 static int inifile_truncate(inifile *dba, size_t size) in inifile_truncate() argument 310 if ((res=php_stream_truncate_set_size(dba->fp, size)) != 0) { in inifile_truncate() 314 php_stream_seek(dba->fp, size, SEEK_SET); in inifile_truncate()
|
/php-src/ext/dom/ |
H A D | document.c | 2154 int size = xmlBufferLength(buf); in PHP_METHOD() local 2155 RETVAL_STRINGL((const char*) mem, size); in PHP_METHOD() 2165 int size = 0; in PHP_METHOD() local 2166 htmlDocDumpMemoryFormat(docp, &mem, &size, format); in PHP_METHOD() 2167 if (!size || !mem) { in PHP_METHOD() 2170 RETVAL_STRINGL((const char*) mem, size); in PHP_METHOD()
|
H A D | html_document.c | 1155 static zend_result dom_write_output_smart_str(void *ctx, const char *buf, size_t size) in dom_write_output_smart_str() argument 1157 smart_str_appendl((smart_str *) ctx, buf, size); in dom_write_output_smart_str()
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | array.c | 17 lexbor_array_init(lexbor_array_t *array, size_t size) in lexbor_array_init() argument 23 if (size == 0) { in lexbor_array_init() 28 array->size = size; in lexbor_array_init() 30 array->list = lexbor_malloc(sizeof(void *) * size); in lexbor_array_init() 54 array->size = 0; in lexbor_array_destroy() 81 array->size = new_size; in lexbor_array_expand() 89 if (array->length >= array->size) { in lexbor_array_push() 118 if (idx >= array->size) { in lexbor_array_insert() 132 if (array->length >= array->size) { in lexbor_array_insert() 153 if (idx >= array->size) { in lexbor_array_set()
|
H A D | array.h | 19 size_t size; member 29 lexbor_array_init(lexbor_array_t *array, size_t size); 80 return array->size; in lexbor_array_size()
|
H A D | array_obj.c | 18 size_t size, size_t struct_size) in lexbor_array_obj_init() argument 24 if (size == 0 || struct_size == 0) { in lexbor_array_obj_init() 29 array->size = size; in lexbor_array_obj_init() 33 * (array->size * struct_size)); in lexbor_array_obj_init() 57 array->size = 0; in lexbor_array_obj_destroy() 87 array->size = new_size; in lexbor_array_obj_expand() 97 if (array->length >= array->size) in lexbor_array_obj_push() 117 if (array->length >= array->size) { in lexbor_array_obj_push_wo_cls() 134 if ((array->length + count) > array->size) { in lexbor_array_obj_push_n()
|
H A D | array_obj.h | 19 size_t size; member 31 size_t size, size_t struct_size); 88 return array->size; in lexbor_array_obj_size()
|
H A D | bst.c | 78 new_entry->size = size; in lexbor_bst_entry_make() 96 new_entry->size = size; in lexbor_bst_insert() 109 if (size == entry->size) { in lexbor_bst_insert() 119 else if (size > entry->size) { in lexbor_bst_insert() 159 if (size == entry->size) { in lexbor_bst_insert_not_exists() 162 else if (size > entry->size) { in lexbor_bst_insert_not_exists() 191 if (scope->size == size) { in lexbor_bst_search() 212 if (scope->size == size) { in lexbor_bst_search_close() 233 if (entry->size == size) { in lexbor_bst_remove() 255 if (entry->size == size) { in lexbor_bst_remove_close() [all …]
|
H A D | bst.h | 38 size_t size; member 53 lexbor_bst_init(lexbor_bst_t *bst, size_t size); 62 lexbor_bst_entry_make(lexbor_bst_t *bst, size_t size); 66 size_t size, void *value); 70 size_t size); 74 lexbor_bst_search(lexbor_bst_t *bst, lexbor_bst_entry_t *scope, size_t size); 78 size_t size); 82 lexbor_bst_remove(lexbor_bst_t *bst, lexbor_bst_entry_t **root, size_t size); 86 size_t size, size_t *found_size);
|
H A D | bst_map.c | 18 lexbor_bst_map_init(lexbor_bst_map_t *bst_map, size_t size) in lexbor_bst_map_init() argument 26 if (size == 0) { in lexbor_bst_map_init() 32 status = lexbor_bst_init(bst_map->bst, size); in lexbor_bst_map_init() 39 status = lexbor_dobject_init(bst_map->entries, size, in lexbor_bst_map_init() 47 status = lexbor_mraw_init(bst_map->mraw, (size * 6)); in lexbor_bst_map_init()
|
H A D | bst_map.h | 39 lexbor_bst_map_init(lexbor_bst_map_t *bst_map, size_t size);
|
H A D | dobject.c | 50 dobject->mem->chunk->size); in lexbor_dobject_init() 171 return &chunk->data[chunk_pos % chunk->size]; in lexbor_dobject_by_absolute_position()
|
H A D | dtoa.c | 281 size_t size; in lexbor_prettify() local 347 size = lexbor_write_exponent(kk - 1, &begin[2], end); in lexbor_prettify() 349 return (size + 2); in lexbor_prettify() 362 size = lexbor_write_exponent(kk - 1, &begin[length + 2], end); in lexbor_prettify() 364 return (size + length + 2); in lexbor_prettify()
|
H A D | hash.h | 45 (*lexbor_hash_id_f)(const lxb_char_t *key, size_t size); 49 const lxb_char_t *key, size_t size); 53 const lxb_char_t *second, size_t size);
|
H A D | lexbor.h | 16 typedef void *(*lexbor_memory_malloc_f)(size_t size); 17 typedef void *(*lexbor_memory_realloc_f)(void *dst, size_t size); 18 typedef void *(*lexbor_memory_calloc_f)(size_t num, size_t size); 22 lexbor_malloc(size_t size); 25 lexbor_realloc(void *dst, size_t size); 28 lexbor_calloc(size_t num, size_t size);
|
H A D | mem.c | 105 chunk->size = length; in lexbor_mem_chunk_init() 108 chunk->size = length + mem->chunk_min_size; in lexbor_mem_chunk_init() 112 chunk->size = mem->chunk_min_size; in lexbor_mem_chunk_init() 116 chunk->data = lexbor_malloc(chunk->size * sizeof(uint8_t)); in lexbor_mem_chunk_init() 165 if ((mem->chunk->length + length) > mem->chunk->size) { in lexbor_mem_alloc() 219 lexbor_mem_align_noi(size_t size) in lexbor_mem_align_noi() argument 221 return lexbor_mem_align(size); in lexbor_mem_align_noi() 225 lexbor_mem_align_floor_noi(size_t size) in lexbor_mem_align_floor_noi() argument 227 return lexbor_mem_align_floor(size); in lexbor_mem_align_floor_noi()
|
H A D | mem.h | 25 size_t size; member 93 return mem->chunk->size; in lexbor_mem_current_size() 103 lexbor_mem_align(size_t size) in lexbor_mem_align() argument 105 return ((size % LEXBOR_MEM_ALIGN_STEP) != 0) in lexbor_mem_align() 106 ? size + (LEXBOR_MEM_ALIGN_STEP - (size % LEXBOR_MEM_ALIGN_STEP)) in lexbor_mem_align() 107 : size; in lexbor_mem_align() 111 lexbor_mem_align_floor(size_t size) in lexbor_mem_align_floor() argument 114 ? size - (size % LEXBOR_MEM_ALIGN_STEP) in lexbor_mem_align_floor() 115 : size; in lexbor_mem_align_floor() 131 lexbor_mem_align_noi(size_t size); [all …]
|