Home
last modified time | relevance | path

Searched refs:bytesNeeded (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/core/
DSkStrikeCache.cpp229 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/
DSkStrikeCache.cpp463 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()
DSkAAClip.cpp1037 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/
Dtinystr.h226 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/
Dtinystr.h226 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/
DRegionTest.cpp270 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/
DRegionTest.cpp270 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/
Descapesrc.cpp142 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/
Descapesrc.cpp142 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/
Descapesrc.cpp142 uint8_t bytesNeeded = U8_LENGTH(ch); in appendUtf8() local
143 if(bytesNeeded == 0) { in appendUtf8()
/third_party/icu/icu4c/source/tools/escapesrc/
Descapesrc.cpp142 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/
DTransformFeedbackTest.cpp298 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/
DTransformFeedbackTest.cpp810 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()