Searched refs:UNIX_PATH_MAX (Results 1 - 9 of 9) sorted by relevance

/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dser-uds.c27 #ifndef UNIX_PATH_MAX
28 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) macro
38 if (strlen (name) > UNIX_PATH_MAX - 1)
42 pulongest (UNIX_PATH_MAX - 1L));
48 strncpy (addr.sun_path, name, UNIX_PATH_MAX - 1);
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dser-uds.c27 #ifndef UNIX_PATH_MAX
28 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) macro
38 if (strlen (name) > UNIX_PATH_MAX - 1)
42 pulongest (UNIX_PATH_MAX - 1L));
48 strncpy (addr.sun_path, name, UNIX_PATH_MAX - 1);
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dagent.cc128 #ifndef UNIX_PATH_MAX
129 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) macro
143 char path[UNIX_PATH_MAX];
145 res = xsnprintf (path, UNIX_PATH_MAX, "%s/gdb_ust%d", P_tmpdir, pid);
146 if (res >= UNIX_PATH_MAX)
158 res = xsnprintf (addr.sun_path, UNIX_PATH_MAX, "%s", path);
159 if (res >= UNIX_PATH_MAX)
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dagent.cc128 #ifndef UNIX_PATH_MAX
129 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) macro
143 char path[UNIX_PATH_MAX];
145 res = xsnprintf (path, UNIX_PATH_MAX, "%s/gdb_ust%d", P_tmpdir, pid);
146 if (res >= UNIX_PATH_MAX)
158 res = xsnprintf (addr.sun_path, UNIX_PATH_MAX, "%s", path);
159 if (res >= UNIX_PATH_MAX)
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dun.d47 enum UNIX_PATH_MAX = 108;
52 byte[UNIX_PATH_MAX] sun_path;
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/internal/
H A Dsockets.h78 # ifndef UNIX_PATH_MAX
79 # define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path) macro
/netbsd-current/crypto/external/bsd/openssl/dist/include/internal/
H A Dsockets.h82 # ifndef UNIX_PATH_MAX
83 # define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path) macro
/netbsd-current/external/gpl3/gdb.old/dist/gdbserver/
H A Dtracepoint.cc6874 #ifndef UNIX_PATH_MAX
6875 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) macro
6902 strncpy (addr.sun_path, name, UNIX_PATH_MAX);
6903 addr.sun_path[UNIX_PATH_MAX - 1] = '\0';
6938 static char agent_socket_name[UNIX_PATH_MAX];
6945 result = xsnprintf (agent_socket_name, UNIX_PATH_MAX, "%s/gdb_ust%d",
6947 if (result >= UNIX_PATH_MAX)
/netbsd-current/external/gpl3/gdb/dist/gdbserver/
H A Dtracepoint.cc6834 #ifndef UNIX_PATH_MAX
6835 #define UNIX_PATH_MAX sizeof(((struct sockaddr_un *) NULL)->sun_path) macro
6903 static char agent_socket_name[UNIX_PATH_MAX];
6910 result = snprintf (agent_socket_name, UNIX_PATH_MAX, "%s/gdb_ust%d",
6912 if (result >= UNIX_PATH_MAX)

Completed in 239 milliseconds