Home
last modified time | relevance | path

Searched refs:lwsac_use (Results 1 – 17 of 17) sorted by relevance

/third_party/libwebsockets/lib/misc/lwsac/
Dlwsac.cxx36 uint8_t *p = (uint8_t *)lwsac_use(&ac2, total, total); in start()
75 uint8_t *p = (uint8_t *)lwsac_use(&ac, lb->len, lb->len); in append()
DREADME.md22 ## lwsac_use() api
26 * lwsac_use - allocate / use some memory from a lwsac
42 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size);
45 When you make an sub-allocation using `lwsac_use()`, you can either
50 Subsequent `lwsac_use()` calls will advance internal pointers to use up the
75 * lwsac_use() pointers are invalidated in one hit without individual frees.
Dlwsac.c202 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size) in lwsac_use() function
253 void *p = lwsac_use(head, ensure, chunk_size); in lwsac_use_zero()
Dcached-file.c182 info = lwsac_use(&lac, all, all); in lwsac_cached_file()
/third_party/libwebsockets/lib/misc/fts/
Dtrie.c259 t = lwsac_use(&lwsac_head, sizeof(*t), TRIE_LWSAC_BLOCK_SIZE); in lws_fts_create()
267 t->root = lwsac_use(&lwsac_head, sizeof(*t->root), in lws_fts_create()
336 fp = lwsac_use(&t->lwsac_head, sizeof(*fp), TRIE_LWSAC_BLOCK_SIZE); in lws_fts_file_index()
360 e = lwsac_use(&t->lwsac_head, sizeof(*e), TRIE_LWSAC_BLOCK_SIZE); in lws_fts_entry_child_add()
935 t->parser->suffix = lwsac_use(&t->lwsac_head, in lws_fts_fill()
957 tif = lwsac_use(&t->lwsac_input_head, sizeof(*tif), in lws_fts_fill()
1017 tl = lwsac_use(&t->lwsac_input_head, sizeof(*tl), in lws_fts_fill()
Dtrie-fd.c252 lt = lwsac_use(linetable_head, sizeof(*lt), 0); in lws_fts_cache_chunktable()
350 ac = lwsac_use(results_head, sizeof(*ac) + (unsigned int)m + 1, 0); in ac_record()
414 result = lwsac_use(&ftsp->results_head, sizeof(*result), 0); in lws_fts_search()
670 fp = lwsac_use(&ftsp->results_head, (unsigned int)footprint, 0); in lws_fts_search()
735 p = lwsac_use(&ftsp->results_head, (unsigned int)m + 1, 0); in lws_fts_search()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
DREADME.md47 [2019/10/16 16:22:01:1115] N: lwsac_use: alloc 1532 for 1
48 [2019/10/16 16:22:01:1119] N: lwsac_use: alloc 288 for 168
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lwsac/
Dmain.c41 m = lwsac_use(&lwsac, sizeof(*m), 0); in main()
/third_party/libwebsockets/include/libwebsockets/
Dlws-lwsac.h104 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size);
/third_party/libwebsockets/lib/core/
Dlws_map.c54 return lwsac_use((struct lwsac **)map->info.opaque, x, in lws_map_alloc_lwsac()
/third_party/libwebsockets/lib/roles/http/server/
Dlws-spa.c533 spa->params[n] = lwsac_use(spa->i.ac, (unsigned int)len + 1, in lws_urldecode_spa_cb()
565 spa->storage = lwsac_use(i->ac, (unsigned int)spa->i.max_storage, in lws_spa_create_via_info()
/third_party/libwebsockets/lib/secure-streams/
Dpolicy-common.c199 *value = lwsac_use(&h->imd_ac, (size_t)(n+1), (size_t)(n+1)); in lws_ss_get_metadata()
Dpolicy-json.c1159 p = lwsac_use(&args->ac, 1, POL_AC_INITIAL); in lws_ss_policy_parse_begin()
/third_party/libwebsockets/lib/misc/
Dlws-struct-sqlite.c156 s = lwsac_use(&a->ac, lim + 1, a->ac_block_size); in lws_struct_sq3_deser_cb()
Dlws-struct-lejp.c421 s = lwsac_use(&args->ac, lim + 1, args->ac_block_size); in lws_struct_default_lejp_cb()
/third_party/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c211 dire = lwsac_use(&lwsac_head, sizeof(*dire) + m, 0); in scan_upload_dir()
/third_party/libwebsockets/plugins/
Dprotocol_lws_openmetrics_export.c253 q = lwsac_use(&pss->ac, LWS_PRE + len + 2, LWS_PRE + len + 2); in lws_metrics_om_ac_stash()