/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/ |
H A D | EMSocket.cpp | 554 uint32 tosend = sendblen-sent; local 556 if (maxNumberOfBytesToSend >= sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall && tosend > maxNumberOfBytesToSend-(sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall)) 557 tosend = maxNumberOfBytesToSend-(sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall); 559 if (minFragSize >= sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall && tosend > minFragSize-(sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall)) 560 tosend = minFragSize-(sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall); 563 if (nextFragMaxBytesToSent >= sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall && tosend > nextFragMaxBytesToSent-(sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall)) 564 tosend = nextFragMaxBytesToSent-(sentStandardPacketBytesThisCall + sentControlPacketBytesThisCall); 566 wxASSERT(tosend != 0 && tosend <= sendblen-sent); 572 uint32 result = CEncryptedStreamSocket::Write(sendbuffer+sent,tosend); [all...] |
H A D | ClientTCPSocket.cpp | 1173 CPacket* tosend = reqfile->CreateSrcInfoPacket(m_client, byRequestedVersion, byRequestedOptions); local 1174 if(tosend) { 1175 theStats::AddUpOverheadSourceExchange(tosend->GetPacketSize()); 1177 SendPacket(tosend, true); 1486 CPacket* tosend = file->CreateSrcInfoPacket(m_client, byRequestedVersion, byRequestedOptions); local 1487 if(tosend) { 1488 theStats::AddUpOverheadSourceExchange(tosend->GetPacketSize()); 1490 SendPacket(tosend, true, true);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/ |
H A D | upnpevents.c | 59 int tosend; member in struct:upnp_event_notify 303 obj->tosend = asprintf(&(obj->buffer), notifymsg, 307 obj->buffersize = obj->tosend; 320 i = send(obj->s, obj->buffer + obj->sent, obj->tosend - obj->sent, 0); 326 else if(i != (obj->tosend - obj->sent)) 328 "upnp_event_send", i, obj->tosend - obj->sent); 330 if(obj->sent == obj->tosend)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna-1.1.5/ |
H A D | upnpevents.c | 96 int tosend; member in struct:upnp_event_notify 345 obj->tosend = asprintf(&(obj->buffer), notifymsg, 349 obj->buffersize = obj->tosend; 359 while( obj->sent < obj->tosend ) { 360 i = send(obj->s, obj->buffer + obj->sent, obj->tosend - obj->sent, 0); 368 if(obj->sent == obj->tosend)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
H A D | rtmpproto.c | 467 uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = { local 486 tosend[i] = av_lfg_get(&rnd) >> 24; 487 client_pos = rtmp_handshake_imprint_with_digest(tosend + 1); 489 ffurl_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE + 1); 514 rtmp_calc_digest(tosend + 1 + client_pos, 32, 0, 526 tosend[i] = av_lfg_get(&rnd) >> 24; 530 rtmp_calc_digest(tosend, RTMP_HANDSHAKE_PACKET_SIZE - 32, 0, 532 tosend + RTMP_HANDSHAKE_PACKET_SIZE - 32); 535 ffurl_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | rtmpproto.c | 1165 uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = { local 1185 tosend[i] = av_lfg_get(&rnd) >> 24; 1191 tosend[0] = 6; 1192 tosend[5] = 128; 1193 tosend[6] = 0; 1194 tosend[7] = 3; 1195 tosend[8] = 2; 1199 if ((ret = ff_rtmpe_gen_pub_key(rt->stream, tosend + 1)) < 0) 1203 client_pos = rtmp_handshake_imprint_with_digest(tosend + 1, rt->encrypted); 1207 if ((ret = ffurl_write(rt->stream, tosend, [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/lirc/ |
H A D | lirc_zilog.c | 465 int tosend = TX_BLOCK_SIZE - i; local 466 if (tosend > 4) 467 tosend = 4; 469 for (j = 0; j < tosend; ++j) 473 ret = i2c_master_send(&ir->c_tx, buf, tosend + 1); 474 if (ret != tosend + 1) { 478 i += tosend;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ |
H A D | hvcs.c | 1321 int tosend = 0; local 1356 tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer)); 1361 if (!tosend) 1366 tosend); 1368 hvcsd->chars_in_buffer += tosend; 1385 * tosend we record that it was sent regardless of whether the 1388 total_sent+=tosend; 1389 count-=tosend;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wan/ |
H A D | pc300_tty.c | 924 int tosend = len; local 941 nchar = (BD_DEF_LEN > tosend) ? tosend : BD_DEF_LEN; 945 &pdata[len - tosend], 961 tosend -= nchar;
|
H A D | pc300_drv.c | 260 int tosend = len; local 270 nchar = cpc_min(BD_DEF_LEN, tosend); 273 &ptdata[len - tosend], nchar); 285 tosend -= nchar;
|