Home
last modified time | relevance | path

Searched refs:commands_ (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/chrome/test/chromedriver/chrome/
Dgeolocation_override_manager_unittest.cc49 commands_.push_back(Command(method, params)); in SendCommandAndGetResult()
53 std::vector<Command> commands_; member in __anond90e7ee40111::RecorderDevToolsClient
75 ASSERT_EQ(1u, client.commands_.size()); in TEST()
77 AssertGeolocationCommand(client.commands_[0], geoposition)); in TEST()
81 ASSERT_EQ(2u, client.commands_.size()); in TEST()
83 AssertGeolocationCommand(client.commands_[1], geoposition)); in TEST()
89 ASSERT_EQ(0u, client.commands_.size()); in TEST()
94 ASSERT_EQ(1u, client.commands_.size()); in TEST()
96 ASSERT_EQ(2u, client.commands_.size()); in TEST()
98 AssertGeolocationCommand(client.commands_[1], geoposition)); in TEST()
[all …]
Dmobile_emulation_override_manager_unittest.cc50 commands_.push_back(Command(method, params)); in SendCommandAndGetResult()
54 std::vector<Command> commands_; member in __anon7ffd18b50111::RecorderDevToolsClient
89 ASSERT_EQ(0u, client.commands_.size()); in TEST()
92 ASSERT_EQ(1u, client.commands_.size()); in TEST()
94 ASSERT_EQ(2u, client.commands_.size()); in TEST()
96 AssertDeviceMetricsCommand(client.commands_[1], device_metrics)); in TEST()
110 ASSERT_EQ(1u, client.commands_.size()); in TEST()
114 ASSERT_EQ(2u, client.commands_.size()); in TEST()
116 AssertDeviceMetricsCommand(client.commands_[1], device_metrics)); in TEST()
123 ASSERT_EQ(2u, client.commands_.size()); in TEST()
/external/chromium_org/gpu/command_buffer/client/
Dgles2_implementation_unittest_autogen.h24 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
36 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
50 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
64 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
78 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
89 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
100 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
111 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
122 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
140 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
[all …]
Dgles2_implementation_unittest.cc393 TestContext() : commands_(NULL), token_(0) {} in TestContext()
469 commands_ = static_cast<CommandBufferEntry*>(ring_buffer->memory()) + in Initialize()
503 CommandBufferEntry* commands_; member in gpu::gles2::GLES2ImplementationTest::TestContext
507 GLES2ImplementationTest() : commands_(NULL) {} in GLES2ImplementationTest()
557 commands_ = test_contexts_[0].commands_; in Initialize()
618 CommandBufferEntry* commands_; member in gpu::gles2::GLES2ImplementationTest
810 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
835 EXPECT_NE(commands_, commands2); in TEST_F()
836 EXPECT_EQ(0, memcmp(&expected1, commands_, sizeof(expected1))); in TEST_F()
926 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
[all …]
/external/chromium_org/chrome/installer/util/
Dapp_commands.cc31 commands_.clear(); in Initialize()
44 commands_[name] = command; in Initialize()
55 commands_ = other.commands_; in CopyFrom()
61 commands_.clear(); in Clear()
67 CommandMap::const_iterator it(commands_.find(command_id)); in Get()
68 if (it == commands_.end()) in Get()
77 commands_.insert(std::make_pair(command_id, command))); in Set()
84 return commands_.erase(command_id) != 0; in Remove()
88 return std::make_pair(commands_.begin(), commands_.end()); in GetIterators()
Dinstallation_state.cc81 if (!InitializeCommands(key, &commands_)) in Initialize()
82 commands_.Clear(); in Initialize()
165 commands_.CopyFrom(other.commands_); in CopyFrom()
185 commands_.Clear(); in Clear()
Dinstallation_state.h94 const AppCommands& commands() const { return commands_; } in commands()
113 AppCommands commands_; variable
Dapp_commands.h65 CommandMap commands_;
Dinstallation_validator_unittest.cc96 installer::AppCommands& commands() { return commands_; } in commands()
229 commands_.Set(installer::kCmdOnOsUpgrade, app_cmd); in AddOsUpgradeCommand()
249 commands_.Set(installer::kCmdQueryEULAAcceptance, app_cmd); in AddQueryEULAAcceptanceCommand()
270 commands_.Set(installer::kCmdQuickEnableApplicationHost, app_cmd); in AddQuickEnableApplicationHostCommand()
/external/chromium_org/chrome/browser/
Dcommand_updater.cc28 STLDeleteContainerPairSecondPointers(commands_.begin(), commands_.end()); in ~CommandUpdater()
32 return commands_.find(id) != commands_.end(); in SupportsCommand()
36 const CommandMap::const_iterator command(commands_.find(id)); in IsCommandEnabled()
37 if (command == commands_.end()) in IsCommandEnabled()
65 for (CommandMap::const_iterator it = commands_.begin(); in RemoveCommandObserver()
66 it != commands_.end(); in RemoveCommandObserver()
86 return commands_[id]; in GetCommand()
89 commands_[id] = command; in GetCommand()
Dcommand_updater.h79 CommandMap commands_; variable
/external/chromium_org/chrome/browser/ui/cocoa/
Dcommand_observer_bridge.mm12 : observer_(observer), commands_(commands) { function
13 DCHECK(observer_ && commands_);
18 commands_->RemoveCommandObserver(this);
22 commands_->AddCommandObserver(command, this);
Dcommand_observer_bridge.h41 CommandUpdater* commands_; // weak variable
/external/chromium_org/chrome/browser/ui/content_settings/
Dcontent_setting_media_menu_model.cc31 commands_.insert(std::make_pair(commands_.size(), devices[i])); in ContentSettingMediaMenuModel()
55 CommandMap::const_iterator it = commands_.find(command_id); in ExecuteCommand()
56 DCHECK(it != commands_.end()); in ExecuteCommand()
Dcontent_setting_media_menu_model.h45 CommandMap commands_; variable
/external/chromium_org/components/component_updater/
Dcomponent_patcher.cc67 commands_.reset(ReadCommands(input_dir_)); in StartPatching()
68 if (!commands_.get()) { in StartPatching()
71 next_command_ = commands_->begin(); in StartPatching()
77 if (next_command_ == commands_->end()) { in PatchNextFile()
Dcomponent_patcher.h92 scoped_ptr<base::ListValue> commands_; variable
/external/chromium_org/net/cookies/
Dcookie_monster_store_test.cc65 commands_.push_back( in AddCookie()
71 commands_.push_back(CookieStoreCommand( in UpdateCookieAccessTime()
76 commands_.push_back( in DeleteCookie()
Dcookie_monster_store_test.h82 return commands_; in commands()
106 CommandList commands_;
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_manager_commands.js247 this.commands_ = {};
255 this.commands_[commands[i].id] = commands[i];
268 for (var id in this.commands_) {
269 this.commands_[id].canExecuteChange();
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_controller.h60 CommandUpdater* commands_; // weak, one per window
Dtoolbar_controller.mm150 commands_ = commands;
260 [self initCommandStatus:commands_];
262 locationBarView_.reset(new LocationBarViewMac(locationBar_, commands_,