/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...] |
/prebuilts/go/darwin-x86/src/cmd/internal/browser/ |
browser.go | 14 // Commands returns a list of possible commands to use to open a url. 15 func Commands() [][]string { 39 for _, args := range Commands() {
|
/prebuilts/go/linux-x86/src/cmd/internal/browser/ |
browser.go | 14 // Commands returns a list of possible commands to use to open a url. 15 func Commands() [][]string { 39 for _, args := range Commands() {
|
/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...] |
/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 | 55 ## Commands for running tblgen to compile a td file
|
llvm-host-build.mk | 72 ## Commands for running tblgen to compile a td file
|
/prebuilts/go/darwin-x86/src/cmd/pprof/internal/commands/ |
commands.go | 5 // Package commands defines and manages the basic pprof commands 6 package commands package 25 // Commands describes the commands accepted by pprof. 26 type Commands map[string]*Command 46 // PProf returns the basic pprof report-generation commands 47 func PProf(c Completer, interactive **bool) Commands { 48 return Commands{ 49 // Commands that require no post-processing [all...] |
/prebuilts/go/linux-x86/src/cmd/pprof/internal/commands/ |
commands.go | 5 // Package commands defines and manages the basic pprof commands 6 package commands package 25 // Commands describes the commands accepted by pprof. 26 type Commands map[string]*Command 46 // PProf returns the basic pprof report-generation commands 47 func PProf(c Completer, interactive **bool) Commands { 48 return Commands{ 49 // Commands that require no post-processing [all...] |
/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 413 std::vector<std::string> &Commands = TableDrivenOperandPrinters[i]; 417 unsigned NumBits = Log2_32_Ceil(Commands.size()); 422 << " bits for " << Commands.size() << " unique commands.\n"; 424 if (Commands.size() == 2) { 429 << Commands[1] 431 << Commands[0] 433 } else if (Commands.size() == 1) { 435 O << Commands[0] << "\n\n"; 443 for (unsigned j = 0, e = Commands.size(); j != e; ++j) [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
AsmWriterEmitter.cpp | 390 std::vector<std::string> &Commands = TableDrivenOperandPrinters[i]; 394 unsigned NumBits = Log2_32_Ceil(Commands.size()); 401 << " bits for " << Commands.size() << " unique commands.\n"; 403 if (Commands.size() == 2) { 407 << Commands[1] 409 << Commands[0] 411 } else if (Commands.size() == 1) { 413 O << Commands[0] << "\n\n"; 420 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 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 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 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.
|
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/ |
main.js | 63 tcpConnection.sendMessage(Commands.run(cmd[0], cmd.slice(1)));
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
BuildEngine.py | 53 def __new__(Class, Inputs, Outputs, Commands, Dependencies):
60 Tdb._Init(Inputs, Outputs, Commands, Dependencies)
64 def _Init(self, Inputs, Outputs, Commands, Dependencies):
67 self.Commands = Commands
111 # @param Command The list containing commands to generate the output from input
221 # @retval tuple (Source file in full path, List of individual sourcefiles, Destionation file, List of build commands)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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/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...] |