Lines Matching refs:bytes_read
777 gsize available, bytes_read;
797 bytes_read = available;
800 if (bytes_read > 0)
810 (char *)buffer + bytes_read,
815 if (nread < 0 && bytes_read == 0)
819 bytes_read += nread;
821 return bytes_read;
828 if (bytes_read == 0)
831 return bytes_read;
837 memcpy ((char *)buffer + bytes_read, (char *)priv->buffer + priv->pos, count);
838 bytes_read += count;
841 return bytes_read;
1023 gssize bytes_read;
1052 if (nread < 0 && data->bytes_read == 0)
1056 data->bytes_read += nread;
1088 if (nread < 0 && data->bytes_read == 0)
1097 memcpy ((char *)data->buffer + data->bytes_read, (char *)priv->buffer + priv->pos, data->count);
1098 data->bytes_read += data->count;
1132 data->bytes_read = 0;
1144 data->bytes_read = count;
1160 data->bytes_read = available;
1170 (char *)buffer + data->bytes_read,
1198 return data->bytes_read;