/netbsd-src/external/bsd/elftosb/dist/common/ |
H A D | DataSourceImager.cpp | 66 unsigned newLength; in addDataSegment() local 106 newLength = segmentAddress + segmentLength - m_baseAddress; in addDataSegment() 108 m_data = (uint8_t *)realloc(m_data, newLength); in addDataSegment() 118 m_length = newLength; in addDataSegment() 128 newLength = m_length + segmentLength; in addDataSegment() 129 m_data = (uint8_t *)realloc(m_data, newLength); in addDataSegment() 131 m_length = newLength; in addDataSegment()
|
H A D | StExecutableImage.cpp | 241 uint32_t newLength = cropTo - cropFrom + 1; in cropRegionToFilter() local 247 region.m_length = newLength; in cropRegionToFilter() 252 region.m_data = new uint8_t[newLength]; in cropRegionToFilter() 253 memcpy(region.m_data, &oldData[cropFrom - firstByte], newLength); in cropRegionToFilter() 344 unsigned newLength; in mergeRegions() local 347 newLength = newEnd - inOldRegion.m_address; in mergeRegions() 351 newLength = oldEnd - inNewRegion.m_address; in mergeRegions() 355 uint8_t * newData = new uint8_t[newLength]; in mergeRegions() 356 memset(newData, 0, newLength); in mergeRegions() 362 memcpy(&newData[newLength - inNewRegion.m_length], inNewRegion.m_data, inNewRegion.m_length); in mergeRegions() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | StringBuilder.cc | 101 StringBuilder::setLength (int newLength) in setLength() argument 103 if (newLength < 0) in setLength() 105 if (newLength > maxCapacity) in setLength() 106 expandCapacity (newLength); in setLength() 107 if (count < newLength) in setLength() 109 for (; count < newLength; count++) in setLength() 113 count = newLength; in setLength()
|
H A D | StringBuilder.h | 54 void setLength (int newLength);
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | StringBuilder.cc | 102 StringBuilder::setLength (int newLength) in setLength() argument 104 if (newLength < 0) in setLength() 106 if (newLength > maxCapacity) in setLength() 107 expandCapacity (newLength); in setLength() 108 if (count < newLength) in setLength() 110 for (; count < newLength; count++) in setLength() 114 count = newLength; in setLength()
|
H A D | StringBuilder.h | 54 void setLength (int newLength);
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/container/ |
H A D | array.d | 294 @property void length(size_t newLength) in length() 298 if (length >= newLength) in length() 302 foreach (ref e; _payload.ptr[newLength .. _payload.length]) in length() 305 _payload = _payload.ptr[0 .. newLength]; in length() 309 if (_capacity < newLength) in length() 315 const nbytes = mulu(newLength, T.sizeof, overflow); in length() 318 _payload = (cast(T*) realloc(_payload.ptr, nbytes))[0 .. newLength]; in length() 319 _capacity = newLength; in length() 323 _payload = _payload.ptr[0 .. newLength]; in length() 325 initializeAll(_payload.ptr[startEmplace .. newLength]); in length() [all …]
|
H A D | package.d | 893 @property void length(size_t newLength) in TotalContainer()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/container/ |
H A D | array.d | 429 @property void length(size_t newLength) 431 if (length >= newLength) 435 foreach (ref e; _payload.ptr[newLength .. _payload.length]) 438 _payload = _payload.ptr[0 .. newLength]; 447 reserve(newLength); 448 initializeAll(_payload.ptr[startEmplace .. newLength]); 449 _payload = _payload.ptr[0 .. newLength]; 931 @property void length(size_t newLength) 934 _data.length = newLength; 2179 @property void length(size_t newLength) [all …]
|
H A D | package.d | 888 @property void length(size_t newLength) in TotalContainer()
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
H A D | region.d | 224 auto newLength = b.length + delta; in expand() local 228 if (this.goodAllocSize(b.length) == this.goodAllocSize(newLength) in expand() 231 b = b.ptr[0 .. newLength]; in expand()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 336 unsigned newLength = getRangeSize(replacementRange); in ReplaceText() local 341 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); in ReplaceText()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | zlib.d | 651 auto newLength = GC.extend(destbuf.ptr, destbufsize, destbufsize); variable 653 if (newLength && destbuf.length < destbuf.capacity)
|
H A D | utf.d | 1379 immutable newLength = str.length - numCodeUnits; 1380 size_t index = newLength; 1382 str = str[0 .. newLength];
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
H A D | region.d | 255 auto newLength = b.length + delta; in expand() local 259 immutable newGoodSize = this.goodAllocSize(newLength); in expand() 265 b = (() @trusted => b.ptr[0 .. newLength])(); in expand()
|
H A D | bitmapped_block.d | 1134 immutable newLength = delta + b.length; in BitmappedBlockImpl() 1135 if (b is null || newLength > blockSize) in BitmappedBlockImpl() 1138 b = b.ptr[0 .. newLength]; in BitmappedBlockImpl()
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
H A D | utf.d | 1219 immutable newLength = str.length - numCodeUnits; variable 1220 size_t index = newLength; 1222 str = str[0 .. newLength];
|