/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/commands/ |
BrowserCommands.js | 21 function Commands() { 22 this.commands={}; 25 Commands.prototype.addCommand=function(name, help, runnable) { 26 if (name in this.commands) { 30 this.commands[name] = {help: help, runnable: runnable}; 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/clang/lib/AST/ |
CommentCommandTraits.cpp | 20 NextID(llvm::array_lengthof(Commands)), Allocator(Allocator) { 74 for (const auto &Command : Commands) 95 && "Too many commands. We have limited bits for the command ID."); 118 if (CommandID < llvm::array_lengthof(Commands)) 119 return &Commands[CommandID]; 134 return RegisteredCommands[CommandID - llvm::array_lengthof(Commands)];
|
/external/clang/unittests/Tooling/ |
CompilationDatabaseTest.cpp | 104 std::vector<CompileCommand> Commands = getAllCompileCommands( 112 EXPECT_EQ(2U, Commands.size()) << ErrorMessage; 113 EXPECT_EQ(Directory1, Commands[0].Directory) << ErrorMessage; 114 EXPECT_EQ(FileName1, Commands[0].Filename) << ErrorMessage; 115 ASSERT_EQ(1u, Commands[0].CommandLine.size()); 116 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage; 117 EXPECT_EQ(Directory2, Commands[1].Directory) << ErrorMessage; 118 EXPECT_EQ(FileName2, Commands[1].Filename) << ErrorMessage; 119 ASSERT_EQ(1u, Commands[1].CommandLine.size()); 120 EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage [all...] |
/external/clang/lib/Tooling/ |
CommonOptionsParser.cpp | 86 adjustCommands(std::vector<CompileCommand> Commands) const { 87 for (CompileCommand &Command : Commands) 90 return Commands;
|
JSONCompilationDatabase.cpp | 186 std::vector<CompileCommand> Commands; 187 getCommands(CommandsRefI->getValue(), Commands); 188 return Commands; 208 std::vector<CompileCommand> Commands; 209 getCommands(AllCommands, Commands); 210 return Commands; 228 std::vector<CompileCommand> &Commands) const { 232 Commands.emplace_back(
|
/external/lzma/CPP/7zip/UI/Common/ |
Update.h | 84 CObjectVector<CUpdateArchiveCommand> Commands;
138 Commands.Clear();
141 Commands.Add(c);
|
Update.cpp | 382 FOR_VECTOR (i, Commands)
384 CUpdateArchiveCommand &uc = Commands[i];
939 if (options.Commands.Size() != 1)
945 if (options.Commands.Size() != 1)
947 const CActionSet &as = options.Commands[0].ActionSet;
1127 FOR_VECTOR (i, options.Commands)
1128 if (options.Commands[i].ActionSet.NeedScanning())
1213 CArchivePath &ap = options.Commands[0].ArchivePath;
[all...] |
ArchiveCommandLine.cpp | 712 options.Commands.Delete(0);
725 options.Commands[0].ActionSet = actionSet;
737 options.Commands.Add(uc);
767 options.Commands.Clear();
770 options.Commands.Add(updateMainCommand);
[all...] |
/external/clang/ |
clang-device-build.mk | 32 ## Commands for running tblgen to compile a td file
|
clang-host-build.mk | 43 ## Commands for running tblgen to compile a td file
|
/external/clang/include/clang/Tooling/ |
JSONCompilationDatabase.h | 86 /// \brief Returns all compile commands for all the files in the compilation 114 std::vector<CompileCommand> &Commands) const; 119 /// All the compile commands in the order that they were provided in the
|
/external/llvm/ |
llvm-device-build.mk | 68 ## Commands for running tblgen to compile a td file
|
llvm-host-build.mk | 85 ## Commands for running tblgen to compile a td file
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/services/ |
bs.py | 34 Commands = {'reset' : 'Clear input queue and output bucket', 44 self.parser.add_option("--help-commands", action="store_true", dest="help_commands", 45 help="provides help on the available commands") 67 for key in self.Commands.keys(): 68 print(' %s\t\t%s' % (key, self.Commands[key]))
|
/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 446 std::vector<std::string> &Commands = TableDrivenOperandPrinters[i]; 450 unsigned NumBits = Log2_32_Ceil(Commands.size()); 455 << " bits for " << Commands.size() << " unique commands.\n"; 457 if (Commands.size() == 2) { 462 << Commands[1] 464 << Commands[0] 466 } else if (Commands.size() == 1) { 468 O << Commands[0] << "\n\n"; 476 for (unsigned i = 0, e = Commands.size(); i != e; ++i) [all...] |
/external/autotest/client/common_lib/cros/fake_device_server/ |
commands.py | 5 """Module contains a simple implementation of the commands RPC.""" 16 COMMANDS_PATH = 'commands' 20 class Commands(object): 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'] = [ [all...] |
commands_unittest.py | 7 """Unit tests for commands.py.""" 14 from fake_device_server import commands namespace 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 [all...] |
devices_unittest.py | 13 from fake_device_server import commands namespace 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 [all...] |
server.py | 19 from fake_device_server import commands namespace 49 commands_handler = commands.Commands(oauth_handler, fail_control_handler) 51 commands_handler, '/' + commands.COMMANDS_PATH, 57 # TODO(wiley): We need to validate device commands.
|
registration_tickets_unittest.py | 14 from fake_device_server import commands namespace 33 self.commands = commands.Commands(self.oauth, self.fail_control) 36 self.commands,
|
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/ |
main.js | 63 tcpConnection.sendMessage(Commands.run(cmd[0], cmd.slice(1)));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
imaplib.py | 38 # Commands 40 Commands = { 108 All IMAP4rev1 commands are supported by methods of the same 111 All arguments to commands are converted to strings, except for 142 most IMAP servers implement a sub-set of the commands available here. 155 self.tagged_commands = {} # Tagged commands awaiting response 212 if attr in Commands: 301 # IMAP4 commands 752 if not command in Commands: 754 if self.state not in Commands[command] [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
imaplib.py | 38 # Commands 40 Commands = { 108 All IMAP4rev1 commands are supported by methods of the same 111 All arguments to commands are converted to strings, except for 142 most IMAP servers implement a sub-set of the commands available here. 155 self.tagged_commands = {} # Tagged commands awaiting response 212 if attr in Commands: 301 # IMAP4 commands 752 if not command in Commands: 754 if self.state not in Commands[command] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
imaplib.py | 38 # Commands 40 Commands = { 108 All IMAP4rev1 commands are supported by methods of the same 111 All arguments to commands are converted to strings, except for 142 most IMAP servers implement a sub-set of the commands available here. 155 self.tagged_commands = {} # Tagged commands awaiting response 212 if attr in Commands: 301 # IMAP4 commands 752 if not command in Commands: 754 if self.state not in Commands[command] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
imaplib.py | 38 # Commands 40 Commands = { 108 All IMAP4rev1 commands are supported by methods of the same 111 All arguments to commands are converted to strings, except for 142 most IMAP servers implement a sub-set of the commands available here. 155 self.tagged_commands = {} # Tagged commands awaiting response 212 if attr in Commands: 301 # IMAP4 commands 752 if not command in Commands: 754 if self.state not in Commands[command] [all...] |