Searched refs:get_cache (Results 1 – 2 of 2) sorted by relevance
462 static SkResourceCache* get_cache() { in get_cache() function477 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 …]
508 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