Lines Matching refs:escaped_frame_len
819 static uint16_t escaped_frame_len; in push_hdlc() local
822 if (escaped_frame_len == 0) in push_hdlc()
828 escaped_frame_len = sizeof(kHdlcResetSignal); in push_hdlc()
849 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
850 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
854 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
863 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
864 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
868 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
874 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
875 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
879 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
882 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_FLAG; in push_hdlc()
893 …ret = (int)write(sHdlcOutputFd, escaped_frame_buffer + escaped_frame_sent, escaped_frame_len - esc… in push_hdlc()
912 if (escaped_frame_len == escaped_frame_sent) in push_hdlc()
914 escaped_frame_len = escaped_frame_sent = 0; in push_hdlc()