Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 3 of 3) sorted by relevance

/civetweb-2.7.6/examples/rest/cJSON/
DcJSON.c123 void *(*allocate)(size_t size); member
161 copy = (unsigned char*)hooks->allocate(length); in cJSON_strdup()
176 global_hooks.allocate = malloc; in cJSON_InitHooks()
182 global_hooks.allocate = malloc; in cJSON_InitHooks()
185 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks()
196 if ((global_hooks.allocate == malloc) && (global_hooks.deallocate == free)) in cJSON_InitHooks()
205 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item()
440 newbuffer = (unsigned char*)p->hooks.allocate(newsize); in ensure()
738 output = (unsigned char*)input_buffer->hooks.allocate(allocation_length + sizeof("")); in parse_string()
1097 buffer->buffer = (unsigned char*) hooks->allocate(default_buffer_size); in print()
[all …]
/civetweb-2.7.6/docs/api/
Dmg_set_user_connection_data.md32 In this case, typically `init_connection` is used to allocate memory for
/civetweb-2.7.6/src/
Dhandle_form.inl613 "%s: Cannot allocate memory for boundary [%lu]",