Searched refs:d_name (Results 1 - 23 of 23) sorted by relevance

/PHP_TRUNK/TSRM/
H A Dreaddir.h23 unsigned short d_reclen; /* length of d_name */
24 char d_name[_MAX_FNAME + 1]; /* filename (null terminated) */ member in struct:dirent
/PHP_TRUNK/win32/
H A Dreaddir.h27 unsigned short d_reclen; /* length of d_name */
28 char d_name[_MAX_FNAME + 1]; /* filename (null terminated) */ member in struct:dirent
H A Dreaddir.c84 strlcpy(dp->dent.d_name, dp->fileinfo.cFileName, _MAX_FNAME+1);
86 dp->dent.d_reclen = strlen(dp->dent.d_name);
108 strlcpy(dp->dent.d_name, dp->fileinfo.cFileName, _MAX_FNAME+1);
110 dp->dent.d_reclen = strlen(dp->dent.d_name);
H A Dglob.c668 if (dp->d_name[0] == DOT && *pattern != DOT)
671 sc = (u_char *) dp->d_name;
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c2575 UCHAR d_name[32]; local
2580 d_name, sizeof(d_name), &len);
/PHP_TRUNK/ext/phar/
H A Ddirstream.c113 memcpy(((php_stream_dirent *) buf)->d_name, str_key, to_read);
114 ((php_stream_dirent *) buf)->d_name[to_read + 1] = '\0';
H A Dphar_object.c1497 fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name);
/PHP_TRUNK/ext/standard/
H A Ddir.c414 RETURN_STRINGL(entry.d_name, strlen(entry.d_name), 1);
H A Dftp_fopen_wrapper.c627 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) {
631 php_basename(ent->d_name, tmp_len, NULL, 0, &basename, &basename_len TSRMLS_CC);
641 tmp_len = MIN(sizeof(ent->d_name), basename_len - 1);
642 memcpy(ent->d_name, basename, tmp_len);
643 ent->d_name[tmp_len - 1] = '\0';
649 (ent->d_name[tmp_len] == '\n' || ent->d_name[tmp_len] == '\r' ||
650 ent->d_name[tmp_len] == '\t' || ent->d_name[tmp_le
[all...]
/PHP_TRUNK/main/
H A Dphp_scandir.c55 return strcoll((*a)->d_name,(*b)->d_name);
100 dsize = sizeof (struct dirent) + ((strlen(dp->d_name) + 1) * sizeof(char));
H A Dreentrancy.c138 entry->d_name[0] = '\0';
141 if (entry->d_name[0] == '\0') {
H A Dphp_ini.c657 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) {
665 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name);
667 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name);
H A Dphp_streams.h112 char d_name[MAXPATHLEN]; member in struct:_php_stream_dirent
/PHP_TRUNK/main/streams/
H A Dglob_wrapper.c150 PHP_STRLCPY(ent->d_name, path, sizeof(ent->d_name), strlen(path));
H A Duserspace.c1535 PHP_STRLCPY(ent->d_name, Z_STRVAL_P(retval), sizeof(ent->d_name), Z_STRLEN_P(retval));
H A Dstreams.c2313 vector[nfiles] = estrdup(sdp.d_name);
H A Dplain_wrapper.c823 PHP_STRLCPY(ent->d_name, result->d_name, sizeof(ent->d_name), strlen(result->d_name));
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapprentice.c1183 if ((mflen = snprintf(mfn, sizeof(mfn), "%s/%s", fn, d.d_name)) < 0) {
1185 strlen(fn) + strlen(d.d_name) + 2);
H A Dcdf.h98 uint16_t d_name[32]; member in struct:__anon4
H A Dreadcdf.c385 char name[__arraycount(d->d_name)];
391 name[k] = (char)cdf_tole2(d->d_name[k]);
H A Dcdf.c258 CDF_UNPACKA(d->d_name);
744 cdf_namecmp(name, dir->dir_tab[i - 1].d_name, sizeof(name))
1154 char name[__arraycount(d->d_name)];
1164 name[j] = (char)CDF_TOLE2(d->d_name[j]);
/PHP_TRUNK/ext/session/
H A Dmod_files.c210 if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) {
211 size_t entry_len = strlen(entry->d_name);
216 memcpy(buf + dirname_len + 1, entry->d_name, entry_len);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c214 slash, intern->u.dir.entry.d_name);
223 intern->u.dir.entry.d_name[0] = '\0';
233 static inline int spl_filesystem_is_dot(const char * d_name) /* {{{ */ argument
235 return !strcmp(d_name, ".") || !strcmp(d_name, "..");
257 intern->u.dir.entry.d_name[0] = '\0';
266 } while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
362 } while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
478 if (!source->u.dir.entry.d_name[0]) {
562 static int spl_filesystem_is_invalid_or_dot(const char * d_name) /* {{{ */ argument
[all...]

Completed in 80 milliseconds