Lines Matching refs:nd
44 _TDIR *nd; in _topendir() local
82 nd = (_TDIR *) malloc (sizeof (_TDIR) + (_tcslen (szFullPath) in _topendir()
87 if (!nd) in _topendir()
95 _tcscpy (nd->dd_name, szFullPath); in _topendir()
98 if (nd->dd_name[0] != _T('\0') && in _topendir()
99 nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('/') && in _topendir()
100 nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('\\')) in _topendir()
102 _tcscat (nd->dd_name, SLASH); in _topendir()
106 _tcscat (nd->dd_name, SUFFIX); in _topendir()
110 nd->dd_handle = -1; in _topendir()
113 nd->dd_stat = 0; in _topendir()
118 nd->dd_dir.d_ino = 0; in _topendir()
119 nd->dd_dir.d_reclen = 0; in _topendir()
120 nd->dd_dir.d_namlen = 0; in _topendir()
121 memset (nd->dd_dir.d_name, 0, 260 * sizeof(nd->dd_dir.d_name[0]) /*FILENAME_MAX*/); in _topendir()
123 return nd; in _topendir()