HomeSort by relevance Sort by last modified time
    Searched refs:PATH_MAX (Results 1 - 25 of 989) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bison/lib/
pathmax.h 1 /* Define PATH_MAX somehow. Requires sys/types.h.
21 /* POSIX:2008 defines PATH_MAX to be the maximum number of bytes in a filename,
24 PATH_MAX is not defined on systems which have no limit on filename length,
27 This file does *not* define PATH_MAX always. Programs that use this file
31 #ifdef PATH_MAX
33 #ifndef PATH_MAX
34 # define PATH_MAX 8192
37 #ifndef PATH_MAX
38 # define PATH_MAX pathconf ("/", _PC_PATH_MAX)
51 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLE
    [all...]
  /external/syslinux/com32/modules/
pwd.c 24 #ifndef PATH_MAX
26 # define PATH_MAX NAME_MAX
28 # define PATH_MAX FILENAME_MAX
30 # define PATH_MAX 256
32 #endif /* PATH_MAX */
37 char pwd[PATH_MAX], *pwdptr;
39 pwdptr = getcwd(pwd, PATH_MAX);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
osdefs.h 42 #ifndef PATH_MAX
43 #define PATH_MAX MAXPATHLEN
48 #if defined(PATH_MAX) && PATH_MAX > 1024
49 #define MAXPATHLEN PATH_MAX
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Include/
osdefs.h 55 # ifndef PATH_MAX
56 # define PATH_MAX MAXPATHLEN
61 #if defined(PATH_MAX) && PATH_MAX > 1024
62 #define MAXPATHLEN PATH_MAX
  /external/ltp/lib/tests/
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);
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);
tst_tmpdir_test.c 38 #ifndef PATH_MAX
40 #define PATH_MAX MAXPATHLEN
42 #define PATH_MAX 1024
52 char *start_dir = getcwd(NULL, PATH_MAX);
59 changed_dir = getcwd(NULL, PATH_MAX);
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/
osdefs.h 42 #ifndef PATH_MAX
43 #define PATH_MAX MAXPATHLEN
48 #if defined(PATH_MAX) && PATH_MAX > 1024
49 #define MAXPATHLEN PATH_MAX
  /prebuilts/gdb/darwin-x86/include/python2.7/
osdefs.h 44 #ifndef PATH_MAX
45 #define PATH_MAX MAXPATHLEN
50 #if defined(PATH_MAX) && PATH_MAX > 1024
51 #define MAXPATHLEN PATH_MAX
  /prebuilts/gdb/linux-x86/include/python2.7/
osdefs.h 44 #ifndef PATH_MAX
45 #define PATH_MAX MAXPATHLEN
50 #if defined(PATH_MAX) && PATH_MAX > 1024
51 #define MAXPATHLEN PATH_MAX
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
osdefs.h 44 #ifndef PATH_MAX
45 #define PATH_MAX MAXPATHLEN
50 #if defined(PATH_MAX) && PATH_MAX > 1024
51 #define MAXPATHLEN PATH_MAX
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
osdefs.h 44 #ifndef PATH_MAX
45 #define PATH_MAX MAXPATHLEN
50 #if defined(PATH_MAX) && PATH_MAX > 1024
51 #define MAXPATHLEN PATH_MAX
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Include/
osdefs.h 51 #if defined(PATH_MAX) && PATH_MAX > 1024
52 #define MAXPATHLEN PATH_MAX
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
osdefs.h 51 #if defined(PATH_MAX) && PATH_MAX > 1024
52 #define MAXPATHLEN PATH_MAX
  /external/ltp/include/old/
usctest.h 40 * Ensure that PATH_MAX is defined
42 #ifndef PATH_MAX
44 #define PATH_MAX MAXPATHLEN
46 #define PATH_MAX 1024
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
tempnam.c 48 if (!(name = malloc(PATH_MAX)))
55 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f,
57 if (len < 0 || len >= PATH_MAX) {
67 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f,
69 if (len < 0 || len >= PATH_MAX) {
78 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx);
79 if (len < 0 || len >= PATH_MAX) {
87 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx);
88 if (len < 0 || len >= PATH_MAX) {
  /external/google-breakpad/src/common/linux/
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/
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);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/
Xosdefs.h 91 # ifndef PATH_MAX
92 # define PATH_MAX 4096
100 # ifndef PATH_MAX
101 # define PATH_MAX 1024
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/
Xosdefs.h 91 # ifndef PATH_MAX
92 # define PATH_MAX 4096
100 # ifndef PATH_MAX
101 # define PATH_MAX 1024
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/sys/
param.h 41 #define MAXPATHLEN PATH_MAX
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
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;
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/
tst_resource.c 29 #ifndef PATH_MAX
31 #define PATH_MAX MAXPATHLEN
33 #define PATH_MAX 1024
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)
  /bionic/libc/kernel/uapi/linux/
limits.h 28 #define PATH_MAX 4096

Completed in 1092 milliseconds

1 2 3 4 5 6 7 8 91011>>