/external/linux-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 | 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/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/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/linux/ |
H A D | limits.h | 14 #define PATH_MAX 4096 /* # chars in a path name including nul */ macro
|
/external/openssh/openbsd-compat/ |
H A D | realpath.c | 45 * 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 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/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 | 37 /* 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 D | lnstat.h | 26 char path[PATH_MAX+1];
|
/external/libppp/src/ |
H A D | server.h | 38 char sockname[PATH_MAX]; /* Points to local socket path */
|
/external/libselinux/src/ |
H A D | check_context.c | 14 char path[PATH_MAX];
|
H A D | disable.c | 15 char path[PATH_MAX];
|
H A D | getenforce.c | 15 char path[PATH_MAX];
|
H A D | setenforce.c | 15 char path[PATH_MAX];
|
/external/oprofile/libutil/tests/ |
H A D | file_tests.c | 46 char tmp[PATH_MAX];
|
/external/webkit/Source/WebCore/platform/efl/ |
H A D | FileSystemEfl.cpp | 72 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 D | jhead.c | 146 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 D | LPdir_unix.c | 40 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 D | passprompt.c | 19 static char promptprog[PATH_MAX+1]; 24 OPT_STATIC, NULL, PATH_MAX },
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/qt/ |
H A D | ActivateFontsQt.cpp | 73 char currentPath[PATH_MAX+1]; 74 if (!getcwd(currentPath, PATH_MAX))
|
/external/webkit/Source/WebKit2/Shared/mac/ |
H A D | SandboxExtensionMac.mm | 118 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 D | util.c | 44 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 D | opd_mapping.c | 111 char file[PATH_MAX]; 112 char * c = &file[PATH_MAX-1]; 122 if (strlen(name) + 1 + strlen(c) >= PATH_MAX) {
|