/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/ |
H A D | game1.c | 353 packbuf[0] = 127; in allowtimetocorrecterrorswhenquitting() 371 switch(packbuf[0]) in getpackets() 687 packbuf[0] = 17; in faketimerhandler() 717 packbuf[j++] = 0; in faketimerhandler() 723 packbuf[k] |= 1; in faketimerhandler() 729 packbuf[k] |= 2; in faketimerhandler() 734 packbuf[k] |= 4; in faketimerhandler() 775 packbuf[0] = 1; packbuf[1] = 0; j = 2; in faketimerhandler() 784 packbuf[1] |= 1; in faketimerhandler() 790 packbuf[1] |= 2; in faketimerhandler() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/ |
H A D | net.cpp | 1996 packbuf[1] = 0; in Net_GetInput() 1997 packbuf[2] = 0; in Net_GetInput() 2037 packbuf[2] = 0; in Net_GetInput() 2176 switch (packbuf[0]) in Net_ParsePacket() 2200 l = packbuf[k]+(int)(packbuf[k+1]<<8); in Net_ParsePacket() 2268 k = packbuf[1] + (int)(packbuf[2]<<8); in Net_ParsePacket() 2337 k = packbuf[j] + (int)(packbuf[j+1]<<8); in Net_ParsePacket() 2418 Net_SendPacket((int)packbuf[1],packbuf,packbufleng); in Net_ParsePacket() 2666 g_player[packbuf[1]].vote = packbuf[2]; in Net_ParsePacket() 2682 packbuf[2]+1,packbuf[3]+1); in Net_ParsePacket() [all …]
|
/dports/net/utftpd/utftpd-0.2.4/ |
H A D | cdb_seek.c | 54 unsigned char packbuf[8]; in cdb_seek() local 67 if (cdb_bread(fd,packbuf,8) == -1) return -1; in cdb_seek() 69 pos = cdb_unpack(packbuf); in cdb_seek() 70 lenhash = cdb_unpack(packbuf + 4); in cdb_seek() 77 if (cdb_bread(fd,packbuf,8) == -1) return -1; in cdb_seek() 78 poskd = cdb_unpack(packbuf + 4); in cdb_seek() 80 if (cdb_unpack(packbuf) == h) { in cdb_seek() 82 if (cdb_bread(fd,packbuf,8) == -1) return -1; in cdb_seek() 83 if (cdb_unpack(packbuf) == len) in cdb_seek() 88 *dlen = cdb_unpack(packbuf + 4); in cdb_seek()
|
/dports/mail/mess822/mess822-0.58/ |
H A D | cdb_seek.c | 54 char packbuf[8]; local 67 if (cdb_bread(fd,packbuf,8) == -1) return -1; 69 pos = cdb_unpack(packbuf); 70 lenhash = cdb_unpack(packbuf + 4); 77 if (cdb_bread(fd,packbuf,8) == -1) return -1; 78 poskd = cdb_unpack(packbuf + 4); 80 if (cdb_unpack(packbuf) == h) { 82 if (cdb_bread(fd,packbuf,8) == -1) return -1; 83 if (cdb_unpack(packbuf) == len) 88 *dlen = cdb_unpack(packbuf + 4);
|
H A D | cdbmss.c | 27 cdbmake_pack(c->packbuf,(uint32) keylen); 28 cdbmake_pack(c->packbuf + 4,(uint32) datalen); 29 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; 55 cdbmake_pack(c->packbuf,c->cdbm.hash[u].h); 56 cdbmake_pack(c->packbuf + 4,c->cdbm.hash[u].p); 57 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1;
|
/dports/mail/qmail/netqmail-1.06/ |
H A D | cdb_seek.c | 53 char packbuf[8]; local 66 if (cdb_bread(fd,packbuf,8) == -1) return -1; 68 pos = cdb_unpack(packbuf); 69 lenhash = cdb_unpack(packbuf + 4); 76 if (cdb_bread(fd,packbuf,8) == -1) return -1; 77 poskd = cdb_unpack(packbuf + 4); 79 if (cdb_unpack(packbuf) == h) { 81 if (cdb_bread(fd,packbuf,8) == -1) return -1; 82 if (cdb_unpack(packbuf) == len) 87 *dlen = cdb_unpack(packbuf + 4);
|
H A D | cdbmss.c | 27 cdbmake_pack(c->packbuf,(uint32) keylen); 28 cdbmake_pack(c->packbuf + 4,(uint32) datalen); 29 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; 55 cdbmake_pack(c->packbuf,c->cdbm.hash[u].h); 56 cdbmake_pack(c->packbuf + 4,c->cdbm.hash[u].p); 57 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1;
|
/dports/mail/qmail-contrib/fastforward-0.51/ |
H A D | cdb_seek.c | 54 char packbuf[8]; local 67 if (cdb_bread(fd,packbuf,8) == -1) return -1; 69 pos = cdb_unpack(packbuf); 70 lenhash = cdb_unpack(packbuf + 4); 77 if (cdb_bread(fd,packbuf,8) == -1) return -1; 78 poskd = cdb_unpack(packbuf + 4); 80 if (cdb_unpack(packbuf) == h) { 82 if (cdb_bread(fd,packbuf,8) == -1) return -1; 83 if (cdb_unpack(packbuf) == len) 88 *dlen = cdb_unpack(packbuf + 4);
|
H A D | cdbmss.c | 27 cdbmake_pack(c->packbuf,(uint32) keylen); 28 cdbmake_pack(c->packbuf + 4,(uint32) datalen); 29 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; 55 cdbmake_pack(c->packbuf,c->cdbm.hash[u].h); 56 cdbmake_pack(c->packbuf + 4,c->cdbm.hash[u].p); 57 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1;
|
/dports/mail/qmail-mysql/netqmail-1.06/ |
H A D | cdb_seek.c | 53 char packbuf[8]; local 66 if (cdb_bread(fd,packbuf,8) == -1) return -1; 68 pos = cdb_unpack(packbuf); 69 lenhash = cdb_unpack(packbuf + 4); 76 if (cdb_bread(fd,packbuf,8) == -1) return -1; 77 poskd = cdb_unpack(packbuf + 4); 79 if (cdb_unpack(packbuf) == h) { 81 if (cdb_bread(fd,packbuf,8) == -1) return -1; 82 if (cdb_unpack(packbuf) == len) 87 *dlen = cdb_unpack(packbuf + 4);
|
/dports/mail/qmail-dk/qmail-1.03/ |
H A D | cdb_seek.c | 54 char packbuf[8]; local 67 if (cdb_bread(fd,packbuf,8) == -1) return -1; 69 pos = cdb_unpack(packbuf); 70 lenhash = cdb_unpack(packbuf + 4); 77 if (cdb_bread(fd,packbuf,8) == -1) return -1; 78 poskd = cdb_unpack(packbuf + 4); 80 if (cdb_unpack(packbuf) == h) { 82 if (cdb_bread(fd,packbuf,8) == -1) return -1; 83 if (cdb_unpack(packbuf) == len) 88 *dlen = cdb_unpack(packbuf + 4);
|
H A D | cdbmss.c | 27 cdbmake_pack(c->packbuf,(uint32) keylen); 28 cdbmake_pack(c->packbuf + 4,(uint32) datalen); 29 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1; 55 cdbmake_pack(c->packbuf,c->cdbm.hash[u].h); 56 cdbmake_pack(c->packbuf + 4,c->cdbm.hash[u].p); 57 if (substdio_put(&c->ss,c->packbuf,8) == -1) return -1;
|
/dports/mail/qmail-tls/netqmail-1.06/ |
H A D | cdb_seek.c | 53 char packbuf[8]; local 66 if (cdb_bread(fd,packbuf,8) == -1) return -1; 68 pos = cdb_unpack(packbuf); 69 lenhash = cdb_unpack(packbuf + 4); 76 if (cdb_bread(fd,packbuf,8) == -1) return -1; 77 poskd = cdb_unpack(packbuf + 4); 79 if (cdb_unpack(packbuf) == h) { 81 if (cdb_bread(fd,packbuf,8) == -1) return -1; 82 if (cdb_unpack(packbuf) == len) 87 *dlen = cdb_unpack(packbuf + 4);
|
/dports/mail/vpopmail/vpopmail-5.4.33/cdb/ |
H A D | cdb_seek.c | 53 char packbuf[8]; local 66 if (cdb_bread(fd,packbuf,8) == -1) return -1; 68 pos = cdb_unpack(packbuf); 69 lenhash = cdb_unpack(packbuf + 4); 76 if (cdb_bread(fd,packbuf,8) == -1) return -1; 77 poskd = cdb_unpack(packbuf + 4); 79 if (cdb_unpack(packbuf) == h) { 81 if (cdb_bread(fd,packbuf,8) == -1) return -1; 82 if (cdb_unpack(packbuf) == len) 87 *dlen = cdb_unpack(packbuf + 4);
|
/dports/mail/fastforward/fastforward-0.51/ |
H A D | cdb_seek.c | 56 char packbuf[8]; local 69 if (cdb_bread(fd,packbuf,8) == -1) return -1; 71 pos = cdb_unpack(packbuf); 72 lenhash = cdb_unpack(packbuf + 4); 79 if (cdb_bread(fd,packbuf,8) == -1) return -1; 80 poskd = cdb_unpack(packbuf + 4); 82 if (cdb_unpack(packbuf) == h) { 84 if (cdb_bread(fd,packbuf,8) == -1) return -1; 85 if (cdb_unpack(packbuf) == len) 90 *dlen = cdb_unpack(packbuf + 4);
|
/dports/mail/simscan/simscan-1.4.0/cdb/ |
H A D | cdb_seek.c | 54 char packbuf[8]; local 70 if (cdb_bread(fd,packbuf,8) == -1) { 75 pos = cdb_unpack(packbuf); 76 lenhash = cdb_unpack(packbuf + 4); 86 if (cdb_bread(fd,packbuf,8) == -1) { 90 poskd = cdb_unpack(packbuf + 4); 92 if (cdb_unpack(packbuf) == h) { 97 if (cdb_bread(fd,packbuf,8) == -1) { 101 if (cdb_unpack(packbuf) == len) 107 *dlen = cdb_unpack(packbuf + 4);
|
/dports/mail/vmailmgr/vmailmgr-0.97/lib/cdb++/ |
H A D | cdb_writer.cc | 56 unsigned char packbuf[8]; in put() local 57 pack(packbuf, key.length()); in put() 58 pack(packbuf+4, data.length()); in put() 59 if(!out.write(packbuf, sizeof packbuf)) FAIL; in put() 79 unsigned char packbuf[8]; in end() local 80 pack(packbuf, cdbm.hash[u].h); in end() 81 pack(packbuf+4, cdbm.hash[u].p); in end() 82 if(!out.write(packbuf, sizeof packbuf)) FAIL; in end()
|
/dports/games/jfsw/jfsw-c434002/src/ |
H A D | net.c | 65 BYTE tempbuf[576], packbuf[576]; variable 138 len = sizeof(packbuf); in netsendpacket() 163 len = sizeof(packbuf); in netbroadcastpacket() 1003 &packbuf[j]); in faketimerhandler() 1010 netbroadcastpacket(packbuf, j); in faketimerhandler() 1055 &packbuf[j]); in faketimerhandler() 1116 &packbuf[j]); in faketimerhandler() 1161 switch (packbuf[0]) in getpackets() 1197 &packbuf[j]); in getpackets() 1317 &packbuf[j]); in getpackets() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/build/src/ |
H A D | dxtfilter.cpp | 73 void dxt_handle_io(int32_t fil, int32_t len, void *midbuf, char *packbuf) in dxt_handle_io() argument 80 cleng = LZ4_compress_default((const char*)midbuf, packbuf, len, len); in dxt_handle_io() 87 else writebuf = packbuf; in dxt_handle_io() 102 void *midbuf, int32_t mbufsiz, char *packbuf, int32_t ispacked) in dedxt_handle_io() argument 113 inbuf = (ispacked && cleng < j) ? packbuf : midbuf; in dedxt_handle_io() 138 if (LZ4_decompress_safe(packbuf, (char*)midbuf, cleng, mbufsiz) <= 0) in dedxt_handle_io() 167 dxt_handle_io(fil, tabledivide32(miplen, stride)<<3, midbuf, packbuf); in dxtfilter() 176 dxt_handle_io(fil, tabledivide32(miplen, stride)<<2, midbuf, packbuf); in dxtfilter() 190 dxt_handle_io(fil, tabledivide32(miplen, stride)<<2, midbuf, packbuf); in dxtfilter() 221 …if (dedxt_handle_io(fil, tabledivide32(pict->size, stride)*4, midbuf, pict->size, packbuf, ispacke… in dedxtfilter() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/ |
H A D | network.cpp | 65 static uint8_t tempbuf[576], packbuf[576]; variable 142 if ((unsigned)len > sizeof(packbuf)) in netsendpacket() 145 len = sizeof(packbuf); in netsendpacket() 183 if ((unsigned)len > sizeof(packbuf)) in netbroadcastpacket() 186 len = sizeof(packbuf); in netbroadcastpacket() 1149 &packbuf[j]); in UpdateInputs() 1156 netbroadcastpacket(packbuf, j); in UpdateInputs() 1201 &packbuf[j]); in UpdateInputs() 1262 &packbuf[j]); in UpdateInputs() 1309 switch (packbuf[0]) in getpackets() [all …]
|
/dports/net/mpich/mpich-3.4.3/test/mpi/f08/datatype/ |
H A D | packef08.f90 | 15 integer packbuf(1000), pbufsize, intsize variable 121 & packbuf, aintv(1), aintv(2), ierr ) 127 & MPI_DOUBLE_PRECISION, packbuf, aintv(1), & 134 & MPI_CHARACTER, packbuf, aintv(1), & 142 & packbuf, aintv(1), aintv(2), ierr ) 150 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 152 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 154 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 156 call mpi_unpack_external( 'external32', packbuf, aintv(1), &
|
/dports/net/mpich/mpich-3.4.3/test/mpi/f77/datatype/ |
H A D | packef.f | 14 integer packbuf(1000), pbufsize, intsize 119 & packbuf, aintv(1), aintv(2), ierr ) 125 & MPI_DOUBLE_PRECISION, packbuf, aintv(1), 132 & MPI_CHARACTER, packbuf, aintv(1), 140 & packbuf, aintv(1), aintv(2), ierr ) 148 call mpi_unpack_external( 'external32', packbuf, aintv(1), 150 call mpi_unpack_external( 'external32', packbuf, aintv(1), 152 call mpi_unpack_external( 'external32', packbuf, aintv(1), 154 call mpi_unpack_external( 'external32', packbuf, aintv(1),
|
/dports/net/mpich/mpich-3.4.3/test/mpi/f90/datatype/ |
H A D | packef90.f90 | 14 integer packbuf(1000), pbufsize, intsize variable 120 & packbuf, aintv(1), aintv(2), ierr ) 126 & MPI_DOUBLE_PRECISION, packbuf, aintv(1), & 133 & MPI_CHARACTER, packbuf, aintv(1), & 141 & packbuf, aintv(1), aintv(2), ierr ) 149 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 151 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 153 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 155 call mpi_unpack_external( 'external32', packbuf, aintv(1), &
|
/dports/net/mpich2/mpich2-1.5/test/mpi/f77/datatype/ |
H A D | packef.f | 14 integer packbuf(1000), pbufsize, intsize 119 & packbuf, aintv(1), aintv(2), ierr ) 125 & MPI_DOUBLE_PRECISION, packbuf, aintv(1), 132 & MPI_CHARACTER, packbuf, aintv(1), 140 & packbuf, aintv(1), aintv(2), ierr ) 148 call mpi_unpack_external( 'external32', packbuf, aintv(1), 150 call mpi_unpack_external( 'external32', packbuf, aintv(1), 152 call mpi_unpack_external( 'external32', packbuf, aintv(1), 154 call mpi_unpack_external( 'external32', packbuf, aintv(1),
|
/dports/net/mpich2/mpich2-1.5/test/mpi/f90/datatype/ |
H A D | packef90.f90 | 14 integer packbuf(1000), pbufsize, intsize variable 120 & packbuf, aintv(1), aintv(2), ierr ) 126 & MPI_DOUBLE_PRECISION, packbuf, aintv(1), & 133 & MPI_CHARACTER, packbuf, aintv(1), & 141 & packbuf, aintv(1), aintv(2), ierr ) 149 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 151 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 153 call mpi_unpack_external( 'external32', packbuf, aintv(1), & 155 call mpi_unpack_external( 'external32', packbuf, aintv(1), &
|