| /minix3/external/bsd/bind/dist/bin/tests/ |
| H A D | lwresconf_test.c | 46 mem_alloc(void *arg, size_t size) { in mem_alloc() function 78 ret = lwres_context_create(&ctx, mem, mem_alloc, mem_free, 0); in main()
|
| H A D | lwres_test.c | 236 mem_alloc(void *arg, size_t size) { in mem_alloc() function 265 ret = lwres_context_create(&ctx, mem, mem_alloc, mem_free, 0); in main()
|
| /minix3/external/bsd/bind/dist/lib/dns/ |
| H A D | openssl_link.c | 126 mem_alloc(size_t size) { in mem_alloc() function 175 CRYPTO_set_mem_functions(mem_alloc, mem_realloc, mem_free); in dst__openssl_init() 177 locks = mem_alloc(sizeof(isc_mutex_t) * nlocks); in dst__openssl_init() 188 rm = mem_alloc(sizeof(RAND_METHOD)); in dst__openssl_init()
|
| /minix3/lib/libc/rpc/ |
| H A D | svc_vc.c | 149 r = mem_alloc(sizeof(*r)); in svc_vc_create() 157 xprt = mem_alloc(sizeof(SVCXPRT)); in svc_vc_create() 186 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create() 228 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create() 241 ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create() 273 xprt = mem_alloc(sizeof(SVCXPRT)); in makefd_xprt() 277 cd = mem_alloc(sizeof(struct cf_conn)); in makefd_xprt() 344 newxprt->xp_rtaddr.buf = mem_alloc(len); in rendezvous_request() 515 xprt->xp_p2 = mem_alloc(SOCKCREDSIZE(sc->sc_ngroups)); in read_vc()
|
| H A D | auth_unix.c | 117 auth = mem_alloc(sizeof(*auth)); in authunix_create() 124 au = mem_alloc(sizeof(*au)); in authunix_create() 157 au->au_origcred.oa_base = mem_alloc((size_t)len); in authunix_create() 159 if ((au->au_origcred.oa_base = mem_alloc((size_t)len)) == NULL) { in authunix_create()
|
| H A D | svc_dg.c | 132 xprt = mem_alloc(sizeof (SVCXPRT)); in svc_dg_create() 137 su = mem_alloc(sizeof (*su)); in svc_dg_create() 156 xprt->xp_ltaddr.buf = mem_alloc(sizeof (struct sockaddr_storage)); in svc_dg_create() 211 xprt->xp_rtaddr.buf = mem_alloc(alen); in svc_dg_recv() 358 mem_alloc((sizeof (type) * (size))) 527 newbuf = mem_alloc(su->su_iosz); in cache_set()
|
| H A D | xdr_reference.c | 89 *pp = loc = mem_alloc(size); in __weak_alias()
|
| H A D | rpc_callmsg.c | 143 oa->oa_base = mem_alloc(oa->oa_length); in __weak_alias() 178 oa->oa_base = mem_alloc(oa->oa_length); in __weak_alias()
|
| H A D | xdr_array.c | 105 *addrp = target = mem_alloc(nodesize); in __weak_alias()
|
| H A D | svc_auth.c | 211 asp = mem_alloc(sizeof (*asp)); in svc_auth_reg()
|
| H A D | clnt_vc.c | 209 h = mem_alloc(sizeof(*h)); in clnt_vc_create() 216 ct = mem_alloc(sizeof(*ct)); in clnt_vc_create() 233 vc_fd_locks = mem_alloc(fd_allocsz); in clnt_vc_create() 241 vc_cv = mem_alloc(cv_allocsz); in clnt_vc_create()
|
| H A D | svc.c | 142 __svc_xports = mem_alloc(FD_SETSIZE * sizeof(SVCXPRT *)); in xprt_register() 251 s = mem_alloc(sizeof (struct svc_callout)); in svc_reg() 335 s = mem_alloc(sizeof(struct svc_callout)); in svc_register()
|
| H A D | clnt_dg.c | 189 dg_fd_locks = mem_alloc(fd_allocsz); in clnt_dg_create() 197 dg_cv = mem_alloc(cv_allocsz); in clnt_dg_create() 235 if ((cl = mem_alloc(sizeof (CLIENT))) == NULL) in clnt_dg_create()
|
| H A D | svc_simple.c | 174 if (((xdrbuf = mem_alloc((size_t)recvsz)) == NULL) || in rpc_reg()
|
| H A D | xdr.c | 621 *cpp = sp = mem_alloc(nodesize); in xdr_bytes() 771 *cpp = sp = mem_alloc(nodesize); in xdr_string()
|
| H A D | xdr_rec.c | 189 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM)); in xdrrec_create()
|
| /minix3/minix/lib/libmagicrt/ |
| H A D | magic_eval_lib.c | 73 static void *mem_alloc(struct memh *mh, size_t len); 156 if (expr && (str = (char *) mem_alloc(mh, strlen(expr)+1))) { in evaluate() 219 list = (struct tok *) mem_alloc(mh, i * sizeof(struct tok)); in tokenize() 377 tok = (struct tok *) mem_alloc(mh, tok_size); in tokenize() 612 t = (struct tok *) mem_alloc(mh, sizeof(struct tok)); in eval() 660 valstk = (struct val *) mem_alloc(mh, vcnt * sizeof(struct val)); in eval() 661 opstk = (struct tok **) mem_alloc(mh, ocnt * sizeof(struct tok *)); in eval() 1046 void *mem_alloc(struct memh *mh, size_t len) { in mem_alloc() function 1096 void *mem_alloc(struct memh *mh, size_t len) { in mem_alloc() function 1135 vt = (struct vartable *) mem_alloc(mh, sizeof(struct vartable)); in create_vartable() [all …]
|
| /minix3/include/rpc/ |
| H A D | types.h | 65 #define mem_alloc(bsize) calloc((size_t)1, bsize) macro
|
| /minix3/external/bsd/bind/dist/bin/nsupdate/ |
| H A D | nsupdate.c | 381 mem_alloc(void *arg, size_t size) { in mem_alloc() function 847 lwresult = lwres_context_create(&lwctx, gmctx, mem_alloc, mem_free, 1); in setup_system()
|
| /minix3/external/bsd/bind/dist/bin/dig/ |
| H A D | dighost.c | 387 mem_alloc(void *arg, size_t size) { in mem_alloc() function 1327 lwresult = lwres_context_create(&lwctx, mctx, mem_alloc, mem_free, in setup_system()
|