/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
H A D | compile_frontend.py | 215 command = '' 219 command += dump_module(dependency, recursively, processed_modules) 220 command += module_arg(name) + ':' 222 command += str(len(filtered_scripts)) 226 command += ':' 228 command += ',' 230 command += jsmodule_name_prefix + dependency 232 command += ' --js ' + path.join(devtools_frontend_path, name, script) 233 return command 284 command variable [all...] |
/external/chromium_org/tools/telemetry/telemetry/ |
H A D | test_runner.py | 5 """Parses the command line, discovers the appropriate tests, and runs them. 40 """Display help information about a command""" 42 usage = '[command]' 48 command = commands[0] 49 parser = command.CreateParser() 50 command.AddCommandLineArgs(parser) 54 print >> sys.stderr, ('usage: %s [command] [<options>]' % _ScriptName()) 56 for command in _Commands(): 58 command.Name(), command [all...] |
/external/chromium_org/sandbox/win/src/ |
H A D | handle_closer_test.cc | 113 base::string16 command = base::string16(L"CheckForFileHandles Y"); local 119 command += (L" "); 120 command += handle_name; 123 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(command.c_str())) << 124 "Failed: " << command; 133 base::string16 command = base::string16(L"CheckForFileHandles N"); local 141 command += (L" "); 142 command += handle_name; 145 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(command.c_str())) << 146 "Failed: " << command; [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | MoreExecutors.java | 250 public void execute(Runnable command) { argument 253 command.run(); 439 public void execute(Runnable command) { argument 440 delegate.execute(command); 455 Runnable command, long delay, TimeUnit unit) { 456 return delegate.schedule(command, delay, unit); 467 Runnable command, long initialDelay, long period, TimeUnit unit) { 468 return delegate.scheduleAtFixedRate(command, initialDelay, period, unit); 473 Runnable command, long initialDelay, long delay, TimeUnit unit) { 475 command, initialDela 454 schedule( Runnable command, long delay, TimeUnit unit) argument 466 scheduleAtFixedRate( Runnable command, long initialDelay, long period, TimeUnit unit) argument 472 scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) argument [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
H A D | VarOptimizer.java | 157 * Optimizes a complex var command by recursively expanding its expression into a sequence of 196 * Create a var command from the given expression and recursively optimize it, returning the 210 * Helper to efficiently add commands to a multiple command (if the command to be added is a 211 * multiple command, we add its contents). This is used to implement a tail recursion optimization 214 private static void addToContents(AMultipleCommand multi, PCommand command) { argument 215 if (command instanceof AMultipleCommand) { 216 multi.getCommand().addAll(((AMultipleCommand) command).getCommand()); 218 multi.getCommand().add(command); 263 * Returns a new command containin 304 asSimpleEscapeCommand(PCommand command) argument [all...] |
/external/chromium_org/content/browser/devtools/ |
H A D | tethering_handler.cc | 259 static int GetPort(scoped_refptr<DevToolsProtocol::Command> command, argument 261 base::DictionaryValue* params = command->params(); 271 TetheringHandler::OnBind(scoped_refptr<DevToolsProtocol::Command> command) { argument 273 int port = GetPort(command, portParamName); 275 return command->InvalidParamResponse(portParamName); 278 return command->InternalErrorResponse("Port already bound"); 282 return command->InternalErrorResponse("Could not bind port"); 285 return command->SuccessResponse(NULL); 289 TetheringHandler::OnUnbind(scoped_refptr<DevToolsProtocol::Command> command) { argument 291 int port = GetPort(command, portParamNam [all...] |
H A D | devtools_protocol.cc | 54 base::DictionaryValue command; local 55 command.SetInteger(kIdParam, id_); 56 command.SetString(kMethodParam, method_); 58 command.Set(kParamsParam, params_->DeepCopy()); 61 base::JSONWriter::Write(&command, &json_command); 174 scoped_refptr<DevToolsProtocol::Command> command) { 175 CommandHandlers::iterator it = command_handlers_.find(command->method()); 178 return (it->second).Run(command); 189 const std::string& command, 191 command_handlers_[command] 173 HandleCommand( scoped_refptr<DevToolsProtocol::Command> command) argument 188 RegisterCommandHandler( const std::string& command, const CommandHandler& handler) argument 212 ParseMethod(base::DictionaryValue* command, std::string* method) argument [all...] |
/external/qemu/android/skin/ |
H A D | keyset.c | 326 SkinKeyCommand command; member in struct:__anon29182 338 skin_keyset_add( SkinKeyset* kset, int sym, int mod, SkinKeyCommand command ) 345 D( "adding binding %s to %s", skin_key_command_to_str(command), skin_key_symmod_to_str(sym,mod)); 347 if (item->command == command) { 360 item->command = command; 375 item->command = command; 393 SkinKeyCommand command; local 464 skin_keyset_get_bindings( SkinKeyset* kset, SkinKeyCommand command, SkinKeyBinding* bindings ) argument [all...] |
/external/chromium_org/chrome/browser/extensions/api/commands/ |
H A D | command_service.h | 12 #include "chrome/common/extensions/command.h" 51 // An enum specifying whether the command is global in scope or not. Global 55 REGULAR, // Regular (non-globally scoped) command. 56 GLOBAL, // Global command (works when Chrome doesn't have focus) 88 // Gets the command (if any) for the browser action of an extension given 90 // the command is active. Returns false if the extension has no browser 91 // action. Returns false if the command is not active and |type| requested 92 // is ACTIVE_ONLY. |command| contains the command found and |active| (if not 93 // NULL) contains whether |command| i [all...] |
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
H A D | reload_button.cc | 143 int command; local 146 command = IDC_RELOAD_IGNORING_CACHE; 150 command = IDC_RELOAD; 157 // browser to execute the reload command). 161 ExecuteBrowserCommand(command, flags); 217 void ReloadButton::ExecuteBrowserCommand(int command, int event_flags) { argument 221 command, ui::DispositionFromEventFlags(event_flags));
|
/external/chromium_org/native_client_sdk/src/examples/api/var_dictionary/ |
H A D | var_dictionary.cc | 69 fprintf(stderr, "Expect dict item \"command\" to be a string.\n"); 73 std::string command = var_command.AsString(); local 74 if (command == kGetCommand) { 76 } else if (command == kSetCommand) { 78 } else if (command == kDeleteCommand) { 80 } else if (command == kGetKeysCommand) { 82 } else if (command == kHasKeyCommand) {
|
/external/chromium_org/testing/gtest/test/ |
H A D | gtest_xml_output_unittest.py | 234 command = [GTEST_PROGRAM_PATH, 237 p = gtest_test_utils.Subprocess(command) 248 % (command, p.exit_code, 1)) 271 command = ([gtest_prog_path, '%s=xml:%s' % (GTEST_OUTPUT_FLAG, xml_path)] + 273 p = gtest_test_utils.Subprocess(command) 282 % (command, p.exit_code, expected_exit_code))
|
/external/chromium_org/third_party/webrtc/tools/barcode_tools/ |
H A D | barcode_decoder.py | 47 command = [ffmpeg_path, '-s', '%s' % size_string, '-i', '%s' 52 print ' '.join(command) 54 command, fail_msg='Error during YUV to PNG conversion') 56 print 'Error executing command: %s. Error: %s' % (command, err) 67 The function uses the Zxing command-line tool from the Zxing C++ distribution 97 command_line_decoder(string): The ZXing command-line decoding tool. 102 command = [command_line_decoder, '--try-harder', '--dump-raw', file_name] 105 command, fail_msg='Error during decoding of %s' % file_name) 229 """Registers the command [all...] |
/external/gtest/test/ |
H A D | gtest_xml_output_unittest.py | 234 command = [GTEST_PROGRAM_PATH, 237 p = gtest_test_utils.Subprocess(command) 248 % (command, p.exit_code, 1)) 271 command = ([gtest_prog_path, '%s=xml:%s' % (GTEST_OUTPUT_FLAG, xml_path)] + 273 p = gtest_test_utils.Subprocess(command) 282 % (command, p.exit_code, expected_exit_code))
|
/external/lldb/include/lldb/Interpreter/ |
H A D | Args.h | 59 /// @brief A command line argument class. 61 /// The Args class is designed to be fed a command line. The 62 /// command line is copied into an internal buffer and then split up 73 /// Construct with an option command string. 75 /// @param[in] command 76 /// A NULL terminated command that will be copied and split up 81 Args (const char *command = NULL); 83 Args (const char *command, size_t len); 106 /// Sets the command string contained by this object. 108 /// The command strin [all...] |
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/ |
H A D | main.js | 240 // Activate is handled by the open-in-same-window-command. 243 $('open-in-same-window-command').execute(); 387 * @param {!cr.ui.CanExecuteEvent} e The event fired by the command system. 388 * @param {!cr.ui.Command} command The command we are currently processing. 395 function updateOpenCommand(e, command, singularId, pluralId, commandDisabled) { 397 // The command label reflects the selection which might not reflect 402 command.label = loadTimeData.getString(singular ? singularId : pluralId); 406 command.disabled = true; 413 command [all...] |
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
H A D | kiosk_app_update_service_browsertest.cc | 64 // Fake app mode command line. 65 CommandLine* command = CommandLine::ForCurrentProcess(); variable 66 command->AppendSwitch(switches::kForceAppMode); 67 command->AppendSwitchASCII(switches::kAppId, app_->id());
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_dom_clipboard_apitest.cc | 24 bool ExecuteCommandInIframeInSelectedTab(const char* command); 72 const char* command) { 78 return ExecuteScriptInSelectedTab(base::StringPrintf(kScript, command)); 71 ExecuteCommandInIframeInSelectedTab( const char* command) argument
|
H A D | external_provider_impl_chromeos_unittest.cc | 111 CommandLine* command = CommandLine::ForCurrentProcess(); local 112 command->AppendSwitchASCII(switches::kForceAppMode, std::string()); 113 command->AppendSwitchASCII(switches::kAppId, std::string("app_id"));
|
/external/chromium_org/chrome/browser/resources/extensions/ |
H A D | extension_command_list.js | 55 * Returns whether the passed in |keyCode| is a valid extension command 217 * Synthesizes and initializes an HTML element for the extension command 224 '.extension-command-list-extension-item-wrapper'); 238 * Synthesizes and initializes an HTML element for the extension command 239 * metadata given in |command|. 240 * @param {ExtensionCommand} command A dictionary of extension command 244 createNodeForCommand_: function(command) { 246 '.extension-command-list-command [all...] |
/external/chromium_org/content/browser/media/ |
H A D | webrtc_internals_unittest.cc | 23 virtual void OnUpdate(const std::string& command, 25 command_ = command; 30 std::string command() { function in class:content::__anon7265::MockWebRTCInternalsProxy 103 EXPECT_EQ("", observer->command()); 114 EXPECT_EQ("addPeerConnection", observer->command()); 136 EXPECT_EQ("removePeerConnection", observer->command()); 159 EXPECT_EQ("updatePeerConnection", observer->command()); 190 EXPECT_EQ("addGetUserMedia", observer->command()); 210 EXPECT_EQ("addGetUserMedia", observer->command()); 232 EXPECT_EQ("updateAllPeerConnections", observer->command()); [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | cmd_parser.cc | 5 // This file contains the implementation of the command parser. 31 // check that the command buffer fits into the memory buffer. 40 // Process one command, reading the header from the command buffer, and 41 // forwarding the command index and the arguments to the handler. 46 // - get_ is modified *after* the command has been executed. 73 // NOTE: buffer is a pointer to the command buffer. As such, it could be 90 DVLOG(1) << "Error: zero sized command in command buffer"; 99 const unsigned int command local [all...] |
/external/chromium_org/testing/gtest/scripts/ |
H A D | release_docs.py | 133 command = 'svn cp %s %s%s' % (f, self.version_prefix, f) 134 print command 135 os.system(command)
|
/external/chromium_org/third_party/closure_compiler/runner/ |
H A D | build_runner_jar.py | 29 def run_and_communicate(command, error_template): 30 print >> sys.stderr, command 31 proc = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True)
|
/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
H A D | upload.py | 73 command = [gsutil] + list(args) 74 LOGGER.info("Running: %s", command) 77 return subprocess.call(command)
|