Home
last modified time | relevance | path

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

12

/freebsd/contrib/ntp/sntp/libevent/
H A Dmm-internal.h75 #define mm_malloc(sz) event_mm_malloc_(sz) macro
81 #define mm_malloc(sz) malloc(sz)
H A Dwin32select.c189 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()
H A Devthread_win32.c53 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()
H A Devthread_pthread.c48 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()
H A Devrpc.c217 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()
H A Devthread.c197 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_()
H A Devdns.c1259 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 …]
H A Devutil.c172 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()
H A Dhttp.c287 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()
H A Dsignal.c247 sig->sh_old[evsignal] = mm_malloc(sizeof *sig->sh_old[evsignal]); in evsig_set_handler_()
H A Devutil_time.c255 p = mm_malloc(sizeof(*p)); in evutil_monotonic_timer_new()
/freebsd/contrib/libevent/
H A Dmm-internal.h75 #define mm_malloc(sz) event_mm_malloc_(sz) macro
81 #define mm_malloc(sz) malloc(sz)
H A Dwin32select.c189 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()
H A Devthread_win32.c53 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()
H A Devthread_pthread.c48 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()
H A Devrpc.c217 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()
H A Devthread.c197 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_()
H A Devdns.c1259 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 …]
H A Devutil.c172 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()
H A Dhttp.c287 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()
H A Dsignal.c247 sig->sh_old[evsignal] = mm_malloc(sizeof *sig->sh_old[evsignal]); in evsig_set_handler_()
H A Devutil_time.c255 p = mm_malloc(sizeof(*p)); in evutil_monotonic_timer_new()
/freebsd/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/
H A Dmm_malloc.h42 #include_next <mm_malloc.h>
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dmodule.modulemap70 explicit module mm_malloc {
72 header "mm_malloc.h"
86 export mm_malloc
/freebsd/lib/clang/headers/
H A DMakefile125 INCS+= mm_malloc.h
239 PPC+= ppc_wrappers/mm_malloc.h

12