Searched refs:readPtr (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/tests/ |
D | Writer32Test.cpp | 111 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()
|
D | StreamTest.cpp | 214 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/ |
D | ProgramVk.cpp | 100 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/ |
D | mtl_command_buffer.h | 259 inline void resetReadPtr(size_t readPtr) in resetReadPtr() argument 261 ASSERT(readPtr <= mBuffer.size()); in resetReadPtr() 262 mReadPtr = readPtr; in resetReadPtr()
|
D | ProgramMtl.mm | 132 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);
|