/external/libevent/ |
mm-internal.h | 71 #define mm_calloc(count, size) event_mm_calloc_((count), (size)) macro 77 #define mm_calloc(n, sz) calloc((n), (sz)) macro
|
devpoll.c | 127 if (!(devpollop = mm_calloc(1, sizeof(struct devpollop)))) 146 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); 154 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd));
|
event_iocp.c | 184 if (!(port = mm_calloc(1, sizeof(struct event_iocp_port)))) 190 port->threads = mm_calloc(port->n_threads, sizeof(HANDLE));
|
kqueue.c | 121 if (!(kqueueop = mm_calloc(1, sizeof(struct kqop)))) 136 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); 139 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent));
|
evrpc.c | 74 struct evrpc_base* base = mm_calloc(1, sizeof(struct evrpc_base)); 139 hook = mm_calloc(1, sizeof(struct evrpc_hook)); 295 rpc_state = mm_calloc(1, sizeof(struct evrpc_req_generic)); 509 struct evrpc_pool *pool = mm_calloc(1, sizeof(struct evrpc_pool)); 1111 struct evrpc* rpc = (struct evrpc *)mm_calloc(1, sizeof(struct evrpc));
|
epoll.c | 161 if (!(epollop = mm_calloc(1, sizeof(struct epollop)))) { 169 epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event));
|
buffer_iocp.c | 156 evo = mm_calloc(1, sizeof(struct evbuffer_overlapped));
|
bufferevent_pair.c | 97 if (! (bufev = mm_calloc(1, sizeof(struct bufferevent_pair))))
|
bufferevent_ratelim.c | 162 r = mm_calloc(1, sizeof(struct ev_token_bucket_cfg)); 596 rlim = mm_calloc(1, sizeof(struct bufferevent_rate_limit)); 649 g = mm_calloc(1, sizeof(struct bufferevent_rate_limit_group)); 746 rlim = mm_calloc(1, sizeof(struct bufferevent_rate_limit));
|
evport.c | 145 if (!(evpd = mm_calloc(1, sizeof(struct evport_data))))
|
listener.c | 180 lev = mm_calloc(1, sizeof(struct evconnlistener_event)); 502 res = mm_calloc(1,sizeof(struct accepting_socket)-1+buflen); 830 lev = mm_calloc(1, sizeof(struct evconnlistener_iocp)); 853 lev->accepting = mm_calloc(lev->n_accepting,
|
poll.c | 92 if (!(pollop = mm_calloc(1, sizeof(struct pollop))))
|
select.c | 114 if (!(sop = mm_calloc(1, sizeof(struct selectop))))
|
win32select.c | 185 if (!(winop = mm_calloc(1, sizeof(struct win32op))))
|
evdns.c | 832 struct deferred_reply_callback *d = mm_calloc(1, sizeof(*d)); [all...] |
http.c | [all...] |
bufferevent_filter.c | 188 bufev_f = mm_calloc(1, sizeof(struct bufferevent_filtered));
|
evmap.c | 131 ent_ = mm_calloc(1,sizeof(struct event_map_entry)+fdinfo_len); \ 172 mm_calloc(1,sizeof(struct type)+fdinfo_len); \
|
bufferevent_async.c | 543 if (!(bev_a = mm_calloc(1, sizeof(struct bufferevent_async))))
|
bufferevent_sock.c | 354 if ((bufev_p = mm_calloc(1, sizeof(struct bufferevent_private)))== NULL)
|
event.c | 575 if ((base = mm_calloc(1, sizeof(struct event_base))) == NULL) { 1074 tmp = mm_calloc((i + 1), sizeof(char *)); 1095 struct event_config *cfg = mm_calloc(1, sizeof(*cfg)); [all...] |
bufferevent_openssl.c | [all...] |
buffer.c | 365 buffer = mm_calloc(1, sizeof(struct evbuffer)); [all...] |
/external/libevent/test/ |
regress_zlib.c | 299 z_output = mm_calloc(sizeof(*z_output), 1); 302 z_input = mm_calloc(sizeof(*z_input), 1);
|
regress_util.c | 1170 /* mm_calloc() should simply return NULL 1173 p = mm_calloc(0, 0); 1177 p = mm_calloc(0, 1); 1181 p = mm_calloc(1, 0); 1188 p = mm_calloc(8, 8); 1194 /* mm_calloc() should set errno = ENOMEM and return NULL 1197 p = mm_calloc(EV_SIZE_MAX/2, EV_SIZE_MAX/2 + 8); [all...] |