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

123456

/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Darlex.c1153 int new_size = b->yy_buf_size * 2;
1155 if ( new_size <= 0 )
1674 yy_size_t new_size; local
1677 new_size = yy_start_stack_depth * sizeof( int );
1680 yy_start_stack = (int *) yy_flex_alloc( new_size );
1684 (void *) yy_start_stack, new_size );
H A Ddeflex.c1178 int new_size = b->yy_buf_size * 2;
1180 if ( new_size <= 0 )
1699 yy_size_t new_size; local
1702 new_size = yy_start_stack_depth * sizeof( int );
1705 yy_start_stack = (int *) yy_flex_alloc( new_size );
1709 (void *) yy_start_stack, new_size );
H A Dsyslex.c1031 int new_size = b->yy_buf_size * 2;
1033 if ( new_size <= 0 )
1552 yy_size_t new_size; local
1555 new_size = yy_start_stack_depth * sizeof( int );
1558 yy_start_stack = (int *) yy_flex_alloc( new_size );
1562 (void *) yy_start_stack, new_size );
H A Drclex.c1651 int new_size = b->yy_buf_size * 2;
1653 if ( new_size <= 0 )
2172 yy_size_t new_size; local
2175 new_size = yy_start_stack_depth * sizeof( int );
2178 yy_start_stack = (int *) yy_flex_alloc( new_size );
2182 (void *) yy_start_stack, new_size );
/macosx-10.10.1/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.1/pdisk-9/
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;
/macosx-10.10.1/cups-408/cups/cups/
H A Dppd-cache.c655 pwg_size_t *new_size; /* New size to add, if any */ local
768 for (k = pc->num_sizes, similar = 0, old_size = pc->sizes, new_size = NULL;
791 new_size = old_size;
804 new_size = pwg_size ++;
808 if (new_size)
814 new_size->map.ppd = _cupsStrAlloc(ppd_size->name);
815 new_size->map.pwg = _cupsStrAlloc(pwg_name);
816 new_size->width = new_width;
817 new_size->length = new_length;
818 new_size
[all...]
/macosx-10.10.1/xnu-2782.1.97/osfmk/ipc/
H A Dipc_voucher.c817 iv_index_t new_size, old_size; local
834 * set new_size such that new_size * sizeof(ivac_entry) is page aligned.
838 new_size = (iv_index_t)round_page((old_size * sizeof(ivac_entry)))/(sizeof (ivac_entry));
840 new_size = old_size * 2;
843 assert(new_size > old_size);
844 new_table = kalloc(sizeof(ivac_entry) * new_size);
846 panic("Failed to grow ivac table to size %d\n", new_size);
851 for (i = old_size; i < new_size; i++) {
864 ivac->ivac_table_size = new_size;
[all...]
/macosx-10.10.1/WTF-7600.1.24/wtf/
H A DFastMalloc.cpp4479 void* fastRealloc(void* old_ptr, size_t new_size)
4484 void* result = realloc<true>(old_ptr, new_size);
4489 dataLogF("fastMalloc reallocating %lu bytes (fastRealloc): %p -> %p.\n", new_size, old_ptr, result);
4494 TryMallocReturnValue tryFastRealloc(void* old_ptr, size_t new_size)
4499 void* result = realloc<false>(old_ptr, new_size);
4504 dataLogF("fastMalloc reallocating %lu bytes (tryFastRealloc): %p -> %p.\n", new_size, old_ptr, result);
4512 void* realloc(void* old_ptr, size_t new_size) {
4515 void* result = malloc<crashOnFailure>(new_size);
4517 void* result = do_malloc(new_size);
4518 MallocHook::InvokeNewHook(result, new_size);
[all...]
/macosx-10.10.1/ruby-106/ruby/
H A Dregenc.c895 resize_property_list(int new_size, const OnigCodePoint*** plist, int* psize) argument
900 size = sizeof(OnigCodePoint*) * new_size;
911 *psize = new_size;
926 int new_size = (*psize == 0 ? PROP_INIT_SIZE : *psize * 2); local
927 r = resize_property_list(new_size, plist, psize);
/macosx-10.10.1/xnu-2782.1.97/osfmk/vm/
H A Dvm_compressor_pager.c534 memory_object_size_t new_size,
540 if ((uint32_t)(new_size/PAGE_SIZE) != (new_size/PAGE_SIZE)) {
543 __FUNCTION__, (uint64_t) new_size);
555 pager->cpgr_num_slots = (uint32_t)(new_size/PAGE_SIZE);
533 compressor_memory_object_create( memory_object_size_t new_size, memory_object_t *new_mem_obj) argument
/macosx-10.10.1/OpenSSL098-52/src/crypto/bio/
H A Dbss_bio.c527 size_t new_size = num; local
529 if (b->size != new_size)
536 b->size = new_size;
/macosx-10.10.1/emacs-93/emacs/lib-src/
H A Debrowse.c1281 int new_size = max (2 * scope_buffer_size, scope_buffer_len + len);
1282 scope_buffer = (char *) xrealloc (scope_buffer, new_size);
1283 scope_buffer_size = new_size;
2969 int new_size = max (len, 2 * id_size);
2970 id = (char *) xrealloc (id, new_size);
2971 id_size = new_size;
2995 int new_size = max (len, 2 * id_size);
2996 id = (char *) xrealloc (id, new_size);
2997 id_size = new_size;
3011 int new_size
1278 int new_size = max (2 * scope_buffer_size, scope_buffer_len + len); local
2964 int new_size = max (len, 2 * id_size); local
2990 int new_size = max (len, 2 * id_size); local
3006 int new_size = max (len, 2 * id_size); local
[all...]
/macosx-10.10.1/sudo-73/src/
H A Dtoke.c2658 int new_size = b->yy_buf_size * 2;
2660 if ( new_size <= 0 )
3190 yy_size_t new_size; local
3193 new_size = yy_start_stack_depth * sizeof( int );
3196 yy_start_stack = (int *) yy_flex_alloc( new_size );
3200 (void *) yy_start_stack, new_size );
/macosx-10.10.1/libarchive-30/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c2113 int new_size; local
2116 new_size = 16;
2118 new_size = heap->allocated * 2;
2120 if (new_size <= heap->allocated)
2122 p = malloc(new_size * sizeof(p[0]));
2130 heap->allocated = new_size;
2645 int new_size = heap->allocated * 2; local
2648 new_size = 1024;
2650 if (new_size <= heap->allocated) {
2656 malloc(new_size * sizeo
[all...]
/macosx-10.10.1/SmartCardServices-55111/src/PCSC/
H A Dconfigfile.c1004 int new_size = b->yy_buf_size * 2; local
1006 if ( new_size <= 0 )
1061 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); local
1062 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
/macosx-10.10.1/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.1/dyld-353.2.1/launch-cache/
H A DMachOLayout.hpp94 void setSize(uint64_t new_size) { fSize = new_size; } argument
96 void setFileSize(uint64_t new_size) { fFileSize = new_size; } argument
/macosx-10.10.1/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 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;
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
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;
/macosx-10.10.1/vim-55/src/
H A Dmemfile.c325 mf_new_page_size(mfp, new_size)
327 unsigned new_size;
331 total_mem_used += new_size - mfp->mf_page_size;
332 mfp->mf_page_size = new_size;
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Delf-eh-frame.c1205 unsigned int new_size; local
1219 new_size = size_of_output_cie_fde (ent, ptr_size);
1222 bfd_put_32 (abfd, new_size - 4, buf);
1225 if (new_size != ent->size)
1226 memset (end, 0, new_size - ent->size);
/macosx-10.10.1/libmalloc-53.1.1/src/
H A Dmalloc.c1075 realloc(void *in_ptr, size_t new_size) { argument
1088 old_ptr = (new_size == 0) ? NULL : in_ptr;
1090 retval = malloc_zone_malloc(inline_malloc_default_zone(), new_size);
1108 retval = malloc_zone_realloc(zone, old_ptr, new_size);
1113 } else if (new_size == 0) {
/macosx-10.10.1/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);

Completed in 574 milliseconds

123456