| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/ |
| H A D | arrayassign.d | 29 immutable elementSize = ti.tsize; in _d_arrayassign() local 33 void* ptmp = (elementSize > buf.sizeof) ? malloc(elementSize) : buf.ptr; in _d_arrayassign() 56 immutable elementSize = ti.tsize; in _d_arrayassign_l() local 58 enforceRawArraysConformable("copy", elementSize, src, dst, true); in _d_arrayassign_l() 60 if (src.ptr < dst.ptr && dst.ptr < src.ptr + elementSize * src.length) in _d_arrayassign_l() 65 void* pdst = dst.ptr + i * elementSize; in _d_arrayassign_l() 66 void* psrc = src.ptr + i * elementSize; in _d_arrayassign_l() 67 memcpy(ptmp, pdst, elementSize); in _d_arrayassign_l() 68 memcpy(pdst, psrc, elementSize); in _d_arrayassign_l() 78 void* pdst = dst.ptr + i * elementSize; in _d_arrayassign_l() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/ |
| H A D | arrayassign.d | 29 immutable elementSize = ti.tsize; in _d_arrayassign() local 33 void* ptmp = (elementSize > buf.sizeof) ? malloc(elementSize) : buf.ptr; in _d_arrayassign() 56 immutable elementSize = ti.tsize; in _d_arrayassign_l() local 58 enforceRawArraysConformable("copy", elementSize, src, dst, true); in _d_arrayassign_l() 60 if (src.ptr < dst.ptr && dst.ptr < src.ptr + elementSize * src.length) in _d_arrayassign_l() 65 void* pdst = dst.ptr + i * elementSize; in _d_arrayassign_l() 66 void* psrc = src.ptr + i * elementSize; in _d_arrayassign_l() 67 memcpy(ptmp, pdst, elementSize); in _d_arrayassign_l() 68 memcpy(pdst, psrc, elementSize); in _d_arrayassign_l() 78 void* pdst = dst.ptr + i * elementSize; in _d_arrayassign_l() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/util/ |
| H A D | array.d | 37 void enforceRawArraysConformable(const char[] action, const size_t elementSize, 42 _enforceNoOverlap(action, arrayToPtr(a1), arrayToPtr(a2), elementSize * a1.length); 87 void enforceRawArraysConformableNogc(const char[] action, const size_t elementSize, 92 _enforceNoOverlapNogc(action, arrayToPtr(a1), arrayToPtr(a2), elementSize * a1.length);
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/util/ |
| H A D | array.d | 26 void enforceRawArraysConformable(const char[] action, in size_t elementSize, 31 _enforceNoOverlap(action, arrayToPtr(a1), arrayToPtr(a2), elementSize * a1.length);
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/array/ |
| H A D | construction.d | 52 void enforceRawArraysConformable(const char[] action, const size_t elementSize, in enforceRawArraysConformable() argument 57 alias Type = void function(const char[] action, const size_t elementSize, in enforceRawArraysConformable() 59 (cast(Type)&enforceRawArraysConformableNogc)(action, elementSize, a1, a2, false); in enforceRawArraysConformable()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | CharUnits.h | 201 CharUnits alignmentOfArrayElement(CharUnits elementSize) const { in alignmentOfArrayElement() argument 205 return alignmentAtOffset(elementSize); in alignmentOfArrayElement()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 490 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit() local 492 DestPtr.getAlignment().alignmentOfArrayElement(elementSize); in EmitArrayInit() 497 if (NumInitElements * elementSize.getQuantity() > 16 && in EmitArrayInit() 1793 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in VisitArrayInitLoopExpr() local 1795 destPtr.getAlignment().alignmentOfArrayElement(elementSize); in VisitArrayInitLoopExpr()
|
| H A D | CGExprCXX.cpp | 2037 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete() local 2039 deletedPtr.getAlignment().alignmentOfArrayElement(elementSize); in EmitArrayDelete()
|
| H A D | CGExprScalar.cpp | 3797 CharUnits elementSize; in EmitSub() local 3801 elementSize = CharUnits::One(); in EmitSub() 3803 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub() 3806 if (elementSize.isOne()) in EmitSub() 3809 divisor = CGF.CGM.getSize(elementSize); in EmitSub()
|
| H A D | ItaniumCXXABI.cpp | 2281 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy, in InitializeArrayCookie() local 2283 CGF.Builder.CreateStore(elementSize, cookie); in InitializeArrayCookie()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/ |
| H A D | object.d | 3737 const size_t elementSize = element.tsize; 3738 if (!elementSize) 3755 return hashOf(ptr[0 .. elementSize * count]); 3759 hash = hashOf(element.getHash(ptr + i * elementSize), hash);
|