/external/python/cpython2/Modules/ |
D | getpath.c | 107 static char prefix[MAXPATHLEN+1]; 108 static char exec_prefix[MAXPATHLEN+1]; 109 static char progpath[MAXPATHLEN+1]; 142 if (strlen(filename) < MAXPATHLEN) { in ismodule() 194 if (n > 0 && buffer[n-1] != SEP && n < MAXPATHLEN) in joinpath() 197 if (n > MAXPATHLEN) in joinpath() 200 if (n + k > MAXPATHLEN) in joinpath() 201 k = MAXPATHLEN - n; in joinpath() 214 if (!getcwd(path, MAXPATHLEN)) { in copy_absolute() 229 char buffer[MAXPATHLEN + 1]; in absolutize() [all …]
|
D | zipimport.c | 63 char *path, *p, *prefix, buf[MAXPATHLEN+2]; in zipimporter_init() 78 if (len >= MAXPATHLEN) { in zipimporter_init() 233 if (len + strlen(name) + 13 >= MAXPATHLEN) { in make_filename() 260 char *subname, path[MAXPATHLEN + 1]; in get_module_info() 424 char *p, buf[MAXPATHLEN + 1]; in zipimporter_get_data() 433 if (strlen(path) >= MAXPATHLEN) { in zipimporter_get_data() 476 char *fullname, *subname, path[MAXPATHLEN+1]; in zipimporter_get_source() 717 char path[MAXPATHLEN + 5]; in read_directory() 718 char name[MAXPATHLEN + 5]; in read_directory() 721 if (strlen(archive) > MAXPATHLEN) { in read_directory() [all …]
|
/external/python/cpython2/PC/os2emx/ |
D | getpathp.c | 82 static char prefix[MAXPATHLEN+1]; 83 static char progpath[MAXPATHLEN+1]; 127 if (strlen(filename) < MAXPATHLEN) { in ismodule() 153 if (n > 0 && !is_sep(buffer[n-1]) && n < MAXPATHLEN) in join() 156 if (n > MAXPATHLEN) in join() 159 if (n + k > MAXPATHLEN) in join() 160 k = MAXPATHLEN - n; in join() 223 strncpy(progpath, prog, MAXPATHLEN); in get_progpath() 232 len = min(MAXPATHLEN,len); in get_progpath() 234 len = MAXPATHLEN < len ? MAXPATHLEN : len; in get_progpath() [all …]
|
/external/python/cpython2/PC/ |
D | getpathp.c | 88 static char prefix[MAXPATHLEN+1]; 89 static char progpath[MAXPATHLEN+1]; 90 static char dllpath[MAXPATHLEN+1]; 134 if (strlen(filename) < MAXPATHLEN) { in ismodule() 159 if (n > 0 && !is_sep(buffer[n-1]) && n < MAXPATHLEN) in join() 162 if (n > MAXPATHLEN) in join() 165 if (n + k > MAXPATHLEN) in join() 166 k = MAXPATHLEN - n; in join() 380 WCHAR wprogpath[MAXPATHLEN+1]; in get_progpath() 386 wprogpath[MAXPATHLEN]=_T('\0'); in get_progpath() [all …]
|
/external/python/cpython2/Include/ |
D | osdefs.h | 14 #define MAXPATHLEN 260 macro 20 #define MAXPATHLEN 256 28 #define MAXPATHLEN 256 macro 43 #define PATH_MAX MAXPATHLEN 47 #ifndef MAXPATHLEN 49 #define MAXPATHLEN PATH_MAX macro 51 #define MAXPATHLEN 1024
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest02.c | 85 static char homedir[MAXPATHLEN]; 86 static char dirname[MAXPATHLEN]; 87 static char tmpname[MAXPATHLEN]; 90 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; 120 if (getcwd(startdir, MAXPATHLEN) == NULL) { in main() 253 char fname[MAXPATHLEN], buf[MAXPATHLEN]; in crfile() 292 char fname[MAXPATHLEN]; in unlfile() 319 char dir[MAXPATHLEN], fname[MAXPATHLEN], savedir[MAXPATHLEN]; in fussdir()
|
D | ftest06.c | 91 static char homedir[MAXPATHLEN]; 92 static char dirname[MAXPATHLEN]; 95 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; 134 if (getcwd(startdir, MAXPATHLEN) == NULL) { in main() 273 char fname[MAXPATHLEN]; in crfile() 274 char buf[MAXPATHLEN]; in crfile() 312 char fname[MAXPATHLEN]; in unlfile() 337 char dir[MAXPATHLEN], fname[MAXPATHLEN], savedir[MAXPATHLEN]; in fussdir()
|
/external/python/cpython2/Python/ |
D | getcwd.c | 16 #ifndef MAXPATHLEN 18 #define MAXPATHLEN PATH_MAX macro 20 #define MAXPATHLEN 1024 macro 29 char localbuf[MAXPATHLEN+1]; in getcwd()
|
D | import.c | 1086 buf = PyMem_MALLOC(MAXPATHLEN+1); in load_source_module() 1091 (size_t)MAXPATHLEN + 1); in load_source_module() 1172 buf = PyMem_MALLOC(MAXPATHLEN+1); in load_package() 1178 fdp = find_module(name, "__init__", path, buf, MAXPATHLEN+1, &fp, NULL); in load_package() 1335 if (strlen(subname) > MAXPATHLEN) { in find_module() 1340 name = PyMem_MALLOC(MAXPATHLEN+1); in find_module() 1527 char warnstr[MAXPATHLEN+80]; in find_module() 1530 MAXPATHLEN, buf); in find_module() 1729 char dirname[MAXPATHLEN + 1]; in case_ok() 1741 assert(dirlen <= MAXPATHLEN); in case_ok() [all …]
|
D | dynload_beos.c | 17 #if defined(MAXPATHLEN) && !defined(_SYS_PARAM_H) 18 #undef MAXPATHLEN
|
/external/python/cpython2/PC/os2vacpp/ |
D | getpathp.c | 51 static char prefix[MAXPATHLEN+1]; 52 static char exec_prefix[MAXPATHLEN+1]; 53 static char progpath[MAXPATHLEN+1]; 103 if (n > 0 && !is_sep(buffer[n-1]) && n < MAXPATHLEN) in join() 106 if (n > MAXPATHLEN) in join() 109 if (n + k > MAXPATHLEN) in join() 110 k = MAXPATHLEN - n; in join() 252 if (GetModuleFileName(NULL, progpath, MAXPATHLEN)) in get_progpath() 299 char argv0_path[MAXPATHLEN+1]; in calculate_path()
|
/external/bison/lib/ |
D | pathmax.h | 51 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 55 # if !defined PATH_MAX && defined MAXPATHLEN 56 # define PATH_MAX MAXPATHLEN
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 62 char testdir[MAXPATHLEN]; 136 char tmpdir[MAXPATHLEN]; in runtest() 330 char tmpdir[MAXPATHLEN]; in dochild1() 366 char tmpdir[MAXPATHLEN]; in dochild2() 400 char tmpdir[MAXPATHLEN]; in dochild3() 401 char tmp[MAXPATHLEN]; in dochild3()
|
/external/bison/m4/ |
D | pathmax.m4 | 22 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 25 #if !defined PATH_MAX && defined MAXPATHLEN 26 # define PATH_MAX MAXPATHLEN
|
/external/ltp/include/old/ |
D | usctest.h | 43 #ifdef MAXPATHLEN 44 #define PATH_MAX MAXPATHLEN
|
/external/openssh/openbsd-compat/ |
D | glob.c | 183 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; in glob() 207 bufend = bufnext + MAXPATHLEN - 1; in glob() 264 Char patbuf[MAXPATHLEN]; in globexp2() 476 Char *bufnext, patbuf[MAXPATHLEN]; 478 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob); 548 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, limitp)) != 0) 612 Char pathbuf[MAXPATHLEN]; 617 return(glob2(pathbuf, pathbuf+MAXPATHLEN-1, 618 pathbuf, pathbuf+MAXPATHLEN-1, 703 char buf[MAXPATHLEN]; [all …]
|
D | getcwd.c | 80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd() 92 if ((up = malloc(upsize = MAXPATHLEN)) == NULL) in getcwd()
|
/external/ltp/lib/tests/ |
D | tst_tmpdir_test.c | 39 #ifdef MAXPATHLEN 40 #define PATH_MAX MAXPATHLEN
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_cfg.h | 102 char default_domain[MAXPATHLEN + 1]; 103 char motd[MAXPATHLEN + 1]; 163 char default_domain[MAXPATHLEN + 1]; /* Default domain recieved */
|
D | session.c | 123 char pid_file[MAXPATHLEN]; in session() 158 strlcpy(pid_file, _PATH_VARRUN "racoon.pid", MAXPATHLEN); in session() 160 strlcpy(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); in session() 162 strlcat(pid_file, _PATH_VARRUN, MAXPATHLEN); in session() 163 strlcat(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); in session()
|
/external/e2fsprogs/intl/ |
D | os2compat.c | 42 char libintl_nl_default_dirname[MAXPATHLEN+1]; 96 if (strlen (_nlos2_localedir) <= MAXPATHLEN) in nlos2_initialize()
|
/external/openssh/ |
D | sftp-glob.c | 68 static char buf[sizeof(struct dirent) + MAXPATHLEN]; in fudge_readdir() 84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); in fudge_readdir()
|
/external/ltp/lib/ |
D | tst_resource.c | 30 #ifdef MAXPATHLEN 31 #define PATH_MAX MAXPATHLEN
|
/external/ppp/pppd/plugins/radius/ |
D | radrealms.c | 28 char radrealms_config[MAXPATHLEN] = "/etc/radiusclient/realms"; 32 "Configuration file for RADIUS realms", OPT_STATIC, NULL, MAXPATHLEN },
|
/external/libxml2/os400/dlfcn/ |
D | dlfcn.c | 42 #define MAXPATHLEN 5120 macro 387 if (pathlen + i + 1 >= MAXPATHLEN) { in dlmakepath() 413 char buf1[MAXPATHLEN + 1]; in dlresolveLink() 414 char buf2[MAXPATHLEN + 1]; in dlresolveLink() 461 if (sbuf.st_size > MAXPATHLEN) { in dlresolveLink() 466 l2 = readlink(buf1, buf2, MAXPATHLEN + 1); in dlresolveLink()
|