Searched refs:newsize (Results 1 - 25 of 37) sorted by relevance

12

/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dvecdel.C2 __SIZE_TYPE__ newsize = 0; variable
8 { newsize = i; return ::operator new [](i); }
17 if (!newsize || newsize != delsize)
/haiku-buildtools/legacy/binutils/bfd/
H A Dbfdio.c161 bfd_size_type newsize, oldsize; local
166 newsize = (bim->size + 127) & ~(bfd_size_type) 127;
167 if (newsize > oldsize)
169 bim->buffer = bfd_realloc (bim->buffer, newsize);
285 bfd_size_type newsize, oldsize; local
290 newsize = (bim->size + 127) & ~(bfd_size_type) 127;
291 if (newsize > oldsize)
293 bim->buffer = bfd_realloc (bim->buffer, newsize);
/haiku-buildtools/binutils/gas/config/
H A Dtc-rl78.c913 int newsize = oldsize;
932 return newsize - oldsize;
941 newsize = 6;
945 newsize = 7;
948 newsize = 5;
951 newsize = 6;
954 newsize = 2;
957 newsize = oldsize;
963 fragP->fr_subtype = newsize;
964 tprintf (" -> new %d old %d delta %d (external)\n", newsize, oldsiz
912 int newsize = oldsize; local
[all...]
H A Dtc-rx.c1538 int newsize = oldsize;
1572 newsize = fragP->fr_subtype;
1574 return newsize - oldsize;
1601 newsize = 4;
1605 newsize = 3;
1608 newsize = 2;
1611 newsize = oldsize;
1617 newsize = fragP->tc_frag_data->relax[ri].val_ofs + 4;
1620 fragP->fr_subtype = newsize;
1621 tprintf (" -> new %d old %d delta %d (external)\n", newsize, oldsiz
1537 int newsize = oldsize; local
[all...]
H A Dobj-elf.c2327 unsigned int newsize = i + 128; local
2328 list->head = XRESIZEVEC (asection *, list->head, newsize);
2329 list->elt_count = XRESIZEVEC (unsigned int, list->elt_count, newsize);
/haiku-buildtools/binutils/bfd/
H A Dbfdio.c497 bfd_size_type newsize, oldsize; local
502 newsize = (bim->size + 127) & ~(bfd_size_type) 127;
503 if (newsize > oldsize)
505 bim->buffer = (bfd_byte *) bfd_realloc_or_free (bim->buffer, newsize);
511 if (newsize > bim->size)
512 memset (bim->buffer + bim->size, 0, newsize - bim->size);
550 bfd_size_type newsize, oldsize; local
555 newsize = (bim->size + 127) & ~(bfd_size_type) 127;
556 if (newsize > oldsize)
558 bim->buffer = (bfd_byte *) bfd_realloc_or_free (bim->buffer, newsize);
[all...]
H A Dhash.c521 unsigned long newsize = higher_prime_number (table->size); local
524 unsigned long alloc = newsize * sizeof (struct bfd_hash_entry *);
528 if (newsize == 0 || alloc / sizeof (struct bfd_hash_entry *) != newsize)
553 _index = chain->hash % newsize;
558 table->size = newsize;
/haiku-buildtools/legacy/gcc/texinfo/info/
H A Dman.c77 long oldsize, newsize; local
88 newsize = (oldsize + hlen + plen);
90 (char *)xrealloc (file_buffer->contents, 1 + newsize);
94 file_buffer->contents[newsize] = '\0';
95 file_buffer->filesize = newsize;
96 file_buffer->finfo.st_size = newsize;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Dunroll1.C236 void reallocateStorage(unsigned int newsize, bool copyold = false) argument
242 if (newsize > 0)
244 int nsize = newsize * sizeof(double);
247 pEndNew = pBeginNew + newsize;
/haiku-buildtools/gcc/gmp/tests/
H A Dmisc.c152 __gmp_allocate_or_reallocate (void *ptr, size_t oldsize, size_t newsize) argument
155 return (*__gmp_allocate_func) (newsize);
157 return (*__gmp_reallocate_func) (ptr, oldsize, newsize);
/haiku-buildtools/legacy/binutils/gas/
H A Dehopt.c478 int oldsize, newsize; local
481 newsize = eh_frame_estimate_size_before_relax (frag);
482 return newsize - oldsize;
H A Dwrite.c541 valueT size, newsize; local
573 newsize = md_section_align (sec, size);
574 x = bfd_set_section_size (abfd, sec, newsize);
579 assert (newsize >= size);
580 if (size != newsize)
587 if ((newsize - size) % fragp->fr_var == 0)
588 fragp->fr_offset += (newsize - size) / fragp->fr_var;
/haiku-buildtools/binutils/gas/
H A Dehopt.c502 int oldsize, newsize; local
505 newsize = eh_frame_estimate_size_before_relax (frag);
506 return newsize - oldsize;
H A Dwrite.c550 valueT size, newsize; local
584 newsize = size;
586 newsize = md_section_align (sec, size);
587 x = bfd_set_section_size (abfd, sec, newsize);
592 gas_assert (newsize >= size);
593 if (size != newsize)
600 if ((newsize - size) % fragp->fr_var == 0)
601 fragp->fr_offset += (newsize - size) / fragp->fr_var;
/haiku-buildtools/legacy/gcc/libobjc/
H A Dsarray.c285 /* Reallocate the sparse array to hold `newsize' entries
290 sarray_realloc(struct sarray* array, int newsize)
294 size_t new_max_index = ((newsize-1)/INDEX_CAPACITY);
302 size_t new_max_index = ((newsize-1)/BUCKET_SIZE);
312 assert(newsize > 0);
289 sarray_realloc(struct sarray* array, int newsize) argument
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_addrhashmap.h263 uptr newsize = oldsize * 2; local
264 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize);
265 internal_memset(add1, 0, newsize);
266 add1->cap = (newsize - sizeof(*add)) / sizeof(add->cells[0]) + 1;
/haiku-buildtools/legacy/gcc/gcc/f/
H A Dglobal.c1524 char newsize[40];
1531 sprintf (&newsize[0], "%" ffetargetOffset_f "d", size);
1536 ffebad_string (newsize);
1550 char newsize[40];
1564 sprintf (&newsize[0], "%" ffetargetOffset_f "d", size);
1569 ffebad_string (newsize);
1523 char newsize[40]; local
1549 char newsize[40]; local
/haiku-buildtools/gcc/libgomp/plugin/
H A Dplugin-nvptx.c516 int i, newsize = ptx_dev->async_streams.size * 2; local
518 if (async >= newsize)
519 newsize = async + 1;
523 newsize * sizeof (struct ptx_stream *));
525 for (i = ptx_dev->async_streams.size; i < newsize; i++)
528 ptx_dev->async_streams.size = newsize;
/haiku-buildtools/legacy/gcc/libio/dbz/
H A Ddbz.c521 register off_t newsize; local
561 newsize = dbzsize(top);
562 if (!newtable || newsize > c.tsize) /* don't shrink new table */
563 c.tsize = newsize;
/haiku-buildtools/gcc/gmp/
H A Dgmp-impl.h680 #define __GMP_REALLOCATE_FUNC_MAYBE(ptr, oldsize, newsize) \
682 if ((oldsize) != (newsize)) \
683 (ptr) = (*__gmp_reallocate_func) (ptr, oldsize, newsize); \
686 #define __GMP_REALLOCATE_FUNC_MAYBE_TYPE(ptr, oldsize, newsize, type) \
688 if ((oldsize) != (newsize)) \
690 (ptr, (oldsize) * sizeof (type), (newsize) * sizeof (type)); \
3988 size_t alloc, newsize, newalloc; \
3992 newsize = (d)->size + (n); \
3993 if (alloc <= newsize) \
3995 newalloc = 2*newsize; \
[all...]
/haiku-buildtools/legacy/binutils/gas/config/
H A Dobj-elf.c1900 unsigned int newsize = i + 128; local
1901 list->head = xrealloc (list->head, newsize * sizeof (*list->head));
1903 newsize * sizeof (*list->elt_count));
H A Dtc-sparc.c3686 valueT newsize;
3690 newsize = (size + align) & ~align;
3691 return newsize;
3674 valueT newsize; local
/haiku-buildtools/gcc/gcc/go/gofrontend/
H A Dimport.cc619 int newsize = std::max(static_cast<size_t>(index) + 1, local
621 this->types_.resize(newsize, NULL);
/haiku-buildtools/gcc/gcc/
H A Dipa-inline.c178 int newsize; local
213 newsize = estimate_size_after_inlining (to, e);
214 if (newsize >= info->size
215 && newsize > PARAM_VALUE (PARAM_LARGE_FUNCTION_INSNS)
216 && newsize > limit)
/haiku-buildtools/legacy/gcc/gcc/
H A Dlibgcc2.c2406 size_t newsize = bb_callcount + 100;
2408 bb_stack = (unsigned long *) realloc (bb_stack, newsize);
2419 bb_stacksize = newsize;

Completed in 346 milliseconds

12