/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/ |
xray-registry.cpp | 23 ManagedStatic<std::unordered_map<cl::SubCommand *, HandlerType>> Commands; 27 assert(Commands->count(SC) == 0 && 30 (*Commands)[SC] = Command; 34 auto It = Commands->find(SC); 35 assert(It != Commands->end() &&
|
/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...] |
/development/tools/repo_diff/service/repodiff/tools/ |
upgrade_db.py | 1 import commands 10 class Commands(object): 23 exit_code, output = commands.getstatusoutput(command) 150 Commands.UPGRADE: upgrade_db, 151 Commands.DOWNGRADE: downgrade_db, 154 print "Usage: python tools/upgrade_db.py [%s|%s] {sql_script_dir}" % Commands.all()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioGpuDxe/ |
VirtioGpu.inf | 27 Commands.c
|
/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 | 86 CObjectVector<CUpdateArchiveCommand> Commands;
142 Commands.Clear();
145 Commands.Add(c);
|
Update.cpp | 406 FOR_VECTOR (i, Commands)
408 CUpdateArchiveCommand &uc = Commands[i];
1068 if (options.Commands.Size() != 1)
1074 if (options.Commands.Size() != 1)
1076 const CActionSet &as = options.Commands[0].ActionSet;
[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
|
/build/soong/dexpreopt/ |
dexpreopt_test.go | 169 if len(rule.Commands()) < 1 || !strings.Contains(rule.Commands()[0], want) { 170 t.Errorf("\nwant commands[0] to have:\n %v\ngot:\n %v", want, rule.Commands()[0]) 176 if !reflect.DeepEqual(rule.Commands(), wantCommands) { 177 t.Errorf("\nwant commands:\n %v\ngot:\n %v", wantCommands, rule.Commands())
|
/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 431 std::vector<std::string> &Commands = TableDrivenOperandPrinters[i]; 435 unsigned NumBits = Log2_32_Ceil(Commands.size()); 440 << " bits for " << Commands.size() << " unique commands.\n"; 442 if (Commands.size() == 2) { 447 << Commands[1] 449 << Commands[0] 451 } else if (Commands.size() == 1) { 453 O << Commands[0] << "\n\n"; 461 for (unsigned j = 0, e = Commands.size(); j != e; ++j) [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)
|
/build/soong/android/ |
rule_builder_test.go | 56 fmt.Printf("commands: %q\n", strings.Join(rule.Commands(), " && ")) 62 // commands: "ld a.o b.o -o out/linked && echo success" 83 fmt.Printf("commands: %q\n", strings.Join(rule.Commands(), " && ")) 89 // commands: "cp a out/b && cp out/b out/c" 111 fmt.Printf("commands: %q\n", strings.Join(rule.Commands(), " && ")) 117 // commands: "cp a out/b && cp out/b out/c && rm -f out/b" 299 if g, w := rule.Commands(), wantCommands; !reflect.DeepEqual(g, w) [all...] |
/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...] |
/external/python/cpython2/Lib/ |
imaplib.py | 48 # Commands 50 Commands = { 119 All IMAP4rev1 commands are supported by methods of the same 122 All arguments to commands are converted to strings, except for 153 most IMAP servers implement a sub-set of the commands available here. 166 self.tagged_commands = {} # Tagged commands awaiting response 223 if attr in Commands: 317 # IMAP4 commands 768 if not command in Commands: 770 if self.state not in Commands[command] [all...] |
/external/python/cpython3/Lib/ |
imaplib.py | 56 # Commands 58 Commands = { 143 All IMAP4rev1 commands are supported by methods of the same 146 All arguments to commands are converted to strings, except for 177 most IMAP servers implement a sub-set of the commands available here. 188 self.tagged_commands = {} # Tagged commands awaiting response 267 if attr in Commands: 377 # IMAP4 commands 871 if not command in Commands: 873 if self.state not in Commands[command] [all...] |