Home
last modified time | relevance | path

Searched refs:specific_key (Results 1 – 5 of 5) sorted by relevance

/external/libwebsockets/lib/misc/cache-ttl/
Dheap.c235 const char *specific_key) in lws_cache_heap_specific() argument
243 if (!strcmp(specific_key, iname)) in lws_cache_heap_specific()
322 lws_cache_heap_write(struct lws_cache_ttl_lru *_c, const char *specific_key, in lws_cache_heap_write() argument
329 size_t kl = strlen(specific_key); in lws_cache_heap_write()
359 if (!strcmp(iname + 1, specific_key)) in lws_cache_heap_write()
380 lws_cache_heap_invalidate(&cache->cache, specific_key); in lws_cache_heap_write()
401 memcpy(p + size, specific_key, kl + 1); in lws_cache_heap_write()
425 lws_cache_heap_get(struct lws_cache_ttl_lru *_c, const char *specific_key, in lws_cache_heap_get() argument
431 item = lws_cache_heap_specific(cache, specific_key); in lws_cache_heap_get()
448 lws_cache_heap_invalidate(struct lws_cache_ttl_lru *_c, const char *specific_key) in lws_cache_heap_invalidate() argument
[all …]
Dlws-cache-ttl.c57 const char *specific_key, const uint8_t *source, in lws_cache_write_through() argument
63 lws_cache_item_remove(cache, specific_key); in lws_cache_write_through()
76 r = levels[n]->info.ops->write(levels[n], specific_key, in lws_cache_write_through()
203 lws_cache_item_get(struct lws_cache_ttl_lru *cache, const char *specific_key, in lws_cache_item_get() argument
207 if (!cache->info.ops->get(cache, specific_key, pdata, psize)) { in lws_cache_item_get()
Dfile.c702 const char *specific_key, const uint8_t *source, in lws_cache_nscookiejar_write() argument
729 const char *specific_key; member
760 lwsl_cache("%s: %s %s\n", __func__, ctx->specific_key, tag); in nsc_get_cb()
762 if (strcmp(ctx->specific_key, tag)) { in nsc_get_cb()
778 ctx->specific_key, (const uint8_t *)buf, in nsc_get_cb()
800 if (ctx->l1->info.ops->write(ctx->l1, ctx->specific_key, NULL, in nsc_get_cb()
828 const char *specific_key, const void **pdata, in lws_cache_nscookiejar_get() argument
846 ctx.specific_key = specific_key; in lws_cache_nscookiejar_get()
/external/libwebsockets/include/libwebsockets/
Dlws-cache-ttl.h76 const char *specific_key, const uint8_t *source,
153 lws_cache_item_get(struct lws_cache_ttl_lru *cache, const char *specific_key,
269 (*write)(struct lws_cache_ttl_lru *cache, const char *specific_key,
290 (*get)(struct lws_cache_ttl_lru *cache, const char *specific_key,
/external/libwebsockets/READMEs/
DREADME.lws_cache.md82 const char *specific_key, const uint8_t *source,
111 lws_cache_item_get(struct lws_cache_ttl_lru *cache, const char *specific_key,