Home
last modified time | relevance | path

Searched refs:writeByteArray (Results 1 – 25 of 31) sorted by relevance

12

/third_party/skia/src/gpu/
DGrPersistentCacheUtils.cpp42 writer.writeByteArray(shaders[i].c_str(), shaders[i].size()); in PackCachedShaders()
56 writer.writeByteArray(attr.c_str(), attr.size()); in PackCachedShaders()
63 writer.writeByteArray(meta->fPlatformData->data(), meta->fPlatformData->size()); in PackCachedShaders()
/third_party/flutter/skia/src/core/
DSkWriteBuffer.h29 virtual void writeByteArray(const void* data, size_t size) = 0;
31 this->writeByteArray(data->data(), data->size()); in writeDataAsByteArray()
96 void writeByteArray(const void* data, size_t size) override;
DSkTextBlob.cpp665 buffer.writeByteArray(it.glyphs(), it.glyphCount() * sizeof(uint16_t)); in Flatten()
666 buffer.writeByteArray(it.pos(), in Flatten()
671 buffer.writeByteArray(it.clusters(), sizeof(uint32_t) * it.glyphCount()); in Flatten()
672 buffer.writeByteArray(it.text(), it.textSize()); in Flatten()
DSkWriteBuffer.cpp38 void SkBinaryWriteBuffer::writeByteArray(const void* data, size_t size) { in writeByteArray() function in SkBinaryWriteBuffer
DSkPicture.cpp299 buffer.writeByteArray(&info.fMagic, sizeof(info.fMagic)); in Flatten()
/third_party/skia/src/core/
DSkWriteBuffer.h30 virtual void writeByteArray(const void* data, size_t size) = 0;
35 this->writeByteArray(data->data(), data->size()); in writeDataAsByteArray()
103 void writeByteArray(const void* data, size_t size) override;
DSkVertices.cpp259 buffer.writeByteArray(fVertices->fPositions, sizes.fVSize); in encode()
260 buffer.writeByteArray(fVertices->fTexs, sizes.fTSize); in encode()
261 buffer.writeByteArray(fVertices->fColors, sizes.fCSize); in encode()
263 buffer.writeByteArray(fVertices->fIndices, sizes.fISize); in encode()
DSkTextBlob.cpp676 buffer.writeByteArray(it.glyphs(), it.glyphCount() * sizeof(uint16_t)); in Flatten()
677 buffer.writeByteArray(it.pos(), in Flatten()
682 buffer.writeByteArray(it.clusters(), sizeof(uint32_t) * it.glyphCount()); in Flatten()
683 buffer.writeByteArray(it.text(), it.textSize()); in Flatten()
DSkWriteBuffer.cpp40 void SkBinaryWriteBuffer::writeByteArray(const void* data, size_t size) { in writeByteArray() function in SkBinaryWriteBuffer
DSkPicture.cpp302 buffer.writeByteArray(&info.fMagic, sizeof(info.fMagic)); in Flatten()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java309 public abstract void writeByteArray(int fieldNumber, byte[] value) throws IOException; in writeByteArray() method in CodedOutputStream
313 public abstract void writeByteArray(int fieldNumber, byte[] value, int offset, int length) in writeByteArray() method in CodedOutputStream
1226 public final void writeByteArray(final int fieldNumber, final byte[] value) throws IOException { in writeByteArray() method in CodedOutputStream.ArrayEncoder
1227 writeByteArray(fieldNumber, value, 0, value.length); in writeByteArray()
1231 public final void writeByteArray( in writeByteArray() method in CodedOutputStream.ArrayEncoder
1619 public void writeByteArray(final int fieldNumber, final byte[] value) throws IOException { in writeByteArray() method in CodedOutputStream.SafeDirectNioEncoder
1620 writeByteArray(fieldNumber, value, 0, value.length); in writeByteArray()
1624 public void writeByteArray( in writeByteArray() method in CodedOutputStream.SafeDirectNioEncoder
1953 public void writeByteArray(int fieldNumber, byte[] value) throws IOException { in writeByteArray() method in CodedOutputStream.UnsafeDirectNioEncoder
1954 writeByteArray(fieldNumber, value, 0, value.length); in writeByteArray()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DAbstractProto3LiteSchemaTest.java59 codedOutput.writeByteArray(Proto3MessageLite.FIELD_STRING_9_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
67 codedOutput.writeByteArray(Proto3MessageLite.FIELD_STRING_LIST_26_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
DAbstractProto3SchemaTest.java59 codedOutput.writeByteArray(Proto3Message.FIELD_STRING_9_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
67 codedOutput.writeByteArray(Proto3Message.FIELD_STRING_LIST_26_FIELD_NUMBER, invalid); in serializedBytesWithInvalidUtf8()
/third_party/flutter/skia/src/effects/
DSkOverdrawColorFilter.cpp67 buffer.writeByteArray(fColors, kNumColors * sizeof(SkPMColor)); in flatten()
DSkEmbossMaskFilter.cpp140 buffer.writeByteArray(&tmpLight, sizeof(tmpLight)); in flatten()
DSkTableMaskFilter.cpp95 wb.writeByteArray(fTable, 256); in flatten()
/third_party/flutter/skia/tools/debugger/
DJsonWriteBuffer.h23 void writeByteArray(const void* data, size_t size) override;
DJsonWriteBuffer.cpp28 void JsonWriteBuffer::writeByteArray(const void* data, size_t size) { in writeByteArray() function in JsonWriteBuffer
/third_party/skia/tools/debugger/
DJsonWriteBuffer.h23 void writeByteArray(const void* data, size_t size) override;
DJsonWriteBuffer.cpp28 void JsonWriteBuffer::writeByteArray(const void* data, size_t size) { in writeByteArray() function in JsonWriteBuffer
/third_party/skia/src/effects/
DSkEmbossMaskFilter.cpp141 buffer.writeByteArray(&tmpLight, sizeof(tmpLight)); in flatten()
DSkTableMaskFilter.cpp96 wb.writeByteArray(fTable, 256); in flatten()
DSkTableColorFilter.cpp84 buffer.writeByteArray(fBitmap.getAddr8(0,0), 4*256); in flatten()
/third_party/flutter/skia/src/shaders/
DSkRTShader.cpp106 buffer.writeByteArray(nullptr, 0); in flatten()
/third_party/skia/tests/
DSerializationTest.cpp98 writer.writeByteArray(data, arraySize); in Write()
636 writer.writeByteArray(data, kArraySize); in DEF_TEST()
651 writer.writeByteArray(nullptr, 0); in DEF_TEST()

12