/dports/x11/xpra/xpra-4.3/xpra/platform/ |
H A D | dotxpra.py | 34 def is_socket(sockpath, check_uid=None): argument 36 s = os.stat(sockpath) 112 def get_server_state(self, sockpath, timeout=5): argument 113 if not os.path.exists(sockpath): 118 sock.connect(sockpath) 188 if os.path.exists(sockpath): 219 sockpath = os.path.join(session_dir, "socket") 220 if os.path.exists(sockpath): 248 for sockpath in sorted(potential_sockets): 256 if not is_socket(sockpath, check_uid): [all …]
|
/dports/net/samba412/samba-4.12.15/ctdb/tests/UNIT/cunit/ |
H A D | sock_daemon_test_001.sh | 6 sockpath="${CTDB_TEST_TMP_DIR}/sock_daemon_test.sock.$$" 11 rm -f "$sockpath" 32 test1[PID]: listening on $sockpath 35 unit_test sock_daemon_test "$pidfile" "$sockpath" 1 40 test2[PID]: listening on $sockpath 49 test2[PID]: listening on $sockpath 61 test3[PID]: listening on $sockpath 75 test5[PID]: listening on $sockpath 83 test6[PID]: listening on $sockpath 122 test10[PID]: listening on $sockpath [all …]
|
/dports/x11/xpra/xpra-4.3/xpra/net/ |
H A D | socket_util.py | 60 listener.bind(sockpath) 88 delpath = sockpath 542 sockpath = parts[0] 555 sockpath = dotxpra.osexpand(sockpath) 556 if sockpath.endswith("/") or (os.path.exists(sockpath) and os.path.isdir(sockpath)): 558 sockpath = os.path.abspath(sockpath) 561 sockpath = norm_makepath(sockpath, display_name) 565 sockpath = dotxpra.socket_path(sockpath) 703 if sockpath.startswith("/var/run/xpra") or sockpath.startswith("/run/xpra"): 706 dirname = sockpath[:sockpath.find("xpra")+len("xpra")] [all …]
|
/dports/shells/elvish/elvish-0.17.0/pkg/daemon/ |
H A D | activate.go | 40 sockpath := spawnCfg.SockPath 41 cl := NewClient(sockpath) 42 status, err := detectDaemon(sockpath, cl) 50 return cl, fmt.Errorf("socket file %s inaccessible: %w", sockpath, err) 52 fmt.Fprintf(stderr, connectionRefusedFmt, sockpath) 53 err := os.Remove(sockpath) 62 err := killDaemon(sockpath, cl) 84 status, err := detectDaemon(sockpath, cl) 108 _, err := os.Lstat(sockpath) 129 func killDaemon(sockpath string, cl daemondefs.Client) error { [all …]
|
/dports/net/minissdpd/minissdpd-1.5.20211105/ |
H A D | testminissdpd.c | 36 int connect_unix_socket(const char * sockpath) in connect_unix_socket() argument 81 sockpath = argv[++i]; in main() 87 s = connect_unix_socket(sockpath); in main() 97 s = connect_unix_socket(sockpath); in main() 106 s = connect_unix_socket(sockpath); in main() 115 s = connect_unix_socket(sockpath); in main() 124 s = connect_unix_socket(sockpath); in main() 156 s = connect_unix_socket(sockpath); in main() 168 s = connect_unix_socket(sockpath); in main() 177 s = connect_unix_socket(sockpath); in main() [all …]
|
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/miniupnp/minissdpd/ |
H A D | testminissdpd.c | 36 int connect_unix_socket(const char * sockpath) in connect_unix_socket() argument 81 sockpath = argv[++i]; in main() 87 s = connect_unix_socket(sockpath); in main() 97 s = connect_unix_socket(sockpath); in main() 106 s = connect_unix_socket(sockpath); in main() 115 s = connect_unix_socket(sockpath); in main() 124 s = connect_unix_socket(sockpath); in main() 156 s = connect_unix_socket(sockpath); in main() 168 s = connect_unix_socket(sockpath); in main() 177 s = connect_unix_socket(sockpath); in main() [all …]
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/miniupnp/minissdpd/ |
H A D | testminissdpd.c | 36 int connect_unix_socket(const char * sockpath) 81 sockpath = argv[++i]; 87 s = connect_unix_socket(sockpath); 97 s = connect_unix_socket(sockpath); 106 s = connect_unix_socket(sockpath); 115 s = connect_unix_socket(sockpath); 124 s = connect_unix_socket(sockpath); 156 s = connect_unix_socket(sockpath); 168 s = connect_unix_socket(sockpath); 177 s = connect_unix_socket(sockpath); [all …]
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/minissdpd/ |
H A D | testminissdpd.c | 36 int connect_unix_socket(const char * sockpath) in connect_unix_socket() argument 81 sockpath = argv[++i]; in main() 87 s = connect_unix_socket(sockpath); in main() 97 s = connect_unix_socket(sockpath); in main() 106 s = connect_unix_socket(sockpath); in main() 115 s = connect_unix_socket(sockpath); in main() 124 s = connect_unix_socket(sockpath); in main() 156 s = connect_unix_socket(sockpath); in main() 168 s = connect_unix_socket(sockpath); in main() 177 s = connect_unix_socket(sockpath); in main() [all …]
|
/dports/net/samba412/samba-4.12.15/ctdb/tests/src/ |
H A D | sock_io_test.c | 29 static int socket_init(const char *sockpath) 111 fd = socket_init(sockpath); 123 unlink(sockpath); 136 fd = sock_connect(sockpath); 221 fd = socket_init(sockpath); 233 unlink(sockpath); 246 fd = sock_connect(sockpath); 267 const char *sockpath; 274 sockpath = argv[1]; 279 test1(mem_ctx, sockpath); [all …]
|
H A D | sock_daemon_test.c | 48 ret = stat(sockpath, &st); in dummy_wait_send() 77 ret = stat(sockpath, &st); in test1_startup() 140 const char *sockpath) in test1() argument 198 ret = stat(sockpath, &st); in test1() 335 const char *sockpath) in test2() argument 506 const char *sockpath) in test3() argument 628 const char *sockpath) in test4() argument 929 const char *sockpath) in test5() argument 1234 const char *sockpath) in test6() argument 1286 test6_client(sockpath); in test6() [all …]
|
H A D | dummy_client.c | 33 const char *sockpath; 42 { "socket", 's', POPT_ARG_STRING, &options.sockpath, 0, 74 options.sockpath = NULL; 109 if (options.sockpath == NULL) { 110 options.sockpath = path_socket(mem_ctx, "ctdbd"); 111 if (options.sockpath == NULL) { 125 ret = ctdb_client_init(client, ev, options.sockpath,
|
/dports/sysutils/watchman/watchman-4.5.0/python/pywatchman/ |
H A D | __init__.py | 145 def __init__(self, sockpath, timeout): argument 146 self.sockpath = sockpath 152 sock.connect(self.sockpath) 185 def __init__(self, sockpath, timeout): argument 186 self.sockpath = sockpath 223 def __init__(self, sockpath, timeout): argument 224 self.sockpath = sockpath 237 '--sockname={}'.format(self.sockpath), 330 sockpath = None variable in client 345 self.sockpath = sockpath [all …]
|
/dports/net/olsrd/olsrd-0.9.8/lib/quagga/src/ |
H A D | plugin.c | 138 char sockpath[PATH_MAX]; in zplugin_sockpath() local 140 if (set_plugin_string(value, &sockpath, addon)) in zplugin_sockpath() 142 len = strlen(sockpath) + 1; in zplugin_sockpath() 143 zebra.sockpath = olsr_realloc(zebra.sockpath, len, "QUAGGA: grow socket path"); in zplugin_sockpath() 144 memcpy(zebra.sockpath, sockpath, len); in zplugin_sockpath()
|
/dports/mail/spamassassin/Mail-SpamAssassin-3.4.5/t/ |
H A D | spamd_plugin.t | 27 my $sockpath = mk_safe_tmpdir()."/spamd.sock"; 28 start_spamd("-D -L --socketpath=$sockpath"); 33 ok (spamcrun ("-U $sockpath < data/spam/001", \&patterns_run_cb)); 41 ok (spamcrun ("-U $sockpath < data/nice/001", \&patterns_run_cb)); 48 ok (spamcrun ("-U $sockpath < data/nice/001", \&patterns_run_cb));
|
H A D | spamd_unix_and_tcp.t | 13 my $sockpath = mk_safe_tmpdir()."/spamd.sock"; 14 start_spamd("-D -L --socketpath=$sockpath --port $spamdport -A $spamdhost -i $spamdhost"); 19 ok (spamcrun ("-U $sockpath < data/spam/001", \&patterns_run_cb)); 34 ok (spamcrun ("-U $sockpath < data/spam/001", \&patterns_run_cb));
|
/dports/mail/spamassassin-devel/spamassassin-1ea352210/t/ |
H A D | spamd_plugin.t | 27 my $sockpath = mk_safe_tmpdir()."/spamd.sock"; 28 start_spamd("-D -L --socketpath=$sockpath"); 33 ok (spamcrun ("-U $sockpath < data/spam/001", \&patterns_run_cb)); 41 ok (spamcrun ("-U $sockpath < data/nice/001", \&patterns_run_cb)); 48 ok (spamcrun ("-U $sockpath < data/nice/001", \&patterns_run_cb));
|
H A D | spamd_unix_and_tcp.t | 13 my $sockpath = mk_safe_tmpdir()."/spamd.sock"; 14 start_spamd("-D -L --socketpath=$sockpath --port $spamdport -A $spamdhost -i $spamdhost"); 19 ok (spamcrun ("-U $sockpath < data/spam/001", \&patterns_run_cb)); 34 ok (spamcrun ("-U $sockpath < data/spam/001", \&patterns_run_cb));
|
/dports/net/nbdkit/nbdkit-1.20.4/tests/ |
H A D | test-socket-activation.c | 82 static char sockpath[] = "/tmp/nbdkitXXXXXX/sock"; variable 94 unlink (sockpath); in cleanup() 112 memcpy (sockpath, tmpdir, len); in main() 125 len = strlen (sockpath); in main() 126 memcpy (addr.sun_path, sockpath, len+1 /* trailing \0 */); in main() 129 perror (sockpath); in main() 211 perror (sockpath); in main()
|
H A D | web-server.c | 59 static char sockpath[] = "............./sock"; variable 78 unlink (sockpath); in cleanup() 107 memcpy (sockpath, tmpdir, strlen (tmpdir)); in web_server() 115 memcpy (addr.sun_path, sockpath, strlen (sockpath) + 1); in web_server() 117 perror (sockpath); in web_server() 142 return sockpath; in web_server() 145 unlink (sockpath); in web_server() 160 fprintf (stderr, "web server: listening on %s\n", sockpath); in start_web_server()
|
/dports/net/samba412/samba-4.12.15/ctdb/common/ |
H A D | sock_daemon.c | 46 const char *sockpath; member 233 unlink(sockpath); in socket_setup() 238 D_ERR("socket bind failed - %s\n", sockpath); in socket_setup() 250 D_NOTICE("listening on %s\n", sockpath); in socket_setup() 276 sock->sockpath = talloc_strdup(sock, sockpath); in sock_socket_init() 277 if (sock->sockpath == NULL) { in sock_socket_init() 300 unlink(sock->sockpath); in sock_socket_destructor() 436 if (sockpath != NULL) { in sock_socket_start_recv() 437 *sockpath = talloc_steal(mem_ctx, state->sock->sockpath); in sock_socket_start_recv() 509 const char *sockpath, in sock_daemon_add_unix() argument [all …]
|
/dports/devel/mercurial/mercurial-6.0/hgext/fsmonitor/pywatchman/ |
H A D | __init__.py | 275 def __init__(self, sockpath, exc): argument 279 self.sockpath = sockpath 374 self.sockpath = sockpath 455 self.sockpath = sockpath 460 sockpath = os.fsencode(sockpath) 462 sockpath, 653 self.sockpath = sockpath 866 sockpath = None variable in client 882 sockpath=None, argument 894 self.sockpath = sockpath [all …]
|
/dports/net/openldap25-client/openldap-2.5.9/servers/slapd/back-sock/ |
H A D | opensock.c | 41 const char *sockpath in opensock() argument 56 sockpath); in opensock() 59 sockpath ? sockpath : "<null>" ); in opensock()
|
/dports/net/openldap24-server/openldap-2.4.59/servers/slapd/back-sock/ |
H A D | opensock.c | 41 const char *sockpath in opensock() argument 56 sockpath); in opensock() 59 sockpath ? sockpath : "<null>", 0, 0 ); in opensock()
|
/dports/net/openldap24-client/openldap-2.4.59/servers/slapd/back-sock/ |
H A D | opensock.c | 41 const char *sockpath in opensock() argument 56 sockpath); in opensock() 59 sockpath ? sockpath : "<null>", 0, 0 ); in opensock()
|
/dports/net/openldap25-server/openldap-2.5.9/servers/slapd/back-sock/ |
H A D | opensock.c | 41 const char *sockpath in opensock() argument 56 sockpath); in opensock() 59 sockpath ? sockpath : "<null>" ); in opensock()
|