Lines Matching refs:escaped_frame_buffer
805 static uint8_t escaped_frame_buffer[MAX_FRAME_SIZE * 2]; in push_hdlc() local
815 memcpy(escaped_frame_buffer, kHdlcResetSignal, sizeof(kHdlcResetSignal)); in push_hdlc()
837 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
838 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
842 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
851 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
852 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
856 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
862 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
863 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
867 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
870 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_FLAG; in push_hdlc()
881 …ret = (int)write(sHdlcOutputFd, escaped_frame_buffer + escaped_frame_sent, escaped_frame_len - esc… in push_hdlc()