/external/skia/tools/skiaserve/urlhandlers/ |
H A D | ImgHandler.cpp | 25 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 D | InfoHandler.cpp | 25 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 D | CmdHandler.cpp | 24 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 D | ClipAlphaHandler.cpp | 25 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 D | ColorModeHandler.cpp | 25 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 D | EnableGPUHandler.cpp | 25 SkTArray<SkString> commands; local 26 SkStrSplit(url, "/", &commands); 28 if (commands.count() != 2) { 33 sscanf(commands[1].c_str(), "%d", &enable);
|
H A D | OpBoundsHandler.cpp | 24 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 D | OverdrawHandler.cpp | 25 SkTArray<SkString> commands; local 26 SkStrSplit(url, "/", &commands); 28 if (commands.count() != 2) { 33 sscanf(commands[1].c_str(), "%d", &enable);
|
H A D | DataHandler.cpp | 25 SkTArray<SkString> commands; local 26 SkStrSplit(url, "/", &commands); 28 if (!request->hasPicture() || commands.count() != 2) {
|
H A D | OpsHandler.cpp | 23 SkTArray<SkString> commands; local 24 SkStrSplit(url, "/", &commands); 26 if (!request->hasPicture() || commands.count() > 1) {
|
/external/skqp/tools/skiaserve/urlhandlers/ |
H A D | ImgHandler.cpp | 25 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 D | InfoHandler.cpp | 25 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 D | CmdHandler.cpp | 24 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 D | ClipAlphaHandler.cpp | 25 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 D | ColorModeHandler.cpp | 25 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 D | EnableGPUHandler.cpp | 25 SkTArray<SkString> commands; local 26 SkStrSplit(url, "/", &commands); 28 if (commands.count() != 2) { 33 sscanf(commands[1].c_str(), "%d", &enable);
|
H A D | OpBoundsHandler.cpp | 24 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 D | OverdrawHandler.cpp | 25 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 D | AOptimizedMultipleCommand.java | 18 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 D | commands_unittest.py | 7 """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 D | cleangroups.py | 3 import commands namespace
|
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
H A D | svga_dump.h | 35 svga_dump_commands(const void *commands, uint32_t size);
|
/external/python/cpython2/Lib/test/ |
H A D | test_commands.py | 2 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 D | BrowserCommands.js | 22 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 D | gen_ext_init.py | 26 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
|