Searched refs:command (Results 26 - 50 of 1145) sorted by relevance

1234567891011>>

/external/chromium_org/media/tools/constrained_network_server/
H A Dtraffic_control.py26 returncode: Return code of running the command.
27 stdout: Output of running the command.
28 stderr: Error output of running the command.
50 msg=('Cannot run \'tc\' command. Traffic Control must be run as root '
51 'or have password-less sudo access to this command.'))
53 msg=('Cannot run \'iptables\' command. Traffic Control must be run '
54 'as root or have password-less sudo access to this command.'))
138 command = ['sudo', 'tc', 'qdisc', 'del', 'dev', config['interface'], 'root']
140 _Exec(command, msg='Could not delete root qdisc.')
170 command
[all...]
/external/chromium_org/sandbox/win/tests/validation_tests/
H A Dsuite.cc21 wchar_t command[1024] = {0}; local
24 wsprintf(command, kCommandTemplate, target, PROCESS_CREATE_THREAD);
25 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command));
26 wsprintf(command, kCommandTemplate, target, PROCESS_DUP_HANDLE);
27 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command));
28 wsprintf(command, kCommandTemplate, target, PROCESS_SET_INFORMATION);
29 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command));
30 wsprintf(command, kCommandTemplate, target, PROCESS_VM_OPERATION);
31 EXPECT_EQ(sandbox::SBOX_TEST_DENIED, runner->RunTest(command));
32 wsprintf(command, kCommandTemplat
130 wchar_t command[1024] = {0}; local
143 wchar_t command[1024] = {0}; local
156 wchar_t command[1024] = {0}; local
174 wchar_t command[1024] = {0}; local
196 wchar_t command[1024] = {0}; local
215 wchar_t command[1024] = {0}; local
224 wchar_t command[1024] = {0}; local
235 wchar_t command[1024] = {0}; local
[all...]
/external/chromium_org/chrome/browser/
H A Dcommand_updater.cc36 const CommandMap::const_iterator command(commands_.find(id));
37 if (command == commands_.end())
39 return command->second->enabled;
68 Command* command = it->second; local
69 if (command)
70 command->observers.RemoveObserver(observer);
75 Command* command = GetCommand(id, true); local
76 if (command->enabled == enabled)
78 command->enabled = enabled;
79 FOR_EACH_OBSERVER(CommandObserver, command
88 Command* command = new Command; local
[all...]
/external/chromium_org/third_party/skia/tools/
H A DDumpRecord.cpp33 void operator()(const T& command) { argument
36 fDraw(command);
39 this->print(command, timer.fCpu);
47 void print(const T& command, double time) { argument
48 this->printNameAndTime(command, time);
51 void print(const SkRecords::Restore& command, double time) { argument
53 this->printNameAndTime(command, time);
56 void print(const SkRecords::Save& command, double time) { argument
57 this->printNameAndTime(command, time);
61 void print(const SkRecords::SaveLayer& command, doubl argument
68 printNameAndTime(const T& command, double time) argument
[all...]
/external/skia/tools/
H A DDumpRecord.cpp35 void operator()(const T& command) { argument
38 fDraw(command);
41 this->print(command, timer.fCpu);
49 void print(const T& command, double time) { argument
50 this->printNameAndTime(command, time);
53 void print(const SkRecords::Restore& command, double time) { argument
55 this->printNameAndTime(command, time);
58 void print(const SkRecords::Save& command, double time) { argument
59 this->printNameAndTime(command, time);
63 void print(const SkRecords::SaveLayer& command, doubl argument
70 printNameAndTime(const T& command, double time) argument
[all...]
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dmenu_item.js35 if ((commandId = this.getAttribute('command')))
36 this.command = commandId;
55 * The command associated with this menu item. If this is set to a string
57 * of the command.
61 get command() {
64 set command(command) {
72 if (typeof command == 'string' && command[0] == '#') {
73 command
[all...]
/external/chromium_org/build/android/pylib/junit/
H A Dtest_runner.py25 command = ['java',
29 command.extend(['-gtest-filter', self._test_filter])
31 command.extend(['-package-filter', self._package_filter])
33 command.extend(['-runner-filter', self._runner_filter])
35 command.extend(['-sdk-version', self._sdk_version])
36 return cmd_helper.RunCmd(command)
/external/chromium_org/chrome/browser/chromeos/power/
H A Dfreezer_cgroup_process_manager.cc59 const std::string& command) {
60 int bytes = base::WriteFile(state_path_, command.c_str(), command.size());
62 PLOG(ERROR) << "Writing " << command << " to " << state_path_.value()
65 } else if (bytes != static_cast<int>(command.size())) {
67 << command << " to " << state_path_.value();
58 WriteCommandToStateFile( const std::string& command) argument
/external/chromium_org/remoting/tools/
H A Drunclient.py44 command = []
45 command.append(client_path)
46 command.append('--host_jid ' + hostjid)
47 command.append('--jid ' + username)
48 command.append('--token ' + authtoken)
51 os.system(' '.join(command))
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dpath_utils.h32 #define SEGMENT_COMMAND(command) /* Extract segment type */ \
33 ((command) & 0x1e)
34 #define SEGMENT_ABS_REL(command) /* Extract absolute/relative bit */ \
35 ((command) & 0x1)
62 VGint command = SEGMENT_COMMAND(segment); local
63 switch(command) {
/external/clang/utils/analyzer/
H A Dreducer.pl6 die "$prog <code file> <error string> [optional command]\n" if ($#ARGV < 0);
24 my $command;
25 if (scalar(@ARGV) > 0) { $command = \@ARGV; }
28 $command = [$compiler, "-fsyntax-only", "-Wfatal-errors", "-Wno-deprecated-declarations", "-Wimplicit-function-declaration"];
30 push @$command, $srcFile;
31 my $commandStr = "@$command";
39 my \$command = "$commandStr > $reduceOut 2>&1";
40 system(\$command);
/external/deqp/scripts/
H A Dcppcheck.py121 command = '"C:\\Program Files (x86)\\Cppcheck\\cppcheck.exe"'
124 command += " %s" % arg
127 command += " -I %s" % path
130 command += " %s" % path
132 command += ' 2> "%s"' % fullDstFile
135 os.system('"%s"' % command) # Double-quotes needed for some reason
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpath_utils.h32 #define SEGMENT_COMMAND(command) /* Extract segment type */ \
33 ((command) & 0x1e)
34 #define SEGMENT_ABS_REL(command) /* Extract absolute/relative bit */ \
35 ((command) & 0x1)
62 VGint command = SEGMENT_COMMAND(segment); local
63 switch(command) {
/external/chromium_org/tools/cr/cr/actions/
H A Daction.py15 handling command line arguments for the action.
19 def AddArguments(cls, command, parser):
20 cls.AddSelectorArg(command, parser)
23 def AddSelectorArg(cls, command, parser):
/external/chromium_org/tools/gn/bin/
H A Dhelp_as_html.py31 command, sep, rest = line.partition(':')
32 command = command.strip()
33 is_option = command.startswith('-')
36 commands.append(command)
37 output_line.append('<a href="#' + cgi.escape(command) + '">')
38 output_line.append(cgi.escape(command))
48 def ParseCommand(command, out):
56 output.append('<h3><a name="' + cgi.escape(command) + '">' +
98 for command i
[all...]
/external/chromium_org/tools/site_compare/commands/
H A Dmeasure.py17 Invoke with the command line arguments as documented within
18 the command line.
28 """Inserts the command and arguments into a command line for parsing."""
40 def ExecuteMeasure(command):
41 """Executes the Measure command."""
47 log_file = open(command["--logfile"], "w")
49 browser_iterate.Iterate(command, LogResult)
H A Dtimeload.py5 """SiteCompare command to time page loads
27 """Inserts the command and arguments into a command line for parsing."""
71 def ExecuteTimeLoad(command):
72 """Executes the TimeLoad command."""
73 browsers = command["--browsers"].split(",")
76 if command["--browserversions"]:
77 browser_versions = command["--browserversions"].split(",")
81 if command["--browserpaths"]:
82 browser_paths = command["
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/pin/
H A Dbackground.js5 chrome.commands.onCommand.addListener(function(command) {
6 if (command == "toggle-pin") {
/external/chromium_org/content/browser/devtools/
H A Ddevtools_power_handler.h29 scoped_refptr<DevToolsProtocol::Command> command);
31 scoped_refptr<DevToolsProtocol::Command> command);
33 scoped_refptr<DevToolsProtocol::Command> command);
35 scoped_refptr<DevToolsProtocol::Command> command);
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dtest.cpp49 printf("*** usage: %s <command> <options>\n", name);
61 const char *command = argv[1]; local
64 return command;
69 const char *command = extract_command_from_argv(&argc, argv); local
70 if (strcmp(command, "optpass") == 0) {
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dist.h24 __u32 command; member in struct:ist_info
/external/lldb/examples/plugins/commands/
H A Dfooplugin.cpp11 An example plugin for LLDB that provides a new foo command with a child subcommand
13 by typing plugin load foo.dylib at the LLDB command line
30 char** command,
33 if (command)
35 const char* arg = *command;
39 arg = *(++command);
29 DoExecute(lldb::SBDebugger debugger, char** command, lldb::SBCommandReturnObject &result) argument
/external/lldb/test/functionalities/plugins/commands/
H A Dplugin.cpp11 An example plugin for LLDB that provides a new foo command with a child subcommand
13 by typing plugin load foo.dylib at the LLDB command line
30 char** command,
33 if (command)
35 const char* arg = *command;
39 arg = *(++command);
29 DoExecute(lldb::SBDebugger debugger, char** command, lldb::SBCommandReturnObject &result) argument
/external/mesa3d/src/glsl/
H A Dtest.cpp49 printf("*** usage: %s <command> <options>\n", name);
61 const char *command = argv[1]; local
64 return command;
69 const char *command = extract_command_from_argv(&argc, argv); local
70 if (strcmp(command, "optpass") == 0) {
/external/chromium_org/tools/android/forwarder2/
H A Dcommand.cc5 #include "tools/android/forwarder2/command.h"
28 // matching the target port for the command (e.g.
31 // matching a command::Type value (e.g. 002 for
45 command::Type* command_type_out) {
63 LOG(ERROR) << "Could not parse the command port string: "
72 LOG(ERROR) << "Could not parse the command type string: "
76 *command_type_out = static_cast<command::Type>(command_type);
80 bool SendCommand(command::Type command, int port, Socket* socket) { argument
82 int len = snprintf(buffer, sizeof(buffer), "%05d:%02d", port, command);
88 ReceivedCommand(command::Type command, Socket* socket) argument
[all...]

Completed in 590 milliseconds

1234567891011>>