Home
last modified time | relevance | path

Searched refs:lws_map_key_t (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/include/libwebsockets/
Dlws-map.h48 typedef void * lws_map_key_t; typedef
52 typedef lws_map_hash_t (*lws_map_hash_from_key_t)(const lws_map_key_t key,
54 typedef int (*lws_map_compare_key_t)(const lws_map_key_t key1, size_t kl1,
92 lws_map_item_create(_map, (const lws_map_key_t)_str, \
96 lws_map_item_lookup(_map, (const lws_map_key_t)_str, strlen(_str))
163 const lws_map_key_t key, size_t keylen,
186 lws_map_item_lookup(lws_map_t *map, const lws_map_key_t key, size_t keylen);
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_map/
Dmain.c21 compare_mykey_t(const lws_map_key_t key1, size_t kl1, in compare_mykey_t()
166 if (!lws_map_item_create(map, (lws_map_key_t)&k1, sizeof(k1), in main()
172 if (!lws_map_item_create(map, (lws_map_key_t)&k2, sizeof(k2), in main()
178 item = lws_map_item_lookup(map, (lws_map_key_t)&k1, sizeof(k1)); in main()
192 item = lws_map_item_lookup(map, (lws_map_key_t)&k2, sizeof(k2)); in main()
206 item = lws_map_item_lookup(map, (lws_map_key_t)&k3, sizeof(k3)); in main()
/third_party/libwebsockets/lib/core/
Dlws_map.c85 lws_map_hash_from_key_default(const lws_map_key_t key, size_t kl) in lws_map_hash_from_key_default()
97 lws_map_compare_key_default(const lws_map_key_t key1, size_t kl1, in lws_map_compare_key_default()
180 const lws_map_key_t key, size_t keylen, in lws_map_item_create()
228 lws_map_item_lookup(lws_map_t *map, const lws_map_key_t key, size_t keylen) in lws_map_item_lookup()
/third_party/libwebsockets/READMEs/
DREADME.lws_map.md72 const lws_map_key_t key, size_t keylen,
79 if (!lws_map_item_create(map, (lws_map_key_t)&my_key,
99 lws_map_item_lookup(lws_map_t *map, const lws_map_key_t key, size_t keylen);