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/fileinfo/libmagic/
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]);
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);
/PHP_TRUNK/ext/phar/
H A Ddirstream.c112 memcpy(((php_stream_dirent *) buf)->d_name, str_key->val, to_read);
113 ((php_stream_dirent *) buf)->d_name[to_read + 1] = '\0';
H A Dphar_object.c1471 fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name);
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c2593 UCHAR d_name[32]; local
2598 d_name, sizeof(d_name), &len);
/PHP_TRUNK/ext/session/
H A Dmod_files.c212 if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) {
213 size_t entry_len = strlen(entry->d_name);
218 memcpy(buf + dirname_len + 1, entry->d_name, entry_len);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c204 slash, intern->u.dir.entry.d_name);
213 intern->u.dir.entry.d_name[0] = '\0';
223 static inline int spl_filesystem_is_dot(const char * d_name) /* {{{ */ argument
225 return !strcmp(d_name, ".") || !strcmp(d_name, "..");
247 intern->u.dir.entry.d_name[0] = '\0';
256 } while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
354 } while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
469 if (!source->u.dir.entry.d_name[0]) {
551 static int spl_filesystem_is_invalid_or_dot(const char * d_name) /* {{{ */ argument
[all...]
/PHP_TRUNK/ext/standard/
H A Ddir.c416 RETURN_STRINGL(entry.d_name, strlen(entry.d_name));
H A Dftp_fopen_wrapper.c626 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) {
630 basename = php_basename(ent->d_name, tmp_len, NULL, 0 TSRMLS_CC);
632 tmp_len = MIN(sizeof(ent->d_name), basename->len - 1);
633 memcpy(ent->d_name, basename->val, tmp_len);
634 ent->d_name[tmp_len - 1] = '\0';
640 (ent->d_name[tmp_len] == '\n' || ent->d_name[tmp_len] == '\r' ||
641 ent->d_name[tmp_len] == '\t' || ent->d_name[tmp_le
[all...]
/PHP_TRUNK/main/
H A Dphp_ini.c648 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) {
656 snprintf(ini_file, MAXPATHLEN, "%s%s", debpath, namelist[i]->d_name);
658 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name);
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 Dphp_streams.h114 char d_name[MAXPATHLEN]; member in struct:_php_stream_dirent
H A Dreentrancy.c138 entry->d_name[0] = '\0';
141 if (entry->d_name[0] == '\0') {
/PHP_TRUNK/main/streams/
H A Dglob_wrapper.c150 PHP_STRLCPY(ent->d_name, path, sizeof(ent->d_name), strlen(path));
H A Dplain_wrapper.c829 PHP_STRLCPY(ent->d_name, result->d_name, sizeof(ent->d_name), strlen(result->d_name));
H A Dstreams.c2313 vector[nfiles] = zend_string_init(sdp.d_name, strlen(sdp.d_name), 0);
H A Duserspace.c1417 PHP_STRLCPY(ent->d_name, Z_STRVAL(retval), sizeof(ent->d_name), Z_STRLEN(retval));

Completed in 49 milliseconds