Lines Matching full:sbytes
139 int sbytes;
448 size_t sbytes;
495 sbytes = 4 + strlen(filename) + strlen(mode);
504 sbytes += tftp_option_add(state, sbytes,
505 (char *)state->spacket.data+sbytes,
507 sbytes += tftp_option_add(state, sbytes,
508 (char *)state->spacket.data+sbytes, buf);
511 sbytes += tftp_option_add(state, sbytes,
512 (char *)state->spacket.data+sbytes,
514 sbytes += tftp_option_add(state, sbytes,
515 (char *)state->spacket.data+sbytes, buf );
519 sbytes += tftp_option_add(state, sbytes,
520 (char *)state->spacket.data+sbytes,
522 sbytes += tftp_option_add(state, sbytes,
523 (char *)state->spacket.data+sbytes, buf );
528 (SEND_TYPE_ARG3)sbytes, 0,
531 if(senddata != (ssize_t)sbytes) {
579 ssize_t sbytes;
609 sbytes = sendto(state->sockfd, (void *)state->spacket.data,
613 if(sbytes < 0) {
634 sbytes = sendto(state->sockfd, (void *)state->spacket.data,
638 if(sbytes < 0) {
660 sbytes = sendto(state->sockfd, (void *)state->spacket.data,
664 if(sbytes<0) {
701 ssize_t sbytes;
733 sbytes = sendto(state->sockfd, (void *)state->spacket.data,
734 4+state->sbytes, SEND_4TH_ARG,
737 /* Check all sbytes were sent */
738 if(sbytes<0) {
757 if(state->block > 1 && state->sbytes < (int)state->blksize) {
762 result = Curl_fillreadbuffer(state->conn, state->blksize, &state->sbytes);
766 sbytes = sendto(state->sockfd, (void *) state->spacket.data,
767 4 + state->sbytes, SEND_4TH_ARG,
770 /* Check all sbytes were sent */
771 if(sbytes<0) {
776 k->writebytecount += state->sbytes;
792 sbytes = sendto(state->sockfd, (void *)state->spacket.data,
793 4+state->sbytes, SEND_4TH_ARG,
796 /* Check all sbytes were sent */
797 if(sbytes<0) {