Lines Matching refs:CommandType
321 template <class CommandType, class... Types>
322 std::vector<const CommandType *>
324 std::vector<const CommandType *> cmds; in findCommands()
330 auto *cmd = reinterpret_cast<const CommandType *>(p); in findCommands()
344 template <class CommandType = llvm::MachO::load_command, class... Types>
345 const CommandType *findCommand(const void *anyHdr, Types... types) { in findCommand()
346 std::vector<const CommandType *> cmds = in findCommand()
347 detail::findCommands<CommandType>(anyHdr, 1, types...); in findCommand()
351 template <class CommandType = llvm::MachO::load_command, class... Types>
352 std::vector<const CommandType *> findCommands(const void *anyHdr, in findCommands()
354 return detail::findCommands<CommandType>(anyHdr, 0, types...); in findCommands()