Home
last modified time | relevance | path

Searched refs:PATH_MAX (Results 1 – 25 of 206) sorted by relevance

123456789

/external/oprofile/libop/
Dop_config.c22 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/bison/lib/
Dpathmax.h51 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
55 # if !defined PATH_MAX && defined MAXPATHLEN
56 # define PATH_MAX MAXPATHLEN macro
64 # undef PATH_MAX
65 # define PATH_MAX 1024 macro
79 # undef PATH_MAX
80 # define PATH_MAX 260 macro
Dstat.c68 # ifndef PATH_MAX
109 char fixed_name[PATH_MAX + 1] = {0}; in rpl_stat()
112 verify (PATH_MAX <= 4096); in rpl_stat()
113 if (PATH_MAX <= len) in rpl_stat()
/external/linux-tools-perf/util/
Dabspath.c5 static char cwd[PATH_MAX + 1]; in get_pwd_cwd()
8 if (getcwd(cwd, PATH_MAX) == NULL) in get_pwd_cwd()
16 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
24 static char buf[PATH_MAX + 1]; in make_nonrelative_path()
27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX) in make_nonrelative_path()
33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX) in make_nonrelative_path()
Dpath.c41 static char pathname_array[4][PATH_MAX]; in get_pathname()
80 char path[PATH_MAX]; in perf_pathdup()
95 len = vsnprintf(pathname, PATH_MAX, fmt, args); in mkpath()
97 if (len >= PATH_MAX) in mkpath()
110 if (len > PATH_MAX-100) in perf_path()
116 len += vsnprintf(pathname + len, PATH_MAX - len, fmt, args); in perf_path()
118 if (len >= PATH_MAX) in perf_path()
/external/bison/m4/
Dpathmax.m414 # Expands to a piece of C program that defines PATH_MAX in the same way as
17 /* Arrange to define PATH_MAX, like "pathmax.h" does. */
22 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
25 #if !defined PATH_MAX && defined MAXPATHLEN
26 # define PATH_MAX MAXPATHLEN
29 # undef PATH_MAX
30 # define PATH_MAX 1024
33 # undef PATH_MAX
34 # define PATH_MAX 260
/external/openssh/openbsd-compat/
Drealpath.c52 realpath(const char *path, char resolved[PATH_MAX]) in realpath() argument
59 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in realpath()
71 if (getcwd(resolved, PATH_MAX) == NULL) { in realpath()
72 strlcpy(resolved, ".", PATH_MAX); in realpath()
78 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { in realpath()
103 if (resolved_len + 1 >= PATH_MAX) { in realpath()
133 resolved_len = strlcat(resolved, next_token, PATH_MAX); in realpath()
134 if (resolved_len >= PATH_MAX) { in realpath()
/external/chromium_org/third_party/libxml/src/
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]; in main()
/external/jhead/
Djhead.c146 char QuotedPath[PATH_MAX+10];
169 if (strlen(Editor) > PATH_MAX) ErrFatal("env too long");
288 static char CommandString[PATH_MAX+1];
342 if (j >= PATH_MAX) ErrFatal("max path exceeded");
355 char ExecString[PATH_MAX*3];
356 char TempName[PATH_MAX+10];
468 strncat(OutFileName, OrigName, PATH_MAX);
469 strncat(OutFileName, Subst+2, PATH_MAX);
471 strncpy(OutFileName, NamePattern, PATH_MAX);
512 strncpy(FilePattern+PathLen, finddata.name, PATH_MAX-PathLen); // full name with path
[all …]
/external/chromium_org/third_party/sqlite/src/src/
Dshell_icu_linux.c15 char bin_dir[PATH_MAX + 1]; in sqlite_shell_init_icu()
16 int bin_dir_size = readlink("/proc/self/exe", bin_dir, PATH_MAX); in sqlite_shell_init_icu()
17 if (bin_dir_size < 0 || bin_dir_size > PATH_MAX) in sqlite_shell_init_icu()
/external/qemu/android/avd/
Dutil.c45 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in path_getSdkRoot()
87 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in path_getRootIniPath()
104 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in path_getSdkHome()
116 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getAvdContentPath()
157 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getAvdTargetArch()
192 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getSystemProperty()
242 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getBuildProperty()
/external/chromium_org/base/
Dbase_paths_android.cc23 char bin_dir[PATH_MAX + 1]; in PathProviderAndroid()
24 int bin_dir_size = readlink(kProcSelfExe, bin_dir, PATH_MAX); in PathProviderAndroid()
25 if (bin_dir_size < 0 || bin_dir_size > PATH_MAX) { in PathProviderAndroid()
/external/libsepol/tests/
Dhelpers.c37 char filename[PATH_MAX]; in test_load_policy()
40 if (snprintf(filename, PATH_MAX, "policies/%s/%s.mls", test_name, policy_name) < 0) { in test_load_policy()
44 if (snprintf(filename, PATH_MAX, "policies/%s/%s.std", test_name, policy_name) < 0) { in test_load_policy()
/external/qemu/android/utils/
Dpath.h44 # undef PATH_MAX
45 # define PATH_MAX MAX_PATH macro
48 # define MAX_PATH PATH_MAX
/external/ppp/pppd/plugins/radius/
Dincludes.h35 #ifndef PATH_MAX
36 #define PATH_MAX 1024 macro
/external/srec/portable/include/
Dpstdio.h87 #if defined(PATH_MAX)
88 #define P_PATH_MAX PATH_MAX
/external/valgrind/main/none/tests/darwin/
Dapple-main-arg.c14 char *pargv = calloc((PATH_MAX+1), sizeof(char)), in main()
15 *pappl = calloc((PATH_MAX+1), sizeof(char)); in main()
/external/open-vcdiff/gflags/src/windows/
Dport.h82 #ifndef PATH_MAX
83 #define PATH_MAX 1024 macro
/external/chromium/chrome/browser/
Dprocess_singleton_linux_uitest.cc110 char buf[PATH_MAX]; in TEST_F()
111 ssize_t len = readlink(lock_path_.value().c_str(), buf, PATH_MAX); in TEST_F()
117 len = readlink(socket_path_.value().c_str(), buf, PATH_MAX); in TEST_F()
124 len = readlink(cookie_path_.value().c_str(), buf, PATH_MAX); in TEST_F()
130 len = readlink(remote_cookie_path.value().c_str(), buf, PATH_MAX); in TEST_F()
283 char buf[PATH_MAX]; in TEST_F()
/external/libvpx/libvpx/
Dtools_common.h51 #ifndef PATH_MAX
52 #define PATH_MAX 512 macro
/external/valgrind/main/coregrind/
Dlauncher-linux.c57 #define PATH_MAX 4096 /* POSIX refers to this a lot but I dunno macro
84 static char fullname[PATH_MAX]; in find_client()
248 char launcher_name[PATH_MAX+1]; in main()
324 memset(launcher_name, 0, PATH_MAX+1); in main()
325 r = readlink("/proc/self/exe", launcher_name, PATH_MAX); in main()
/external/chromium_org/chrome/browser/
Dprocess_singleton_linux_unittest.cc230 char buf[PATH_MAX]; in TEST_F()
231 ssize_t len = readlink(lock_path_.value().c_str(), buf, PATH_MAX); in TEST_F()
237 len = readlink(socket_path_.value().c_str(), buf, PATH_MAX); in TEST_F()
244 len = readlink(cookie_path_.value().c_str(), buf, PATH_MAX); in TEST_F()
250 len = readlink(remote_cookie_path.value().c_str(), buf, PATH_MAX); in TEST_F()
365 char buf[PATH_MAX]; in TEST_F()
/external/oprofile/libopagent/
Dopagent.c128 char dump_path[PATH_MAX]; in op_open_agent()
129 char err_msg[PATH_MAX + 16]; in op_open_agent()
147 snprintf(dump_path, PATH_MAX, "%s/%i.dump", AGENT_DIR, getpid()); in op_open_agent()
148 snprintf(err_msg, PATH_MAX + 16, "Error opening %s\n", dump_path); in op_open_agent()
176 snprintf(err_msg, PATH_MAX + 16, "Error writing to %s", dump_path); in op_open_agent()
/external/oprofile/daemon/liblegacy/
Dopd_mapping.c111 char file[PATH_MAX]; in opd_get_hash_name()
112 char * c = &file[PATH_MAX-1]; in opd_get_hash_name()
122 if (strlen(name) + 1 + strlen(c) >= PATH_MAX) { in opd_get_hash_name()
/external/openssl/crypto/
DLPdir_unix.c43 #if defined(PATH_MAX)
44 # define LP_ENTRY_SIZE PATH_MAX

123456789