/haiku/src/system/libroot/posix/musl/dirent/ |
H A D | alphasort.c | 2 #include <dirent.h> 4 int alphasort(const struct dirent **a, const struct dirent **b)
|
H A D | scandir.c | 1 #include <dirent.h> 8 int scandir(const char *path, struct dirent ***res, 9 int (*sel)(const struct dirent *), 10 int (*cmp)(const struct dirent **, const struct dirent **)) 13 struct dirent *de, **names=0, **tmp;
|
/haiku/src/tests/system/libroot/posix/ |
H A D | dirent_test.cpp | 7 #include <dirent.h> 15 dirent *buf, *dirent; local 20 dirent = readdir(dir); 21 if (dirent == NULL) 24 printf("Entry: dev %ld, ino %lld, name \"%s\"\n", dirent->d_dev, 25 dirent->d_ino, dirent->d_name); 32 dirent = readdir(dir); 33 if (dirent [all...] |
/haiku/headers/posix/ |
H A D | dirent.h | 12 typedef struct dirent { struct 41 struct dirent* readdir(DIR* dir); 42 int readdir_r(DIR* dir, struct dirent* entry, 43 struct dirent** _result); 50 int alphasort(const struct dirent** entry1, 51 const struct dirent** entry2); 52 int scandir(const char* dir, struct dirent*** _entryArray, 53 int (*selectFunc)(const struct dirent*), 54 int (*compareFunc)(const struct dirent** entry1, 55 const struct dirent** entry [all...] |
/haiku/headers/private/file_systems/ |
H A D | fs_ops_support.h | 11 # include <dirent.h> 33 /*! Computes and assigns `dirent->d_reclen`, adjusts `bufferRemaining` accordingly, 36 static inline struct dirent* 37 next_dirent(struct dirent* dirent, size_t nameLength, size_t& bufferRemaining) argument 39 const size_t reclen = offsetof(struct dirent, d_name) + nameLength + 1; 43 dirent->d_reclen = reclen; 45 const size_t roundedReclen = ROUNDUP(reclen, alignof(struct dirent)); 50 dirent->d_reclen = roundedReclen; 53 return (struct dirent*)((uint [all...] |
/haiku/headers/build/host/darwin/ |
H A D | dirent.h | 5 #include_next <dirent.h>
|
/haiku/headers/private/libroot/ |
H A D | dirent_private.h | 10 #include <dirent.h>
|
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/ |
H A D | AttributeDirectoryCookie.h | 9 #include <dirent.h> 20 struct dirent* buffer, size_t bufferSize,
|
H A D | EmptyAttributeDirectoryCookie.cpp | 12 struct dirent* buffer, size_t bufferSize, uint32* _count)
|
H A D | EmptyAttributeDirectoryCookie.h | 15 struct dirent* buffer, size_t bufferSize,
|
H A D | AutoPackageAttributeDirectoryCookie.cpp | 27 struct dirent* buffer, size_t bufferSize, uint32* _count) 32 dirent* previousEntry = NULL; 51 buffer = (dirent*)((addr_t)buffer + offset); 77 buffer = (dirent*)((addr_t)buffer + buffer->d_reclen);
|
H A D | AutoPackageAttributeDirectoryCookie.h | 28 struct dirent* buffer, size_t bufferSize,
|
/haiku/headers/os/kernel/ |
H A D | fs_query.h | 10 #include <dirent.h> 32 extern struct dirent *fs_read_query(DIR *d); 34 extern status_t get_path_for_dirent(struct dirent *dent, char *buf,
|
H A D | fs_index.h | 10 #include <dirent.h> 33 extern struct dirent *fs_read_index_dir(DIR *indexDirectory);
|
H A D | fs_attr.h | 10 #include <dirent.h> 41 extern struct dirent *fs_read_attr_dir(DIR *dir);
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | VolumeSupport.h | 6 #include <dirent.h> 13 set_dirent_name(struct dirent* buffer, size_t bufferSize, const char* name, 30 next_dirent(struct dirent*& buffer, size_t& bufferSize) 42 buffer = (dirent*)nextBuffer;
|
/haiku/src/bin/ |
H A D | mkindex.cpp | 50 while (dirent *dirent = fs_read_index_dir(indexes)) { 51 if (!strcmp(dirent->d_name, "name") 52 || !strcmp(dirent->d_name, "size") 53 || !strcmp(dirent->d_name, "last_modified")) 57 if (fs_stat_index(from, dirent->d_name, &info) != 0) { 59 kProgramName, dirent->d_name, strerror(errno)); 63 if (fs_create_index(to, dirent->d_name, info.type, 0) != 0) { 69 kProgramName, dirent->d_name, strerror(errno)); 71 printf("\t%s\n", dirent [all...] |
H A D | fortune.c | 7 #include <dirent.h> 23 struct dirent *dirent; local 33 while ((dirent = readdir(dir)) != NULL) { 34 if (dirent->d_name[0] == '.') 50 while ((dirent = readdir(dir)) != NULL) { 51 if (dirent->d_name[0] == '.') 61 strlcat(name, dirent->d_name, sizeof(name));
|
/haiku/headers/private/storage/ |
H A D | storage_support.h | 20 #include <dirent.h> 29 char _[sizeof(struct dirent) + B_FILE_NAME_LENGTH + 1]; 30 struct dirent* dirent() { return (struct dirent*)_; } function in struct:BPrivate::Storage::LongDirEntry
|
/haiku/src/kits/tracker/ |
H A D | EntryIterator.h | 62 virtual int32 GetNextDirents(struct dirent* buffer, size_t length, 68 static dirent* Next(dirent*); 84 virtual int32 GetNextDirents(struct dirent* buffer, size_t length, 115 virtual int32 GetNextDirents(struct dirent* buffer, size_t length, 125 static int _CompareInodes(const dirent* ent1, const dirent* ent2); 133 dirent* fDirentBuffer; 134 dirent* fCurrentDirent; 136 BObjectList<dirent>* fSortedLis [all...] |
/haiku/src/system/libroot/posix/ |
H A D | dirent.cpp | 8 #include <dirent.h> 31 struct dirent first_entry; 68 struct dirent* entry = (struct dirent*) 201 struct dirent* 212 struct dirent *dirent local 213 = (struct dirent *)((uint8 *)&dir->first_entry + dir->next_entry); 216 dir->next_entry += dirent->d_reclen; 220 return dirent; 250 struct dirent* dirent = readdir(dir); local [all...] |
/haiku/headers/os/storage/ |
H A D | EntryList.h | 9 #include <dirent.h> 30 virtual int32 GetNextDirents(struct dirent* direntBuffer,
|
/haiku/headers/build/os/kernel/ |
H A D | fs_attr.h | 10 #include <dirent.h> 42 extern struct dirent *fs_read_attr_dir(DIR *dir);
|
/haiku/src/bin/package/ |
H A D | PackageWritingUtils.cpp | 9 #include <dirent.h> 32 while (dirent* entry = readdir(dir.Get())) {
|
/haiku/headers/private/shared/ |
H A D | AutoDeleterPosix.h | 11 #include <dirent.h>
|