Searched refs:path_max (Results 1 – 7 of 7) sorted by relevance
/third_party/gettext/gnulib-local/lib/ |
D | xgetcwd.c | 56 unsigned path_max; in xgetcwd() local 66 path_max = (unsigned) PATH_MAX; in xgetcwd() 67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd() 71 char *cwd = XNMALLOC (path_max, char); in xgetcwd() 74 ret = getcwd (cwd, path_max); in xgetcwd() 87 path_max += path_max / 16; in xgetcwd() 88 path_max += 32; in xgetcwd()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
D | 10-2.c | 32 int result, i, path_max; in main() local 35 path_max = pathconf("/", _PC_PATH_MAX); in main() 36 if (path_max == -1) { in main() 40 shm_name = malloc(path_max + 1); in main() 47 for (i = 0; i < path_max; i++) in main() 49 shm_name[path_max] = 0; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 39-2.c | 32 int fd, i, path_max; in main() local 35 path_max = pathconf("/", _PC_PATH_MAX); in main() 36 if (path_max == -1) { in main() 40 shm_name = malloc(path_max + 1); in main() 42 for (i = 0; i < path_max; i++) in main() 44 shm_name[path_max] = 0; in main()
|
/third_party/gettext/gettext-runtime/intl/ |
D | dcigettext.c | 632 size_t path_max; in gl_dcigettext() local 650 path_max = (unsigned int) PATH_MAX; in gl_dcigettext() 651 path_max += 2; /* The getcwd docs say to do this. */ in gl_dcigettext() 657 alloca ((path_max + wdirname_len) * sizeof (wchar_t)); in gl_dcigettext() 661 ret = _wgetcwd (resolved_wdirname, path_max); in gl_dcigettext() 665 path_max += path_max / 2; in gl_dcigettext() 666 path_max += PATH_INCR; in gl_dcigettext() 689 size_t path_max; in gl_dcigettext() local 693 path_max = (unsigned int) PATH_MAX; in gl_dcigettext() 694 path_max += 2; /* The getcwd docs say to do this. */ in gl_dcigettext() [all …]
|
D | ChangeLog.0 | 4101 path_max proportionally.
|
/third_party/boost/libs/filesystem/src/ |
D | operations.cpp | 1557 for (std::size_t path_max = sizeof(small_buf);; path_max *= 2u) // loop 'til buffer large enough in current_path() 1559 if (BOOST_UNLIKELY(path_max > absolute_path_max)) in current_path() 1565 boost::scoped_array<char> buf(new char[path_max]); in current_path() 1566 p = ::getcwd(buf.get(), path_max); in current_path() 2008 …for (std::size_t path_max = sizeof(small_buf) * 2u;; path_max *= 2u) // loop 'til buffer large eno… in read_symlink() local 2010 if (BOOST_UNLIKELY(path_max > absolute_path_max)) in read_symlink() 2020 boost::scoped_array<char> buf(new char[path_max]); in read_symlink() 2021 result = ::readlink(path_str, buf.get(), path_max); in read_symlink() 2026 else if (BOOST_LIKELY(static_cast< std::size_t >(result) < path_max)) in read_symlink()
|
D | directory.cpp | 198 inline std::size_t path_max() in path_max() function 237 const std::size_t name_size = path_max(); in readdir_r_simulator()
|