Searched refs:readPtr (Results 1 – 9 of 9) sorted by relevance
/third_party/flutter/skia/tests/ |
D | Writer32Test.cpp | 95 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()
|
D | StreamTest.cpp | 209 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/ |
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);
|
/third_party/flutter/skia/src/core/ |
D | SkReader32.h | 64 void* readPtr() { in readPtr() function
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 101 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()
|