Home
last modified time | relevance | path

Searched refs:MAXPATHLEN (Results 1 – 24 of 24) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetpath.c128 static char prefix[MAXPATHLEN+1];
129 static char exec_prefix[MAXPATHLEN+1];
130 static char progpath[MAXPATHLEN+1];
163 if (strlen(filename) < MAXPATHLEN) { in ismodule()
215 if (n > 0 && buffer[n-1] != SEP && n < MAXPATHLEN) in joinpath()
218 if (n > MAXPATHLEN) in joinpath()
221 if (n + k > MAXPATHLEN) in joinpath()
222 k = MAXPATHLEN - n; in joinpath()
235 if (!getcwd(path, MAXPATHLEN)) { in copy_absolute()
250 char buffer[MAXPATHLEN + 1]; in absolutize()
[all …]
Dzipimport.c63 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()
694 char path[MAXPATHLEN + 5]; in read_directory()
695 char name[MAXPATHLEN + 5]; in read_directory()
699 if (strlen(archive) > MAXPATHLEN) { in read_directory()
[all …]
Dposixmodule.c283 #ifndef MAXPATHLEN
285 #define MAXPATHLEN PATH_MAX macro
287 #define MAXPATHLEN 1024 macro
6143 char buf[MAXPATHLEN]; in posix_readlink()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dosdefs.h14 #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
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Include/
Dosdefs.h26 #define MAXPATHLEN 260 macro
32 #define MAXPATHLEN 256
40 #define MAXPATHLEN 256 macro
56 # define PATH_MAX MAXPATHLEN
60 #ifndef MAXPATHLEN
62 #define MAXPATHLEN PATH_MAX macro
64 #define MAXPATHLEN 1024
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dgetpath.c86 static char prefix[MAXPATHLEN+1];
87 static char exec_prefix[MAXPATHLEN+1];
88 static char progpath[MAXPATHLEN+1];
189 strncpy(buffer, volume_name, MAXPATHLEN); in joinpath()
195 if (n > 0 && n < MAXPATHLEN) { in joinpath()
202 if (n > MAXPATHLEN) in joinpath()
205 if (n + k > MAXPATHLEN) in joinpath()
206 k = MAXPATHLEN - n; in joinpath()
244 strncpyX(newbn, ".efi", MAXPATHLEN - bnlen); // append ".efi" to basename in isxfile()
276 if (!getcwd(path, MAXPATHLEN)) { in copy_absolute()
[all …]
Dedk2module.c110 #ifndef MAXPATHLEN
112 #define MAXPATHLEN PATH_MAX macro
114 #define MAXPATHLEN 1024 macro
2581 char buf[MAXPATHLEN]; in edk2_readlink()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dgetpath.c80 static char prefix[MAXPATHLEN+1];
81 static char exec_prefix[MAXPATHLEN+1];
82 static char progpath[MAXPATHLEN+1];
160 if (strlen(filename) < MAXPATHLEN) { in ismodule()
258 strncpy(buffer, volume_name, MAXPATHLEN); in joinpath()
264 if (n > 0 && n < MAXPATHLEN) { in joinpath()
271 if (n > MAXPATHLEN) in joinpath()
274 if (n + k > MAXPATHLEN) in joinpath()
275 k = MAXPATHLEN - n; in joinpath()
313 strncpyX(newbn, ".efi", MAXPATHLEN - bnlen); // append ".efi" to basename in isxfile()
[all …]
Dedk2module.c109 #ifndef MAXPATHLEN
111 #define MAXPATHLEN PATH_MAX macro
113 #define MAXPATHLEN 1024 macro
4549 char buf[MAXPATHLEN]; in posix_readlink()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dosdefs.h24 #define MAXPATHLEN 260 macro
30 #define MAXPATHLEN 256
38 #define MAXPATHLEN 256 macro
50 #ifndef MAXPATHLEN
52 #define MAXPATHLEN PATH_MAX macro
54 #define MAXPATHLEN 1024
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Include/
Dosdefs.h24 #define MAXPATHLEN 260 macro
30 #define MAXPATHLEN 256
38 #define MAXPATHLEN 256 macro
50 #ifndef MAXPATHLEN
52 #define MAXPATHLEN PATH_MAX macro
54 #define MAXPATHLEN 1024
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dgetcwd.c16 #ifndef MAXPATHLEN
18 #define MAXPATHLEN PATH_MAX macro
20 #define MAXPATHLEN 1024 macro
29 char localbuf[MAXPATHLEN+1]; in getcwd()
Dimport.c971 char buf[MAXPATHLEN+1]; in load_source_module()
994 (size_t)MAXPATHLEN + 1); in load_source_module()
1044 char buf[MAXPATHLEN+1]; in load_package()
1216 char name[MAXPATHLEN+1]; in find_module()
1225 if (strlen(subname) > MAXPATHLEN) { in find_module()
1407 char warnstr[MAXPATHLEN+80]; in find_module()
1410 MAXPATHLEN, buf); in find_module()
1428 char warnstr[MAXPATHLEN+80]; in find_module()
1431 MAXPATHLEN, buf); in find_module()
1626 char dirname[MAXPATHLEN + 1]; in find_module()
[all …]
Ddynload_beos.c17 #if defined(MAXPATHLEN) && !defined(_SYS_PARAM_H)
18 #undef MAXPATHLEN
Dtraceback.c125 char namebuf[MAXPATHLEN+1]; in _Py_DisplaySourceLine()
154 if (len + 1 + taillen >= MAXPATHLEN) in _Py_DisplaySourceLine()
Dsysmodule.c1601 char fullpath[MAXPATHLEN]; in PySys_SetArgvEx()
1617 char link[MAXPATHLEN+1]; in PySys_SetArgvEx()
1618 char argv0copy[2*MAXPATHLEN+1]; in PySys_SetArgvEx()
1621 nr = readlink(argv0, link, MAXPATHLEN); in PySys_SetArgvEx()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dtempnam.c82 if ((name = malloc((size_t)MAXPATHLEN)) == NULL) in tempnam()
89 (f = gentemp(name, (size_t)MAXPATHLEN, tmp, pfx)) != NULL) in tempnam()
93 (f = gentemp(name, (size_t)MAXPATHLEN, dir, pfx)) != NULL) in tempnam()
99 if ((f = gentemp(name, (size_t)MAXPATHLEN, _PATH_TMP, pfx)) != NULL) in tempnam()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzipimport.c63 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()
694 char path[MAXPATHLEN + 5]; in read_directory()
695 char name[MAXPATHLEN + 5]; in read_directory()
699 if (strlen(archive) > MAXPATHLEN) { in read_directory()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c971 char buf[MAXPATHLEN+1]; in load_source_module()
994 (size_t)MAXPATHLEN + 1); in load_source_module()
1044 char buf[MAXPATHLEN+1]; in load_package()
1216 char name[MAXPATHLEN+1]; in find_module()
1225 if (strlen(subname) > MAXPATHLEN) { in find_module()
1407 char warnstr[MAXPATHLEN+80]; in find_module()
1410 MAXPATHLEN, buf); in find_module()
1428 char warnstr[MAXPATHLEN+80]; in find_module()
1431 MAXPATHLEN, buf); in find_module()
1626 char dirname[MAXPATHLEN + 1]; in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dimport.c1068 buf = PyMem_MALLOC(MAXPATHLEN+1); in load_source_module()
1073 (size_t)MAXPATHLEN + 1); in load_source_module()
1154 buf = PyMem_MALLOC(MAXPATHLEN+1); in load_package()
1160 fdp = find_module(name, "__init__", path, buf, MAXPATHLEN+1, &fp, NULL); in load_package()
1317 if (strlen(subname) > MAXPATHLEN) { in find_module()
1322 name = PyMem_MALLOC(MAXPATHLEN+1); in find_module()
1509 char warnstr[MAXPATHLEN+80]; in find_module()
1512 MAXPATHLEN, buf); in find_module()
1711 char dirname[MAXPATHLEN + 1]; in case_ok()
1723 assert(dirlen <= MAXPATHLEN); in case_ok()
[all …]
Dtraceback.c125 char namebuf[MAXPATHLEN+1]; in _Py_DisplaySourceLine()
154 if (len + 1 + taillen >= MAXPATHLEN) in _Py_DisplaySourceLine()
Dsysmodule.c1622 char fullpath[MAXPATHLEN]; in PySys_SetArgvEx()
1638 char link[MAXPATHLEN+1]; in PySys_SetArgvEx()
1639 char argv0copy[2*MAXPATHLEN+1]; in PySys_SetArgvEx()
1642 nr = readlink(argv0, link, MAXPATHLEN); in PySys_SetArgvEx()
/device/linaro/bootloader/edk2/StdLib/PosixLib/Glob/
Dglob.c190 Char *bufnext, *bufend, patbuf[MAXPATHLEN+1]; in glob()
208 bufend = bufnext + MAXPATHLEN; in glob()
271 Char patbuf[MAXPATHLEN + 1]; in globexp2()
455 Char *bufnext, patbuf[MAXPATHLEN+1]; in glob0()
558 Char pathbuf[MAXPATHLEN+1]; in glob1()
679 char buf[MAXPATHLEN]; in glob3()
943 char buf[MAXPATHLEN]; in g_opendir()
964 char buf[MAXPATHLEN]; in g_lstat()
980 char buf[MAXPATHLEN]; in g_stat()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dparam.h226 #define MAXPATHLEN PATH_MAX macro