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

1234567

/external/linux-tools-perf/util/
H A Dabspath.c5 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 Dpath.c41 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/oprofile/libop/
H A 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/srec/portable/include/
H A Dpstdio.h87 #if defined(PATH_MAX)
88 #define P_PATH_MAX PATH_MAX
93 #endif /* PATH_MAX */
/external/kernel-headers/original/linux/
H A Dlimits.h14 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
/external/openssh/openbsd-compat/
H A Drealpath.c45 * char *realpath(const char *path, char resolved[PATH_MAX]);
52 realpath(const char *path, char resolved[PATH_MAX])
59 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
71 if (getcwd(resolved, PATH_MAX) == NULL) {
72 strlcpy(resolved, ".", PATH_MAX);
78 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
103 if (resolved_len + 1 >= PATH_MAX) {
133 resolved_len = strlcat(resolved, next_token, PATH_MAX);
[all...]
/external/ppp/pppd/plugins/radius/
H A Dincludes.h35 #ifndef PATH_MAX
36 #define PATH_MAX 1024 macro
/external/valgrind/main/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/libsepol/tests/
H A Dhelpers.c37 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 Dpath.h37 /* get MAX_PATH, note that PATH_MAX is set to 260 on Windows for
44 # undef PATH_MAX macro
45 # define PATH_MAX MAX_PATH macro
48 # define MAX_PATH PATH_MAX
/external/iproute2/misc/
H A Dlnstat.h26 char path[PATH_MAX+1];
/external/libppp/src/
H A Dserver.h38 char sockname[PATH_MAX]; /* Points to local socket path */
/external/libselinux/src/
H A Dcheck_context.c14 char path[PATH_MAX];
H A Ddisable.c15 char path[PATH_MAX];
H A Dgetenforce.c15 char path[PATH_MAX];
H A Dsetenforce.c15 char path[PATH_MAX];
/external/oprofile/libutil/tests/
H A Dfile_tests.c46 char tmp[PATH_MAX];
/external/webkit/Source/WebCore/platform/efl/
H A DFileSystemEfl.cpp72 char buffer[PATH_MAX];
78 if (snprintf(buffer, PATH_MAX, "%s/%sXXXXXX", tmpDir, prefix.utf8().data()) >= PATH_MAX)
116 char filePath[PATH_MAX];
/external/jhead/
H A 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
[all...]
/external/openssl/crypto/
H A DLPdir_unix.c40 is NAME_MAX. However, some operating systems use PATH_MAX instead.
41 Therefore, it seems natural to first check for PATH_MAX and use that,
43 #if defined(PATH_MAX)
44 # define LP_ENTRY_SIZE PATH_MAX
49 /* Of course, there's the possibility that neither PATH_MAX nor NAME_MAX
/external/ppp/pppd/plugins/
H A Dpassprompt.c19 static char promptprog[PATH_MAX+1];
24 OPT_STATIC, NULL, PATH_MAX },
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/qt/
H A DActivateFontsQt.cpp73 char currentPath[PATH_MAX+1];
74 if (!getcwd(currentPath, PATH_MAX))
/external/webkit/Source/WebKit2/Shared/mac/
H A DSandboxExtensionMac.mm118 char resolvedName[PATH_MAX];
128 if (parentDirectoryLength >= PATH_MAX)
132 char parentDirectory[PATH_MAX];
143 if (resolvedPathLength >= PATH_MAX)
167 Vector<char> path(PATH_MAX);
/external/qemu/android/avd/
H A Dutil.c44 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp);
86 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp);
103 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp);
118 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp);
145 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp);
180 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp);
230 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp);
/external/oprofile/daemon/liblegacy/
H A Dopd_mapping.c111 char file[PATH_MAX];
112 char * c = &file[PATH_MAX-1];
122 if (strlen(name) + 1 + strlen(c) >= PATH_MAX) {

Completed in 1786 milliseconds

1234567