/external/syslinux/com32/modules/ |
H A D | pwd.c | 24 #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 D | curl_path.h | 28 # 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 D | osdefs.h | 26 #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 D | printpath-umovestr.c | 42 test_printpath(PATH_MAX);
|
/external/strace/tests-m32/ |
H A D | printpath-umovestr.c | 42 test_printpath(PATH_MAX);
|
/external/strace/tests-mx32/ |
H A D | printpath-umovestr.c | 42 test_printpath(PATH_MAX);
|
/external/ltp/include/old/ |
H A D | usctest.h | 38 * 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 D | tst_dataroot02.c | 34 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 D | tst_dataroot03.c | 34 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 D | tst_tmpdir_test.c | 38 #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 D | tst_dataroot01.c | 34 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 D | osdefs.h | 42 #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 D | safe_readlink_unittest.cc | 48 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 D | getcwd04.c | 47 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 D | 5-1.c | 20 * 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 D | tst_resource.c | 29 #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 D | limits.h | 13 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
|
/external/kernel-headers/original/uapi/linux/ |
H A D | limits.h | 13 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
|
/external/libxml2/ |
H A D | testModule.c | 26 #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 D | base_paths_android.cc | 24 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 D | libcontrollers.h | 47 #ifdef PATH_MAX 48 char fullpath[PATH_MAX];
|
/external/ltp/testcases/network/tcp_cmds/include/ |
H A D | netdefs.h | 62 #ifndef PATH_MAX 63 #define PATH_MAX 4096 macro
|
/external/ppp/pppd/plugins/radius/ |
H A D | includes.h | 35 #ifndef PATH_MAX 36 #define PATH_MAX 1024 macro
|
/external/valgrind/none/tests/darwin/ |
H A D | apple-main-arg.c | 14 char *pargv = calloc((PATH_MAX+1), sizeof(char)), 15 *pappl = calloc((PATH_MAX+1), sizeof(char));
|
/external/google-breakpad/src/common/mac/ |
H A D | file_id.h | 76 char path_[PATH_MAX];
|