Lines Matching refs:receive_buf

399 	argv = &chat->receive_buf[chat->receive_buf_size - chat->parse_match_len];  in modem_chat_parse_save_match()
402 memcpy(argv, &chat->receive_buf[0], chat->parse_match_len - 1); in modem_chat_parse_save_match()
408 chat->receive_buf[chat->receive_buf_size - 1] = '\0'; in modem_chat_parse_save_match()
418 if ((match->match[i] == chat->receive_buf[i]) || in modem_chat_match_matches_received()
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()
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()
572 LOG_DBG("%s", chat->receive_buf); in modem_chat_on_unknown_command_received()
578 chat->argv[1] = chat->receive_buf; in modem_chat_on_unknown_command_received()
601 chat->receive_buf[chat->receive_buf_len] = byte; 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()
799 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_chat_init()
811 chat->receive_buf = config->receive_buf; in modem_chat_init()