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/libxkbcommon/src/x11/
Dutil.c142 get_cache(struct xkb_context *ctx, xcb_connection_t *conn) in get_cache() function
178 struct x11_atom_cache *cache = get_cache(interner->ctx, interner->conn); in x11_atom_interner_adopt_atom()
224 struct x11_atom_cache *cache = get_cache(ctx, conn); in x11_atom_interner_round_trip()
/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