Home
last modified time | relevance | path

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

/third_party/libwebsockets/include/libwebsockets/
H A Dlws-cache-ttl.h96 * \param wildcard_key: the item key string, may contain wildcards
120 * match the results' original wildcard_key. For the typical case new items
132 lws_cache_lookup(struct lws_cache_ttl_lru *cache, const char *wildcard_key,
160 * \param wildcard_key: the item key string
162 * Removes any copy of any item matching the \p wildcard_key from any cache
169 lws_cache_item_remove(struct lws_cache_ttl_lru *cache, const char *wildcard_key);
281 (*lookup)(struct lws_cache_ttl_lru *cache, const char *wildcard_key,
286 (*invalidate)(struct lws_cache_ttl_lru *cache, const char *wildcard_key);
/third_party/libwebsockets/lib/misc/cache-ttl/
H A Dlws-cache-ttl.c91 lws_cache_lookup(struct lws_cache_ttl_lru *cache, const char *wildcard_key, in lws_cache_lookup() argument
104 lws_strncpy(&meta_key[1], wildcard_key, sizeof(meta_key) - 2); in lws_cache_lookup()
121 if (cache->info.ops->lookup(cache, wildcard_key, &results_owner)) { in lws_cache_lookup()
233 lws_cache_item_remove(struct lws_cache_ttl_lru *cache, const char *wildcard_key) in lws_cache_item_remove() argument
236 if (cache->info.ops->invalidate(cache, wildcard_key)) in lws_cache_item_remove()
H A Dfile.c419 const char *wildcard_key; member
454 ctx->wildcard_key, tag, 1)) in nsc_lookup_cb()
484 const char *wildcard_key, in lws_cache_nscookiejar_lookup()
495 ctx.wildcard_key = wildcard_key; in lws_cache_nscookiejar_lookup()
497 ctx.wklen = strlen(wildcard_key); in lws_cache_nscookiejar_lookup()
483 lws_cache_nscookiejar_lookup(struct lws_cache_ttl_lru *_c, const char *wildcard_key, lws_dll2_owner_t *results_owner) lws_cache_nscookiejar_lookup() argument
H A Dheap.c259 lws_cache_heap_lookup(struct lws_cache_ttl_lru *_c, const char *wildcard_key, in lws_cache_heap_lookup() argument
263 size_t sklen = strlen(wildcard_key); in lws_cache_heap_lookup()
271 if (!lws_strcmp_wildcard(wildcard_key, sklen, iname, in lws_cache_heap_lookup()

Completed in 4 milliseconds