/external/bison/lib/ |
H A D | 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 56 # define PATH_MAX macro 64 # undef PATH_MAX macro 65 # define PATH_MAX macro 79 # undef PATH_MAX macro 80 # define PATH_MAX macro [all...] |
H A D | stat.c | 67 have a constant PATH_MAX. */ 68 # ifndef PATH_MAX 105 reports ENOENT for names longer than PATH_MAX, when we want 107 Fortunately, mingw PATH_MAX is small enough for stack 109 char fixed_name[PATH_MAX + 1] = {0}; 112 verify (PATH_MAX <= 4096); 113 if (PATH_MAX <= len)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | abspath.c | 5 static char cwd[PATH_MAX + 1]; 8 if (getcwd(cwd, PATH_MAX) == NULL) 16 strlcpy(cwd, pwd, PATH_MAX); 24 static char buf[PATH_MAX + 1]; 27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX) 33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX)
|
H A D | cgroup.c | 14 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; 27 while (fscanf(fp, "%*s %"STR(PATH_MAX)"s %"STR(PATH_MAX)"s %" 28 STR(PATH_MAX)"s %*d %*d\n", 59 char path[PATH_MAX + 1]; 60 char mnt[PATH_MAX + 1]; 64 if (cgroupfs_find_mountpoint(mnt, PATH_MAX + 1)) 67 snprintf(path, PATH_MAX, " [all...] |
H A D | sysfs.c | 11 char sysfs_mountpoint[PATH_MAX + 1]; 52 fscanf(fp, "%*s %" STR(PATH_MAX) "s %99s %*s %*d %*d\n",
|
H A D | path.c | 41 static char pathname_array[4][PATH_MAX]; 80 char path[PATH_MAX]; 95 len = vsnprintf(pathname, PATH_MAX, fmt, args); 97 if (len >= PATH_MAX) 110 if (len > PATH_MAX-100) 116 len += vsnprintf(pathname + len, PATH_MAX - len, fmt, args); 118 if (len >= PATH_MAX)
|
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | shell_icu_linux.c | 15 char bin_dir[PATH_MAX + 1]; 16 int bin_dir_size = readlink("/proc/self/exe", bin_dir, PATH_MAX); 17 if (bin_dir_size < 0 || bin_dir_size > PATH_MAX)
|
/external/oprofile/libop/ |
H A D | op_config.c | 22 char op_session_dir[PATH_MAX]; 23 char op_samples_dir[PATH_MAX]; 24 char op_samples_current_dir[PATH_MAX]; 25 char op_lock_file[PATH_MAX]; 26 char op_log_file[PATH_MAX]; 27 char op_pipe_file[PATH_MAX]; 28 char op_dump_status[PATH_MAX]; 31 char op_device[PATH_MAX]; 32 char op_note_device[PATH_MAX]; 33 char op_hash_device[PATH_MAX]; [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | getcwd.c | 20 char stack_buf[PATH_MAX + 1]; 21 if (!ki_getcwd(stack_buf, PATH_MAX))
|
/external/linux-tools-perf/perf-3.12.0/tools/lib/lk/ |
H A D | debugfs.h | 11 #ifndef PATH_MAX 12 #define PATH_MAX 4096 macro
|
/external/srec/portable/include/ |
H A D | pstdio.h | 87 #if defined(PATH_MAX) 88 #define P_PATH_MAX PATH_MAX 93 #endif /* PATH_MAX */
|
/external/kernel-headers/original/uapi/linux/ |
H A D | limits.h | 12 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
|
/external/chromium_org/third_party/libxml/src/ |
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/chromium_org/base/ |
H A D | base_paths_android.cc | 23 char bin_dir[PATH_MAX + 1]; 24 int bin_dir_size = readlink(kProcSelfExe, bin_dir, PATH_MAX); 25 if (bin_dir_size < 0 || bin_dir_size > PATH_MAX) {
|
/external/ppp/pppd/plugins/radius/ |
H A D | includes.h | 35 #ifndef PATH_MAX 36 #define PATH_MAX 1024 macro
|
/external/valgrind/main/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/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | pmu.c | 86 static char dir[PATH_MAX]; 89 snprintf(dir, PATH_MAX, "/tmp/perf-pmu-test-format-XXXXXX"); 94 static char name[PATH_MAX]; 98 snprintf(name, PATH_MAX, "%s/%s", dir, format->name); 116 char buf[PATH_MAX]; 117 snprintf(buf, PATH_MAX, "rm -f %s/*\n", dir); 121 snprintf(buf, PATH_MAX, "rmdir %s\n", dir);
|
H A D | attr.c | 71 char path[PATH_MAX]; 73 snprintf(path, PATH_MAX, "%s/event-%d-%llu-%d", dir, 152 char cmd[3*PATH_MAX]; 157 snprintf(cmd, 3*PATH_MAX, PYTHON " %s/attr.py -d %s/attr/ -p %s %.*s", 166 char path_perf[PATH_MAX]; 167 char path_dir[PATH_MAX]; 174 snprintf(path_dir, PATH_MAX, "%s/tests", perf_exec_path()); 175 snprintf(path_perf, PATH_MAX, "%s/perf", BINDIR);
|
/external/chromium_org/third_party/hwcplus/src/ |
H A D | hardware.c | 169 char prop[PATH_MAX]; 170 char path[PATH_MAX]; 171 char name[PATH_MAX]; 172 char prop_name[PATH_MAX]; 175 snprintf(name, PATH_MAX, "%s.%s", class_id, inst); 177 strlcpy(name, class_id, PATH_MAX);
|
/external/libsepol/tests/ |
H A D | helpers.c | 37 char filename[PATH_MAX]; 40 if (snprintf(filename, PATH_MAX, "policies/%s/%s.mls", test_name, policy_name) < 0) { 44 if (snprintf(filename, PATH_MAX, "policies/%s/%s.std", test_name, policy_name) < 0) {
|
/external/qemu/android/utils/ |
H A D | path.h | 40 /* get MAX_PATH, note that PATH_MAX is set to 260 on Windows for 47 # undef PATH_MAX macro 48 # define PATH_MAX MAX_PATH macro 51 # define MAX_PATH PATH_MAX
|
/external/iproute2/misc/ |
H A D | lnstat.h | 26 char path[PATH_MAX+1];
|
/external/libselinux/src/ |
H A D | check_context.c | 14 char path[PATH_MAX];
|
H A D | deny_unknown.c | 15 char path[PATH_MAX];
|
H A D | disable.c | 15 char path[PATH_MAX];
|