Searched refs:commands (Results 1 - 25 of 491) sorted by relevance

1234567891011>>

/external/skia/tools/skiaserve/urlhandlers/
H A DImgHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (!request->hasPicture() || commands.count() > 3) {
34 if (commands.count() == 1) {
36 } else if (commands.count() == 2) {
37 sscanf(commands[1].c_str(), "%d", &n);
39 sscanf(commands[1].c_str(), "%d", &n);
40 sscanf(commands[2].c_str(), "%d", &m);
H A DInfoHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (!request->hasPicture() || commands.count() > 2) {
34 if (commands.count() == 1) {
37 sscanf(commands[1].c_str(), "%d", &n);
H A DCmdHandler.cpp24 SkTArray<SkString> commands; local
25 SkStrSplit(url, "/", &commands);
27 if (!request->hasPicture() || commands.count() > 3) {
34 if (commands.count() == 1) {
37 sscanf(commands[1].c_str(), "%d", &n);
45 if (commands.count() == 2 && 0 == strcmp(method, MHD_HTTP_METHOD_DELETE)) {
47 sscanf(commands[1].c_str(), "%d", &n);
53 if (commands.count() == 3 && 0 == strcmp(method, MHD_HTTP_METHOD_POST)) {
55 sscanf(commands[1].c_str(), "%d", &n);
56 sscanf(commands[
[all...]
H A DClipAlphaHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (!request->hasPicture() || commands.count() != 2) {
33 sscanf(commands[1].c_str(), "%d", &alpha);
H A DColorModeHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (commands.count() != 2) {
33 if (1 != sscanf(commands[1].c_str(), "%d", &mode)) {
H A DEnableGPUHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (commands.count() != 2) {
33 sscanf(commands[1].c_str(), "%d", &enable);
H A DOpBoundsHandler.cpp24 SkTArray<SkString> commands; local
25 SkStrSplit(url, "/", &commands);
27 if (!request->hasPicture() || commands.count() != 2) {
32 sscanf(commands[1].c_str(), "%d", &enabled);
H A DOverdrawHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (commands.count() != 2) {
33 sscanf(commands[1].c_str(), "%d", &enable);
H A DDataHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (!request->hasPicture() || commands.count() != 2) {
H A DOpsHandler.cpp23 SkTArray<SkString> commands; local
24 SkStrSplit(url, "/", &commands);
26 if (!request->hasPicture() || commands.count() > 1) {
/external/skqp/tools/skiaserve/urlhandlers/
H A DImgHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (!request->hasPicture() || commands.count() > 3) {
34 if (commands.count() == 1) {
36 } else if (commands.count() == 2) {
37 sscanf(commands[1].c_str(), "%d", &n);
39 sscanf(commands[1].c_str(), "%d", &n);
40 sscanf(commands[2].c_str(), "%d", &m);
H A DInfoHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (!request->hasPicture() || commands.count() > 2) {
34 if (commands.count() == 1) {
37 sscanf(commands[1].c_str(), "%d", &n);
H A DCmdHandler.cpp24 SkTArray<SkString> commands; local
25 SkStrSplit(url, "/", &commands);
27 if (!request->hasPicture() || commands.count() > 3) {
34 if (commands.count() == 1) {
37 sscanf(commands[1].c_str(), "%d", &n);
45 if (commands.count() == 2 && 0 == strcmp(method, MHD_HTTP_METHOD_DELETE)) {
47 sscanf(commands[1].c_str(), "%d", &n);
53 if (commands.count() == 3 && 0 == strcmp(method, MHD_HTTP_METHOD_POST)) {
55 sscanf(commands[1].c_str(), "%d", &n);
56 sscanf(commands[
[all...]
H A DClipAlphaHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (!request->hasPicture() || commands.count() != 2) {
33 sscanf(commands[1].c_str(), "%d", &alpha);
H A DColorModeHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (commands.count() != 2) {
33 if (1 != sscanf(commands[1].c_str(), "%d", &mode)) {
H A DEnableGPUHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (commands.count() != 2) {
33 sscanf(commands[1].c_str(), "%d", &enable);
H A DOpBoundsHandler.cpp24 SkTArray<SkString> commands; local
25 SkStrSplit(url, "/", &commands);
27 if (!request->hasPicture() || commands.count() != 2) {
32 sscanf(commands[1].c_str(), "%d", &enabled);
H A DOverdrawHandler.cpp25 SkTArray<SkString> commands; local
26 SkStrSplit(url, "/", &commands);
28 if (commands.count() != 2) {
33 sscanf(commands[1].c_str(), "%d", &enable);
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
H A DAOptimizedMultipleCommand.java18 private final PCommand[] commands; field in class:AOptimizedMultipleCommand
22 commands = new PCommand[originalChildCommands.size()];
23 originalChildCommands.toArray(commands);
24 for (int i = 0; i < commands.length; i++) {
25 commands[i].parent(this); // set parent.
45 for (int i = 0; i < commands.length; i++) {
46 if (commands[i] == oldChild) {
47 commands[i] = (PCommand) newChild;
58 for (int i = 0; i < commands.length; i++) {
59 commands[
[all...]
/external/autotest/client/common_lib/cros/fake_device_server/
H A Dcommands_unittest.py7 """Unit tests for commands.py."""
14 from fake_device_server import commands namespace
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
[all...]
/external/ltp/testcases/network/nfsv4/acl/
H A Dcleangroups.py3 import commands namespace
/external/mesa3d/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.h35 svga_dump_commands(const void *commands, uint32_t size);
/external/python/cpython2/Lib/test/
H A Dtest_commands.py2 Tests for commands module
12 commands = import_module('commands', deprecated=True) variable
27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy')
28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy'))
38 status, output = commands.getstatusoutput('cat ' + name)
63 with check_warnings((".*commands.getstatus.. is deprecated",
65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/commands/
H A DBrowserCommands.js22 this.commands={};
26 if (name in this.commands) {
30 this.commands[name] = {help: help, runnable: runnable};
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);*/
50 if (! (name in this.commands)) {
54 return this.commands[name].runnable.call(context, args);
71 chrome.app.window.create('commands/webvie
[all...]
/external/deqp/scripts/opengl/
H A Dgen_ext_init.py26 commands = []
32 if not extIface.commands:
33 return commands
36 for command in iface.commands:
39 for extCommand in extIface.commands:
41 commands.append(cmdMap[extCommand.name])
43 return commands

Completed in 327 milliseconds

1234567891011>>