Home
last modified time | relevance | path

Searched refs:readPtr (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/tests/
DWriter32Test.cpp95 REPORTER_ASSERT(reporter, reader.readPtr() == p0); in test_ptr()
97 REPORTER_ASSERT(reporter, reader.readPtr() == p1); in test_ptr()
173 const char* readPtr = static_cast<const char*>(reader.skip(len)); in testWritePad() local
175 REPORTER_ASSERT(reporter, memcmp(readPtr, originalData.get(), len) == 0); in testWritePad()
177 const char* stop = readPtr + SkAlign4(len); in testWritePad()
178 readPtr += len; in testWritePad()
179 while (readPtr < stop) { in testWritePad()
180 REPORTER_ASSERT(reporter, *readPtr++ == 0); in testWritePad()
DStreamTest.cpp209 void* readPtr = peekStorage.get(); in compare_peek_to_read() local
212 const size_t bytesRead = stream->read(readPtr, bytesToPeek); in compare_peek_to_read()
220 REPORTER_ASSERT(reporter, !memcmp(peekPtr, readPtr, bytesPeeked)); in compare_peek_to_read()
/third_party/skia/tests/
DWriter32Test.cpp111 const char* readPtr = static_cast<const char*>(reader.skip(len)); in testWritePad() local
113 REPORTER_ASSERT(reporter, memcmp(readPtr, originalData.get(), len) == 0); in testWritePad()
115 const char* stop = readPtr + SkAlign4(len); in testWritePad()
116 readPtr += len; in testWritePad()
117 while (readPtr < stop) { in testWritePad()
118 REPORTER_ASSERT(reporter, *readPtr++ == 0); in testWritePad()
DStreamTest.cpp214 void* readPtr = peekStorage.get(); in compare_peek_to_read() local
217 const size_t bytesRead = stream->read(readPtr, bytesToPeek); in compare_peek_to_read()
225 REPORTER_ASSERT(reporter, !memcmp(peekPtr, readPtr, bytesPeeked)); in compare_peek_to_read()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp100 const T *readPtr = v + (readIndex * componentCount); in UpdateDefaultUniformBlock() local
102 memcpy(writePtr, readPtr, elementSize); in UpdateDefaultUniformBlock()
121 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock() local
122 memcpy(dst, readPtr, elementSize); in ReadFromDefaultUniformBlock()
128 const uint8_t *readPtr = source + arrayOffset; in ReadFromDefaultUniformBlock() local
129 memcpy(dst, readPtr, elementSize); in ReadFromDefaultUniformBlock()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_command_buffer.h259 inline void resetReadPtr(size_t readPtr) in resetReadPtr() argument
261 ASSERT(readPtr <= mBuffer.size()); in resetReadPtr()
262 mReadPtr = readPtr; in resetReadPtr()
DProgramMtl.mm132 const T *readPtr = v + (readIndex * componentCount);
134 memcpy(writePtr, readPtr, elementSize);
153 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride;
154 memcpy(dst, readPtr, elementSize);
160 const uint8_t *readPtr = source + arrayOffset;
161 memcpy(dst, readPtr, elementSize);
/third_party/flutter/skia/src/core/
DSkReader32.h64 void* readPtr() { in readPtr() function
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp101 const T *readPtr = v + (readIndex * componentCount); in UpdateDefaultUniformBlock() local
103 memcpy(writePtr, readPtr, elementSize); in UpdateDefaultUniformBlock()
122 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock() local
123 memcpy(dst, readPtr, elementSize); in ReadFromDefaultUniformBlock()
129 const uint8_t *readPtr = source + arrayOffset; in ReadFromDefaultUniformBlock() local
130 memcpy(dst, readPtr, elementSize); in ReadFromDefaultUniformBlock()