Home
last modified time | relevance | path

Searched full:commands (Results 1 – 25 of 3891) sorted by relevance

12345678910>>...156

/external/autotest/client/common_lib/cros/fake_device_server/
Dcommands_unittest.py7 """Unit tests for commands.py."""
14 from fake_device_server import commands
21 """Tests for the Commands class.
26 # commands.devices_commands[(id, api_key)] = dict of commands by command id.
33 # module bypass cherrypy by directly invoking commands.GET.
36 self.commands = commands.Commands(self.oauth, self.fail_control)
53 self.commands.new_device(DEVICE_ID)
54 new_command = self.commands.create_command(GOOD_COMMAND)
59 self.commands.device_commands[DEVICE_ID][command_id],
65 self.commands.create_command, bad_command)
[all …]
Ddevices_unittest.py13 from fake_device_server import commands
30 self.commands = commands.Commands(self.oauth, self.fail_control)
33 self.commands,
47 # New device should be registered with commands handler.
48 self.assertTrue(device_id in self.commands.device_commands)
82 # Register device with commands handler first.
83 self.commands.new_device(12345)
89 self.assertRaises(KeyError, self.commands.remove_device, 12345)
Dcommands.py5 """Module contains a simple implementation of the commands RPC."""
16 COMMANDS_PATH = 'commands'
20 class Commands(object): class
21 """A simple implementation of the commands interface."""
26 # Roots of command resource representation that might contain commands.
31 """Initializes a Commands handler."""
107 Supports both the GET / LIST commands for commands. List lists all
123 400, 'Can only list commands by valid deviceId.')
134 listing['commands'] = []
139 listing['commands'].append(command)
[all …]
/external/fonttools/Lib/fontTools/cffLib/
Dspecializer.py30 """Takes a T2CharString program list and returns list of commands.
37 commands = []
52 commands.append(('', [width]))
56 commands.append(('', stack))
57 commands.append((token, []))
58 commands.append(('', [next(it)]))
60 commands.append((token,stack))
63 commands.append(('', stack))
64 return commands
67 def commandsToProgram(commands): argument
[all …]
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/commands/
DBrowserCommands.js21 function Commands() { class
22 this.commands={};
25 Commands.prototype.addCommand=function(name, help, runnable) { class
26 if (name in this.commands) {
30 this.commands[name] = {help: help, runnable: runnable}; property
33 Commands.prototype.help=function(name, args) {
35 for (var command in this.commands) {
36 result+=command+'\t'+this.commands[command].help+"\n";
39 /*if (! (name in this.commands)) {
43 return this.commands[name].help.apply(context, args);*/
[all …]
/external/python/cpython2/Doc/distutils/
Dextending.rst8 commands or replacements for existing commands. New commands may be written to
10 replacements for existing commands may be made to modify details of how the
14 want to modify existing commands; many simply add a few file extensions that
19 :class:`distutils.cmd.Command` class. New commands may directly inherit from
21 indirectly, directly subclassing the command they are replacing. Commands are
24 .. % \section{Extending existing commands}
27 .. % \section{Writing new commands}
28 .. % \label{new-commands}
32 Integrating new commands
60 commands to be added which can support existing :file:`setup.py` scripts without
[all …]
/external/python/cpython3/Doc/distutils/
Dextending.rst8 commands or replacements for existing commands. New commands may be written to
10 replacements for existing commands may be made to modify details of how the
14 want to modify existing commands; many simply add a few file extensions that
19 :class:`distutils.cmd.Command` class. New commands may directly inherit from
21 indirectly, directly subclassing the command they are replacing. Commands are
24 .. % \section{Extending existing commands}
27 .. % \section{Writing new commands}
28 .. % \label{new-commands}
32 Integrating new commands
60 commands to be added which can support existing :file:`setup.py` scripts without
[all …]
/external/python/cpython2/Doc/library/
Dcommands.rst2 :mod:`commands` --- Utilities for running commands
5 .. module:: commands
7 :synopsis: Utility functions for running external commands.
11 The :mod:`commands` module has been removed in Python 3. Use the
17 The :mod:`commands` module contains wrapper functions for :func:`os.popen` which
23 preferable to using the :mod:`commands` module.
32 The :mod:`commands` module defines the following functions:
63 >>> import commands
64 >>> commands.getstatusoutput('ls /bin/ls')
66 >>> commands.getstatusoutput('cat /bin/junk')
[all …]
Dpdb.rst93 ``next`` (all these commands are explained below). The optional *globals* and
165 .. _debugger-commands:
167 Debugger Commands
170 The debugger recognizes the following commands. Most commands can be
173 ``H`` or ``Help`` or ``HELP``). Arguments to commands must be separated by
181 Commands that the debugger doesn't recognize are assumed to be Python statements
189 Multiple commands may be entered on a single line, separated by ``;;``. (A
190 single ``;`` is not used as it is the separator for multiple commands in a line
192 the commands; the input is split at the first ``;;`` pair, even if it is in the
209 Without argument, print the list of available commands. With a *command* as
[all …]
/external/brotli/c/enc/
Dcompress_fragment_two_pass.c119 uint32_t insertlen, uint32_t** commands) { in EmitInsertLen() argument
121 **commands = insertlen; in EmitInsertLen()
128 **commands = inscode | (extra << 8); in EmitInsertLen()
134 **commands = code | (extra << 8); in EmitInsertLen()
137 **commands = 21 | (extra << 8); in EmitInsertLen()
140 **commands = 22 | (extra << 8); in EmitInsertLen()
143 **commands = 23 | (extra << 8); in EmitInsertLen()
145 ++(*commands); in EmitInsertLen()
148 static BROTLI_INLINE void EmitCopyLen(size_t copylen, uint32_t** commands) { in EmitCopyLen() argument
150 **commands = (uint32_t)(copylen + 38); in EmitCopyLen()
[all …]
/external/u-boot/cmd/
DKconfig4 bool "Support U-Boot commands"
8 to enter commands into U-Boot for a wide variety of purposes. It
9 also allows scripts (containing commands) to be executed.
10 Various commands and command categorys can be indivdually enabled.
11 Depending on the number of commands enabled, this can add
39 Enable auto completion of commands using TAB.
143 comment "Commands"
145 menu "Info commands"
193 menu "Boot commands"
264 bool "Flattened Device Tree utility commands"
[all …]
/external/python/oauth2client/
Dtox.ini21 commands = nosetests --ignore-files=test_appengine\.py --ignore-files=test__appengine_ndb\.py {posa… key
25 commands = key
56 commands = key
70 commands = key
86 commands = key
87 {[coverbase]commands}
94 commands = key
95 {[coverbase]commands}
112 commands = {toxinidir}/scripts/build_docs.sh key
118 commands = key
[all …]
/external/python/apitools/
Dtox.ini8 commands = key
14 commands = key
16 {[testenv]commands}
25 commands = nosetests [] key
33 commands = nosetests [] key
42 commands = key
54 commands = key
67 commands = key
68 {[testenv:cover]commands}
82 commands = key
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
DAOptimizedMultipleCommand.java18 private final PCommand[] commands; field in AOptimizedMultipleCommand
22 commands = new PCommand[originalChildCommands.size()]; in AOptimizedMultipleCommand()
23 originalChildCommands.toArray(commands); in AOptimizedMultipleCommand()
24 for (int i = 0; i < commands.length; i++) { in AOptimizedMultipleCommand()
25 commands[i].parent(this); // set parent. in AOptimizedMultipleCommand()
45 for (int i = 0; i < commands.length; i++) { in replaceChild()
46 if (commands[i] == oldChild) { in replaceChild()
47 commands[i] = (PCommand) newChild; in replaceChild()
58 for (int i = 0; i < commands.length; i++) { in apply()
59 commands[i].apply(sw); in apply()
/external/ltp/doc/man1/
Dltp-pan.141 commands from a command-file. By default ltp-pan runs one command, choosing it at
42 random from the whole set of commands available to it. The ltp-pan's name in the
45 signaled it will kill any active commands and, again, clean up any orphans.
51 Pan will not terminate until all the active commands and everything in their
56 file and begins scheduling commands. After a command is started ltp-pan puts an
85 A file containing the tagnames, pids, and commands being run. If this is
92 The file to which all failed test commands will be saved. You can use it later with \fI-f\fP optio…
98 Pan will exit non-zero if any of its commands exited non-zero. By default
102 The file that has a collection of commands that ltp-pan will execute.
109 commands (tags) that are run. This log file may not be shared with other Zoo
[all …]
/external/autotest/client/tests/iozone/
Dpostprocessing.py383 commands that will create a parametric surface with file size vs.
389 commands = ""
390 commands += "set title 'Iozone performance: %s'\n" % label
391 commands += "set logscale x\n"
392 commands += "set xlabel 'File size (KB)'\n"
393 commands += "set ylabel 'Througput (MB/s)'\n"
394 commands += "set terminal png small size 450 350\n"
395 commands += "set output '%s'\n" % os.path.join(self.output_dir,
397 commands += ("plot '%s' using 1:%s title '%s' with lines \n" %
400 commands_file.write(commands)
[all …]
/external/python/cpython2/Lib/distutils/
Ddist.py37 to the Distutils commands specified on the command line.
50 # supplied to the setup script prior to any actual commands.
54 # don't want to pollute the commands with too many options that they
68 Common commands: (see '--help-commands' for more)
74 # options that are not propagated to the commands
76 ('help-commands', None,
77 "list all available commands"),
162 # 'command_packages' is a list of packages in which commands
184 # have been created by any dist commands run so far. This is
194 # These options are really the business of various commands, rather
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
Djsilver.sablecc175 = commands
176 {->commands.command}
179 commands {->command}
236 commands
242 commands.command)}
245 commands
251 commands.command)}
254 commands
261 commands.command)}
264 commands
[all …]
/external/python/cpython3/Lib/distutils/
Ddist.py47 to the Distutils commands specified on the command line.
59 # supplied to the setup script prior to any actual commands.
63 # don't want to pollute the commands with too many options that they
78 Common commands: (see '--help-commands' for more)
84 # options that are not propagated to the commands
86 ('help-commands', None,
87 "list all available commands"),
170 # 'command_packages' is a list of packages in which commands
192 # have been created by any dist commands run so far. This is
202 # These options are really the business of various commands, rather
[all …]
/external/skia/tools/skiaserve/urlhandlers/
DCmdHandler.cpp24 SkTArray<SkString> commands; in handle() local
25 SkStrSplit(url, "/", &commands); in handle()
27 if (!request->hasPicture() || commands.count() > 3) { in handle()
34 if (commands.count() == 1) { in handle()
37 sscanf(commands[1].c_str(), "%d", &n); in handle()
45 if (commands.count() == 2 && 0 == strcmp(method, MHD_HTTP_METHOD_DELETE)) { in handle()
47 sscanf(commands[1].c_str(), "%d", &n); in handle()
53 if (commands.count() == 3 && 0 == strcmp(method, MHD_HTTP_METHOD_POST)) { in handle()
55 sscanf(commands[1].c_str(), "%d", &n); in handle()
56 sscanf(commands[2].c_str(), "%d", &toggle); in handle()
/external/skqp/tools/skiaserve/urlhandlers/
DCmdHandler.cpp24 SkTArray<SkString> commands; in handle() local
25 SkStrSplit(url, "/", &commands); in handle()
27 if (!request->hasPicture() || commands.count() > 3) { in handle()
34 if (commands.count() == 1) { in handle()
37 sscanf(commands[1].c_str(), "%d", &n); in handle()
45 if (commands.count() == 2 && 0 == strcmp(method, MHD_HTTP_METHOD_DELETE)) { in handle()
47 sscanf(commands[1].c_str(), "%d", &n); in handle()
53 if (commands.count() == 3 && 0 == strcmp(method, MHD_HTTP_METHOD_POST)) { in handle()
55 sscanf(commands[1].c_str(), "%d", &n); in handle()
56 sscanf(commands[2].c_str(), "%d", &toggle); in handle()
/external/curl/docs/cmdline-opts/
Dquote.d7 Send an arbitrary command to the remote FTP or SFTP server. Quote commands are
9 FTP transfer, to be exact). To make commands take place after a successful
10 transfer, prefix them with a dash '-'. To make commands be sent after curl
13 number of commands.
15 If the server returns failure for one of the commands, the entire operation
16 will be aborted. You must send syntactically correct FTP commands as RFC 959
17 defines to FTP servers, or one of the commands listed below to SFTP servers.
23 SFTP is a binary protocol. Unlike for FTP, curl interprets SFTP quote commands
26 all supported SFTP quote commands:
40 The ln and symlink commands create a symbolic link at the target_file location
/external/mesa3d/docs/specs/OLD/
DMESA_trace.spec77 context level commands beyond SwapBuffers might have to be
83 RESOLVED: No. It is sufficient to guarantee that all data and commands
99 (5) Should comment commands be prohibited between Begin/End?
102 is transient, the other commands might cause storage of persistent
172 to a human-readable log. The log appears as a sequence of GL commands
182 is written to the trace as a sequence of GL commands.
193 The commands
198 enable or disable tracing of different classes of GL commands.
202 indicates all classes of commands are to be logged.
204 TRACE_OPERATIONS_BIT_MESA controls logging of all commands outside of
[all …]
/external/python/cpython3/Doc/library/
Dpdb.rst45 Tab-completion via the :mod:`readline` module is available for commands and
61 :file:`pdb.py` now accepts a ``-c`` option that executes commands as if given
62 in a :file:`.pdbrc` file, see :ref:`debugger-commands`.
109 statement using :pdbcmd:`step` or :pdbcmd:`next` (all these commands are
202 .. _debugger-commands:
204 Debugger Commands
207 The commands recognized by the debugger are listed below. Most commands can be
210 or ``hel``, nor ``H`` or ``Help`` or ``HELP``). Arguments to commands must be
219 Commands that the debugger doesn't recognize are assumed to be Python statements
231 Multiple commands may be entered on a single line, separated by ``;;``. (A
[all …]
/external/toybox/
DConfig.in18 With no arguments, shows available commands. First argument is
26 Most toybox commands also understand the following arguments:
45 permissions for commands which do not require root access. To use
68 Include SELinux options in commands such as ls, and add
69 SELinux-specific commands such as chcon to the Android menu.
74 Include SMACK options in commands like ls for systems like Tizen.
94 Include floating point support infrastructure and commands that
108 Support --help argument in all commands, even ones with a NULL
136 This disables that optimization, so toybox will run external commands
152 Check arguments for commands that have no arguments.
[all …]

12345678910>>...156