Lines Matching refs:buf
625 char buf[MAXPATHLEN]; local
643 if (g_Ctoc(pathbuf, buf, sizeof(buf)))
645 if (pglob->gl_errfunc(buf, errno) ||
837 char buf[MAXPATHLEN]; local
840 strlcpy(buf, ".", sizeof buf);
842 if (g_Ctoc(str, buf, sizeof(buf)))
847 return((*pglob->gl_opendir)(buf));
849 return(opendir(buf));
858 char buf[MAXPATHLEN]; local
860 if (g_Ctoc(fn, buf, sizeof(buf)))
863 return((*pglob->gl_lstat)(buf, sb));
864 return(php_sys_lstat(buf, sb));
873 char buf[MAXPATHLEN]; local
875 if (g_Ctoc(fn, buf, sizeof(buf)))
878 return((*pglob->gl_stat)(buf, sb));
879 return(php_sys_stat(buf, sb));
895 g_Ctoc(str, buf, len) in g_Ctoc() argument
897 char *buf;
902 if ((*buf++ = (char) *str++) == EOS)