Lines Matching defs:bytes
249 logmsg("WROTE %zd bytes [CONNACK]", rc);
273 logmsg("WROTE %zd bytes [SUBACK]", rc);
295 logmsg("WROTE %zd bytes [PUBACK]", rc);
313 logmsg("WROTE %zd bytes [DISCONNECT]", rc);
345 /* return number of bytes used */
347 unsigned char *remlength) /* 4 bytes */
349 int bytes = 0;
358 remlength[bytes++] = encode;
360 if(bytes > 3) {
366 return bytes;
442 logmsg("WROTE %zd bytes [PUBLISH]", rc);
464 /* get the first two bytes */
468 logmsg("READ %zd bytes [SHORT!]", rc);
471 logmsg("READ %zd bytes", rc);
486 logmsg("Remaining Length: %zu [%zu bytes]", *remaining_lengthp,
502 size_t bytes = 0; /* remaining length field size in bytes */
541 rc = fixedheader(fd, &byte, &remaining_length, &bytes);
558 logmsg("READ %zd bytes", rc);
571 /* ignore the connect flag byte and two keepalive bytes */
632 /* two bytes packet id */
635 /* two bytes topic length */
681 topiclen = (size_t)(buffer[1 + bytes] << 8) | buffer[2 + bytes];
682 logmsg("Got %zu bytes topic", topiclen);
693 logmsg("READ %zd bytes [DISCONNECT]", rc);