Lines Matching refs:receive_buf_len

365 	return chat->receive_buf_len;  in get_receive_buf_length()
384 chat->receive_buf_len = 0; in modem_chat_parse_reset()
396 chat->parse_match_len = chat->receive_buf_len + 1; in modem_chat_parse_save_match()
436 if (chat->matches[i][u].match_size != chat->receive_buf_len) { in modem_chat_parse_find_match()
460 (chat->receive_buf[chat->receive_buf_len - 1])) { in modem_chat_parse_is_separator()
471 if (chat->receive_buf[chat->receive_buf_len - 1] == chat->delimiter[i]) { in modem_chat_parse_end_del_start()
482 if (chat->receive_buf_len < chat->delimiter_size) { in modem_chat_parse_end_del_complete()
487 return (memcmp(&chat->receive_buf[chat->receive_buf_len - chat->delimiter_size], in modem_chat_parse_end_del_complete()
568 chat->receive_buf[chat->receive_buf_len - chat->delimiter_size] = '\0'; in modem_chat_on_unknown_command_received()
587 if (chat->receive_buf_size == chat->receive_buf_len) { in modem_chat_process_byte()
601 chat->receive_buf[chat->receive_buf_len] = byte; in modem_chat_process_byte()
602 chat->receive_buf_len++; in modem_chat_process_byte()
607 if (chat->receive_buf_len == chat->delimiter_size) { in modem_chat_process_byte()
626 &chat->receive_buf[chat->receive_buf_len - chat->delimiter_size - in modem_chat_process_byte()
628 chat->receive_buf[chat->receive_buf_len - chat->delimiter_size] = '\0'; in modem_chat_process_byte()
669 &chat->receive_buf[chat->receive_buf_len - chat->parse_arg_len - 1]; in modem_chat_process_byte()
672 chat->receive_buf[chat->receive_buf_len - 1] = '\0'; in modem_chat_process_byte()
923 chat->receive_buf_len = 0; in modem_chat_release()