Searched refs:m_malloc (Results 1 - 25 of 28) sorted by relevance

12

/external/dropbear/
H A Dgenrsa.c47 key = (rsa_key*)m_malloc(sizeof(rsa_key));
49 key->e = (mp_int*)m_malloc(sizeof(mp_int));
50 key->n = (mp_int*)m_malloc(sizeof(mp_int));
51 key->d = (mp_int*)m_malloc(sizeof(mp_int));
52 key->p = (mp_int*)m_malloc(sizeof(mp_int));
53 key->q = (mp_int*)m_malloc(sizeof(mp_int));
102 buf = (unsigned char*)m_malloc(size+1);
H A Dgendss.c50 key = (dss_key*)m_malloc(sizeof(dss_key));
52 key->p = (mp_int*)m_malloc(sizeof(mp_int));
53 key->q = (mp_int*)m_malloc(sizeof(mp_int));
54 key->g = (mp_int*)m_malloc(sizeof(mp_int));
55 key->y = (mp_int*)m_malloc(sizeof(mp_int));
56 key->x = (mp_int*)m_malloc(sizeof(mp_int));
107 buf = (unsigned char*)m_malloc(size);
H A Dsignkey.c36 ret = (sign_key*)m_malloc(sizeof(sign_key));
115 key->dsskey = (dss_key*)m_malloc(sizeof(dss_key));
125 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key));
168 key->dsskey = (dss_key*)m_malloc(sizeof(dss_key));
178 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key));
294 ret = (char*)m_malloc(buflen);
329 ret = (char*)m_malloc(buflen);
H A Ddss.c50 key->p = m_malloc(sizeof(mp_int));
51 key->q = m_malloc(sizeof(mp_int));
52 key->g = m_malloc(sizeof(mp_int));
53 key->y = m_malloc(sizeof(mp_int));
90 key->x = m_malloc(sizeof(mp_int));
271 ret = m_malloc(size);
H A Dcircbuffer.c39 cbuf = (circbuffer*)m_malloc(sizeof(circbuffer));
40 cbuf->data = (unsigned char*)m_malloc(size);
H A Dcli-main.c73 hostandport = (char*)m_malloc(len);
H A Ddbutil.h59 void * m_malloc(size_t size);
H A Dqueue.c74 newlink = (struct Link*)m_malloc(sizeof(struct Link));
H A Ddbutil.c221 *errstring = (char*)m_malloc(len);
287 *errstring = (char*)m_malloc(len);
325 *errstring = (char*)m_malloc(len);
374 *errstring = (char*)m_malloc(len);
428 retstring = (char*)m_malloc(len);
510 ret = m_malloc(len+1);
621 void * m_malloc(size_t size) { function
626 dropbear_exit("m_malloc failed");
630 dropbear_exit("m_malloc failed");
H A Drsa.c54 key->e = m_malloc(sizeof(mp_int));
55 key->n = m_malloc(sizeof(mp_int));
102 key->d = m_malloc(sizeof(mp_int));
112 key->p = m_malloc(sizeof(mp_int));
113 key->q = m_malloc(sizeof(mp_int));
H A Dlistener.c33 ses.listeners = (struct Listener**)m_malloc(sizeof(struct Listener*));
120 newlisten = (struct Listener*)m_malloc(sizeof(struct Listener));
H A Dsvr-agentfwd.c128 path = m_malloc(len);
161 path = m_malloc(len);
H A Dsvr-authpam.c115 resp = (struct pam_response*) m_malloc(sizeof(struct pam_response));
141 resp = (struct pam_response*) m_malloc(sizeof(struct pam_response));
H A Dbuffer.c49 buf = (buffer*)m_malloc(sizeof(buffer));
52 buf->data = (unsigned char*)m_malloc(size);
218 ret = m_malloc(len+1);
H A Dcli-kex.c46 cli_ses.dh_e = (mp_int*)m_malloc(sizeof(mp_int));
47 cli_ses.dh_x = (mp_int*)m_malloc(sizeof(mp_int));
168 filename = m_malloc(len + 18); /* "/.ssh/known_hosts" and null-terminator*/
H A Dcli-runopts.c253 cli_opts.cmd = (char*)m_malloc(cmdlen);
310 nextkey = (struct SignKeyList*)m_malloc(sizeof(struct SignKeyList));
393 newfwd = (struct TCPFwdList*)m_malloc(sizeof(struct TCPFwdList));
H A Dcommon-session.c88 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context));
267 ses.remoteident = m_malloc(len);
H A Dsvr-authpubkey.c184 filename = m_malloc(len + 22);
279 filename = m_malloc(len + 22);
H A Dcommon-kex.c345 ses.newkeys->recv_zstream = (z_streamp)m_malloc(sizeof(z_stream));
357 ses.newkeys->trans_zstream = (z_streamp)m_malloc(sizeof(z_stream));
532 ses.dh_K = (mp_int*)m_malloc(sizeof(mp_int));
575 ses.session_id = (unsigned char*)m_malloc(SHA1_HASH_SIZE);
603 ses.newkeys = (struct key_context*)m_malloc(sizeof(struct key_context));
H A Dcli-tcpfwd.c97 tcpinfo = (struct TCPListener*)m_malloc(sizeof(struct TCPListener));
H A Drandom.c226 randbuf = (unsigned char*)m_malloc(len);
H A Dsvr-tcpfwd.c205 tcpinfo = (struct TCPListener*)m_malloc(sizeof(struct TCPListener));
H A Dsvr-chansession.c222 chansess = (struct ChanSess*)m_malloc(sizeof(struct ChanSess));
800 hushpath = m_malloc(len);
974 argv[0] = (char*)m_malloc(len);
1010 svr_ses.childpids = (struct ChildPid*)m_malloc(sizeof(struct ChildPid));
1032 newvar = m_malloc(plen + vlen + 2); /* 2 is for '=' and '\0' */
/external/webkit/Source/JavaScriptCore/wtf/wince/
H A DMemoryManager.h41 static void* m_malloc(size_t size);
H A DMemoryManager.cpp62 void* MemoryManager::m_malloc(size_t size) function in class:WTF::MemoryManager
122 void *fastMalloc(size_t n) { return MemoryManager::m_malloc(n); }

Completed in 119 milliseconds

12