Home
last modified time | relevance | path

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

/external/libwebsockets/lib/misc/lwsac/
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()
/external/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
/external/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) + 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, footprint, 0); in lws_fts_search()
735 p = lwsac_use(&ftsp->results_head, m + 1, 0); in lws_fts_search()
/external/libwebsockets/minimal-examples/api-tests/api-test-lwsac/
Dmain.c41 m = lwsac_use(&lwsac, sizeof(*m), 0); in main()
/external/libwebsockets/include/libwebsockets/
Dlws-lwsac.h104 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size);
/external/libwebsockets/lib/roles/http/server/
Dlws-spa.c530 spa->params[n] = lwsac_use(spa->i.ac, len + 1, in lws_urldecode_spa_cb()
562 spa->storage = lwsac_use(i->ac, spa->i.max_storage, in lws_spa_create_via_info()
/external/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.c338 s = lwsac_use(&args->ac, lim + 1, args->ac_block_size); in lws_struct_default_lejp_cb()
/external/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c206 dire = lwsac_use(&lwsac_head, sizeof(*dire) + m, 0); in scan_upload_dir()
/external/libwebsockets/lib/secure-streams/
Dpolicy.c765 p = lwsac_use(&args->ac, 1, POL_AC_INITIAL); in lws_ss_policy_parse_begin()