/external/chromium_org/content/browser/devtools/ |
H A D | devtools_power_handler.cc | 59 scoped_refptr<DevToolsProtocol::Command> command) { 63 return command->SuccessResponse(NULL); 66 return command->InternalErrorResponse("Power profiler service unavailable"); 70 DevToolsPowerHandler::OnEnd(scoped_refptr<DevToolsProtocol::Command> command) { argument 74 return command->SuccessResponse(NULL); 77 return command->InternalErrorResponse("Power profiler service unavailable"); 82 scoped_refptr<DevToolsProtocol::Command> command) { 87 return command->SuccessResponse(result); 92 scoped_refptr<DevToolsProtocol::Command> command) { 98 return command 58 OnStart( scoped_refptr<DevToolsProtocol::Command> command) argument 81 OnCanProfilePower( scoped_refptr<DevToolsProtocol::Command> command) argument 91 OnGetAccuracyLevel( scoped_refptr<DevToolsProtocol::Command> command) argument [all...] |
H A D | devtools_tracing_handler.h | 37 void OnRecordingEnabled(scoped_refptr<DevToolsProtocol::Command> command); 41 scoped_refptr<DevToolsProtocol::Command> command); 43 scoped_refptr<DevToolsProtocol::Command> command); 46 scoped_refptr<DevToolsProtocol::Command> command); 48 void OnCategoriesReceived(scoped_refptr<DevToolsProtocol::Command> command,
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | command_line.py | 12 """A structured way to handle command-line arguments. 14 In AddCommandLineArgs, add command-line arguments. 22 """Override to accept custom command-line arguments.""" 26 """Override to process command-line arguments. 32 """An abstraction for things that run from the command-line.""" 50 """Main method to run this command as a standalone script.""" 72 """Main method to run this command as a standalone script.""" 82 """Combines Commands into one big command with sub-commands. 100 for command in cls.commands: 102 command [all...] |
/external/ltrace/ |
H A D | common.h | 42 extern char * command; 55 extern pid_t execute_program(const char * command, char ** argv);
|
H A D | execute_program.c | 40 change_uid(const char * command) argument 73 if (!stat(command, &statbuf)) { 93 execute_program(const char * command, char **argv) argument 97 debug(1, "Executing `%s'...", command); 105 change_uid(command); 107 execvp(command, argv); 108 fprintf(stderr, "Can't execute `%s': %s\n", command,
|
/external/vixl/tools/ |
H A D | util.py | 39 def getstatusoutput(command): 41 args = shlex.split(command)
|
/external/chromium_org/remoting/tools/ |
H A D | run_webapp_unittest.py | 49 """Builds the command line to execute.""" 50 command = [] 51 command.append('"' + chrome_path + '"') 52 command.append('--user-data-dir=' + tempfile.gettempdir()) 55 command.append(' --allow-file-access-from-files') 57 command.append(test_page_path) 58 return ' '.join(command)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/ |
H A D | main.py | 53 def should_show_in_main_help(self, command): 54 if not command.show_in_main_help: 56 if command.requires_local_commits: 64 def should_execute_command(self, command): 65 if command.requires_local_commits and not self.scm().supports_local_commits(): 66 failure_reason = "%s requires local commits using %s in %s." % (command.name, self.scm().display_name(), self.scm().checkout_root)
|
/external/chromium_org/tools/gn/ |
H A D | last_commit_position.py | 26 def RunGitCommand(directory, command): 35 command = ['git'] + command 41 command = ['sh', '-c', ' '.join(command)] 43 proc = subprocess.Popen(command,
|
H A D | gn_main.cc | 47 std::string command; local 49 // Make "-h" and "--help" default to help command. 50 command = commands::kHelp; 56 // No command, print error and exit. 57 Err(Location(), "No command specified.", 62 command = args[0]; 68 command_map.find(command); 75 "Command \"" + command + "\" unknown.").PrintToStdout();
|
/external/deqp/framework/delibs/scripts/ |
H A D | git-check.py | 4 # - recommended to add a alias/bat/sh for a shorter command 6 # - can give projects names on command line, if only wish to check a sub-set 16 command = "check" variable 19 # Parse command line. 25 command = sys.argv[1] variable 45 # Execute the command. 46 print "## Executing '%s' on repos: %s" % (command.upper(), ", ".join(repoDirs)) 55 if command == "check": 58 elif command == "push": 60 elif command [all...] |
/external/chromium_org/tools/site_compare/utils/ |
H A D | browser_iterate.py | 17 Invoke with the command line arguments as documented within 18 the command line. 33 """Adds the necessary flags for iteration to a command. 71 def Iterate(command, iteration_func): 75 command: the command line containing the iteration flags 80 scraper = scrapers.GetScraper((command["--browser"], command["--browserver"])) 105 if command["--size"]: 107 windowing.MoveAndSizeWindow(frame, (0, 0), command[" [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
H A D | mobile_emulation_override_manager_unittest.cc | 25 Command(const Command& command) { argument 26 *this = command; 28 Command& operator=(const Command& command) { argument 29 method = command.method; 31 params.MergeDictionary(&command.params); 57 void AssertDeviceMetricsCommand(const Command& command, argument 59 ASSERT_EQ("Page.setDeviceMetricsOverride", command.method); 63 ASSERT_TRUE(command.params.GetInteger("width", &width)); 64 ASSERT_TRUE(command.params.GetInteger("height", &height)); 65 ASSERT_TRUE(command [all...] |
/external/chromium_org/tools/android/forwarder2/ |
H A D | host_controller.cc | 14 #include "tools/android/forwarder2/command.h" 37 // Send the command to the device start listening to the "device_forward_port" 39 command::LISTEN, device_port, adb_control_socket.get()); 42 command::Type command; local 44 adb_control_socket.get(), &device_port_allocated, &command) || 45 command != command::BIND_SUCCESS) { 94 if (!ReceivedCommand(command::ACCEPT_SUCCESS, adb_control_socket_.get())) { 106 command [all...] |
/external/chromium_org/tools/python/google/ |
H A D | process_utils.py | 27 command = [TASKKILL, '/f', '/im'] 30 command = [PSKILL, '/t'] 34 new_error = RunCommand(command + [name]) 40 def RunCommandFull(command, verbose=True, collect_output=False, 42 """Runs the command list. 44 Prints the given command (which should be a list of one or more strings). 48 for the command to terminate and returns its status. 51 command: the full command to run, as a list of one or more strings 53 Otherwise, prints only the command' [all...] |
/external/chromium_org/testing/gtest/test/ |
H A D | gtest_throw_on_failure_test.py | 35 Google Test) with different environments and command line flags. 46 # The command line flag for enabling/disabling the throw-on-failure mode. 70 def Run(command): 71 """Runs a command; returns True/False if its exit code is/isn't 0.""" 73 print 'Running "%s". . .' % ' '.join(command) 74 p = gtest_test_utils.Subprocess(command) 109 command = [EXE_PATH] 111 command.append(flag) 118 failed = not Run(command) 124 (THROW_ON_FAILURE, env_var_value_msg, ' '.join(command), [all...] |
/external/gtest/test/ |
H A D | gtest_throw_on_failure_test.py | 35 Google Test) with different environments and command line flags. 46 # The command line flag for enabling/disabling the throw-on-failure mode. 70 def Run(command): 71 """Runs a command; returns True/False if its exit code is/isn't 0.""" 73 print 'Running "%s". . .' % ' '.join(command) 74 p = gtest_test_utils.Subprocess(command) 109 command = [EXE_PATH] 111 command.append(flag) 118 failed = not Run(command) 124 (THROW_ON_FAILURE, env_var_value_msg, ' '.join(command), [all...] |
/external/protobuf/gtest/test/ |
H A D | gtest_throw_on_failure_test.py | 35 Google Test) with different environments and command line flags. 46 # The command line flag for enabling/disabling the throw-on-failure mode. 70 def Run(command): 71 """Runs a command; returns True/False if its exit code is/isn't 0.""" 73 print 'Running "%s". . .' % ' '.join(command) 74 p = gtest_test_utils.Subprocess(command) 109 command = [EXE_PATH] 111 command.append(flag) 118 failed = not Run(command) 124 (THROW_ON_FAILURE, env_var_value_msg, ' '.join(command), [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
H A D | PacketDispatcher.java | 53 * - begCommandIdForTrace defines starting command ID for trace 54 * (the first command has ID=1, the second - ID=2 and so on). 56 * - commandsNumberForTrace defines number of command for trace. 188 * Internal class to synchronize jdwp commands. It sends command packets 206 // set first command id to 1 211 * Gets the next new id for a command. 232 // obtain the current command id 235 // obtain the current command packet by command id 236 CommandPacket command 268 waitForReply(CommandPacket command, long timeout) argument 342 sendCommand(CommandPacket command) argument 655 performCommand(CommandPacket command) argument 678 performCommand(CommandPacket command, long timeout) argument 699 sendCommand(CommandPacket command) argument [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/ |
H A D | keyboard_help_widget.js | 28 var command = pair.command; 30 var message = command; 32 var id = cvox.CommandStore.messageForCommand(command); 42 commandElement.id = command;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | TextInsertionBaseCommand.cpp | 43 void TextInsertionBaseCommand::applyTextInsertionCommand(LocalFrame* frame, PassRefPtrWillBeRawPtr<TextInsertionBaseCommand> command, const VisibleSelection& selectionForInsertion, const VisibleSelection& endingSelection) argument 47 command->setStartingSelection(selectionForInsertion); 48 command->setEndingSelection(selectionForInsertion); 50 command->apply(); 52 command->setEndingSelection(endingSelection);
|
/external/chromium_org/tools/gyp/ |
H A D | gyptest.py | 33 dictionary into the specified command. 35 The command can be an (action, string) tuple. In all cases, we 48 def display(self, command, stdout=None, stderr=None): 51 if type(command) == type(()): 52 func = command[0] 53 args = command[1:] 55 if type(command) == type([]): 58 s = ' '.join(command) 60 s = self.subst(command) 66 def execute(self, command, stdou [all...] |
/external/lldb/source/Commands/ |
H A D | CommandObjectSyntax.cpp | 35 "Shows the correct syntax for a given debugger command.", 36 "syntax <command>") 58 CommandObjectSyntax::DoExecute (Args& command, CommandReturnObject &result) argument 62 const size_t argc = command.GetArgumentCount(); 66 cmd_obj = m_interpreter.GetCommandObject (command.GetArgumentAtIndex(0)); 70 std::string sub_command = command.GetArgumentAtIndex (i); 87 output_strm.Printf ("(Try 'help %s' for more information on command options syntax.)\n", 100 command.GetCommandString (cmd_string); 101 result.AppendErrorWithFormat ("'%s' is not a known command.\n", cmd_string.c_str()); 108 result.AppendError ("Must call 'syntax' with a valid command [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
H A D | rebaseline_unittest.py | 51 self.command = self.command_constructor() # lint warns that command_constructor might not be set, but this is intentional; pylint: disable=E1102 52 self.command.bind_to_tool(self.tool) 98 self.command._builder_data[builder] = data 125 self.command.execute(options, [], self.tool) 152 self.command.execute(options, [], self.tool) 180 self.command.execute(options, [], self.tool) 212 self.command.execute(options, [], self.tool) 230 command = self.command 231 self.assertMultiLineEqual(command [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/media_stream_video/ |
H A D | example.js | 10 command: 'init', 20 common.naclModule.postMessage({command:'format', format: format}); 24 common.naclModule.postMessage({command:'size', width: width, height: height});
|