Searched defs:PATH_MAX (Results 1 - 25 of 48) sorted by relevance

12

/external/curl/lib/
H A Dcurl_path.h28 # undef PATH_MAX macro
29 # define PATH_MAX MAX_PATH macro
35 #ifndef PATH_MAX
36 #define PATH_MAX 1024 /* just an extra precaution since there are systems that macro
/external/ppp/pppd/plugins/radius/
H A Dincludes.h35 #ifndef PATH_MAX
36 #define PATH_MAX 1024 macro
/external/syslinux/com32/modules/
H A Dpwd.c24 #ifndef PATH_MAX
26 # define PATH_MAX NAME_MAX macro
28 # define PATH_MAX FILENAME_MAX macro
30 # define PATH_MAX 256 macro
32 #endif /* PATH_MAX */
37 char pwd[PATH_MAX], *pwdptr;
39 pwdptr = getcwd(pwd, PATH_MAX);
/external/ltp/include/old/
H A Dusctest.h38 * Ensure that PATH_MAX is defined
40 #ifndef PATH_MAX
42 #define PATH_MAX MAXPATHLEN macro
44 #define PATH_MAX 1024 macro
/external/python/cpython2/Include/
H A Dosdefs.h42 #ifndef PATH_MAX
43 #define PATH_MAX MAXPATHLEN macro
48 #if defined(PATH_MAX) && PATH_MAX > 1024
49 #define MAXPATHLEN PATH_MAX
/external/python/cpython3/Include/
H A Dosdefs.h26 #ifndef PATH_MAX
27 #define PATH_MAX MAXPATHLEN macro
32 #if defined(PATH_MAX) && PATH_MAX > 1024
33 #define MAXPATHLEN PATH_MAX
/external/libxml2/
H A DtestModule.c26 #define PATH_MAX _MAX_PATH macro
33 #ifndef PATH_MAX
35 #define PATH_MAX _POSIX_PATH_MAX macro
37 #define PATH_MAX 4096 macro
44 xmlChar filename[PATH_MAX];
/external/ltp/lib/tests/
H A Dtst_tmpdir_test.c38 #ifndef PATH_MAX
40 #define PATH_MAX MAXPATHLEN macro
42 #define PATH_MAX 1024 macro
52 char *start_dir = getcwd(NULL, PATH_MAX);
59 changed_dir = getcwd(NULL, PATH_MAX);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
H A D5-1.c20 * name length is greater than PATH_MAX or a component length is greater than
24 * -> If PATH_MAX is positive,
25 * -> create a semaphore with a name bigger than PATH_MAX.
95 long PATH_MAX, NAME_MAX; local
101 /* Get PATH_MAX value */
102 PATH_MAX = pathconf("/", _PC_PATH_MAX);
105 output("PATH_MAX: %ld\n", PATH_MAX);
108 if (PATH_MAX > 0) {
109 /* create a semaphore with a name longer than PATH_MAX */
[all...]
/external/iproute2/include/uapi/linux/
H A Dlimits.h13 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
/external/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_decls.h54 # define PATH_MAX 1024 macro
/external/kernel-headers/original/uapi/linux/
H A Dlimits.h13 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
/external/ltp/testcases/network/tcp_cmds/include/
H A Dnetdefs.h62 #ifndef PATH_MAX
63 #define PATH_MAX 4096 macro
/external/ltp/lib/
H A Dtst_resource.c29 #ifndef PATH_MAX
31 #define PATH_MAX MAXPATHLEN macro
33 #define PATH_MAX 1024 macro
38 static char dataroot[PATH_MAX];
44 char curdir[PATH_MAX];
52 ret = snprintf(dataroot, PATH_MAX, "%s/testcases/data/%s",
57 if (getcwd(curdir, PATH_MAX) == NULL) {
64 ret = snprintf(dataroot, PATH_MAX, "%s/datafiles", startdir);
67 if (ret < 0 || ret >= PATH_MAX)
H A Dtst_tmpdir.c83 #ifndef PATH_MAX
85 #define PATH_MAX MAXPATHLEN macro
87 #define PATH_MAX 1024 macro
97 static char test_start_work_dir[PATH_MAX];
127 char dirobj[PATH_MAX];
234 char template[PATH_MAX];
256 snprintf(template, PATH_MAX, "%s/%.3sXXXXXX", env_tmpdir, TCID);
258 snprintf(template, PATH_MAX, "%s/%.3sXXXXXX", TEMPDIR, TCID);
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dcommon.h36 #ifndef PATH_MAX
37 # define PATH_MAX 1024 macro
45 char fullpath[PATH_MAX]; \
/external/mesa3d/src/gallium/auxiliary/pipe-loader/
H A Dpipe_loader.c37 #define PATH_MAX _MAX_PATH macro
88 char path[PATH_MAX];
/external/gflags/src/
H A Dwindows_port.h129 #ifndef PATH_MAX
130 #define PATH_MAX 1024 macro
/external/autotest/client/cros/
H A Ddevice_jail_utils.py61 PATH_MAX = 4096 variable in class:JailDevice
143 path = os.read(req_fd, self.PATH_MAX)
/external/libdaemon/libdaemon/
H A Ddpid.c52 #ifndef PATH_MAX
53 #define PATH_MAX 512 macro
67 static char fn[PATH_MAX];
/external/ltp/testcases/kernel/fs/doio/
H A Dwrite_log.c85 #ifndef PATH_MAX
86 #define PATH_MAX 255 macro
87 /*#define PATH_MAX pathconf("/", _PC_PATH_MAX)*/
/external/ImageMagick/MagickCore/
H A Dstudio.h323 #if !defined(PATH_MAX)
324 #define PATH_MAX 4096 macro
/external/ImageMagick/MagickWand/
H A Dstudio.h305 #if !defined(PATH_MAX)
306 #define PATH_MAX 4096 macro
/external/curl/src/
H A Dtool_doswin.c68 # undef PATH_MAX macro
69 # define PATH_MAX MAX_PATH macro
158 max_sanitized_len = PATH_MAX-1;
162 FILENAME_MAX is often the same as PATH_MAX, in other words it is 260 and
164 max_sanitized_len = (PATH_MAX-1 > 255) ? 255 : PATH_MAX-1;
338 char dos_name[PATH_MAX];
357 if(strlen(file_name) > PATH_MAX-1 &&
359 truncate_dryrun(file_name, PATH_MAX-1)))
490 char fname[PATH_MAX];
[all...]
/external/e2fsprogs/util/
H A Dsymlinks.c32 #ifndef PATH_MAX
33 #define PATH_MAX 1024 macro
123 static char dir[PATH_MAX];
168 static char lpath[PATH_MAX], new[PATH_MAX], abspath[PATH_MAX];
325 static char path[PATH_MAX+2];
328 static char path[PATH_MAX+2], cwd[PATH_MAX+2];
342 if (NULL == getcwd(cwd,PATH_MAX)) {
[all...]

Completed in 859 milliseconds

12