Lines Matching defs:AM_SUCCESS
329 assert_int_equal(am_cache_init(AM_DEFAULT_AGENT_ID), AM_SUCCESS);
365 if (am_add_session_policy_cache_entry(request, key, result, NULL) != AM_SUCCESS) {
379 assert_int_equal(am_add_session_policy_cache_entry(request, key, result, NULL), AM_SUCCESS);
396 assert_int_equal(am_get_session_policy_cache_entry(request, key, &r, &session, &ets), AM_SUCCESS);
398 } else if (am_get_session_policy_cache_entry(request, key, &r, &session, &ets) == AM_SUCCESS) {
419 assert_int_equal(am_add_session_policy_cache_entry(request, keys [i], result, NULL), AM_SUCCESS);
424 assert_int_equal(am_add_session_policy_cache_entry(request, keys [i], result, NULL), AM_SUCCESS);
433 assert_int_equal(am_get_session_policy_cache_entry(request, keys [i], &r, &session, &ets), AM_SUCCESS);
460 assert_int_equal(am_cache_init(AM_DEFAULT_AGENT_ID), AM_SUCCESS);
494 assert_int_equal(am_cache_init(AM_DEFAULT_AGENT_ID), AM_SUCCESS);
529 assert_int_equal(am_cache_init(AM_DEFAULT_AGENT_ID), AM_SUCCESS);
585 assert_int_equal(am_cache_init(AM_DEFAULT_AGENT_ID), AM_SUCCESS);
600 assert_int_equal(am_add_session_policy_cache_entry(&request, fake_session, policy_result, NULL), AM_SUCCESS);
617 if (am_get_session_policy_cache_entry(&request, fake_session, &r, &session, &ets) == AM_SUCCESS) {
699 assert_int_equal(am_cache_init(AM_DEFAULT_AGENT_ID), AM_SUCCESS);
715 assert_int_equal(am_cache_shutdown(), AM_SUCCESS);