Searched refs:SkToU32 (Results 1 - 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/skia/src/utils/
H A DSkBitmapHasher.cpp37 write_int32_to_buffer(SkToU32(bitmap.width()), &out);
38 write_int32_to_buffer(SkToU32(bitmap.height()), &out);
/external/skia/src/utils/
H A DSkBitmapHasher.cpp37 write_int32_to_buffer(SkToU32(bitmap.width()), &out);
38 write_int32_to_buffer(SkToU32(bitmap.height()), &out);
/external/chromium_org/third_party/skia/src/core/
H A DSkWriteBuffer.cpp44 fWriter.write32(SkToU32(size));
89 fWriter.writeInt(SkToU32(byteLength));
134 fWriter.write32(SkToU32(length));
148 buffer->writeUInt(SkToU32(data->size()));
320 fWriter.overwriteTAt(offset - sizeof(uint32_t), SkToU32(objSize));
H A DSkDebug.cpp39 uint32_t SkToU32(uintmax_t x) { function
H A DSkWriter32.cpp50 *ptr = SkToU32(len);
H A DSkFontDescriptor.cpp28 const uint32_t length = SkToU32(stream->readPackedUInt());
H A DSkPictureStateTree.cpp33 draw->fOffset = SkToU32(offset);
84 n->fOffset = SkToU32(offset);
H A DSkDescriptor.h47 entry->fLen = SkToU32(length);
H A DSkString.cpp218 rec->fLength = SkToU32(len);
389 fRec->fLength = SkToU32(len);
397 fRec->fLength = SkToU32(len);
475 fRec->fLength = SkToU32(length + len);
H A DSkPictureRecord.h155 fWriter.writeInt(SkToU32(*size));
157 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size)));
/external/skia/src/core/
H A DSkWriteBuffer.cpp44 fWriter.write32(SkToU32(size));
89 fWriter.writeInt(SkToU32(byteLength));
134 fWriter.write32(SkToU32(length));
148 buffer->writeUInt(SkToU32(data->size()));
320 fWriter.overwriteTAt(offset - sizeof(uint32_t), SkToU32(objSize));
H A DSkDebug.cpp39 uint32_t SkToU32(uintmax_t x) { function
H A DSkFontDescriptor.cpp28 const uint32_t length = SkToU32(stream->readPackedUInt());
H A DSkWriter32.cpp50 *ptr = SkToU32(len);
H A DSkPictureStateTree.cpp33 draw->fOffset = SkToU32(offset);
83 n->fOffset = SkToU32(offset);
H A DSkDescriptor.h47 entry->fLen = SkToU32(length);
H A DSkString.cpp218 rec->fLength = SkToU32(len);
389 fRec->fLength = SkToU32(len);
397 fRec->fLength = SkToU32(len);
475 fRec->fLength = SkToU32(length + len);
H A DSkPictureRecord.h159 fWriter.writeInt(SkToU32(*size));
161 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size)));
H A DSkPicture.cpp424 buffer.writeUInt(SkToU32(size));
429 stream->write32(SkToU32(size));
/external/chromium_org/third_party/skia/src/sfnt/
H A DSkOTUtils.cpp106 currentEntry->offset = SkEndian_SwapBE32(SkToU32(oldOffset - oldNameTablePhysicalSize));
115 nameTableEntry->logicalLength = SkEndian_SwapBE32(SkToU32(nameTableLogicalSize));
116 nameTableEntry->offset = SkEndian_SwapBE32(SkToU32(originalDataSize));
/external/skia/src/sfnt/
H A DSkOTUtils.cpp106 currentEntry->offset = SkEndian_SwapBE32(SkToU32(oldOffset - oldNameTablePhysicalSize));
115 nameTableEntry->logicalLength = SkEndian_SwapBE32(SkToU32(nameTableLogicalSize));
116 nameTableEntry->offset = SkEndian_SwapBE32(SkToU32(originalDataSize));
/external/chromium_org/third_party/skia/src/pipe/
H A DSkGPipeWrite.cpp65 writer->write32(SkToU32(size));
722 fWriter.write32(SkToU32(count));
880 fWriter.write32(SkToU32(byteLength));
896 fWriter.write32(SkToU32(byteLength));
912 fWriter.write32(SkToU32(byteLength));
935 fWriter.write32(SkToU32(byteLength));
1011 fWriter.write32(SkToU32(blobBuffer.bytesWritten()));
1144 fWriter.write32(SkToU32(size));
1294 this->writeOp(kPaintOp_DrawOp, 0, SkToU32(size));
1314 this->writeOp(kSetAnnotation_DrawOp, 0, SkToU32(siz
[all...]
/external/skia/src/pipe/
H A DSkGPipeWrite.cpp62 writer->write32(SkToU32(size));
709 fWriter.write32(SkToU32(count));
867 fWriter.write32(SkToU32(byteLength));
883 fWriter.write32(SkToU32(byteLength));
899 fWriter.write32(SkToU32(byteLength));
922 fWriter.write32(SkToU32(byteLength));
1008 fWriter.write32(SkToU32(size));
1158 this->writeOp(kPaintOp_DrawOp, 0, SkToU32(size));
1178 this->writeOp(kSetAnnotation_DrawOp, 0, SkToU32(size));
/external/chromium_org/third_party/skia/include/core/
H A DSkTypes.h243 SK_API uint32_t SkToU32(uintmax_t);
253 #define SkToU32(x) ((uint32_t)(x)) macro
/external/skia/include/core/
H A DSkTypes.h243 SK_API uint32_t SkToU32(uintmax_t);
253 #define SkToU32(x) ((uint32_t)(x)) macro

Completed in 1082 milliseconds

12