Searched refs:PATH_MAX (Results 1 - 25 of 141) sorted by relevance

123456

/xsrc/external/mit/libX11/dist/src/
H A Dpathmax.h50 * Provides a single definition of PATH_MAX instead of replicating this mess
68 #ifndef PATH_MAX
70 #define PATH_MAX 512 macro
74 #ifndef PATH_MAX
76 #define PATH_MAX MAXPATHLEN macro
78 #define PATH_MAX 1024 macro
H A DGetDflt.c128 char fname[PATH_MAX]; /* longer than any conceivable size */
144 (void) GetHomeDir (fname, (int) (PATH_MAX - strlen (slashDotXdefaults) - 1));
155 (void) GetHomeDir (fname, (int) (PATH_MAX - strlen (slashDotXdefaultsDash) - 1));
158 (void) _XGetHostname (fname+len, PATH_MAX-len);
/xsrc/external/mit/xfs/dist/os/
H A Dosdep.h65 #ifndef PATH_MAX
66 # ifndef PATH_MAX
68 # define PATH_MAX MAXPATHLEN macro
70 # define PATH_MAX 1024 macro
73 #endif /* PATH_MAX */
H A Derror.c66 char ErrorFile[PATH_MAX];
67 static char CurrentErrorFile[PATH_MAX];
/xsrc/external/mit/xorgproto/dist/include/X11/
H A DXosdefs.h91 # ifndef PATH_MAX
92 # define PATH_MAX 4096 macro
100 # ifndef PATH_MAX
101 # define PATH_MAX 1024 macro
H A DXwindows.h108 #if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024)
109 # undef PATH_MAX
110 # define PATH_MAX 1024 macro
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dprocess_test.c34 #if DETECT_OS_WINDOWS && !defined(PATH_MAX)
36 #define PATH_MAX MAX_PATH macro
71 char path[PATH_MAX];
72 if (util_get_process_exec_path(path, PATH_MAX) == 0) {
/xsrc/external/mit/smproxy/dist/
H A Dsmproxy.h58 #ifndef PATH_MAX
60 #ifndef PATH_MAX
62 #define PATH_MAX MAXPATHLEN macro
64 #define PATH_MAX 1024 macro
67 #endif /* PATH_MAX */
/xsrc/external/mit/xedit/dist/
H A Drealpath.c39 * char *realpath(const char *path, char resolved[PATH_MAX]);
53 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
63 resolved = malloc(PATH_MAX);
79 if (getcwd(resolved, PATH_MAX) == NULL) {
83 strlcpy(resolved, ".", PATH_MAX);
89 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
114 if (resolved_len + 1 >= PATH_MAX) {
144 resolved_len = strlcat(resolved, next_token, PATH_MAX);
[all...]
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DlcFile.c429 char buf[PATH_MAX], *name;
435 if (snprintf(buf, PATH_MAX, "%s/%s.dir", args[i], cat) < PATH_MAX) {
445 if (snprintf(buf, PATH_MAX, "%s/%s", args[i], name) < PATH_MAX)
471 char dir[PATH_MAX], buf[PATH_MAX], *name = NULL;
479 xlocaledir (dir, PATH_MAX);
485 if (snprintf (buf, PATH_MAX, "%s/%s", args[i], locale_alias)
486 < PATH_MAX) {
[all...]
/xsrc/external/mit/libXaw/dist/include/X11/Xaw/
H A DAsciiSrcP.h71 #ifdef PATH_MAX
72 #define TMPSIZ PATH_MAX
H A DMultiSrcP.h103 #ifdef PATH_MAX
104 #define TMPSIZ PATH_MAX
/xsrc/external/mit/xedit/dist/lisp/
H A Dpathname.h40 #ifndef PATH_MAX
41 #define PATH_MAX 4096 macro
/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A Dwinprefs.h43 /* Xwindows redefines PATH_MAX to at least 1024 */
49 #define NAME_MAX PATH_MAX
52 #define PARAM_MAX (4*PATH_MAX) /* Maximum length of a parameter to a MENU */
103 char iconFile[PATH_MAX + NAME_MAX + 2]; /* Icon location, WIN32 path */
130 char iconDirectory[PATH_MAX + 1]; /* Where do the .icos lie? (Win32 path) */
/xsrc/external/mit/xsm/dist/
H A Dlock.c55 char lock_file[PATH_MAX];
56 char temp_lock_file[PATH_MAX];
96 char lock_file[PATH_MAX];
112 char lock_file[PATH_MAX];
H A Dxsm.h50 #ifndef PATH_MAX
52 #ifndef PATH_MAX
54 #define PATH_MAX MAXPATHLEN macro
56 #define PATH_MAX 1024 macro
59 #endif /* PATH_MAX */
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/
H A Dwinprefs.h42 /* Xwindows redefines PATH_MAX to at least 1024 */
46 #define NAME_MAX PATH_MAX
49 #define PARAM_MAX (4*PATH_MAX) /* Maximum length of a parameter to a MENU */
107 char iconFile[PATH_MAX+NAME_MAX+2]; /* Icon location, WIN32 path */
136 char iconDirectory[PATH_MAX+1]; /* Where do the .icos lie? (Win32 path) */
/xsrc/external/mit/libxkbfile/dist/src/
H A DXKBfileInt.h53 #ifndef PATH_MAX
55 #define PATH_MAX MAXPATHLEN macro
57 #define PATH_MAX 1024 macro
/xsrc/external/mit/libXmu/dist/src/
H A DLocBitmap.c52 #ifndef PATH_MAX
54 #define PATH_MAX 512 macro
58 #ifndef PATH_MAX
60 #define PATH_MAX MAXPATHLEN macro
62 #define PATH_MAX 1024 macro
65 #endif /* PATH_MAX */
108 char filename[PATH_MAX];
H A DStrToCurs.c71 #ifndef PATH_MAX
73 #define PATH_MAX 512 macro
77 #ifndef PATH_MAX
79 #define PATH_MAX MAXPATHLEN macro
81 #define PATH_MAX 1024 macro
84 #endif /* PATH_MAX */
133 char maskname[PATH_MAX];
157 char source_name[PATH_MAX], mask_name[PATH_MAX];
/xsrc/external/mit/xorg-server/dist/xkb/
H A DddxLoad.c102 char *buf = NULL, keymap[PATH_MAX], xkm_output_dir[PATH_MAX];
112 char tmpname[PATH_MAX];
299 char buf[PATH_MAX], xkm_output_dir[PATH_MAX];
310 if (snprintf(buf, PATH_MAX, "%s/%s%s.xkm", XkbBaseDirectory,
311 xkm_output_dir, mapName) >= PATH_MAX)
315 if (snprintf(buf, PATH_MAX, "%s%s.xkm", xkm_output_dir, mapName)
316 >= PATH_MAX)
336 char fileName[PATH_MAX];
[all...]
/xsrc/external/mit/xorg-server.old/dist/xkb/
H A DddxLoad.c77 static char buffer[PATH_MAX];
182 char *buf = NULL, keymap[PATH_MAX], xkm_output_dir[PATH_MAX];
192 char tmpname[PATH_MAX];
295 char buf[PATH_MAX],xkm_output_dir[PATH_MAX];
307 +strlen(mapName)+6 <= PATH_MAX)
313 else if (strlen(xkm_output_dir)+strlen(mapName)+5 <= PATH_MAX)
338 char fileName[PATH_MAX];
357 file= XkbDDXOpenConfigFile(nameRtrn,fileName,PATH_MAX);
[all...]
/xsrc/external/mit/xorg-server.old/dist/os/
H A Dosinit.c69 #ifndef PATH_MAX
71 #define PATH_MAX MAXPATHLEN macro
73 #define PATH_MAX 1024 macro
162 char fname[PATH_MAX];
/xsrc/external/mit/xkbcomp/dist/
H A Dxkbpath.c36 #ifndef PATH_MAX
37 #define PATH_MAX 1024 macro
208 if (len + 2 >= PATH_MAX)
211 dir, PATH_MAX - 3);
380 char buf[PATH_MAX];
392 if ((nameLen + typeLen + pathLen + 2) >= PATH_MAX)
/xsrc/external/mit/libXt/dist/include/X11/
H A DInitialI.h66 #ifndef PATH_MAX
68 #define PATH_MAX 512 macro
72 #ifndef PATH_MAX
74 #define PATH_MAX MAXPATHLEN macro
76 #define PATH_MAX 1024 macro

Completed in 25 milliseconds

123456