Searched refs:new_size (Results 76 - 100 of 135) sorted by path

123456

/macosx-10.10/libstdcxx-104.1/include/c++/4.2.1/ext/pb_ds/detail/resize_policy/
H A Dsample_resize_policy.hpp118 // Notifies the table was resized to new_size.
120 notify_resized(size_type new_size);
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);
/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/libstdcxx-104.1/src/
H A Dstrstream.cc151 ptrdiff_t new_size = std::max(ptrdiff_t(2 * old_size), ptrdiff_t(1)); local
153 char* buf = _M_alloc(new_size);
166 setp(buf, 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/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/ntfs-84/kext/
H A Dntfs_attr.c1748 * @new_size: new size in bytes to which to resize the attribute record @a
1751 * the mft record @m to @new_size bytes.
1762 errno_t ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size) argument
1766 ntfs_debug("Entering for new_size %u.", new_size);
1768 if (new_size & 7)
1769 new_size = (new_size + 7) & ~7;
1771 if (new_size != old_size) {
1773 const u32 new_muse = muse - old_size + new_size;
2884 ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a, const u32 new_size) argument
2930 s64 new_size, data_size; local
7664 ntfs_attr_resize(ntfs_inode *ni, s64 new_size, int ioflags, ntfs_index_context *ictx) argument
[all...]
H A Dntfs_attr.h196 ATTR_RECORD *a, u32 new_size);
211 ATTR_RECORD *a, const u32 new_size);
235 __private_extern__ errno_t ntfs_attr_resize(ntfs_inode *ni, s64 new_size,
H A Dntfs_inode.c2733 int new_size; local
2735 new_size = base_ni->attr_nis_alloc + 4 * sizeof(ntfs_inode *);
2736 tmp = OSMalloc(new_size, ntfs_malloc_tag);
2751 base_ni->attr_nis_alloc = new_size;
3083 int new_size; local
3085 new_size = base_ni->attr_nis_alloc + 4 * sizeof(ntfs_inode *);
3086 tmp = OSMalloc(new_size, ntfs_malloc_tag);
3101 base_ni->attr_nis_alloc = new_size;
H A Dntfs_mft.c379 int new_size; local
381 new_size = base_ni->extent_alloc + 4 * sizeof(ntfs_inode *);
382 tmp = OSMalloc(new_size, ntfs_malloc_tag);
398 base_ni->extent_alloc = new_size;
/macosx-10.10/ntp-92/lib/isc/
H A Dheap.c125 size_t new_size; local
129 new_size = heap->size + heap->size_increment;
130 new_array = isc_mem_get(heap->mctx, new_size * sizeof(void *));
138 heap->size = new_size;
H A Dmem.c418 more_frags(isc_mem_t *ctx, size_t new_size) { argument
444 frags = total_size / new_size;
445 ctx->stats[new_size].blocks++;
446 ctx->stats[new_size].freefrags += frags;
449 * "new_size".
452 next = curr + new_size;
453 total_size -= new_size;
457 next += new_size;
458 total_size -= new_size;
474 ctx->freelists[new_size]
481 size_t new_size = quantize(size); local
547 check_overrun(void *mem, size_t size, size_t new_size) argument
562 size_t new_size = quantize(size); local
[all...]
/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;
H A Dobjc-weak.mm76 size_t new_size = old_size ? old_size * 2 : 8;
80 entry->mask = new_size - 1;
222 static void weak_resize(weak_table_t *weak_table, size_t new_size)
228 _calloc_internal(new_size, sizeof(weak_entry_t));
230 weak_table->mask = new_size - 1;
/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/patch_cmds-17/diffstat/
H A Ddiffstat.c1246 int old_base, new_base, old_size, new_size; local
1256 && decode_range(b_temp2, &new_base, &new_size)) {
1258 new_unify = new_size;
/macosx-10.10/patch_cmds-17/patch/
H A Dinp.c113 size_t new_size; local
115 new_size = *lines_allocated * 3 / 2;
116 p = realloc(i_ptr, (new_size + 2) * sizeof(char *));
125 *lines_allocated = 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);
H A Dpartition_map.c1304 resize_map(unsigned long new_size, partition_map_header *map) argument
1320 if (new_size == entry->data->dpme_pblocks) {
1326 if (new_size < entry->data->dpme_pblocks) {
1333 if (new_size < map->blocks_in_map + incr) {
1351 if (new_size > entry->data->dpme_pblocks + next->data->dpme_pblocks) {
1358 add_partition_to_map("Apple", kMapType, 1, new_size, map);
1359 map->maximum_in_map = new_size;
H A Dpartition_map.h117 void resize_map(unsigned long new_size, partition_map_header *map);

Completed in 416 milliseconds

123456