Searched refs:elemSize (Results 1 – 5 of 5) sorted by relevance
61 unsigned Off = Idx * elemSize(); in atIndex()181 size_t elemSize() const { in elemSize() function260 unsigned getNumElems() const { return getSize() / elemSize(); } in getNumElems()266 if (auto ElemSize = elemSize()) in getIndex()
2853 size_t elemSize; in WorkerLocalStorage() local2883 elemSize = roundToLine(T.sizeof); in WorkerLocalStorage()2889 data = GC.malloc(elemSize * (nElem + 3), blkInfo) + elemSize; in WorkerLocalStorage()2904 return *(cast(CopyTypeQualifiers!(Qualified, T)*) (data + elemSize * index)); in WorkerLocalStorage()2910 *(cast(T*) (data + elemSize * index)) = val; in WorkerLocalStorage()3055 newWl.data += lower * newWl.elemSize; in WorkerLocalStorageRange()
1209 enum size_t elemSize = E.sizeof;1210 static assert(elemSize <= 16);1211 static assert(16 % elemSize == 0);
3091 size_t elemSize; in WorkerLocalStorage() local3121 elemSize = roundToLine(T.sizeof); in WorkerLocalStorage()3127 data = GC.malloc(elemSize * (nElem + 3), blkInfo) + elemSize; in WorkerLocalStorage()3142 return *(cast(CopyTypeQualifiers!(Qualified, T)*) (data + elemSize * index)); in WorkerLocalStorage()3148 *(cast(T*) (data + elemSize * index)) = val; in WorkerLocalStorage()3293 newWl.data += lower * newWl.elemSize; in WorkerLocalStorageRange()
1242 enum size_t elemSize = E.sizeof;1243 static assert(elemSize <= 16);1244 static assert(16 % elemSize == 0);