/external/linux-tools-perf/util/ |
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)
|
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/ |
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/bison/m4/ |
pathmax.m4 | 14 # 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
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
pathmax.h | 3 /* Define PATH_MAX somehow. Requires sys/types.h. 31 # if !defined PATH_MAX && defined _PC_PATH_MAX && defined HAVE_PATHCONF 32 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ 37 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 41 # if !defined PATH_MAX && defined MAXPATHLEN 42 # define PATH_MAX MAXPATHLEN 45 # ifndef PATH_MAX 46 # define PATH_MAX _POSIX_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
|
/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/chromium_org/third_party/libxml/src/ |
testModule.c | 26 #define PATH_MAX _MAX_PATH 33 #ifndef PATH_MAX 35 #define PATH_MAX _POSIX_PATH_MAX 37 #define PATH_MAX 4096 44 xmlChar filename[PATH_MAX];
|
/external/chromium_org/third_party/sqlite/src/src/ |
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/valgrind/main/none/tests/darwin/ |
apple-main-arg.c | 14 char *pargv = calloc((PATH_MAX+1), sizeof(char)), 15 *pappl = calloc((PATH_MAX+1), sizeof(char));
|
/system/core/run-as/ |
package.h | 32 char dataDir[PATH_MAX]; 33 char seinfo[PATH_MAX];
|
/external/openssh/openbsd-compat/ |
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...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
UnixStream.cpp | 29 /* Not all systems define PATH_MAX, those who don't generally don't 33 #ifndef PATH_MAX 34 #define PATH_MAX 128 53 char tmp[PATH_MAX]; // temp directory 91 char path[PATH_MAX]; 128 char path[PATH_MAX];
|
/external/chromium_org/base/ |
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) {
|
/system/core/fastboot/ |
util_windows.c | 39 void get_my_path(char exe[PATH_MAX]) 43 GetModuleFileName( NULL, exe, PATH_MAX-1 ); 44 exe[PATH_MAX-1] = 0;
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; 69 resolved = malloc(PATH_MAX); 84 if (getcwd(resolved, PATH_MAX) == NULL) { 96 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) { 125 if (resolved_len + 1 >= PATH_MAX) { 176 resolved_len = strlcat(resolved, next_token, PATH_MAX); 177 if (resolved_len >= PATH_MAX) {
|
/development/ndk/platforms/android-3/include/linux/ |
limits.h | 25 #define PATH_MAX 4096
|
/external/libselinux/src/ |
check_context.c | 14 char path[PATH_MAX];
|
disable.c | 15 char path[PATH_MAX];
|
setenforce.c | 15 char path[PATH_MAX];
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xwindows.h | 71 #if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024) 72 #undef PATH_MAX 73 #define PATH_MAX 1024
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xwindows.h | 71 #if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024) 72 #undef PATH_MAX 73 #define PATH_MAX 1024
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xwindows.h | 71 #if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024) 72 #undef PATH_MAX 73 #define PATH_MAX 1024
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
limits.h | 25 #define PATH_MAX 4096
|