/external/quake/quake/src/WinQuake/ |
D | net_dgrm.cpp | 390 SZ_Clear (&net_message); in Datagram_GetMessage() 391 SZ_Write (&net_message, packetBuffer.data, length); in Datagram_GetMessage() 446 SZ_Clear(&net_message); in Datagram_GetMessage() 447 SZ_Write(&net_message, sock->receiveMessage, sock->receiveMessageLength); in Datagram_GetMessage() 448 SZ_Write(&net_message, packetBuffer.data, length); in Datagram_GetMessage() 540 len = dfunc.Read (testSocket, net_message.data, net_message.maxsize, &clientaddr); in Test_Poll() 544 net_message.cursize = len; in Test_Poll() 547 control = BigLong(*((int *)net_message.data)); in Test_Poll() 632 SZ_Clear(&net_message); in Test_f() 634 MSG_WriteLong(&net_message, 0); in Test_f() [all …]
|
D | cl_demo.cpp | 72 len = LittleLong (net_message.cursize); in CL_WriteDemoMessage() 79 fwrite (net_message.data, net_message.cursize, 1, cls.demofile); in CL_WriteDemoMessage() 117 fread (&net_message.cursize, 4, 1, cls.demofile); in CL_GetMessage() 125 net_message.cursize = LittleLong (net_message.cursize); in CL_GetMessage() 126 if (net_message.cursize > MAX_MSGLEN) in CL_GetMessage() 128 r = fread (net_message.data, net_message.cursize, 1, cls.demofile); in CL_GetMessage() 146 if (net_message.cursize == 1 && net_message.data[0] == svc_nop) in CL_GetMessage() 178 SZ_Clear (&net_message); in CL_Stop_f() 179 MSG_WriteByte (&net_message, svc_disconnect); in CL_Stop_f()
|
D | net_ser.cpp | 680 SZ_Clear (&net_message); in _Serial_GetMessage() 681 SZ_Write (&net_message, &p->sock->receiveMessage[3], length); in _Serial_GetMessage() 787 SZ_Clear(&net_message); in _Serial_Connect() 788 MSG_WriteByte(&net_message, CCREQ_CONNECT); in _Serial_Connect() 789 MSG_WriteString(&net_message, "QUAKE"); in _Serial_Connect() 795 Serial_SendControlMessage (p, &net_message); in _Serial_Connect() 892 SZ_Clear(&net_message); in _Serial_CheckNewConnections() 910 SZ_Clear(&net_message); in _Serial_CheckNewConnections() 911 MSG_WriteByte(&net_message, CCREP_SERVER_INFO); in _Serial_CheckNewConnections() 912 MSG_WriteString(&net_message, hostname.string); in _Serial_CheckNewConnections() [all …]
|
D | common.cpp | 611 if (msg_readcount+1 > net_message.cursize) in MSG_ReadChar() 617 c = (signed char)net_message.data[msg_readcount]; in MSG_ReadChar() 627 if (msg_readcount+1 > net_message.cursize) in MSG_ReadByte() 633 c = (unsigned char)net_message.data[msg_readcount]; in MSG_ReadByte() 643 if (msg_readcount+2 > net_message.cursize) in MSG_ReadShort() 649 c = (short)(net_message.data[msg_readcount] in MSG_ReadShort() 650 + (net_message.data[msg_readcount+1]<<8)); in MSG_ReadShort() 661 if (msg_readcount+4 > net_message.cursize) in MSG_ReadLong() 667 c = net_message.data[msg_readcount] in MSG_ReadLong() 668 + (net_message.data[msg_readcount+1]<<8) in MSG_ReadLong() [all …]
|
D | net_vcr.cpp | 97 Sys_FileRead(vcrFile, &net_message.cursize, sizeof(int)); in VCR_GetMessage() 98 Sys_FileRead(vcrFile, net_message.data, net_message.cursize); in VCR_GetMessage()
|
D | cl_parse.cpp | 160 old = net_message; in CL_KeepaliveMessage() 161 memcpy (olddata, net_message.data, net_message.cursize); in CL_KeepaliveMessage() 182 net_message = old; in CL_KeepaliveMessage() 183 memcpy (net_message.data, olddata, net_message.cursize); in CL_KeepaliveMessage() 729 Con_Printf ("%i ",net_message.cursize); in CL_ParseServerMessage()
|
D | net_loop.cpp | 138 SZ_Clear (&net_message); in Loop_GetMessage() 139 SZ_Write (&net_message, &sock->receiveMessage[4], length); in Loop_GetMessage()
|
D | net_main.cpp | 58 sizebuf_t net_message; variable 585 vcrGetMessage.len = net_message.cursize; in NET_GetMessage() 587 Sys_FileWrite (vcrFile, net_message.data, net_message.cursize); in NET_GetMessage() 851 SZ_Alloc (&net_message, NET_MAXMESSAGE); in NET_Init()
|
D | net.h | 267 extern sizebuf_t net_message;
|
/external/quake/quake/src/QW/client/ |
D | cl_demo.c | 223 fread (&net_message.cursize, 4, 1, cls.demofile); in CL_GetDemoMessage() 224 net_message.cursize = LittleLong (net_message.cursize); in CL_GetDemoMessage() 226 if (net_message.cursize > MAX_MSGLEN) in CL_GetDemoMessage() 228 r = fread (net_message.data, net_message.cursize, 1, cls.demofile); in CL_GetDemoMessage() 267 CL_WriteDemoMessage (&net_message); in CL_GetMessage() 289 SZ_Clear (&net_message); in CL_Stop_f() 290 MSG_WriteLong (&net_message, -1); // -1 sequence means out of band in CL_Stop_f() 291 MSG_WriteByte (&net_message, svc_disconnect); in CL_Stop_f() 292 MSG_WriteString (&net_message, "EndOfDemo"); in CL_Stop_f() 293 CL_WriteDemoMessage (&net_message); in CL_Stop_f()
|
D | net_udp.c | 49 sizebuf_t net_message; variable 208 net_message.cursize = ret; in NET_GetPacket() 298 net_message.maxsize = sizeof(net_message_buffer); in NET_Init() 299 net_message.data = net_message_buffer; in NET_Init()
|
D | common.c | 671 if (msg_readcount+1 > net_message.cursize) in MSG_ReadChar() 677 c = (signed char)net_message.data[msg_readcount]; in MSG_ReadChar() 687 if (msg_readcount+1 > net_message.cursize) in MSG_ReadByte() 693 c = (unsigned char)net_message.data[msg_readcount]; in MSG_ReadByte() 703 if (msg_readcount+2 > net_message.cursize) in MSG_ReadShort() 709 c = (short)(net_message.data[msg_readcount] in MSG_ReadShort() 710 + (net_message.data[msg_readcount+1]<<8)); in MSG_ReadShort() 721 if (msg_readcount+4 > net_message.cursize) in MSG_ReadLong() 727 c = net_message.data[msg_readcount] in MSG_ReadLong() 728 + (net_message.data[msg_readcount+1]<<8) in MSG_ReadLong() [all …]
|
D | net_wins.c | 28 sizebuf_t net_message; variable 192 net_message.cursize = ret; in NET_GetPacket() 307 net_message.maxsize = sizeof(net_message_buffer); in NET_Init() 308 net_message.data = net_message_buffer; in NET_Init()
|
D | net.h | 33 extern sizebuf_t net_message;
|
D | net_chan.c | 362 , net_message.cursize); in Netchan_Process()
|
D | cl_parse.c | 384 fwrite (net_message.data + msg_readcount, 1, size, cls.download); in CL_ParseDownload() 1111 Con_Printf ("%i ",net_message.cursize); in CL_ParseServerMessage()
|
D | cl_main.c | 943 if (*(int *)net_message.data == -1) in CL_ReadPackets() 949 if (net_message.cursize < 8) in CL_ReadPackets()
|
/external/quake/quake/src/QW/server/ |
D | sv_main.c | 160 SZ_Clear (&net_message); in SV_FinalMessage() 161 MSG_WriteByte (&net_message, svc_print); in SV_FinalMessage() 162 MSG_WriteByte (&net_message, PRINT_HIGH); in SV_FinalMessage() 163 MSG_WriteString (&net_message, message); in SV_FinalMessage() 164 MSG_WriteByte (&net_message, svc_disconnect); in SV_FinalMessage() 168 Netchan_Transmit (&cl->netchan, net_message.cursize in SV_FinalMessage() 169 , net_message.data); in SV_FinalMessage() 740 , NET_AdrToString (net_from), net_message.data+4); in SVC_RemoteCommand() 749 , NET_AdrToString (net_from), net_message.data+4); in SVC_RemoteCommand() 1083 if (*(int *)net_message.data == -1) in SV_ReadPackets()
|
D | sv_user.c | 611 fwrite (net_message.data + msg_readcount, 1, size, host_client->upload); in SV_NextUpload() 1629 net_message.data + checksumIndex + 1, in SV_ExecuteClientMessage()
|