Searched refs:mm_malloc (Results 1 – 16 of 16) sorted by relevance
75 #define mm_malloc(sz) event_mm_malloc_(sz) macro81 #define mm_malloc(sz) malloc(sz)
189 if (!(winop->readset_in = mm_malloc(size))) in win32_init()191 if (!(winop->writeset_in = mm_malloc(size))) in win32_init()193 if (!(winop->readset_out = mm_malloc(size))) in win32_init()195 if (!(winop->writeset_out = mm_malloc(size))) in win32_init()197 if (!(winop->exset_out = mm_malloc(size))) in win32_init()
53 CRITICAL_SECTION *lock = mm_malloc(sizeof(CRITICAL_SECTION)); in evthread_win32_lock_create()130 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); in evthread_win32_condvar_alloc()193 if (!(cond = mm_malloc(sizeof(struct evthread_win32_cond)))) in evthread_win32_cond_alloc()
48 pthread_mutex_t *lock = mm_malloc(sizeof(pthread_mutex_t)); in evthread_posix_lock_alloc()106 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); in evthread_posix_cond_alloc()
217 if ((constructed_uri = mm_malloc(constructed_uri_len)) == NULL) in evrpc_construct_uri()767 struct evrpc_hook_ctx *pause = mm_malloc(sizeof(*pause)); in evrpc_pause_request()833 mm_malloc(sizeof(struct evrpc_request_wrapper)); in evrpc_make_request_ctx()1001 ctx = mm_malloc(sizeof(struct evrpc_hook_meta)); in evrpc_hook_meta_new_()1039 meta = mm_malloc(sizeof(struct evrpc_meta)); in evrpc_hook_add_meta()1044 meta->data = mm_malloc(data_size); in evrpc_hook_add_meta()
197 struct debug_lock *result = mm_malloc(sizeof(struct debug_lock)); in debug_lock_alloc()388 lock = mm_malloc(sizeof(struct debug_lock)); in evthread_setup_global_lock_()
1259 server_req = mm_malloc(sizeof(struct server_request)); in request_parse()1805 item = mm_malloc(sizeof(struct server_reply_item)); in evdns_server_request_add_reply()1828 if (!(item->data = mm_malloc(datalen))) { in evdns_server_request_add_reply()1992 if (!(req->response = mm_malloc(req->response_len))) { in evdns_server_request_format_response()2793 mm_malloc(sizeof(struct request) + request_max_len); in request_new()3654 path_out = mm_malloc(len_out); in evdns_get_default_hosts_filename()3747 buf = mm_malloc(ips-addr+1); in evdns_nameserver_ip_add_line()3787 buf = mm_malloc(size); in load_nameservers_with_getnetworkparams()3797 buf = mm_malloc(size); in load_nameservers_with_getnetworkparams()3852 if (!(buf = mm_malloc(bufsz))) in config_nameserver_from_reg_key()[all …]
172 mem = mm_malloc((size_t)st.st_size + 1); in evutil_read_file_()719 addresses = mm_malloc(size); in evutil_check_ifaddrs()726 addresses = mm_malloc(size); in evutil_check_ifaddrs()1368 ai_new = mm_malloc(sizeof(*ai_new)); in apply_socktype_protocol_hack()1751 mm_malloc,1788 mm_malloc(sizeof (struct cached_sock_errs_entry)); in evutil_socket_error_to_string()
287 p = escaped_html = mm_malloc(new_size + 1); in evhttp_htmlescape()3152 result = mm_malloc(evbuffer_get_length(buf)); in evhttp_uriencode()3213 if ((ret = mm_malloc(strlen(uri) + 1)) == NULL) { in evhttp_decode_uri()3231 if ((ret = mm_malloc(strlen(uri) + 1)) == NULL) { in evhttp_uridecode()3298 if ((decoded_value = mm_malloc(strlen(value) + 1)) == NULL) { in evhttp_parse_query_impl()3345 if ((translated = mm_malloc(offset + 1)) == NULL) in evhttp_dispatch_callback()3636 bound = mm_malloc(sizeof(struct evhttp_bound_socket)); in evhttp_bind_listener()4161 req->host_cache = mm_malloc(len + 1); in evhttp_request_get_host()4678 uri->host = mm_malloc(eos-cp+1); in parse_authority()
247 sig->sh_old[evsignal] = mm_malloc(sizeof *sig->sh_old[evsignal]); in evsig_set_handler_()
255 p = mm_malloc(sizeof(*p)); in evutil_monotonic_timer_new()
572 *pstring = mm_malloc(tag_len + 1); in evtag_unmarshal_string()
233 eq_debug_entry, 0.5, mm_malloc, mm_realloc, mm_free) in HT_PROTOTYPE()249 dent = mm_malloc(sizeof(*dent)); in HT_PROTOTYPE()1183 struct event_config_entry *entry = mm_malloc(sizeof(*entry)); in event_config_avoid_method()2211 ev = mm_malloc(sizeof(struct event)); in event_new()
112 0.5, mm_malloc, mm_realloc, mm_free) in HT_PROTOTYPE()
178 if ((chain = mm_malloc(to_alloc)) == NULL) in evbuffer_chain_new()1706 if ((line = mm_malloc(n_to_copy+1)) == NULL) { in evbuffer_readln()3109 if (!(mem = mm_malloc(length))) in evbuffer_file_segment_materialize()
1254 p = mm_malloc(0); in test_event_malloc()1261 p = mm_malloc(8); in test_event_malloc()