| /openbsd-src/usr.sbin/pkg_add/OpenBSD/ |
| H A D | FwUpdate.pm | 93 sub is_installed($self, $driver) 95 return $self->{installed_drivers}{$driver}; 108 sub is_needed($self, $driver) 110 my ($self, $driver) = @_; 111 return $self->{machine_drivers}{$driver}; 150 for my $driver (keys %$search) { 151 next unless $_ =~ $match{$driver}; 152 $found->{$driver} = 1; 153 delete $search->{$driver}; 185 for my $driver (keys %possible_drivers) { [all …]
|
| /openbsd-src/gnu/llvm/lldb/utils/lui/ |
| H A D | lui.py | 38 def handle_args(driver, argv): argument 58 driver.attachProcess(ui, pid) 66 driver.loadCore(options.core) 70 driver.createTarget(args[1]) 74 driver.createTarget(args[1], args[2:]) 84 def __init__(self, screen, event_queue, driver): argument 87 self.driver = driver 97 driver, 0, h - command_win_height, w, command_win_height) 99 self.source_win = sourcewin.SourceWin(driver, 0, 0, 101 self.break_win = breakwin.BreakWin(driver, w - break_win_width, 0, [all …]
|
| H A D | commandwin.py | 56 def __init__(self, driver, x, y, w, h): argument 60 driver.setSize(w, h) 64 self.driver = driver 97 self.el.prompt = self.driver.getPrompt() 106 self.driver.terminate() 110 ret = self.driver.handleCommand(cmd) 125 self.driver.terminate() 130 return self.driver.getCommandInterpreter()
|
| H A D | breakwin.py | 18 def __init__(self, driver, x, y, w, h): argument 20 self.driver = driver 35 target = self.driver.getTarget() 46 target = self.driver.getTarget() 55 target = self.driver.getTarget() 62 target = self.driver.getTarget()
|
| /openbsd-src/games/hunt/hunt/ |
| H A D | list.c | 28 struct driver *drivers = NULL; 38 struct driver * 45 struct driver * 51 struct driver *driver; in next_driver_fd() local 90 return (struct driver *)-1; in next_driver_fd() 102 2 * sizeof(*driver)); in next_driver_fd() 106 drivers = calloc(sizeof *driver, maxdrivers); in next_driver_fd() 111 driver = &drivers[numdrivers]; in next_driver_fd() 112 len = sizeof driver->addr; in next_driver_fd() 113 ret = recvfrom(s, &resp, sizeof resp, 0, &driver->addr, &len); in next_driver_fd() [all …]
|
| H A D | hunt.c | 167 struct driver *driver; in main() local 170 while ((driver = next_driver()) != NULL) { in main() 172 driver->response, in main() 173 (driver->response == 1) ? "" : "s", in main() 174 driver_name(driver)); in main() 264 struct driver *driver; in find_driver() local 277 driver = next_driver(); in find_driver() 278 } else if (!waiting || (driver = in find_driver() 279 next_driver_fd(STDIN_FILENO)) == (struct driver *)-1) { in find_driver() 292 driver = &drivers[c - 'a']; in find_driver() [all …]
|
| H A D | list.h | 4 struct driver { struct 10 extern struct driver *drivers; argument 14 struct driver *next_driver(void); 15 struct driver *next_driver_fd(int); 16 const char * driver_name(struct driver *);
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | DriverInternals.rst | 11 This document describes the Clang driver. The purpose of this document 12 is to describe both the motivation and design goals for the driver, as 18 The Clang driver is intended to be a production quality compiler driver 20 interface which is compatible with the gcc driver. 22 Although the driver is part of and driven by the Clang project, it is 31 The number one goal of the driver is to ease the adoption of Clang by 33 call GCC. Although this makes the driver much more complicated than 41 The driver was designed to be flexible and easily accommodate new uses 42 as we grow the clang and LLVM infrastructure. As one example, the driver 46 Similarly, most of the driver functionality is kept in a library which [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-driver/ |
| H A D | CMakeLists.txt | 20 target_include_directories(llvm-driver PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) 21 target_sources(llvm-driver PRIVATE llvm-driver.cpp) 23 set_target_properties(llvm-driver PROPERTIES OUTPUT_NAME llvm) 25 target_link_libraries(llvm-driver PUBLIC ${LLVM_DRIVER_OBJLIBS}) 29 target_link_libraries(llvm-driver PRIVATE "-framework CoreFoundation") 35 add_llvm_tool_symlink(${name} llvm-driver ALWAYS_GENERATE) 37 llvm_install_symlink(LLVM ${name} llvm-driver ALWAYS_GENERATE)
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | CreateInvocationFromCommandLine.cpp | 46 driver::Driver TheDriver(Args[0], llvm::sys::getDefaultTargetTriple(), *Diags, in createInvocation() 53 std::unique_ptr<driver::Compilation> C(TheDriver.BuildCompilation(Args)); in createInvocation() 57 if (C->getArgs().hasArg(driver::options::OPT_fdriver_only)) in createInvocation() 61 if (C->getArgs().hasArg(driver::options::OPT__HASH_HASH_HASH)) { in createInvocation() 71 const driver::JobList &Jobs = C->getJobs(); in createInvocation() 76 if (isa<driver::BindArchAction>(A)) in createInvocation() 78 if (isa<driver::OffloadAction>(A)) { in createInvocation() 93 auto Cmd = llvm::find_if(Jobs, [](const driver::Command &Cmd) { in createInvocation()
|
| /openbsd-src/sys/dev/pci/drm/ |
| H A D | drm_irq.c | 84 if (dev->driver->irq_preinstall) in drm_legacy_irq_install() 85 dev->driver->irq_preinstall(dev); in drm_legacy_irq_install() 91 ret = request_irq(irq, dev->driver->irq_handler, in drm_legacy_irq_install() 92 sh_flags, dev->driver->name, dev); in drm_legacy_irq_install() 100 if (dev->driver->irq_postinstall) in drm_legacy_irq_install() 101 ret = dev->driver->irq_postinstall(dev); in drm_legacy_irq_install() 154 if (dev->driver->irq_uninstall) in drm_legacy_irq_uninstall() 155 dev->driver->irq_uninstall(dev); in drm_legacy_irq_uninstall()
|
| H A D | drm_pci.c | 157 const struct drm_driver *driver) in drm_legacy_get_pci_dev() argument 164 dev = drm_dev_alloc(driver, &pdev->dev); in drm_legacy_get_pci_dev() 207 int drm_legacy_pci_init(const struct drm_driver *driver, in drm_legacy_pci_init() argument 216 if (WARN_ON(!(driver->driver_features & DRIVER_LEGACY))) in drm_legacy_pci_init() 238 drm_legacy_get_pci_dev(pdev, pid, driver); in drm_legacy_pci_init() 253 void drm_legacy_pci_exit(const struct drm_driver *driver, in drm_legacy_pci_exit() argument 260 if (!(driver->driver_features & DRIVER_LEGACY)) { in drm_legacy_pci_exit() 266 if (dev->driver == driver) { in drm_legacy_pci_exit()
|
| H A D | drm_dumb_buffers.c | 66 if (!dev->driver->dumb_create) in drm_mode_create_dumb() 96 return dev->driver->dumb_create(file_priv, dev, args); in drm_mode_create_dumb() 124 if (!dev->driver->dumb_create) in drm_mode_mmap_dumb_ioctl() 127 if (dev->driver->dumb_map_offset) in drm_mode_mmap_dumb_ioctl() 128 return dev->driver->dumb_map_offset(file_priv, dev, in drm_mode_mmap_dumb_ioctl() 139 if (!dev->driver->dumb_create) in drm_mode_destroy_dumb()
|
| H A D | drm_drv.c | 105 const struct drm_driver *driver; member 138 * of the device-driver, different interfaces are registered. 340 * DOC: driver instance overview in drm_minor_release() 342 * A device instance for a drm driver is represented by &struct drm_device. This 344 * bus-specific ->probe() callbacks implemented by the driver. The driver then 359 * any other resources allocated at device initialization and drop the driver's 364 * driver is unbound from the underlying physical struct &device. Best to use 372 * Display driver example 375 * The following example shows a typical structure of a DRM display driver 699 drm_dev_init(struct drm_device * dev,const struct drm_driver * driver,struct device * parent) drm_dev_init() argument 808 devm_drm_dev_init(struct device * parent,struct drm_device * dev,const struct drm_driver * driver) devm_drm_dev_init() argument 823 __devm_drm_dev_alloc(struct device * parent,const struct drm_driver * driver,size_t size,size_t offset) __devm_drm_dev_alloc() argument 864 drm_dev_alloc(const struct drm_driver * driver,struct device * parent) drm_dev_alloc() argument 1011 const struct drm_driver *driver = dev->driver; drm_dev_register() local 1234 drm_attach_platform(struct drm_driver * driver,bus_space_tag_t iot,bus_dma_tag_t dmat,struct device * dev,struct drm_device * drm) drm_attach_platform() argument 1251 drm_attach_pci(const struct drm_driver * driver,struct pci_attach_args * pa,int is_agp,int primary,struct device * dev,struct drm_device * drm) drm_attach_pci() argument [all...] |
| H A D | drm_file.c | 66 * The deprecated ->load callback must be called after the driver is in drm_dev_needs_global_mutex() 68 * sure an open can't proceed until the driver is actually fully set up. in drm_dev_needs_global_mutex() 71 if (dev->driver->load || dev->driver->unload) in drm_dev_needs_global_mutex() 80 if (dev->driver->lastclose) in drm_dev_needs_global_mutex() 106 * For the driver-side event interface see drm_event_reserve_init() and 109 * The memory mapping implementation will vary depending on how the driver 133 * The driver's &file_operations must be stored in &drm_driver.fops. 135 * For driver-private IOCTL handling see the more detailed discussion in 191 if (dev->driver in drm_file_alloc() [all...] |
| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/Arch/ |
| H A D | M68k.cpp | 21 using namespace clang::driver; 22 using namespace clang::driver::tools; 28 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getM68kTargetCPU() 52 if (Args.hasArg(clang::driver::options::OPT_m68000)) in getM68kTargetCPU() 54 if (Args.hasArg(clang::driver::options::OPT_m68010)) in getM68kTargetCPU() 56 if (Args.hasArg(clang::driver::options::OPT_m68020)) in getM68kTargetCPU() 58 if (Args.hasArg(clang::driver::options::OPT_m68030)) in getM68kTargetCPU() 60 if (Args.hasArg(clang::driver::options::OPT_m68040)) in getM68kTargetCPU() 62 if (Args.hasArg(clang::driver::options::OPT_m68060)) in getM68kTargetCPU()
|
| H A D | X86.cpp | 19 using namespace clang::driver; 20 using namespace clang::driver::tools; 26 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetCPU() 123 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetFeatures() 160 auto SpectreOpt = clang::driver::options::ID::OPT_INVALID; in getX86TargetFeatures() 186 auto LVIOpt = clang::driver::options::ID::OPT_INVALID; in getX86TargetFeatures() 204 if (SpectreOpt != clang::driver::options::ID::OPT_INVALID) in getX86TargetFeatures() 216 if (SpectreOpt != clang::driver::options::ID::OPT_INVALID && in getX86TargetFeatures() 217 LVIOpt != clang::driver::options::ID::OPT_INVALID) { in getX86TargetFeatures()
|
| H A D | SystemZ.cpp | 16 using namespace clang::driver; 17 using namespace clang::driver::tools; 29 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_msoft_float, in getSystemZFloatABI() 31 if (A->getOption().matches(clang::driver::options::OPT_msoft_float)) in getSystemZFloatABI() 38 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getSystemZTargetCPU()
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/build/ |
| H A D | driver_executable.gni | 8 write_cmake_config("${tool_name}-driver") { 9 input = "//llvm/cmake/modules/llvm-driver-template.cpp.in" 10 output = "$target_gen_dir/${tool_name}-driver.cpp" 16 deps += [ ":${tool_name}-driver" ] 17 sources += [ "$target_gen_dir/${tool_name}-driver.cpp" ]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 76 static driver::Driver * 79 driver::Driver *CompilerDriver = in newDriver() 80 new driver::Driver(BinaryName, llvm::sys::getDefaultTargetTriple(), in newDriver() 87 static bool ignoreExtraCC1Commands(const driver::Compilation *Compilation) { in ignoreExtraCC1Commands() 88 const driver::JobList &Jobs = Compilation->getJobs(); in ignoreExtraCC1Commands() 89 const driver::ActionList &Actions = Compilation->getActions(); in ignoreExtraCC1Commands() 103 if (isa<driver::BindArchAction>(A)) in ignoreExtraCC1Commands() 105 if (isa<driver::OffloadAction>(A)) { in ignoreExtraCC1Commands() 114 isa<driver::CompileJobAction>(Actions.front()) || in ignoreExtraCC1Commands() 117 (isa<driver::BindArchAction>(Actions.front()) && in ignoreExtraCC1Commands() [all …]
|
| H A D | CompilationDatabase.cpp | 150 void run(const driver::Action *A) { in run() 155 void runImpl(const driver::Action *A, bool Collect) { in runImpl() 158 case driver::Action::CompileJobClass: in runImpl() 162 case driver::Action::InputClass: in runImpl() 164 const auto *IA = cast<driver::InputAction>(A); in runImpl() 174 for (const driver::Action *AI : A->inputs()) in runImpl() 255 std::unique_ptr<driver::Driver> NewDriver(new driver::Driver( in stripPositionalArgs() 281 const std::unique_ptr<driver::Compilation> Compilation( in stripPositionalArgs() 286 const driver::JobList &Jobs = Compilation->getJobs(); in stripPositionalArgs() 294 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/ |
| H A D | SPIRV.cpp | 15 using namespace clang::driver; 16 using namespace clang::driver::toolchains; 17 using namespace clang::driver::tools; 52 clang::driver::Tool *SPIRVToolChain::getTranslator() const { in getTranslator() 58 clang::driver::Tool *SPIRVToolChain::SelectTool(const JobAction &JA) const { in SelectTool() 63 clang::driver::Tool *SPIRVToolChain::getTool(Action::ActionClass AC) const { in getTool() 73 clang::driver::Tool *SPIRVToolChain::buildLinker() const { in buildLinker()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/ |
| H A D | IPC.pm | 53 # Find a driver 54 my ($driver) = Test2::API::test2_ipc_drivers(); 55 unless ($driver) { 57 $driver = 'Test2::IPC::Driver::Files'; 60 return $driver->new();
|
| /openbsd-src/gnu/llvm/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 45 driver::Compilation *Compilation) { in GetCC1Arguments() 48 const driver::JobList &Jobs = Compilation->getJobs(); in GetCC1Arguments() 49 if (!Jobs.size() || !isa<driver::Command>(*Jobs.begin())) in GetCC1Arguments() 55 const driver::Command *Cmd = cast<driver::Command>(&(*Jobs.begin())); in GetCC1Arguments() 158 driver::Driver Driver(/*MainBinaryName=*/ClangArgv[0], in create() 162 std::unique_ptr<driver::Compilation> Compilation(Driver.BuildCompilation(RF)); in create() 164 if (Compilation->getArgs().hasArg(driver::options::OPT_v)) in create()
|
| /openbsd-src/gnu/usr.sbin/mkhybrid/src/ |
| H A D | README.hfs_boot | 7 A bootable HFS CD requires an Apple CD-ROM (or compatible) driver, a bootable 10 A driver can be obtained from any other Mac bootable CD-ROM using the 29 To extract the driver and boot block: 35 The format of the HFS driver file is: 55 By using a driver from an Apple CD and copying Apple software to your CD, 58 The driver code (both extracting the driver and creating partitions etc.
|