Home
last modified time | relevance | path

Searched refs:port_path (Results 1 – 25 of 61) sorted by relevance

123

/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/packaging/os/
H A Dmacports.py108 def selfupdate(module, port_path): argument
132 def upgrade(module, port_path): argument
171 def remove_ports(module, port_path, ports): argument
178 if not query_port(module, port_path, port):
183 if query_port(module, port_path, port):
201 if query_port(module, port_path, port):
217 def activate_ports(module, port_path, ports): argument
242 def deactivate_ports(module, port_path, ports): argument
300 remove_ports(module, port_path, pkgs)
303 activate_ports(module, port_path, pkgs)
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/
H A Dmacports.py104 def selfupdate(module, port_path): argument
128 def upgrade(module, port_path): argument
146 def query_port(module, port_path, name, state="present"): argument
168 def remove_ports(module, port_path, ports, stdout, stderr): argument
175 if not query_port(module, port_path, port):
181 if query_port(module, port_path, port):
199 if query_port(module, port_path, port):
205 if not query_port(module, port_path, port):
216 def activate_ports(module, port_path, ports, stdout, stderr): argument
222 if not query_port(module, port_path, port):
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/packaging/os/
H A Dmacports.py104 def selfupdate(module, port_path): argument
128 def upgrade(module, port_path): argument
146 def query_port(module, port_path, name, state="present"): argument
168 def remove_ports(module, port_path, ports, stdout, stderr): argument
175 if not query_port(module, port_path, port):
181 if query_port(module, port_path, port):
199 if query_port(module, port_path, port):
205 if not query_port(module, port_path, port):
216 def activate_ports(module, port_path, ports, stdout, stderr): argument
222 if not query_port(module, port_path, port):
[all …]
/dports/net/p5-Net-NBsocket/Net-NBsocket-0.24/
H A DNBsocket.pm358 my ($sock,$port_path,$addr) = @_;
360 my $path = ($port_path && $port_path =~ /[\D\s]/) ? $port_path : undef;
396 my ($port_path,$addr,$AF) = @_;
413 if ($port_path && $port_path =~ /[\D\s]/) {
417 unlink $port_path if -e $port_path && -S $port_path;
457 my($block,$port_path,$netaddr,$AF) = @_;
462 return undef unless $port_path;
463 if ($port_path =~ /\D/) {
464 $daddr = sockaddr_un($port_path);
473 $daddr = sockaddr_in($port_path,$netaddr);
[all …]
H A DREADME42 DEPRECATED $sock = bind2pp($sock,$port_path,$netaddr);
43 $listener = open_Listen($port_path,$netaddr,$af_family);
44 $listener = open_listenNB($port_path,$netaddr,$af_family);
45 $client = connectBlk($port_path,$netaddr,$af_family);
46 $client = connect_NB($port_path,$netaddr,$af_family);
100 * DEPRECATED $sock=bind2pp($sock,$port_path,$netaddr);
115 * $listener = open_Listen($port_path,$netaddr,$af_family);
118 * $listener = open_listenNB($port_path,$netaddr,$af_family);
133 * $client = connectBlk($port_path,$netaddr,$af_family);
136 * $client = connect_NB($port_path,$netaddr,$af_family);
[all …]
/dports/devel/py-adb/python-adb-1.3.0-9-gd0be33c/adb/
H A Dcommon.py97 port_path = tuple(self.port_path)
99 old_handle = self._HANDLE_CACHE.get(port_path)
133 self._HANDLE_CACHE[port_path] = self
142 def port_path(self): member in UsbHandle
203 def PortPathMatcher(cls, port_path): argument
205 if isinstance(port_path, str):
207 port_path = [int(part) for part in SYSFS_PORT_SPLIT_RE.split(port_path)]
208 return lambda device: device.port_path == port_path
219 setting_matcher, port_path=port_path, serial=serial,
228 if port_path:
[all …]
H A Dfastboot.py225 …def ConnectDevice(self, port_path=None, serial=None, default_timeout_ms=None, chunk_kb=1024, **kwa… argument
256 DeviceIsAvailable, port_path=port_path, serial=serial,
/dports/ports-mgmt/py-skog/skog-0.1.0/skog/
H A D__init__.py63 def _run_pool(self, port_path, depth=None): argument
68 path = os.path.join(self.mnt, port_path)
82 logger.debug("Cache hit: %s -> %s" % (port_path, port))
88 self.cache[port_path] = root
91 def run(self, port_path): argument
92 if port_path in self.cache:
93 root = self.cache[port_path]
95 root = self._run_pool(port_path)
/dports/devel/py-oslo.middleware/oslo.middleware-4.5.0/oslo_middleware/healthcheck/
H A Ddisable_by_file.py56 for port_path in paths:
57 port_path = port_path.strip()
58 if port_path:
61 port, path = port_path.split(":", 1)
/dports/ports-mgmt/portfind/portfind-1.6.3/
H A Dportfind.c157 copy_string(&entry.port_path, phrase); in main()
193 if(option_path && entry.port_path && strcasestr(entry.port_path, search)) { in main()
241 entry->port_path = NULL; in init_entry_t()
256 free(entry->port_path); in deinit_entry_t()
298 printf(" Port path: %s\n", entry->port_path ? entry->port_path : "No port path avaiable"); in print_full_entry_t()
317 entry->port_path ? entry->port_path : "n/a" in print_short_entry_t()
/dports/ports-mgmt/mkreadmes/mkreadmes-1.3/
H A Dindex.c137 char port_path[PATH_MAX] = PORTSTOP; /* the canonical "/usr/ports" */ in search_index() local
149 strcat(port_path, skip_leading(path, ports_dir)); in search_index()
167 if ((len == strlen(port_path)) && (strncmp(port, port_path, len) == 0)) in search_index()
H A Dmkreadmes.c480 char port_path[PATH_MAX]; /* full path to port in ports tree */ in make_readme_category() local
608 strcpy(port_path, path); /* category's path */ in make_readme_category()
609 strcat(port_path, "/"); in make_readme_category()
610 strcat(port_path, port); /* append port's name */ in make_readme_category()
613 make_readme_port(port_path, make_level); in make_readme_category()
/dports/devel/pecl-swoole/swoole-4.8.5/tests/include/macos/
H A Dphpstorm.py56 port_path = os.path.join(CONFIG_PATH, 'port')
58 if not (os.path.exists(port_path) and os.path.exists(token_path)):
61 with open(port_path) as pf:
/dports/devel/openocd/openocd-0.11.0/src/jtag/drivers/
H A Djtag_usb_common.c36 bool jtag_usb_location_equal(uint8_t dev_bus, uint8_t *port_path, in jtag_usb_location_equal() argument
67 if (path_step < path_len && atoi(ptr) != port_path[path_step]) in jtag_usb_location_equal()
H A Dlibusb_helper.c76 uint8_t port_path[MAX_USB_PORTS]; in jtag_libusb_location_equal() local
80 path_len = libusb_get_port_numbers(device, port_path, MAX_USB_PORTS); in jtag_libusb_location_equal()
88 return jtag_usb_location_equal(dev_bus, port_path, path_len); in jtag_libusb_location_equal()
H A Djtag_usb_common.h11 bool jtag_usb_location_equal(uint8_t dev_bus, uint8_t *port_path,
/dports/graphics/gtkam/gtkam-1.0/src/
H A Dgtkam-chooser.c220 gchar *port_path, *right, *tmp; in gtkam_chooser_get_camera() local
231 port_path = g_strdup (_("None")); in gtkam_chooser_get_camera()
233 port_path = g_strdup (port); in gtkam_chooser_get_camera()
234 right = strrchr (port_path, ')'); in gtkam_chooser_get_camera()
236 tmp = g_strdup (strrchr (port_path, '(') + 1); in gtkam_chooser_get_camera()
237 g_free (port_path); in gtkam_chooser_get_camera()
238 port_path = tmp; in gtkam_chooser_get_camera()
253 if (strcmp (port_path, _("None"))) { in gtkam_chooser_get_camera()
255 port_path); in gtkam_chooser_get_camera()
277 g_free (port_path); in gtkam_chooser_get_camera()
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/cloud/amazon/
H A Dec2_elb_info.py148 protocol, port_path = health_check.target.split(':')
150 port, path = port_path.split('/', 1)
153 port = port_path
H A D_ec2_elb_facts.py148 protocol, port_path = health_check.target.split(':')
150 port, path = port_path.split('/', 1)
153 port = port_path
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/aci/
H A Dmso_schema_site_anp_epg_staticport.py263port_path = '/sites/{0}/anps/{1}/epgs/{2}/staticPorts/{3}'.format(site_template, anp, epg, portpat…
280 ops.append(dict(op='remove', path=port_path))
300 ops.append(dict(op='replace', path=port_path, value=mso.sent))
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/aws/plugins/modules/
H A Dec2_elb_facts.py135 protocol, port_path = health_check.target.split(':')
137 port, path = port_path.split('/', 1)
140 port = port_path
H A Dec2_elb_info.py135 protocol, port_path = health_check.target.split(':')
137 port, path = port_path.split('/', 1)
140 port = port_path
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cisco/mso/plugins/modules/
H A Dmso_tenant_site.py272 port_path = '/siteAssociations/{0}'.format(site_id)
373 ops.append(dict(op='remove', path=port_path))
378 ops.append(dict(op='replace', path=port_path, value=mso.sent))
H A Dmso_schema_site_anp_epg_staticport.py386port_path = '/sites/{0}/anps/{1}/epgs/{2}/staticPorts/{3}'.format(site_template, anp, epg, portpat…
424 ops.append(dict(op='remove', path=port_path))
431 ops.append(dict(op='replace', path=port_path, value=mso.sent))
/dports/ports-mgmt/portsreinstall/portsreinstall-4.1.0/lib/
H A Dlibreinstall.sh145 local mode port_path MAKE_ARGS MAKE_ENVS
150 port_path=`pkgsys_get_portpath_from_origin "$REINSTALL_ORIGIN"`
151 fs_fix_unionfs_image_if_hidden "$port_path"
152 env $MAKE_ENVS make -C "$port_path" "$@" $MAKE_ARGS
170 local position msg port_path
178 port_path=`pkgsys_get_portpath_from_origin "$REINSTALL_ORIGIN"`
179 { fs_fix_unionfs_image_if_hidden "$port_path" \
755 local port_path tmp_fetch
756 port_path=`pkgsys_get_portpath_from_origin "$REINSTALL_ORIGIN"` || return
761 grep '^SHA256[[:space:]]' "$port_path/distinfo" | \
[all …]

123