Searched refs:new_size (Results 26 - 50 of 135) sorted by last modified time

123456

/macosx-10.10/apache-793/httpd/server/
H A Dprotocol.c290 apr_size_t new_size = current_alloc * 2; local
293 if (bytes_handled + len > new_size) {
294 new_size = (bytes_handled + len) * 2;
297 new_buffer = apr_palloc(r->pool, new_size);
301 current_alloc = new_size;
409 apr_size_t new_size = bytes_handled + next_len + 1; local
412 new_buffer = apr_palloc(r->pool, new_size);
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_cache.c1871 u_long new_size, old_size; local
1881 new_size = nchashmask + 1;
1892 nchash = new_size;
/macosx-10.10/postfix-255/postfix/src/util/
H A Dinet_addr_list.c85 int new_size; local
93 new_size = list->size * 2;
95 myrealloc((char *) list->addrs, sizeof(*list->addrs) * new_size);
96 list->size = new_size;
/macosx-10.10/msdosfs-209.1.1/userfs_plugin/
H A Dmsdosfs.c84 int (*buffer_resize)(userfs_buffer_t buffer, size_t new_size); // Need device to read/write?
/macosx-10.10/objc4-646/runtime/
H A Dobjc-externalref.mm88 size_t new_size = list->_size + PAGE_MAX_SIZE / sizeof(void *);
90 void **new_list = (void **)(list->_buffer ? malloc_zone_realloc(gc_zone, list->_buffer, new_size * sizeof(void *)) : auto_zone_allocate_object(gc_zone, new_size * sizeof(void *), memory_type, false, false));
91 if (!new_list) _objc_fatal("unable to allocate, size = %ld\n", new_size);
95 for (size_t index = list->_size; index < new_size; ++index)
97 list->_size = new_size;
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/lib/
H A Dauxprop.c274 size_t new_size; local
281 new_size = new_alloc_length * sizeof(struct propval);
282 ctx->mem_base = resize_proppool(ctx->mem_base, new_size);
/macosx-10.10/emacs-93/emacs/src/
H A Dunexmacosx.c1382 unexec_realloc (void *old_ptr, size_t new_size) argument
1391 size_t size = new_size > old_size ? old_size : new_size;
1393 p = (size_t *) malloc (new_size);
1399 p = realloc (old_ptr, new_size);
1412 new_size + sizeof (unexec_malloc_header_t));
1413 ptr->u.size = new_size;
/macosx-10.10/emacs-93/
H A Dunexmacosx.c1382 unexec_realloc (void *old_ptr, size_t new_size) argument
1391 size_t size = new_size > old_size ? old_size : new_size;
1393 p = (size_t *) malloc (new_size);
1399 p = realloc (old_ptr, new_size);
1412 new_size + sizeof (unexec_malloc_header_t));
1413 ptr->u.size = new_size;
/macosx-10.10/file_cmds-242/du/
H A Ddu.c385 size_t i, new_size; local
402 new_size = number_buckets * 2;
403 new_buckets = malloc(new_size * sizeof(struct links_entry *));
412 new_buckets = malloc(new_size * sizeof(new_buckets[0]));
420 new_size * sizeof(struct links_entry *));
428 hash = (le->dev ^ le->ino) % new_size;
440 number_buckets = new_size;
518 size_t i, new_size; local
547 new_size = number_buckets * 2;
548 new_buckets = malloc(new_size * sizeo
[all...]
/macosx-10.10/configd-699.1.5/nwi/
H A Dnetwork_information_priv.c70 uint32_t new_size; local
77 new_size = (elems != 0)
83 if (old_state->size >= new_size) {
88 state = malloc(new_size);
89 bzero(state, new_size);
90 state->size = new_size;
/macosx-10.10/SmartcardCCID-55008/ccid/ccid/src/
H A Dtokenparser.c1030 int new_size = b->yy_buf_size * 2; local
1032 if ( new_size <= 0 )
1087 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); local
1088 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
/macosx-10.10/libxml2-26/libxml2/
H A Dentities.c534 size_t new_size = buffer_size * 2; \
535 if (new_size < buffer_size) goto mem_error; \
536 tmp = (xmlChar *) xmlRealloc(buffer, new_size); \
539 buffer_size = new_size; \
H A Dparser.c2653 size_t new_size = buffer##_size * 2 + n; \
2654 if (new_size < buffer##_size) goto mem_error; \
2655 tmp = (xmlChar *) xmlRealloc(buffer, new_size); \
2658 buffer##_size = new_size; \
4805 size_t new_size; local
4807 new_size = size * 2;
4808 new_buf = (xmlChar *) xmlRealloc(buf, new_size);
4815 size = new_size;
5217 size_t new_size = size * 2; local
5218 tmp = (xmlChar *) xmlRealloc(buf, new_size);
[all...]
H A DtestOOM.c112 size_t new_size = b->max ? b->max : 512; local
113 while (new_size < b->len + min)
114 new_size *= 2;
115 if (new_size > b->max) {
116 new_str = realloc (b->str, new_size);
120 b->max = new_size;
H A Dtimsort.h319 static void TIM_SORT_RESIZE(TEMP_STORAGE_T *store, const size_t new_size) argument
321 if (store->alloc < new_size)
323 SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE));
326 fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);
330 store->alloc = new_size;
H A Dtriostr.c1295 size_t new_size; local
1297 new_size = (delta == 0)
1301 new_content = (char *)TRIO_REALLOC(self->content, new_size);
1305 self->allocated = new_size;
H A DxmlIO.c1627 size_t new_size; local
1639 new_size = buff->size + ext_amt;
1642 if ( cur_used > new_size )
1647 (cur_used - new_size ) );
1650 tmp_ptr = xmlRealloc( buff->zbuff, new_size );
1653 buff->size = new_size;
1656 buff->zctrl.avail_out = new_size - cur_used;
1663 new_size );
/macosx-10.10/libiconv-42/libiconv/srclib/
H A Dcanonicalize.c190 size_t new_size; local
208 new_size = rpath_limit - rpath;
210 new_size += end - start + 1;
212 new_size += path_max;
213 new_rpath = (char *) realloc (rpath, new_size);
217 rpath_limit = rpath + new_size;
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_/
H A Dcc_ht_map_.hpp352 resize_imp(size_type new_size);
355 do_resize(size_type new_size);
H A Dresize_fn_imps.hpp85 resize_imp(size_type new_size) argument
88 if (new_size == m_num_e)
95 ranged_hash_fn_base::notify_resized(new_size);
100 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size);
101 m_num_e = new_size;
110 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size);
111 Resize_Policy::notify_resized(new_size);
118 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) argument
130 m_num_e = new_size;
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/gp_hash_table_map_/
H A Dresize_fn_imps.hpp85 resize_imp(size_type new_size) argument
91 if (new_size == m_num_e)
99 a_entries_resized = s_entry_allocator.allocate(new_size);
101 ranged_probe_fn_base::notify_resized(new_size);
102 m_num_e = new_size;
113 erase_all_valid_entries(a_entries_resized, new_size);
115 s_entry_allocator.deallocate(a_entries_resized, new_size);
123 Resize_Policy::notify_resized(new_size);
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/ov_tree_map_/
H A Derase_fn_imps.hpp83 size_type new_size = 0; local
88 ++new_size;
92 if (new_size == 0)
98 value_vector a_new_values = s_value_alloc.allocate(new_size);
100 cond_dtor<size_type> cd(a_new_values, target_it, new_size);
114 reallocate_metadata((node_update* )this, new_size);
122 m_size = new_size;
H A Dinsert_fn_imps.hpp57 reallocate_metadata(Node_Update_* , size_type new_size) argument
59 metadata_pointer a_new_metadata_vec =(new_size == 0) ? NULL : s_metadata_alloc.allocate(new_size);
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/resize_policy/
H A Dcc_hash_max_collision_check_resize_trigger_imp.hpp147 notify_resized(size_type new_size) argument
149 m_size = new_size;
153 << static_cast<unsigned long>(new_size) << std::endl;
180 notify_externally_resized(size_type new_size) argument
181 { notify_resized(new_size); }
H A Dhash_load_check_resize_trigger_imp.hpp156 notify_resized(size_type new_size) argument
159 m_next_grow_size = size_type(m_load_max * new_size - 1);
160 m_next_shrink_size = size_type(m_load_min * new_size);
164 static_cast<unsigned long>(new_size) << " " <<
177 notify_externally_resized(size_type new_size) argument
180 size_type new_grow_size = size_type(m_load_max * new_size - 1);
181 size_type new_shrink_size = size_type(m_load_min * new_size );
190 static_cast<unsigned long>(new_size) << " " <<
204 static_cast<unsigned long>(new_size) << " " <<

Completed in 262 milliseconds

123456