/external/libwebsockets/include/libwebsockets/ |
D | lws-lwsac.h | 50 struct lwsac; 104 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size); 126 lwsac_use_backfill(struct lwsac **head, size_t ensure, size_t chunk_size); 144 lwsac_use_zero(struct lwsac **head, size_t ensure, size_t chunk_size); 157 lwsac_free(struct lwsac **head); 178 lwsac_detach(struct lwsac **head); 188 lwsac_reference(struct lwsac *head); 199 lwsac_unreference(struct lwsac **head); 232 lwsac_extend(struct lwsac *head, int amount); 256 lwsac_get_tail_pos(struct lwsac *lac); [all …]
|
D | lws-struct.h | 63 struct lwsac *ac; 79 struct lwsac *ac_chunks; 254 struct lwsac **ac, int start, int limit);
|
D | lws-spa.h | 112 struct lwsac **ac; /* NULL, or pointer to lwsac * to contain all
|
D | lws-fts.h | 172 struct lwsac *results_head;
|
/external/libwebsockets/lib/misc/lwsac/ |
D | lwsac.c | 57 return sizeof(struct lwsac) + (first ? sizeof(struct lwsac_head) : 0); in lwsac_sizeof() 61 lwsac_get_tail_pos(struct lwsac *lac) in lwsac_get_tail_pos() 66 struct lwsac * 67 lwsac_get_next(struct lwsac *lac) in lwsac_get_next() 73 lwsac_extend(struct lwsac *head, int amount) in lwsac_extend() 76 struct lwsac *bf; in lwsac_extend() 96 _lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size, char backfill) in _lwsac_use() 100 struct lwsac *bf = *head; in _lwsac_use() 202 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size) in lwsac_use() 208 lwsac_use_backfill(struct lwsac **head, size_t ensure, size_t chunk_size) in lwsac_use_backfill() [all …]
|
D | README.md | 3 ![lwsac flow](/doc-assets/lwsac.svg) 10 not tracked by lwsac at all, there is a "used" high-water mark for each chunk 17 strings or other unstructured data, lwsac is significantly more efficient than 20 [lwsac full public api](https://libwebsockets.org/git/libwebsockets/tree/include/libwebsockets/lws-… 26 * lwsac_use - allocate / use some memory from a lwsac 28 * \param head: pointer to the lwsac list object 35 * This also serves to init the lwsac if *head is NULL. Basically it does 42 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size); 60 size, lwsac is extremely efficient even for huge numbers of small allocations. 62 This makes lwsac very effective when the total amount of allocation needed is [all …]
|
D | private-lib-misc-lwsac.h | 45 struct lwsac { struct 46 struct lwsac *next; argument 47 struct lwsac *head; /* pointer back to the first chunk */ argument 57 struct lwsac *curr;
|
D | cached-file.c | 72 #define cache_file_to_lac(c) ((struct lwsac *)((char *)c - \ 75 sizeof(struct lwsac))) 80 struct lwsac *lac = cache_file_to_lac(cache); in lwsac_use_cached_file_start() 90 struct lwsac *lac; in lwsac_use_cached_file_end() 111 struct lwsac *lac = cache_file_to_lac(*cache); in lwsac_use_cached_file_detach() 131 struct lwsac *lac = NULL; in lwsac_cached_file()
|
/external/libwebsockets/minimal-examples/api-tests/api-test-lwsac/ |
D | main.c | 26 struct lwsac *lwsac = NULL; in main() local 41 m = lwsac_use(&lwsac, sizeof(*m), 0); in main() 54 lwsac_info(lwsac); in main() 78 lwsac_free(&lwsac); in main()
|
D | README.md | 1 # lws api test lwsac 3 Demonstrates how to use and performs selftests for lwsac 18 $ ./lws-api-test-lwsac 19 [2018/10/09 09:14:17:4834] USER: LWS API selftest: lwsac
|
D | CMakeLists.txt | 1 project(lws-api-test-lwsac) 5 set(SAMP lws-api-test-lwsac)
|
/external/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | README.md | 1 # lws api test lwsac 3 Demonstrates how to use and performs selftests for lwsac 18 $ ./lws-api-test-lwsac 19 [2018/10/09 09:14:17:4834] USER: LWS API selftest: lwsac
|
/external/libwebsockets/READMEs/ |
D | README.lws_struct.md | 23 - huge linear strings are supported by storing to a temp lwsac of chained chunks, 24 which is written into a single linear chunk in the main lwsac once the 27 …- deserialization allocates into an [lwsac](../lib/misc/lwsac/README.md), so everything is inside … 32 lwsac frees the whole thing without having to walk it
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-lwsac/ |
D | README.md | 1 # lws minimal http server form POST lwsac 3 Shows how to parse the form using an lwsac to hold the form data 14 $ ./lws-minimal-http-server-form-post-lwsac
|
D | CMakeLists.txt | 1 project(lws-minimal-http-server-form-post-lwsac) 5 set(SAMP lws-minimal-http-server-form-post-lwsac)
|
D | minimal-http-server-form-post.c | 25 struct lwsac *ac;
|
/external/libwebsockets/minimal-examples/api-tests/ |
D | README.md | 5 api-test-lwsac|LWS Allocated Chunks api
|
/external/libwebsockets/ |
D | Android.bp | 84 "lib/misc/lwsac/cached-file.c", 85 "lib/misc/lwsac/lwsac.c",
|
D | changelog | 56 - NEW: lwsac: additional features for constant folding support (strings that 57 already are in the lwsac can be pointed to without copying again), backfill 175 - NEW: lws allocated chunks (lwsac) - helpers for optimized mass allocation of small 179 [lwsac docs](https://libwebsockets.org/git/libwebsockets/tree/lib/misc/lwsac) 180 …[lwsac minimal example](https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/api-test…
|
/external/libwebsockets/lib/misc/fts/ |
D | README.md | 5 ![lwsac flow](/doc-assets/lws-fts.svg) 29 Searching returns a potentially very large lwsac allocated object, with contents 68 ## Result format inside the lwsac 70 A `struct lws_fts_result` at the start of the lwsac contains heads for linked- 71 lists of autocomplete and filepath results inside the lwsac. 93 results lwsac that contains up to 255 chars of the line from the original
|
D | trie.c | 130 struct lwsac *lwsac_head; 131 struct lwsac *lwsac_input_head; 256 struct lwsac *lwsac_head = NULL; in lws_fts_create() 316 struct lwsac *lwsac_head = (*trie)->lwsac_head; in lws_fts_destroy()
|
D | trie-fd.c | 240 struct lwsac **linetable_head) in lws_fts_cache_chunktable() 334 ac_record(struct lws_fts_file *jtf, struct lwsac **results_head, in ac_record() 620 struct lwsac *lt_head = NULL; in lws_fts_search()
|
/external/libwebsockets/plugins/deaddrop/ |
D | protocol_lws_deaddrop.c | 64 struct lwsac *lwsac_head; 84 struct lwsac *lwsac_head; 133 struct lwsac *lwsac_head = NULL; in scan_upload_dir()
|
/external/libwebsockets/minimal-examples/api-tests/api-test-lws_struct_sqlite/ |
D | main.c | 77 struct lwsac *ac = NULL; in main()
|
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/ |
D | README.md | 49 [2019/10/16 16:22:01:1119] N: lws_ss_policy_set: policy lwsac size: 1.796KiB, pad 11%
|