/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/notifications/scheduler/internal/ |
H A D | scheduler_utils.cc | 19 std::map<SchedulerClientType, const ClientState*> client_states; in NotificationsShownToday() local 21 client_states.emplace(state->type, state); in NotificationsShownToday() 24 NotificationsShownToday(client_states, &shown_per_type, &shown_total, in NotificationsShownToday() 30 const std::map<SchedulerClientType, const ClientState*>& client_states, in NotificationsShownToday() argument 40 for (const auto& state : client_states) { in NotificationsShownToday()
|
H A D | background_task_coordinator.cc | 39 BackgroundTaskCoordinator::ClientStates client_states) { in ScheduleBackgroundTask() argument 60 std::move(client_states)); in ScheduleBackgroundTask() 83 BackgroundTaskCoordinator::ClientStates client_states) { in ProcessThrottledNotifications() argument 92 NotificationsShownToday(client_states, &shown_per_type, &shown_total, in ProcessThrottledNotifications() 97 auto it = client_states.find(type); in ProcessThrottledNotifications() 98 if (pair.second.empty() || (it == client_states.end())) in ProcessThrottledNotifications() 197 ClientStates client_states) override { in ScheduleBackgroundTask() argument 201 std::move(client_states)); in ScheduleBackgroundTask()
|
H A D | scheduler_utils_unittest.cc | 102 std::map<SchedulerClientType, const ClientState*> client_states; in TEST_F() local 132 client_states[SchedulerClientType::kTest1] = new_client1.get(); in TEST_F() 133 client_states[SchedulerClientType::kTest2] = new_client2.get(); in TEST_F() 134 client_states[SchedulerClientType::kTest3] = new_client3.get(); in TEST_F() 139 NotificationsShownToday(client_states, &shown_per_type, &shown_total, in TEST_F()
|
H A D | display_decider.cc | 30 ClientStates client_states) in DecisionHelper() argument 32 client_states_(std::move(client_states)), in DecisionHelper() 184 ClientStates client_states, in FindNotificationsToShow() argument 202 std::move(client_states)); in FindNotificationsToShow()
|
H A D | notification_scheduler.cc | 308 DisplayDecider::ClientStates client_states; in FindNotificationToShow() local 309 context_->impression_tracker()->GetClientStates(&client_states); in FindNotificationToShow() 315 std::move(notifications), std::move(client_states), &results); in FindNotificationToShow() 338 BackgroundTaskCoordinator::ClientStates client_states; in ScheduleBackgroundTask() local 339 context_->impression_tracker()->GetClientStates(&client_states); in ScheduleBackgroundTask() 342 std::move(notifications), std::move(client_states)); in ScheduleBackgroundTask()
|
H A D | display_decider_unittest.cc | 106 std::map<SchedulerClientType, const ClientState*> client_states; in RunTestCase() local 108 client_states.emplace(type.first, type.second.get()); in RunTestCase() 115 std::move(client_states), &results_); in RunTestCase()
|
H A D | impression_history_tracker_unittest.cc | 161 std::map<SchedulerClientType, const ClientState*> client_states; in VerifyClientStates() local 162 impression_trakcer_->GetClientStates(&client_states); in VerifyClientStates() 167 DCHECK_EQ(expected_client_states.size(), client_states.size()); in VerifyClientStates() 169 auto output_it = client_states.find(expected.first); in VerifyClientStates() 170 DCHECK(output_it != client_states.end()); in VerifyClientStates()
|
H A D | background_task_coordinator_unittest.cc | 123 std::map<SchedulerClientType, const ClientState*> client_states; in ScheduleTask() local 125 client_states.emplace(type.first, type.second.get()); in ScheduleTask() 133 std::move(client_states)); in ScheduleTask()
|
H A D | impression_history_tracker.h | 68 std::map<SchedulerClientType, const ClientState*>* client_states) 110 client_states) const override;
|
H A D | scheduler_utils.h | 26 const std::map<SchedulerClientType, const ClientState*>& client_states,
|
H A D | background_task_coordinator.h | 48 ClientStates client_states) = 0;
|
H A D | display_decider.h | 53 ClientStates client_states,
|
H A D | impression_store_unittest.cc | 85 void CreateTestProto(const TestClientStates& client_states) { in CreateTestProto() argument 86 for (const auto& pair : client_states) { in CreateTestProto()
|
H A D | impression_history_tracker.cc | 117 std::map<SchedulerClientType, const ClientState*>* client_states) const { in GetClientStates() 119 DCHECK(client_states); in GetClientStates() 120 client_states->clear(); in GetClientStates() 122 client_states->emplace(pair.first, pair.second.get()); in GetClientStates()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/notifications/scheduler/test/ |
H A D | test_utils.cc | 56 ImpressionHistoryTracker::ClientStates* client_states) { in AddImpressionTestData() argument 57 DCHECK(client_states); in AddImpressionTestData() 61 client_states->emplace(test_data.type, std::move(client_state)); in AddImpressionTestData() 67 std::vector<std::unique_ptr<ClientState>>* client_states) { in AddImpressionTestData() argument 68 DCHECK(client_states); in AddImpressionTestData() 72 client_states->emplace_back(std::move(client_state)); in AddImpressionTestData()
|
H A D | test_utils.h | 52 ImpressionHistoryTracker::ClientStates* client_states); 57 std::vector<std::unique_ptr<ClientState>>* client_states);
|
H A D | mock_background_task_coordinator.h | 20 BackgroundTaskCoordinator::ClientStates client_states));
|
/dports/games/freeciv/freeciv-2.6.6/client/ |
H A D | client_main.h | 43 enum client_states { enum 61 void set_client_state(enum client_states newstate); 62 enum client_states client_state(void);
|
H A D | client_main.c | 150 static enum client_states civclient_state = C_S_INITIAL; 825 void set_client_state(enum client_states newstate) in set_client_state() 827 enum client_states oldstate = civclient_state; in set_client_state() 1008 enum client_states client_state(void) in client_state()
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/ |
H A D | client_main.h | 43 enum client_states { enum 61 void set_client_state(enum client_states newstate); 62 enum client_states client_state(void);
|
H A D | client_main.c | 150 static enum client_states civclient_state = C_S_INITIAL; 825 void set_client_state(enum client_states newstate) in set_client_state() 827 enum client_states oldstate = civclient_state; in set_client_state() 1008 enum client_states client_state(void) in client_state()
|
/dports/games/residualvm/residualvm-0.3.1/graphics/tinygl/ |
H A D | arrays.cpp | 40 int states = c->client_states; in glopArrayElement() 93 c->client_states |= p[1].i; in glopEnableClientState() 97 c->client_states &= p[1].i; in glopDisableClientState()
|
/dports/games/scummvm/scummvm-2.5.1/graphics/tinygl/ |
H A D | arrays.cpp | 40 int states = c->client_states; in glopArrayElement() 93 c->client_states |= p[1].i; in glopEnableClientState() 97 c->client_states &= p[1].i; in glopDisableClientState()
|
/dports/www/privoxy/privoxy-3.0.33-stable/ |
H A D | jcc.h | 48 extern struct client_states clients[1];
|
/dports/www/epiphany/epiphany-41.0/lib/safe-browsing/ |
H A D | ephy-gsb-utils.c | 368 JsonArray *client_states; in ephy_gsb_utils_make_full_hashes_request() local 377 client_states = json_array_new (); in ephy_gsb_utils_make_full_hashes_request() 392 json_array_add_string_element (client_states, list->client_state); in ephy_gsb_utils_make_full_hashes_request() 430 json_object_set_array_member (body_obj, "clientStates", client_states); in ephy_gsb_utils_make_full_hashes_request()
|