Lines Matching refs:matches
81 chat->matches[MODEM_CHAT_MATCHES_INDEX_ABORT] = NULL; in modem_chat_script_stop()
83 chat->matches[MODEM_CHAT_MATCHES_INDEX_RESPONSE] = NULL; in modem_chat_script_stop()
134 chat->matches[MODEM_CHAT_MATCHES_INDEX_RESPONSE] = script_chat->response_matches; in modem_chat_script_next()
150 chat->matches[MODEM_CHAT_MATCHES_INDEX_ABORT] = script->abort_matches; in modem_chat_script_start()
380 for (uint16_t i = 0; i < ARRAY_SIZE(chat->matches); i++) { in modem_chat_parse_find_match()
384 if (chat->matches[i][u].match_size != chat->receive_buf_len) { in modem_chat_parse_find_match()
389 if (modem_chat_match_matches_received(chat, &chat->matches[i][u]) == in modem_chat_parse_find_match()
395 chat->parse_match = &chat->matches[i][u]; in modem_chat_parse_find_match()
479 for (uint16_t i = 0; i < ARRAY_SIZE(chat->matches); i++) { in modem_chat_parse_find_catch_all_match()
483 if (chat->matches[i][u].match_size == 0) { in modem_chat_parse_find_catch_all_match()
484 chat->parse_match = &chat->matches[i][u]; in modem_chat_parse_find_catch_all_match()
712 chat->matches[MODEM_CHAT_MATCHES_INDEX_UNSOL] = config->unsol_matches; in modem_chat_init()