Lines Matching refs:_files
202 tinydir_file *_files; member
275 dir->_files = NULL; in tinydir_open()
366 dir->_files = (tinydir_file *)_TINYDIR_MALLOC(sizeof *dir->_files * n_files); in tinydir_open()
367 if (dir->_files == NULL) in tinydir_open()
376 p_file = &dir->_files[dir->n_files - 1]; in tinydir_open()
395 qsort(dir->_files, dir->n_files, sizeof(tinydir_file), _tinydir_file_cmp); in tinydir_open()
415 _TINYDIR_FREE(dir->_files); in tinydir_open()
416 dir->_files = NULL; in tinydir_open()
592 memcpy(file, &dir->_files[i], sizeof(tinydir_file)); in tinydir_open()
607 if (i >= dir->n_files || !dir->_files[i].is_dir) in tinydir_open()
613 _tinydir_strcpy(path, dir->_files[i].path); in tinydir_open()