/third_party/skia/src/core/ |
D | SkStrikeCache.cpp | 229 size_t bytesNeeded = 0; in internalPurge() local 231 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge() 233 bytesNeeded = std::max(bytesNeeded, minBytesNeeded); in internalPurge() 234 if (bytesNeeded) { in internalPurge() 236 bytesNeeded = std::max(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge() 247 if (!countNeeded && !bytesNeeded) { in internalPurge() 257 while (strike != nullptr && (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
|
/third_party/flutter/skia/src/core/ |
D | SkStrikeCache.cpp | 463 size_t bytesNeeded = 0; in internalPurge() local 465 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge() 467 bytesNeeded = SkTMax(bytesNeeded, minBytesNeeded); in internalPurge() 468 if (bytesNeeded) { in internalPurge() 470 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge() 481 if (!countNeeded && !bytesNeeded) { in internalPurge() 491 while (node != nullptr && (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
|
D | SkAAClip.cpp | 1037 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish() local 1038 SkASSERT(bytesNeeded == n); in finish()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
D | tinystr.h | 226 const size_type bytesNeeded = sizeof(Rep) + cap; in init() local 227 const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); in init()
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
D | tinystr.h | 226 const size_type bytesNeeded = sizeof(Rep) + cap; in init() local 227 const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); in init()
|
/third_party/skia/tests/ |
D | RegionTest.cpp | 270 const size_t bytesNeeded = region.writeToMemory(nullptr); in test_write() local 271 SkAutoMalloc storage(bytesNeeded); in test_write() 273 REPORTER_ASSERT(r, bytesWritten == bytesNeeded); in test_write() 277 REPORTER_ASSERT(r, copy.readFromMemory(storage.get(), bytesNeeded)); in test_write()
|
/third_party/flutter/skia/tests/ |
D | RegionTest.cpp | 270 const size_t bytesNeeded = region.writeToMemory(nullptr); in test_write() local 271 SkAutoMalloc storage(bytesNeeded); in test_write() 273 REPORTER_ASSERT(r, bytesWritten == bytesNeeded); in test_write() 277 REPORTER_ASSERT(r, copy.readFromMemory(storage.get(), bytesNeeded)); in test_write()
|
/third_party/node/deps/icu-small/source/tools/escapesrc/ |
D | escapesrc.cpp | 142 uint8_t bytesNeeded = U8_LENGTH(ch); in appendUtf8() local 143 if(bytesNeeded == 0) { in appendUtf8()
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/escapesrc/ |
D | escapesrc.cpp | 142 uint8_t bytesNeeded = U8_LENGTH(ch); in appendUtf8() local 143 if(bytesNeeded == 0) { in appendUtf8()
|
/third_party/skia/third_party/externals/icu/source/tools/escapesrc/ |
D | escapesrc.cpp | 142 uint8_t bytesNeeded = U8_LENGTH(ch); in appendUtf8() local 143 if(bytesNeeded == 0) { in appendUtf8()
|
/third_party/icu/icu4c/source/tools/escapesrc/ |
D | escapesrc.cpp | 142 uint8_t bytesNeeded = U8_LENGTH(ch); in appendUtf8() local 143 if(bytesNeeded == 0) { in appendUtf8()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TransformFeedbackTest.cpp | 298 const size_t bytesNeeded = stride * verticesToDraw; in TEST_P() local 304 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded, &tfData, GL_STATIC_DRAW); in TEST_P() 312 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded - 1, &tfData, GL_STATIC_DRAW); in TEST_P() 321 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded, &tfData, GL_STATIC_DRAW); in TEST_P() 323 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded - 1, &tfData, GL_STATIC_DRAW); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | TransformFeedbackTest.cpp | 810 const size_t bytesNeeded = stride * verticesToDraw; in TEST_P() local 816 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded, &tfData, GL_STATIC_DRAW); in TEST_P() 824 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded - 1, &tfData, GL_STATIC_DRAW); in TEST_P() 833 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded, &tfData, GL_STATIC_DRAW); in TEST_P() 835 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bytesNeeded - 1, &tfData, GL_STATIC_DRAW); in TEST_P()
|