Home
last modified time | relevance | path

Searched refs:specific_key (Results 1 - 4 of 4) sorted by relevance

/third_party/libwebsockets/lib/misc/cache-ttl/
H A Dheap.c235 const char *specific_key) in lws_cache_heap_specific()
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
234 lws_cache_heap_specific(lws_cache_ttl_lru_t_heap_t *cache, const char *specific_key) lws_cache_heap_specific() argument
[all...]
H A Dlws-cache-ttl.c57 const char *specific_key, const uint8_t *source, in lws_cache_write_through()
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()
56 lws_cache_write_through(struct lws_cache_ttl_lru *cache, const char *specific_key, const uint8_t *source, size_t size, lws_usec_t expiry, void **ppay) lws_cache_write_through() argument
H A Dfile.c698 /* specific_key and expiry are ignored, since it must be encoded in payload */
702 const char *specific_key, const uint8_t *source, in lws_cache_nscookiejar_write()
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()
846 ctx.specific_key = specific_key; in lws_cache_nscookiejar_get()
701 lws_cache_nscookiejar_write(struct lws_cache_ttl_lru *_c, const char *specific_key, const uint8_t *source, size_t size, lws_usec_t expiry, void **ppvoid) lws_cache_nscookiejar_write() argument
827 lws_cache_nscookiejar_get(struct lws_cache_ttl_lru *_c, const char *specific_key, const void **pdata, size_t *psize) lws_cache_nscookiejar_get() argument
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-cache-ttl.h59 * \param specific_key: a key string that identifies the item in the cache
76 const char *specific_key, const uint8_t *source,
139 * \param specific_key: the key string of the item to get
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,

Completed in 4 milliseconds