Searched refs:SkToU32 (Results 26 - 50 of 68) sorted by relevance
123
/external/skia/src/core/ |
H A D | SkString.cpp | 357 fRec->fLength = SkToU32(len); 365 fRec->fLength = SkToU32(len); 408 fRec->fLength = SkToU32(length + len);
|
H A D | SkTSort.h | 198 int depth = 2 * SkNextLog2(SkToU32(right - left));
|
H A D | SkWriter32.h | 205 uint32_t len = data ? SkToU32(data->size()) : 0;
|
H A D | SkPictureData.cpp | 179 buffer.writeUInt(SkToU32(size)); 184 stream->write32(SkToU32(size));
|
H A D | SkBitmap.cpp | 135 fPixmap.reset(info.makeAlphaType(newAT), nullptr, SkToU32(rowBytes));
|
H A D | SkMipMap.cpp | 648 rowBytes = SkToU32(SkColorTypeMinRowBytes(ct, width));
|
/external/skia/include/gpu/ |
H A D | GrResourceKey.h | 111 SkASSERT(SkToU32(dataIdx) < dataCount);
|
/external/skia/src/utils/ |
H A D | SkMultiPictureDocument.cpp | 73 wStream->write32(SkToU32(fPages.count()));
|
/external/skqp/src/core/ |
H A D | SkTSort.h | 198 int depth = 2 * SkNextLog2(SkToU32(right - left));
|
H A D | SkWriter32.h | 205 uint32_t len = data ? SkToU32(data->size()) : 0;
|
H A D | SkPictureData.cpp | 179 buffer.writeUInt(SkToU32(size)); 184 stream->write32(SkToU32(size));
|
H A D | SkBitmap.cpp | 135 fPixmap.reset(info.makeAlphaType(newAT), nullptr, SkToU32(rowBytes));
|
/external/skqp/src/utils/ |
H A D | SkMultiPictureDocument.cpp | 73 wStream->write32(SkToU32(fPages.count()));
|
/external/skia/tests/ |
H A D | TextBlobTest.cpp | 367 run.clusters[i] = SkTMin(SkToU32(i), SkToU32(strlen(text2)));
|
H A D | MathTest.cpp | 438 SkToU32(5*1024*1024); 439 SkToU32(-5);
|
/external/skqp/tests/ |
H A D | TextBlobTest.cpp | 367 run.clusters[i] = SkTMin(SkToU32(i), SkToU32(strlen(text2)));
|
H A D | MathTest.cpp | 438 SkToU32(5*1024*1024); 439 SkToU32(-5);
|
H A D | StreamTest.cpp | 339 SkToU32(SkTMin(sizeof(buffer), asset->getLength() - i));
|
/external/skia/include/core/ |
H A D | SkTypes.h | 196 #define SkToU32(x) SkTo<uint32_t>(x) macro
|
/external/skqp/include/core/ |
H A D | SkTypes.h | 196 #define SkToU32(x) SkTo<uint32_t>(x) macro
|
/external/skqp/include/gpu/ |
H A D | GrResourceKey.h | 111 SkASSERT(SkToU32(dataIdx) < dataCount);
|
/external/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 1230 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 D | SkPDFDevice.cpp | 1230 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 D | SkXPSDevice.cpp | 383 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra)); 393 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra));
|
/external/skqp/src/xps/ |
H A D | SkXPSDevice.cpp | 383 *offsetPtr = SkEndian_SwapBE32(SkToU32(extra)); 393 SkToU32(SkEndian_SwapBE32(SkToU32(tableDirectory->offset)) + extra));
|
Completed in 536 milliseconds
123