Searched refs:reallen (Results 1 – 4 of 4) sorted by relevance
/external/libvncserver/examples/ |
D | 1instance.c | 61 int reallen; in get_next_message() local 63 reallen=read(str->fd,buffer,len); in get_next_message() 64 if(reallen==0) { in get_next_message() 69 buffer[reallen]=0; in get_next_message() 71 if(reallen!=0) rfbLog("message received: %s.\n",buffer); in get_next_message()
|
/external/ipsec-tools/src/racoon/ |
D | pfkey.c | 2832 int reallen; local 2850 reallen = PFKEY_UNUNIT64(buf.sadb_msg_len); 2851 if ((newmsg = racoon_calloc(1, reallen)) == NULL) 2854 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK); 2858 } else if (*lenp != reallen) { 2863 *lenp = recv(so, (caddr_t)newmsg, reallen, 0); 2867 } else if (*lenp != reallen) {
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 1766 int len, reallen; in pfkey_recv() local 1782 reallen = PFKEY_UNUNIT64(buf.sadb_msg_len); in pfkey_recv() 1783 if ((newmsg = CALLOC((size_t)reallen, struct sadb_msg *)) == 0) { in pfkey_recv() 1788 while ((len = recv(so, (void *)newmsg, (socklen_t)reallen, 0)) < 0) { in pfkey_recv() 1796 if (len != reallen) { in pfkey_recv()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_ndis.c | 531 size_t buflen, reallen; in ndis_set_oid() local 539 reallen = buflen - sizeof(o->Data); in ndis_set_oid() 550 o, reallen, NULL, 0, &written, NULL)) { in ndis_set_oid()
|