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

1234567891011>>

/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/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/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/strace/tests/
H A Dprintpath-umovestr.c42 test_printpath(PATH_MAX);
/external/strace/tests-m32/
H A Dprintpath-umovestr.c42 test_printpath(PATH_MAX);
/external/strace/tests-mx32/
H A Dprintpath-umovestr.c42 test_printpath(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/ltp/lib/tests/
H A Dtst_dataroot02.c34 if (strncmp(p1, p2, PATH_MAX) == 0)
43 char curdir[PATH_MAX], tmp[PATH_MAX];
45 if (getcwd(curdir, PATH_MAX) == NULL)
51 snprintf(tmp, PATH_MAX, "%s/datafiles", curdir);
H A Dtst_dataroot03.c34 if (strncmp(p1, p2, PATH_MAX) == 0)
43 char curdir[PATH_MAX], tmp[PATH_MAX];
45 if (getcwd(curdir, PATH_MAX) == NULL)
51 snprintf(tmp, PATH_MAX, "%s/datafiles", curdir);
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);
H A Dtst_dataroot01.c34 if (strncmp(p1, p2, PATH_MAX) == 0)
43 char tmp[PATH_MAX];
48 snprintf(tmp, PATH_MAX, "%s/testcases/data/%s", LTPROOT, TCID);
/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/google-breakpad/src/common/linux/
H A Dsafe_readlink_unittest.cc48 char buffer[PATH_MAX];
55 char buffer2[PATH_MAX];
58 EXPECT_EQ(0, strncmp(buffer, buffer2, PATH_MAX));
65 char buffer[PATH_MAX];
70 char actual_path[PATH_MAX];
73 char buffer[PATH_MAX];
78 char buffer[PATH_MAX];
85 char buffer2[PATH_MAX];
88 EXPECT_EQ(0, strncmp(buffer, buffer2, PATH_MAX));
/external/ltp/testcases/kernel/syscalls/getcwd/
H A Dgetcwd04.c47 static char init_cwd[PATH_MAX];
52 char cur_cwd[PATH_MAX];
60 SAFE_GETCWD(cur_cwd, PATH_MAX);
61 if (strncmp(init_cwd, cur_cwd, PATH_MAX)) {
87 SAFE_GETCWD(init_cwd, PATH_MAX);
98 char c_name[PATH_MAX] = "testfile", n_name[PATH_MAX];
103 snprintf(n_name, PATH_MAX, "testfile%u", i++);
105 strncpy(c_name, n_name, 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/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)
/external/iproute2/include/uapi/linux/
H A Dlimits.h13 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
/external/kernel-headers/original/uapi/linux/
H A Dlimits.h13 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
/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/libmojo/base/
H A Dbase_paths_android.cc24 char bin_dir[PATH_MAX + 1];
25 int bin_dir_size = readlink(kProcSelfExe, bin_dir, PATH_MAX);
26 if (bin_dir_size < 0 || bin_dir_size > PATH_MAX) {
/external/ltp/testcases/kernel/controllers/libcontrollers/
H A Dlibcontrollers.h47 #ifdef PATH_MAX
48 char fullpath[PATH_MAX];
/external/ltp/testcases/network/tcp_cmds/include/
H A Dnetdefs.h62 #ifndef PATH_MAX
63 #define PATH_MAX 4096 macro
/external/ppp/pppd/plugins/radius/
H A Dincludes.h35 #ifndef PATH_MAX
36 #define PATH_MAX 1024 macro
/external/valgrind/none/tests/darwin/
H A Dapple-main-arg.c14 char *pargv = calloc((PATH_MAX+1), sizeof(char)),
15 *pappl = calloc((PATH_MAX+1), sizeof(char));
/external/google-breakpad/src/common/mac/
H A Dfile_id.h76 char path_[PATH_MAX];

Completed in 690 milliseconds

1234567891011>>