Lines Matching refs:CommandType
333 template <class CommandType, class... Types>
334 std::vector<const CommandType *>
336 std::vector<const CommandType *> cmds;
342 auto *cmd = reinterpret_cast<const CommandType *>(p);
356 template <class CommandType = llvm::MachO::load_command, class... Types>
357 const CommandType *findCommand(const void *anyHdr, Types... types) {
358 std::vector<const CommandType *> cmds =
359 detail::findCommands<CommandType>(anyHdr, 1, types...);
363 template <class CommandType = llvm::MachO::load_command, class... Types>
364 std::vector<const CommandType *> findCommands(const void *anyHdr,
366 return detail::findCommands<CommandType>(anyHdr, 0, types...);