Home
last modified time | relevance | path

Searched refs:mm_malloc (Results 1 – 16 of 16) sorted by relevance

/external/libevent/
Dmm-internal.h44 #define mm_malloc(sz) event_mm_malloc_(sz) macro
50 #define mm_malloc(sz) malloc(sz)
Dwin32select.c185 if (!(winop->readset_in = mm_malloc(size))) in win32_init()
187 if (!(winop->writeset_in = mm_malloc(size))) in win32_init()
189 if (!(winop->readset_out = mm_malloc(size))) in win32_init()
191 if (!(winop->writeset_out = mm_malloc(size))) in win32_init()
193 if (!(winop->exset_out = mm_malloc(size))) in win32_init()
Devthread_win32.c51 CRITICAL_SECTION *lock = mm_malloc(sizeof(CRITICAL_SECTION)); in evthread_win32_lock_create()
128 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); in evthread_win32_condvar_alloc()
191 if (!(cond = mm_malloc(sizeof(struct evthread_win32_cond)))) in evthread_win32_cond_alloc()
Devthread_pthread.c46 pthread_mutex_t *lock = mm_malloc(sizeof(pthread_mutex_t)); in evthread_posix_lock_alloc()
104 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); in evthread_posix_cond_alloc()
Devrpc.c216 if ((constructed_uri = mm_malloc(constructed_uri_len)) == NULL) in evrpc_construct_uri()
769 struct evrpc_hook_ctx *pause = mm_malloc(sizeof(*pause)); in evrpc_pause_request()
835 mm_malloc(sizeof(struct evrpc_request_wrapper)); in evrpc_make_request_ctx()
1004 ctx = mm_malloc(sizeof(struct evrpc_hook_meta)); in evrpc_hook_meta_new()
1042 meta = mm_malloc(sizeof(struct evrpc_meta)); in evrpc_hook_add_meta()
1047 meta->data = mm_malloc(data_size); in evrpc_hook_add_meta()
Devthread.c161 struct debug_lock *result = mm_malloc(sizeof(struct debug_lock)); in debug_lock_alloc()
337 lock = mm_malloc(sizeof(struct debug_lock)); in evthread_setup_global_lock_()
Devdns.c1228 server_req = mm_malloc(sizeof(struct server_request)); in request_parse()
1251 q = mm_malloc(sizeof(struct evdns_server_question) + namelen); in request_parse()
1699 if (!(port = mm_malloc(sizeof(struct evdns_server_port)))) in evdns_add_server_port_with_base()
1775 item = mm_malloc(sizeof(struct server_reply_item)); in evdns_server_request_add_reply()
1798 if (!(item->data = mm_malloc(datalen))) { in evdns_server_request_add_reply()
1962 if (!(req->response = mm_malloc(req->response_len))) { in evdns_server_request_format_response()
2483 ns = (struct nameserver *) mm_malloc(sizeof(struct nameserver)); in _evdns_nameserver_add_impl()
2709 mm_malloc(sizeof(struct request) + request_max_len); in request_new()
3015 struct search_state *state = (struct search_state *) mm_malloc(sizeof(struct search_state)); in search_state_new()
3057 sdomain = (struct search_domain *) mm_malloc(sizeof(struct search_domain) + domain_len); in search_postfix_add()
[all …]
Dhttp.c278 p = escaped_html = mm_malloc(new_size + 1); in evhttp_htmlescape()
2698 result = mm_malloc(evbuffer_get_length(buf)); in evhttp_uriencode()
2756 if ((ret = mm_malloc(strlen(uri) + 1)) == NULL) { in evhttp_decode_uri()
2774 if ((ret = mm_malloc(strlen(uri) + 1)) == NULL) { in evhttp_uridecode()
2840 if ((decoded_value = mm_malloc(strlen(value) + 1)) == NULL) { in evhttp_parse_query_impl()
2885 if ((translated = mm_malloc(offset + 1)) == NULL) in evhttp_dispatch_callback()
3161 bound = mm_malloc(sizeof(struct evhttp_bound_socket)); in evhttp_bind_listener()
3618 req->host_cache = mm_malloc(len + 1); in evhttp_request_get_host()
4109 uri->host = mm_malloc(eos-cp+1); in parse_authority()
Dsignal.c243 sig->sh_old[evsignal] = mm_malloc(sizeof *sig->sh_old[evsignal]); in _evsig_set_handler()
Devent_tagging.c559 *pstring = mm_malloc(tag_len + 1); in evtag_unmarshal_string()
Devent.c194 eq_debug_entry, 0.5, mm_malloc, mm_realloc, mm_free) in HT_PROTOTYPE()
206 dent = mm_malloc(sizeof(*dent)); \ in HT_PROTOTYPE()
967 struct event_config_entry *entry = mm_malloc(sizeof(*entry)); in event_config_avoid_method()
1810 ev = mm_malloc(sizeof(struct event)); in event_new()
Devutil.c153 mem = mm_malloc((size_t)st.st_size + 1); in evutil_read_file()
1170 ai_new = mm_malloc(sizeof(*ai_new)); in apply_socktype_protocol_hack()
Devmap.c109 0.5, mm_malloc, mm_realloc, mm_free) in HT_PROTOTYPE()
Dbuffer.c177 if ((chain = mm_malloc(to_alloc)) == NULL) in evbuffer_chain_new()
1521 if ((line = mm_malloc(n_to_copy+1)) == NULL) { in evbuffer_readln()
/external/clang/lib/Headers/
Dmodule.modulemap29 explicit module mm_malloc {
30 header "mm_malloc.h"
DCMakeLists.txt38 mm_malloc.h