Lines Matching refs:matches
100 chat->matches[MODEM_CHAT_MATCHES_INDEX_ABORT] = NULL; in modem_chat_script_stop()
102 chat->matches[MODEM_CHAT_MATCHES_INDEX_RESPONSE] = NULL; in modem_chat_script_stop()
138 chat->matches[MODEM_CHAT_MATCHES_INDEX_RESPONSE] = script_chat->response_matches; in modem_chat_script_set_response_matches()
144 chat->matches[MODEM_CHAT_MATCHES_INDEX_RESPONSE] = NULL; in modem_chat_script_clear_response_matches()
226 chat->matches[MODEM_CHAT_MATCHES_INDEX_ABORT] = script->abort_matches; in modem_chat_script_start()
432 for (uint16_t i = 0; i < ARRAY_SIZE(chat->matches); i++) { in modem_chat_parse_find_match()
436 if (chat->matches[i][u].match_size != chat->receive_buf_len) { in modem_chat_parse_find_match()
441 if (modem_chat_match_matches_received(chat, &chat->matches[i][u]) == in modem_chat_parse_find_match()
447 chat->parse_match = &chat->matches[i][u]; in modem_chat_parse_find_match()
531 for (uint16_t i = 0; i < ARRAY_SIZE(chat->matches); i++) { in modem_chat_parse_find_catch_all_match()
535 if (chat->matches[i][u].match_size == 0) { in modem_chat_parse_find_catch_all_match()
536 chat->parse_match = &chat->matches[i][u]; in modem_chat_parse_find_catch_all_match()
819 chat->matches[MODEM_CHAT_MATCHES_INDEX_UNSOL] = config->unsol_matches; in modem_chat_init()
936 chat->matches[MODEM_CHAT_MATCHES_INDEX_ABORT] = NULL; in modem_chat_release()
938 chat->matches[MODEM_CHAT_MATCHES_INDEX_RESPONSE] = NULL; in modem_chat_release()