Lines Matching refs:byte
285 /* 10 length of variable header and 1 the first byte of the fixed header */
453 packetlen = topiclen + 5; /* packetid + topic (has a two byte length field)
454 + 2 bytes topic length + QoS byte */
456 packetlen += n + 1; /* add one for the control packet type byte */
482 * Called when the first byte was already read.
543 /* add the control byte and the encoded remaining length */
748 unsigned char byte;
764 /* Read the initial byte only */
775 /* remember the first byte */
781 result = Curl_read(data, sockfd, (char *)&byte, 1, &nread);
784 Curl_debug(data, CURLINFO_HEADER_IN, (char *)&byte, 1);
785 mq->pkt_hd[mq->npacket++] = byte;
786 } while((byte & 0x80) && (mq->npacket < 4));
787 if(nread && (byte & 0x80))