Searched refs:tosend (Results 1 - 20 of 20) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/minidlna/
H A Dupnpevents.c96 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)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/
H A Dupnpevents.c96 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)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/
H A Dupnpevents.c96 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)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/miniupnpd/
H A Dupnpevents.c57 int tosend; member in struct:upnp_event_notify
395 obj->tosend = snprintf(obj->buffer, obj->buffersize, notifymsg,
414 i = send(obj->s, obj->buffer + obj->sent, obj->tosend - obj->sent, 0);
425 if(i != (obj->tosend - obj->sent))
427 "upnp_event_send", i, obj->tosend - obj->sent);
429 if(obj->sent == obj->tosend)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/miniupnpd/
H A Dupnpevents.c57 int tosend; member in struct:upnp_event_notify
395 obj->tosend = snprintf(obj->buffer, obj->buffersize, notifymsg,
414 i = send(obj->s, obj->buffer + obj->sent, obj->tosend - obj->sent, 0);
425 if(i != (obj->tosend - obj->sent))
427 "upnp_event_send", i, obj->tosend - obj->sent);
429 if(obj->sent == obj->tosend)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/miniupnpd/
H A Dupnpevents.c57 int tosend; member in struct:upnp_event_notify
395 obj->tosend = snprintf(obj->buffer, obj->buffersize, notifymsg,
414 i = send(obj->s, obj->buffer + obj->sent, obj->tosend - obj->sent, 0);
425 if(i != (obj->tosend - obj->sent))
427 "upnp_event_send", i, obj->tosend - obj->sent);
429 if(obj->sent == obj->tosend)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/
H A Drtmpproto.c466 uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = { local
485 tosend[i] = av_lfg_get(&rnd) >> 24;
486 client_pos = rtmp_handshake_imprint_with_digest(tosend + 1);
488 url_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE + 1);
513 rtmp_calc_digest(tosend + 1 + client_pos, 32, 0,
525 tosend[i] = av_lfg_get(&rnd) >> 24;
529 rtmp_calc_digest(tosend, RTMP_HANDSHAKE_PACKET_SIZE - 32, 0,
531 tosend + RTMP_HANDSHAKE_PACKET_SIZE - 32);
534 url_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavformat/
H A Drtmpproto.c466 uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = { local
485 tosend[i] = av_lfg_get(&rnd) >> 24;
486 client_pos = rtmp_handshake_imprint_with_digest(tosend + 1);
488 url_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE + 1);
513 rtmp_calc_digest(tosend + 1 + client_pos, 32, 0,
525 tosend[i] = av_lfg_get(&rnd) >> 24;
529 rtmp_calc_digest(tosend, RTMP_HANDSHAKE_PACKET_SIZE - 32, 0,
531 tosend + RTMP_HANDSHAKE_PACKET_SIZE - 32);
534 url_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavformat/
H A Drtmpproto.c466 uint8_t tosend [RTMP_HANDSHAKE_PACKET_SIZE+1] = { local
485 tosend[i] = av_lfg_get(&rnd) >> 24;
486 client_pos = rtmp_handshake_imprint_with_digest(tosend + 1);
488 url_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE + 1);
513 rtmp_calc_digest(tosend + 1 + client_pos, 32, 0,
525 tosend[i] = av_lfg_get(&rnd) >> 24;
529 rtmp_calc_digest(tosend, RTMP_HANDSHAKE_PACKET_SIZE - 32, 0,
531 tosend + RTMP_HANDSHAKE_PACKET_SIZE - 32);
534 url_write(rt->stream, tosend, RTMP_HANDSHAKE_PACKET_SIZE);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/
H A Dhvcs.c1321 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;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/lirc/
H A Dlirc_zilog.c465 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;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/lirc/
H A Dlirc_zilog.c465 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;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/
H A Dhvcs.c1321 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;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wan/
H A Dpc300_tty.c924 int tosend = len; local
941 nchar = (BD_DEF_LEN > tosend) ? tosend : BD_DEF_LEN;
945 &pdata[len - tosend],
961 tosend -= nchar;
H A Dpc300_drv.c260 int tosend = len; local
270 nchar = cpc_min(BD_DEF_LEN, tosend);
273 &ptdata[len - tosend], nchar);
285 tosend -= nchar;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wan/
H A Dpc300_tty.c924 int tosend = len; local
941 nchar = (BD_DEF_LEN > tosend) ? tosend : BD_DEF_LEN;
945 &pdata[len - tosend],
961 tosend -= nchar;
H A Dpc300_drv.c260 int tosend = len; local
270 nchar = cpc_min(BD_DEF_LEN, tosend);
273 &ptdata[len - tosend], nchar);
285 tosend -= nchar;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/
H A Dreply.c2799 size_t tosend = nread; local
2812 while (tosend > 0) {
2816 if (tosend > bufsize) {
2819 cur_read = tosend;
2836 tosend -= cur_read;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/smbd/
H A Dreply.c2799 size_t tosend = nread; local
2812 while (tosend > 0) {
2816 if (tosend > bufsize) {
2819 cur_read = tosend;
2836 tosend -= cur_read;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/smbd/
H A Dreply.c2799 size_t tosend = nread; local
2812 while (tosend > 0) {
2816 if (tosend > bufsize) {
2819 cur_read = tosend;
2836 tosend -= cur_read;

Completed in 426 milliseconds