Searched refs:new_size (Results 1 - 25 of 135) sorted by relevance

123456

/macosx-10.10/ruby-106/ruby/nacl/
H A Dunistd.h7 int truncate(const char* path, off_t new_size);
8 int ftruncate(int fd, off_t new_size);
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/ov_tree_map_/
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);
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;
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_/
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/resize_policy/
H A Dsample_resize_trigger.hpp122 notify_resized(size_type new_size);
126 notify_externally_resized(size_type new_size);
138 // Resizes to new_size.
140 do_resize(size_type 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) << " " <<
H A Dsample_resize_policy.hpp118 // Notifies the table was resized to new_size.
120 notify_resized(size_type new_size);
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_standard_resize_policy_imp.hpp176 notify_resized(size_type new_size) argument
178 trigger_policy_base::notify_resized(new_size);
179 m_size = new_size;
194 resize(size_type new_size) argument
198 while (actual_size < new_size)
202 if (pot == actual_size && pot < 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/Libc-1044.1.2/regex/TRE/lib/
H A Dtre-stack.c86 int new_size; local
88 new_size = s->size + s->increment;
89 if (new_size > s->max_size)
90 new_size = s->max_size;
91 new_buffer = xrealloc(s->stack, sizeof(*new_buffer) * new_size);
98 assert(new_size > s->size);
99 s->size = new_size;
H A Dxmalloc.h16 void *xrealloc_impl(void *ptr, size_t new_size, const char *file, int line,
51 #define xrealloc(ptr, new_size) xrealloc_impl(ptr, new_size, __FILE__, \
70 #define xrealloc(ptr, new_size) realloc(ptr, new_size)
/macosx-10.10/OpenSSH-189/openssh/
H A Dxmalloc.c60 size_t new_size = nmemb * size; local
62 if (new_size == 0)
67 new_ptr = malloc(new_size);
69 new_ptr = realloc(ptr, new_size);
71 fatal("xrealloc: out of memory (new_size %lu bytes)",
72 (u_long) new_size);
/macosx-10.10/xnu-2782.1.97/osfmk/ipc/
H A Dipc_space.c134 ipc_entry_num_t new_size; local
147 new_size = initial->its_size;
148 memset((void *) table, 0, new_size * sizeof(struct ipc_entry));
156 for (index = 0; index < new_size; index++) {
162 table[new_size-1].ie_next = 0;
166 space->is_table_size = new_size;
167 space->is_table_free = new_size - 1;
171 space->is_low_mod = new_size;
/macosx-10.10/pdisk-9/
H A Dcmdline.c179 u32 new_size; local
196 new_size = strtoul(argv[2], NULL, 10);
209 else if (!((new_size > 0)
210 && (new_size
212 && (new_size >= MIN_PARTITION_SIZE))) {
224 save_dpme.dpme_pblock_start, new_size, map);
226 save_dpme.dpme_pblock_start + new_size,
227 save_dpme.dpme_pblocks - new_size, map);
230 entry = find_entry_by_base(save_dpme.dpme_pblock_start + new_size, map);
/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/bash-94.1.2/bash-3.2/lib/intl/
H A Dlocalealias.c314 size_t new_size = (string_space_max local
317 char *new_pool = (char *) realloc (string_space, new_size);
333 string_space_max = new_size;
373 size_t new_size; local
376 new_size = maxmap == 0 ? 100 : 2 * maxmap;
377 new_map = (struct alias_map *) realloc (map, (new_size
384 maxmap = new_size;
/macosx-10.10/cxxfilt-11/cxxfilt/intl/
H A Dlocalealias.c314 size_t new_size = (string_space_max local
317 char *new_pool = (char *) realloc (string_space, new_size);
333 string_space_max = new_size;
373 size_t new_size; local
376 new_size = maxmap == 0 ? 100 : 2 * maxmap;
377 new_map = (struct alias_map *) realloc (map, (new_size
384 maxmap = new_size;
/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/
H A Dhash_policy.hpp264 notify_resized(size_type new_size);
267 notify_externally_resized(size_type new_size);
277 do_resize(size_type new_size);
370 notify_resized(size_type new_size);
373 notify_externally_resized(size_type new_size);
579 notify_resized(size_type new_size);
592 // Resizes to new_size.
594 do_resize(size_type new_size);
/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/emacs-93/emacs/src/
H A Dw32heap.c162 int new_size; local
176 new_size = real_data_region_end - new_data_region_end;
178 if (new_size > 0)
182 && !VirtualFree (real_data_region_end, new_size, MEM_DECOMMIT))
/macosx-10.10/xnu-2782.1.97/osfmk/vm/
H A Dvm_external.h144 vm_object_size_t new_size,
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/
H A Dstrhash.c87 static idn_result_t expand_bins(idn__strhash_t hash, int new_size);
247 expand_bins(idn__strhash_t hash, int new_size) { argument
252 new_bins = malloc(sizeof(strhash_entry_t *) * new_size);
256 memset(new_bins, 0, sizeof(strhash_entry_t *) * new_size);
270 new_index = e->hash_value % new_size;
276 hash->nbins = new_size;
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dcanonicalize-lgpl.c187 size_t new_size; local
205 new_size = rpath_limit - rpath;
207 new_size += end - start + 1;
209 new_size += path_max;
210 new_rpath = (char *) realloc (rpath, new_size);
214 rpath_limit = rpath + new_size;
H A Dobstack.c250 register long new_size;
257 new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100;
258 if (new_size < h->chunk_size)
259 new_size = h->chunk_size;
262 new_chunk = CALL_CHUNKFUN (h, new_size);
267 new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size;
249 register long new_size; local

Completed in 181 milliseconds

123456