Searched refs:SkToU32 (Results 26 - 50 of 68) sorted by relevance

123

/external/skia/src/core/
H A DSkString.cpp357 fRec->fLength = SkToU32(len);
365 fRec->fLength = SkToU32(len);
408 fRec->fLength = SkToU32(length + len);
H A DSkTSort.h198 int depth = 2 * SkNextLog2(SkToU32(right - left));
H A DSkWriter32.h205 uint32_t len = data ? SkToU32(data->size()) : 0;
H A DSkPictureData.cpp179 buffer.writeUInt(SkToU32(size));
184 stream->write32(SkToU32(size));
H A DSkBitmap.cpp135 fPixmap.reset(info.makeAlphaType(newAT), nullptr, SkToU32(rowBytes));
H A DSkMipMap.cpp648 rowBytes = SkToU32(SkColorTypeMinRowBytes(ct, width));
/external/skia/include/gpu/
H A DGrResourceKey.h111 SkASSERT(SkToU32(dataIdx) < dataCount);
/external/skia/src/utils/
H A DSkMultiPictureDocument.cpp73 wStream->write32(SkToU32(fPages.count()));
/external/skqp/src/core/
H A DSkTSort.h198 int depth = 2 * SkNextLog2(SkToU32(right - left));
H A DSkWriter32.h205 uint32_t len = data ? SkToU32(data->size()) : 0;
H A DSkPictureData.cpp179 buffer.writeUInt(SkToU32(size));
184 stream->write32(SkToU32(size));
H A DSkBitmap.cpp135 fPixmap.reset(info.makeAlphaType(newAT), nullptr, SkToU32(rowBytes));
/external/skqp/src/utils/
H A DSkMultiPictureDocument.cpp73 wStream->write32(SkToU32(fPages.count()));
/external/skia/tests/
H A DTextBlobTest.cpp367 run.clusters[i] = SkTMin(SkToU32(i), SkToU32(strlen(text2)));
H A DMathTest.cpp438 SkToU32(5*1024*1024);
439 SkToU32(-5);
/external/skqp/tests/
H A DTextBlobTest.cpp367 run.clusters[i] = SkTMin(SkToU32(i), SkToU32(strlen(text2)));
H A DMathTest.cpp438 SkToU32(5*1024*1024);
439 SkToU32(-5);
H A DStreamTest.cpp339 SkToU32(SkTMin(sizeof(buffer), asset->getLength() - i));
/external/skia/include/core/
H A DSkTypes.h196 #define SkToU32(x) SkTo<uint32_t>(x) macro
/external/skqp/include/core/
H A DSkTypes.h196 #define SkToU32(x) SkTo<uint32_t>(x) macro
/external/skqp/include/gpu/
H A DGrResourceKey.h111 SkASSERT(SkToU32(dataIdx) < dataCount);
/external/skia/src/pdf/
H A DSkPDFDevice.cpp1230 clusters[i] = SkToU32(txtPtr - (const char*)sourceText);
1235 utf8ByteCount = SkToU32(sourceByteCount);
1242 utf8ByteCount = SkToU32(SkUTF16_ToUTF8(utf16ptr, utf16count));
1248 clusters[clusterIndex++] = SkToU32(txtPtr - utf8Text);
1262 utf8ByteCount += SkToU32(SkUTF8_FromUnichar(utf32[i]));
1268 clusters[i] = SkToU32(txtPtr - utf8Text);
1277 return Clusterator(clusters, utf8Text, SkToU32(glyphCount), utf8ByteCount);
1441 clusterator = Clusterator(clusters, utf8Text, SkToU32(glyphCount), textByteLength);
1449 clusterator = Clusterator(SkToU32(glyphCount));
/external/skqp/src/pdf/
H A DSkPDFDevice.cpp1230 clusters[i] = SkToU32(txtPtr - (const char*)sourceText);
1235 utf8ByteCount = SkToU32(sourceByteCount);
1242 utf8ByteCount = SkToU32(SkUTF16_ToUTF8(utf16ptr, utf16count));
1248 clusters[clusterIndex++] = SkToU32(txtPtr - utf8Text);
1262 utf8ByteCount += SkToU32(SkUTF8_FromUnichar(utf32[i]));
1268 clusters[i] = SkToU32(txtPtr - utf8Text);
1277 return Clusterator(clusters, utf8Text, SkToU32(glyphCount), utf8ByteCount);
1441 clusterator = Clusterator(clusters, utf8Text, SkToU32(glyphCount), textByteLength);
1449 clusterator = Clusterator(SkToU32(glyphCount));
/external/skia/src/xps/
H A DSkXPSDevice.cpp383 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra));
393 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra));
/external/skqp/src/xps/
H A DSkXPSDevice.cpp383 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra));
393 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra));

Completed in 536 milliseconds

123