Home
last modified time | relevance | path

Searched refs:get_cache (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkResourceCache.cpp462 static SkResourceCache* get_cache() { in get_cache() function
477 return get_cache()->getTotalBytesUsed(); in GetTotalBytesUsed()
482 return get_cache()->getTotalByteLimit(); in GetTotalByteLimit()
487 return get_cache()->setTotalByteLimit(newLimit); in SetTotalByteLimit()
492 return get_cache()->discardableFactory(); in GetDiscardableFactory()
497 return get_cache()->newCachedData(bytes); in NewCachedData()
502 get_cache()->dump(); in Dump()
507 return get_cache()->setSingleAllocationByteLimit(size); in SetSingleAllocationByteLimit()
512 return get_cache()->getSingleAllocationByteLimit(); in GetSingleAllocationByteLimit()
517 return get_cache()->getEffectiveSingleAllocationByteLimit(); in GetEffectiveSingleAllocationByteLimit()
[all …]
/external/skqp/src/core/
DSkResourceCache.cpp456 static SkResourceCache* get_cache() { in get_cache() function
471 return get_cache()->getTotalBytesUsed(); in GetTotalBytesUsed()
476 return get_cache()->getTotalByteLimit(); in GetTotalByteLimit()
481 return get_cache()->setTotalByteLimit(newLimit); in SetTotalByteLimit()
486 return get_cache()->discardableFactory(); in GetDiscardableFactory()
491 return get_cache()->newCachedData(bytes); in NewCachedData()
496 get_cache()->dump(); in Dump()
501 return get_cache()->setSingleAllocationByteLimit(size); in SetSingleAllocationByteLimit()
506 return get_cache()->getSingleAllocationByteLimit(); in GetSingleAllocationByteLimit()
511 return get_cache()->getEffectiveSingleAllocationByteLimit(); in GetEffectiveSingleAllocationByteLimit()
[all …]
/external/python/pybind11/include/pybind11/
Dpytypes.h508 get_cache() = reinterpret_borrow<object>(object_or_cast(std::forward<T>(value)));
523 operator object() const { return get_cache(); } in object()
524 PyObject *ptr() const { return get_cache().ptr(); } in ptr()
525 template <typename T> T cast() const { return get_cache().template cast<T>(); } in cast()
528 object &get_cache() const { in get_cache() function