/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
H A D | fallback_allocator.d | 117 primary.reallocate(b, newSize)) is attempted. If it fails, an attempt is 121 newSize)) is attempted. If that fails, an attempt is made to move the 126 bool reallocate(ref void[] b, size_t newSize) 130 auto b1 = to.allocate(newSize); 131 if (b1.length != newSize) return false; 132 if (b.length < newSize) b1[0 .. b.length] = b[]; 133 else b1[] = b[0 .. newSize]; 142 return primary.reallocate(b, newSize) 146 return fallback.reallocate(b, newSize) 154 bool alignedReallocate(ref void[] b, size_t newSize, uin [all...] |
H A D | bitmapped_block.d | 538 @system bool reallocate(ref void[] b, size_t newSize) 542 b = allocate(newSize); 543 return b.length == newSize; 545 if (newSize == 0) 551 if (newSize < b.length) 554 auto newCapacity = bytes2blocks(newSize) * blockSize; 556 b = b[0 .. newSize]; 560 return .reallocate(this, b, newSize); 566 @system bool alignedReallocate(ref void[] b, size_t newSize, uint a) 568 if (newSize [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/ |
H A D | gc_allocator.d | 43 immutable newSize = GC.extend(b.ptr, sizeRequest, sizeRequest); 44 if (newSize == 0) 49 assert(newSize >= desired); 56 pure nothrow @system bool reallocate(ref void[] b, size_t newSize) shared 61 auto p = cast(ubyte*) GC.realloc(b.ptr, newSize); 62 b = p[0 .. newSize];
|
H A D | mallocator.d | 281 $(D alignedReallocate(b, newSize, platformAlignment)). 285 bool reallocate(ref void[] b, size_t newSize) shared 287 return Mallocator.instance.reallocate(b, newSize); 291 bool reallocate(ref void[] b, size_t newSize) shared 293 return alignedReallocate(b, newSize, alignment); 300 $(D __aligned_realloc(b.ptr, newSize, a))).
|
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
H A D | fallback_allocator.d | 156 primary.reallocate(b, newSize)) is attempted. If it fails, an attempt is 160 newSize)) is attempted. If that fails, an attempt is made to move the 165 bool reallocate(ref void[] b, size_t newSize) 169 auto b1 = to.allocate(newSize); 170 if (b1.length != newSize) return false; 171 if (b.length < newSize) b1[0 .. b.length] = b[]; 172 else b1[] = b[0 .. newSize]; 181 return primary.reallocate(b, newSize) 185 return fallback.reallocate(b, newSize) 193 bool alignedReallocate(ref void[] b, size_t newSize, uin [all...] |
H A D | bitmapped_block.d | 705 @system bool reallocate(ref void[] b, size_t newSize) 713 return reallocateImpl(b, newSize); 717 private @system bool reallocateImpl(ref void[] b, size_t newSize) 734 b = allocateImpl(newSize); 735 return b.length == newSize; 737 if (newSize == 0) 743 if (newSize < b.length) 746 auto newCapacity = bytes2blocks(newSize) * blockSize; 748 b = b[0 .. newSize]; 752 return slowReallocate(this, b, newSize); [all...] |
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/ |
H A D | gc_allocator.d | 48 immutable newSize = GC.extend(b.ptr, sizeRequest, sizeRequest); 49 if (newSize == 0) 54 assert(newSize >= desired); 61 pure nothrow @system bool reallocate(ref void[] b, size_t newSize) shared const 66 auto p = cast(ubyte*) GC.realloc(b.ptr, newSize); 67 b = p[0 .. newSize];
|
H A D | mallocator.d | 300 Forwards to $(D alignedReallocate(b, newSize, platformAlignment)). 305 bool reallocate(ref void[] b, size_t newSize) shared 307 return alignedReallocate(b, newSize, alignment); 315 $(D __aligned_realloc(b.ptr, newSize, a))).
|
/netbsd-current/usr.bin/make/ |
H A D | hash.c | 217 unsigned int newSize = 2 * oldSize; local 218 unsigned int newMask = newSize - 1; 219 HashEntry **newBuckets = bmake_malloc(sizeof *newBuckets * newSize); 222 for (i = 0; i < newSize; i++) 237 t->bucketsSize = newSize;
|
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/ |
H A D | emutls.d | 267 auto newSize = arr.length * 2; 268 if (offset > newSize) 269 newSize = offset + 32; 270 arr.length = newSize;
|
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/gcc/ |
H A D | emutls.d | 268 auto newSize = arr.length * 2; 269 if (offset > newSize) 270 newSize = offset + 32; 271 arr.length = newSize;
|
/netbsd-current/external/bsd/byacc/dist/test/ |
H A D | expr.oxout.y | 189 long oldSize,newSize; 206 newSize = (3*oldSize)/2; 207 if (newSize < 100) newSize = 100; 211 fprintf(stderr,msg2,which,newSize);
|
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/ |
H A D | Table.cc | 1380 long newSize = ddscr->getSize (); local 1381 if (ddsize == newSize) 1391 assert (tmpView->getSize () == newSize); 1392 while (ddsize < newSize) 1402 while (ddsize < newSize)
|
/netbsd-current/external/bsd/byacc/dist/test/yacc/ |
H A D | expr.oxout.tab.c | 388 long oldSize,newSize; local 405 newSize = (3*oldSize)/2; 406 if (newSize < 100) newSize = 100; 410 fprintf(stderr,msg2,which,newSize);
|
/netbsd-current/external/bsd/byacc/dist/test/btyacc/ |
H A D | expr.oxout.tab.c | 538 long oldSize,newSize; local 555 newSize = (3*oldSize)/2; 556 if (newSize < 100) newSize = 100; 560 fprintf(stderr,msg2,which,newSize);
|
/netbsd-current/sys/arch/shark/ofw/ |
H A D | ofw.c | 1811 vsize_t newSize, claim_size; local 1831 newSize = (*ppLeftover)->size - size; /* reduce size */ 1836 (*ppLeftover)->size = newSize;
|
/netbsd-current/external/mit/expat/dist/lib/ |
H A D | xmlparse.c | 6932 size_t newSize = (size_t)1 << newPower; local 6933 unsigned long newMask = (unsigned long)newSize - 1; 6936 if (newSize > (size_t)(-1) / sizeof(NAMED *)) { 6940 size_t tsize = newSize * sizeof(NAMED *); 6953 j < step ? (j += newSize - step) : (j -= step); 6960 table->size = newSize; 6966 i < step ? (i += newSize - step) : (i -= step);
|
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/ |
H A D | sorting.d | 2475 size_t newSize = 1<<(bsr(minCapacity)+1); 2477 if (newSize < minCapacity) newSize = minCapacity; 2479 if (__ctfe) temp.length = newSize; 2480 else temp = () @trusted { return uninitializedArray!(T[])(newSize); }();
|
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/algorithm/ |
H A D | sorting.d | 2598 size_t newSize = 1<<(bsr(minCapacity)+1); 2600 if (newSize < minCapacity) newSize = minCapacity; 2602 if (__ctfe) temp.length = newSize; 2603 else temp = () @trusted { return uninitializedArray!(T[])(newSize); }();
|
/netbsd-current/external/public-domain/sqlite/dist/ |
H A D | sqlite3.c | 28132 int newSize; local 59403 i64 currentSize, newSize; local 173196 int newSize; local 204467 u32 newSize = pParse->nBlob + delta; local 231521 int newSize; local [all...] |