Home
last modified time | relevance | path

Searched refs:mOffset (Results 1 – 25 of 36) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DBinaryStream.h29 mOffset = 0; in BinaryInputStream()
100 angle::CheckedNumeric<size_t> checkedOffset(mOffset); in readString()
103 if (!checkedOffset.IsValid() || mOffset + length > mLength) in readString()
109 v->assign(reinterpret_cast<const char *>(mData) + mOffset, length); in readString()
110 mOffset = checkedOffset.ValueOrDie(); in readString()
115 angle::CheckedNumeric<size_t> checkedOffset(mOffset); in skip()
118 if (!checkedOffset.IsValid() || mOffset + length > mLength) in skip()
124 mOffset = checkedOffset.ValueOrDie(); in skip()
127 size_t offset() const { return mOffset; } in offset()
130 ASSERT(mLength >= mOffset); in remainingSize()
[all …]
DRefCountObject.h177 OffsetBindingPointer() : mOffset(0), mSize(0) {} in OffsetBindingPointer()
182 mOffset = offset; in set()
186 GLintptr getOffset() const { return mOffset; } in getOffset()
191 return this->get() == other.get() && mOffset == other.mOffset && mSize == other.mSize;
202 mOffset = offset; in assign()
211 GLintptr mOffset; variable
DVertexAttribute.h39 GLintptr getOffset() const { return mOffset; } in getOffset()
40 void setOffset(GLintptr offsetIn) { mOffset = offsetIn; } in setOffset()
63 GLintptr mOffset; variable
DVertexAttribute.cpp18 VertexBinding::VertexBinding(GLuint boundAttribute) : mStride(16u), mDivisor(0), mOffset(0) in VertexBinding()
36 mOffset = binding.mOffset; in operator =()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DBinaryStream.h37 mOffset = 0; in BinaryInputStream()
111 angle::CheckedNumeric<size_t> checkedOffset(mOffset); in readString()
114 if (!checkedOffset.IsValid() || mOffset + length > mLength) in readString()
120 v->assign(reinterpret_cast<const char *>(mData) + mOffset, length); in readString()
121 mOffset = checkedOffset.ValueOrDie(); in readString()
133 angle::CheckedNumeric<size_t> checkedOffset(mOffset); in skip()
136 if (!checkedOffset.IsValid() || mOffset + length > mLength) in skip()
142 mOffset = checkedOffset.ValueOrDie(); in skip()
145 size_t offset() const { return mOffset; } in offset()
148 ASSERT(mLength >= mOffset); in remainingSize()
[all …]
DRefCountObject.h227 OffsetBindingPointer() : mOffset(0), mSize(0) {} in OffsetBindingPointer()
235 GLintptr getOffset() const { return mOffset; } in getOffset()
240 return this->get() == other.get() && mOffset == other.mOffset && mSize == other.mSize;
259 mOffset = offset; in updateOffsetAndSize()
264 mOffset = 0; in updateOffsetAndSize()
273 GLintptr mOffset; variable
DVertexAttribute.h39 GLintptr getOffset() const { return mOffset; } in getOffset()
40 void setOffset(GLintptr offsetIn) { mOffset = offsetIn; } in setOffset()
63 GLintptr mOffset; variable
DVertexAttribute.cpp18 VertexBinding::VertexBinding(GLuint boundAttribute) : mStride(16u), mDivisor(0), mOffset(0) in VertexBinding()
36 mOffset = binding.mOffset; in operator =()
DCLMemory.cpp103 copyValue = &mOffset; in getInfo()
104 copySize = sizeof(mOffset); in getInfo()
179 mOffset(offset), in Memory()
DCLMemory.h86 const size_t mOffset = 0u; variable
124 return mOffset; in getOffset()
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DBitSetIterator.h57 unsigned long mOffset; variable
87 : mBits(bits), mCurrentBit(0), mOffset(0) { in Iterator()
91 mOffset = static_cast<unsigned long>(roundUp(N, BitsPerWord)); in Iterator()
98 mBits.set(mCurrentBit - mOffset, 0);
105 return mOffset == other.mOffset && mBits == other.mBits;
117 while (mOffset < N) { in getNextBit()
120 return ScanForward(wordBits) + mOffset; in getNextBit()
124 mOffset += BitsPerWord; in getNextBit()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DTerribleCommandBuffer.cpp41 char* result = &mBuffer[mOffset]; in GetCmdSpace()
42 mOffset += size; in GetCmdSpace()
44 if (mOffset > sizeof(mBuffer)) { in GetCmdSpace()
55 bool success = mHandler->HandleCommands(mBuffer, mOffset) != nullptr; in Flush()
56 mOffset = 0; in Flush()
DTerribleCommandBuffer.h36 size_t mOffset = 0; variable
/third_party/skia/third_party/externals/dawn/src/common/
DBitSetIterator.h61 unsigned long mOffset; variable
91 : mBits(bits), mCurrentBit(0), mOffset(0) { in Iterator()
95 mOffset = static_cast<unsigned long>(roundUp(N, kBitsPerWord)); in Iterator()
102 mBits.set(mCurrentBit - mOffset, 0);
109 return mOffset == other.mOffset && mBits == other.mBits;
121 while (mOffset < N) { in getNextBit()
124 return ScanForward(wordBits) + mOffset; in getNextBit()
128 mOffset += kBitsPerWord; in getNextBit()
/third_party/skia/third_party/externals/dawn/src/utils/
DTerribleCommandBuffer.cpp41 char* result = &mBuffer[mOffset]; in GetCmdSpace()
42 if (sizeof(mBuffer) - size < mOffset) { in GetCmdSpace()
49 mOffset += size; in GetCmdSpace()
54 bool success = mHandler->HandleCommands(mBuffer, mOffset) != nullptr; in Flush()
55 mOffset = 0; in Flush()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DBuffer.cpp34 mOffset = 0; in Buffer()
71 memcpy(buffer + mOffset, data, size); in bufferData()
92 mOffset = offset; in mapRange()
107 mOffset = 0; in unmap()
DBuffer.h46 GLintptr offset() const { return mOffset; } in offset()
61 GLintptr mOffset; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DResourceMemoryAllocation.cpp21 : mOffset(0), mResourceHeap(nullptr), mMappedPointer(nullptr) { in ResourceMemoryAllocation()
28 : mInfo(info), mOffset(offset), mResourceHeap(resourceHeap), mMappedPointer(mappedPointer) { in ResourceMemoryAllocation()
38 return mOffset; in GetOffset()
DBuddyAllocator.cpp87 if (freeBlock && (freeBlock->mOffset % alignment == 0)) { in GetNextFreeAlignedBlock()
169 BuddyBlock* leftChildBlock = new BuddyBlock(nextLevelSize, currBlock->mOffset); in Allocate()
171 new BuddyBlock(nextLevelSize, currBlock->mOffset + nextLevelSize); in Allocate()
199 return currBlock->mOffset; in Allocate()
212 if (offset < curr->split.pLeft->pBuddy->mOffset) { in Deallocate()
DBuddyAllocator.h58 : mOffset(offset), mSize(size), mState(BlockState::Free) { in BuddyBlock()
63 uint64_t mOffset; member
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DDescriptorHeapAllocator.cpp23 : mDescriptorHeap(nullptr), mSizeIncrement(0), mOffset(0) { in DescriptorHeapHandle()
29 : mDescriptorHeap(descriptorHeap), mSizeIncrement(sizeIncrement), mOffset(offset) { in DescriptorHeapHandle()
39 handle.ptr += mSizeIncrement * (index + mOffset); in GetCPUHandle()
46 handle.ptr += mSizeIncrement * (index + mOffset); in GetGPUHandle()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DMemoryAllocator.cpp31 return mOffset; in GetMemoryOffset()
123 allocation->mOffset = 0; in Allocate()
132 allocation->mOffset = 0; in Free()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dbitset_utils.h167 mBits.reset(index - mOffset); in resetLaterBit()
173 mBits.set(index - mOffset); in setLaterBit()
182 unsigned long mOffset; variable
191 : mBits(bitset), mCurrentBit(0), mOffset(0) in Iterator()
199 mOffset = static_cast<unsigned long>(rx::roundUp(N, BitsPerWord)); in Iterator()
207 mBits.set(mCurrentBit - mOffset, 0);
215 return mOffset == other.mOffset && mBits == other.mBits;
230 while (mOffset < N) in getNextBit()
235 return gl::ScanForward(wordBits) + mOffset; in getNextBit()
239 mOffset += BitsPerWord; in getNextBit()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp51 : mDimension(dimension), mData(data), mOffset(offset), mStride(stride) in VertexData()
56 return mData[mOffset + mStride * vertexNumber + component]; in getValue()
63 unsigned mOffset; member in __anon561b0b6f0111::VertexData
120 size_t destOffset = mOffset + mStride * i + mCTypeSize * j; in fillContainer()
145 mContainer->getAddress() + mOffset); in enable()
153 unsigned mOffset; member
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp51 : mDimension(dimension), mData(data), mOffset(offset), mStride(stride) in VertexData()
56 return mData[mOffset + mStride * vertexNumber + component]; in getValue()
63 unsigned mOffset; member in __anon612454840111::VertexData
120 size_t destOffset = mOffset + mStride * i + mCTypeSize * j; in fillContainer()
145 mContainer->getAddress() + mOffset); in enable()
153 unsigned mOffset; member

12