Home
last modified time | relevance | path

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

123

/third_party/python/PC/
Dgetpathp.c154 size_t i = wcsnlen_s(dir, MAXPATHLEN+1); in reduce()
155 if (i >= MAXPATHLEN+1) { in reduce()
169 size_t src_len = wcsnlen_s(src, MAXPATHLEN+1); in change_ext()
171 if (i >= MAXPATHLEN+1) { in change_ext()
187 if (wcsncpy_s(dest, MAXPATHLEN+1, src, i)) { in change_ext()
198 if (wcscat_s(dest, MAXPATHLEN+1, ext)) { in change_ext()
227 n = wcsnlen_s(filename, MAXPATHLEN+1); in ismodule()
228 if (n < MAXPATHLEN) { in ismodule()
255 if (FAILED(PathCchCombineEx(buffer, MAXPATHLEN+1, buffer, stuff, 0))) { in join()
269 if (FAILED(PathCchCanonicalizeEx(buffer, MAXPATHLEN + 1, path, 0))) { in canonicalize()
[all …]
/third_party/python/Include/
Dosdefs.h13 #define MAXPATHLEN 256 macro
31 #define PATH_MAX MAXPATHLEN
35 #ifndef MAXPATHLEN
37 #define MAXPATHLEN PATH_MAX macro
39 #define MAXPATHLEN 1024
/third_party/ltp/testcases/kernel/fs/ftest/
Dftest02.c85 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()
Dftest06.c91 static char homedir[MAXPATHLEN];
92 static char dirname[MAXPATHLEN];
95 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN];
103 char name[MAXPATHLEN]; in main()
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()
Dftest04.c80 static char filename[MAXPATHLEN];
112 char wdbuf[MAXPATHLEN]; in setup()
121 sprintf(filename, "%s/ftest04.%d", getcwd(wdbuf, MAXPATHLEN), in setup()
Dftest08.c88 static char filename[MAXPATHLEN];
116 char wdbuf[MAXPATHLEN]; in init()
125 sprintf(filename, "%s/ftest08.%d", getcwd(wdbuf, MAXPATHLEN), in init()
Dftest07.c104 static char fuss[MAXPATHLEN]; /* directory to do this in */
105 static char homedir[MAXPATHLEN]; /* where we started */
138 char wdbuf[MAXPATHLEN], *cwd; in setup()
Dftest03.c98 static char fuss[MAXPATHLEN]; /* directory to do this in */
99 static char homedir[MAXPATHLEN]; /* where we started */
133 char wdbuf[MAXPATHLEN]; in setup()
/third_party/iowow/src/
Diwcfg.h47 #ifndef MAXPATHLEN
49 #define MAXPATHLEN PATH_MAX macro
51 #define MAXPATHLEN 4096 macro
/third_party/iowow/src/tmpl/
Diwcfg.h47 #ifndef MAXPATHLEN
49 #define MAXPATHLEN PATH_MAX macro
51 #define MAXPATHLEN 4096 macro
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c62 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()
/third_party/ltp/include/old/
Dusctest.h41 #ifdef MAXPATHLEN
42 #define PATH_MAX MAXPATHLEN
/third_party/ltp/lib/tests/
Dtst_tmpdir_test.c39 #ifdef MAXPATHLEN
40 #define PATH_MAX MAXPATHLEN
/third_party/python/Python/
Dpathconfig.c638 wchar_t fullpath[MAXPATHLEN]; in _PyPathConfig_ComputeSysPath0()
656 wchar_t link[MAXPATHLEN + 1]; in _PyPathConfig_ComputeSysPath0()
658 wchar_t path0copy[2 * MAXPATHLEN + 1]; in _PyPathConfig_ComputeSysPath0()
681 wcsncpy(path0copy, path0, MAXPATHLEN); in _PyPathConfig_ComputeSysPath0()
683 wcsncpy(q+1, link, MAXPATHLEN); in _PyPathConfig_ComputeSysPath0()
684 q[MAXPATHLEN + 1] = L'\0'; in _PyPathConfig_ComputeSysPath0()
767 char buffer[MAXPATHLEN * 2 + 1]; /* allow extra for key, '=', etc. */ in _Py_FindEnvConfigValue()
/third_party/ltp/lib/
Dtst_resource.c30 #ifdef MAXPATHLEN
31 #define PATH_MAX MAXPATHLEN
Dtst_tmpdir.c84 #ifdef MAXPATHLEN
85 #define PATH_MAX MAXPATHLEN
/third_party/libxml2/os400/dlfcn/
Ddlfcn.c42 #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()
/third_party/lwip/src/netif/ppp/
Dutils.c772 static char lock_file[MAXPATHLEN];
817 char lockdev[MAXPATHLEN];
821 strncpy(lockdev, dev, MAXPATHLEN-1);
822 lockdev[MAXPATHLEN-1] = 0;
/third_party/python/Modules/
Dgetpath.c355 wchar_t abs_path[MAXPATHLEN+1]; in absolutize()
572 wchar_t prefix[MAXPATHLEN+1]; in calculate_prefix()
668 char buf[MAXPATHLEN + 1]; in calculate_pybuilddir()
796 wchar_t exec_prefix[MAXPATHLEN+1]; in calculate_exec_prefix()
925 char execpath[MAXPATHLEN + 1]; in calculate_program_macos()
1051 wchar_t new_path[MAXPATHLEN + 1]; in resolve_symlinks()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap01.c36 static char TEMPFILE[MAXPATHLEN];
/third_party/musl/include/sys/
Dparam.h7 #define MAXPATHLEN 4096 macro
/third_party/musl/ndk_musl_include/sys/
Dparam.h7 #define MAXPATHLEN 4096 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dparam.h7 #define MAXPATHLEN 4096 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dparam.h7 #define MAXPATHLEN 4096 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dparam.h10 #define MAXPATHLEN PATH_MAX macro

123