Home
last modified time | relevance | path

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

/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()
DProgramLinkedResources.cpp398 mOffset(uniform.offset), in FlattenUniformVisitor()
547 int getOffset() const { return mStructStackSize == 0 ? mOffset : -1; } in getOffset()
555 int mOffset; member in gl::__anon76e3117f0111::FlattenUniformVisitor
/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()
DTerribleCommandBuffer.h36 size_t mOffset = 0; variable
/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
DVertexDataManager.cpp84 input = static_cast<const char*>(buffer->data()) + attribute.mOffset; in writeAttributeData()
168 translated[i].offset = firstVertexIndex * attrib.stride() + static_cast<int>(attrib.mOffset); in prepareVertexData()
DContext.h282 intptr_t mOffset; member
/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
DResourceMemoryAllocation.h74 uint64_t mOffset; variable
/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 __anon4a8022700111::VertexData
120 size_t destOffset = mOffset + mStride * i + mCTypeSize * j; in fillContainer()
145 mContainer->getAddress() + mOffset); in enable()
153 unsigned mOffset; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAMDGPUMetadata.h196 uint32_t mOffset = 0; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp8415 BufferViewHelper::BufferViewHelper() : mOffset(0), mSize(0) {} in BufferViewHelper()
8419 std::swap(mOffset, other.mOffset); in BufferViewHelper()
8431 mOffset = offset; in init()
8468 mOffset = 0; in release()
8482 mOffset = 0; in destroy()
8516 viewCreateInfo.offset = mOffset + bufferOffset; in getView()
Dvk_helpers.h2616 VkDeviceSize mOffset; variable
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp122308 uint32_t mOffset; member
171445 uint32_t mOffset; member in nsCSSScannerPosition
171500 { return mOffset; } in GetTokenEndOffset()
171606 uint32_t mOffset; member in nsCSSScanner
171644 uint32_t mOffset; member in nsCSSGridTemplateAreaScanner
174582 nsStyleSides mOffset; member
174661 return mOffset.Get(aSide).HasPercent(); in OffsetHasPercent()