Searched refs:state_map (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/components/sync_driver/
H A Dbackend_data_type_configurer.cc13 DataTypeConfigState state, const DataTypeConfigStateMap& state_map) {
15 for (DataTypeConfigStateMap::const_iterator type_it = state_map.begin();
16 type_it != state_map.end(); ++type_it) {
26 DataTypeConfigStateMap* state_map) {
28 (*state_map)[it.Get()] = state;
12 GetDataTypesInState( DataTypeConfigState state, const DataTypeConfigStateMap& state_map) argument
24 SetDataTypesState( DataTypeConfigState state, syncer::ModelTypeSet types, DataTypeConfigStateMap* state_map) argument
H A Dbackend_data_type_configurer.h58 // Return model types in |state_map| that match |state|.
60 DataTypeConfigState state, const DataTypeConfigStateMap& state_map);
73 // Set state of |types| in |state_map| to |state|.
76 DataTypeConfigStateMap* state_map);
/external/chromium_org/third_party/cython/src/Cython/Plex/
H A DDFA.py28 state_map = StateMap(new_machine)
33 new_state = state_map.old_to_new(epsilon_closure(old_state))
39 for old_state in state_map.new_to_old(new_state):
44 new_machine.add_transitions(new_state, event, state_map.old_to_new(old_states))
47 state_map.dump(debug)
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_usages_state_unittest.cc57 ContentSettingsUsagesState::StateMap state_map = local
58 state.state_map();
59 EXPECT_EQ(2U, state_map.size());
118 state.state_map();
119 EXPECT_EQ(state_map.size(), new_state_map.size());
125 EXPECT_TRUE(state.state_map().empty());
171 ContentSettingsUsagesState::StateMap state_map = local
172 state.state_map();
173 EXPECT_EQ(3U, state_map.size());
H A Dcontent_settings_usages_state.h30 const StateMap& state_map() const { function in class:ContentSettingsUsagesState
/external/chromium_org/chrome/browser/geolocation/
H A Dgeolocation_settings_state_unittest.cc60 GeolocationSettingsState::StateMap state_map = local
61 state.state_map();
62 EXPECT_EQ(2U, state_map.size());
121 state.state_map();
122 EXPECT_EQ(state_map.size(), new_state_map.size());
128 EXPECT_TRUE(state.state_map().empty());
174 GeolocationSettingsState::StateMap state_map = local
175 state.state_map();
176 EXPECT_EQ(3U, state_map.size());
H A Dgeolocation_browsertest.cc411 size_t state_map_size = usages_state.state_map().size();
430 EXPECT_GT(usages_state.state_map().size(), state_map_size);
432 EXPECT_EQ(1U, usages_state.state_map().count(requesting_origin));
436 usages_state.state_map().find(requesting_origin)->second);
H A Dgeolocation_permission_context_unittest.cc239 const ContentSettingsUsagesState::StateMap& state_map = local
240 content_settings->geolocation_usages_state().state_map();
241 EXPECT_EQ(1U, state_map.count(requesting_frame.GetOrigin()));
242 EXPECT_EQ(0U, state_map.count(requesting_frame));
244 state_map.find(requesting_frame.GetOrigin());
245 ASSERT_FALSE(settings == state_map.end())
/external/chromium_org/chrome/browser/predictors/
H A Dlogged_in_predictor_table.cc123 LoggedInPredictorTable::LoggedInStateMap* state_map) {
125 DCHECK(state_map != NULL);
126 state_map->clear();
136 (*state_map)[domain] = value;
122 GetAllData( LoggedInPredictorTable::LoggedInStateMap* state_map) argument
H A Dlogged_in_predictor_table.h43 void GetAllData(LoggedInStateMap* state_map);
/external/chromium_org/base/i18n/
H A Dbuild_utf8_validator_tables.cc302 // Create a new state corresponding to |set|, add it |states| and |state_map|
306 StateMap* state_map) {
310 const StateMap::const_iterator where = state_map->find(rest);
311 const uint8 target_state = where == state_map->end()
312 ? MakeState(rest, states, state_map)
324 CHECK(state_map->insert(std::make_pair(set, new_state_number)).second);
331 StateMap state_map; local
332 state_map.insert(std::make_pair(StringSet(), 0));
338 const StateMap::const_iterator where = state_map.find(rest);
339 const uint8 target_state = where == state_map
304 MakeState(const StringSet& set, std::vector<State>* states, StateMap* state_map) argument
[all...]
/external/chromium_org/components/invalidation/
H A Dunacked_invalidation_set_test_util.cc87 const UnackedInvalidationsMap& state_map) {
89 for (UnackedInvalidationsMap::const_iterator it = state_map.begin();
90 it != state_map.end(); ++it) {
86 UnackedInvalidationsMapToObjectIdInvalidationMap( const UnackedInvalidationsMap& state_map) argument
/external/chromium_org/chrome/browser/extensions/
H A Dblacklist.cc121 const Blacklist::BlacklistStateMap& state_map) {
122 callback.Run(state_map.empty() ? NOT_BLACKLISTED : state_map.begin()->second);
127 const Blacklist::BlacklistStateMap& state_map) {
129 for (Blacklist::BlacklistStateMap::const_iterator it = state_map.begin();
130 it != state_map.end(); ++it) {
119 CheckOneExtensionState( const Blacklist::IsBlacklistedCallback& callback, const Blacklist::BlacklistStateMap& state_map) argument
125 GetMalwareFromBlacklistStateMap( const Blacklist::GetMalwareIDsCallback& callback, const Blacklist::BlacklistStateMap& state_map) argument
H A Dextension_service.cc2202 const extensions::Blacklist::BlacklistStateMap& state_map) {
2209 state_map.begin();
2210 it != state_map.end();
2233 UpdateGreylistedExtensions(greylist, unchanged, state_map);
2296 const extensions::Blacklist::BlacklistStateMap& state_map) {
2329 state_map.find(*it)->second);
2201 ManageBlacklist( const extensions::Blacklist::BlacklistStateMap& state_map) argument
2293 UpdateGreylistedExtensions( const ExtensionIdSet& greylist, const ExtensionIdSet& unchanged, const extensions::Blacklist::BlacklistStateMap& state_map) argument
H A Dextension_service.h574 const extensions::Blacklist::BlacklistStateMap& state_map);
/external/openfst/src/include/fst/
H A Dminimize.h458 vector<StateId> state_map(partition.num_classes());
461 state_map[i] = siter.Value(); // first state in partition;
472 arc.nextstate = state_map[partition.class_id(arc.nextstate)];
474 if (s == state_map[c]) // first state just set destination
477 fst->AddArc(state_map[c], arc);
481 fst->SetStart(state_map[partition.class_id(fst->Start())]);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dminimize.h445 vector<StateId> state_map(partition.num_classes());
448 state_map[i] = siter.Value(); // first state in partition;
459 arc.nextstate = state_map[partition.class_id(arc.nextstate)];
461 if (s == state_map[c]) // first state just set destination
464 fst->AddArc(state_map[c], arc);
468 fst->SetStart(state_map[partition.class_id(fst->Start())]);
/external/chromium_org/chrome/browser/ui/content_settings/
H A Dcontent_setting_image_model.cc196 if (usages_state.state_map().empty())
332 if (usages_state.state_map().empty())
H A Dcontent_setting_bubble_model.cc970 const ContentSettingsUsagesState::StateMap& state_map = local
971 content_settings->geolocation_usages_state().state_map();
976 state_map.begin(); it != state_map.end(); ++it) {
1221 const ContentSettingsUsagesState::StateMap& state_map = local
1222 content_settings->midi_usages_state().state_map();
1227 state_map.begin(); it != state_map.end(); ++it) {
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service.h385 // Fills state_map with a map of current data types that are possible to
388 sync_driver::DataTypeController::StateMap* state_map) const;
H A Dprofile_sync_service.cc469 DataTypeController::StateMap* state_map) const {
474 (*state_map)[iter->first] = iter->second.get()->state();

Completed in 595 milliseconds