Lines Matching refs:path_max
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()
698 resolved_dirname = (char *) alloca (path_max + dirname_len); in gl_dcigettext()
702 ret = getcwd (resolved_dirname, path_max); in gl_dcigettext()
706 path_max += path_max / 2; in gl_dcigettext()
707 path_max += PATH_INCR; in gl_dcigettext()