Lines Matching refs:buf
631 char buf[MAXPATHLEN]; local
649 if (g_Ctoc(pathbuf, buf, sizeof(buf)))
651 if (pglob->gl_errfunc(buf, errno) ||
843 char buf[MAXPATHLEN]; local
846 strlcpy(buf, ".", sizeof buf);
848 if (g_Ctoc(str, buf, sizeof(buf)))
853 return((*pglob->gl_opendir)(buf));
855 return(opendir(buf));
864 char buf[MAXPATHLEN]; local
866 if (g_Ctoc(fn, buf, sizeof(buf)))
869 return((*pglob->gl_lstat)(buf, sb));
870 return(php_sys_lstat(buf, sb));
879 char buf[MAXPATHLEN]; local
881 if (g_Ctoc(fn, buf, sizeof(buf)))
884 return((*pglob->gl_stat)(buf, sb));
885 return(php_sys_stat(buf, sb));
901 g_Ctoc(str, buf, len) in g_Ctoc() argument
903 char *buf;
908 if ((*buf++ = (char) *str++) == EOS)