/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 63 extern int getdents(unsigned int, struct dirent*, unsigned int); 66 extern struct dirent* readdir(DIR* dirp); 67 extern int readdir_r(DIR* dirp, struct dirent *entry, struct dirent **result); 72 extern int scandir(const char *dir, struct dirent ***namelist, 73 int(*filter)(const struct dirent *), 74 int(*compar)(const struct dirent **, 75 const struct dirent **)); [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-3/arch-arm/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-4/arch-arm/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-5/arch-arm/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-8/arch-arm/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/ |
dirent.h | 49 * headers. They also define a struct dirent, but the latter lack 53 struct dirent { struct 65 extern struct dirent* readdir(DIR* dirp); 66 extern int readdir_r(DIR* dirp, struct dirent* entry, struct dirent** result); 70 extern int alphasort(const struct dirent** a, const struct dirent** b); 71 extern int scandir(const char* dir, struct dirent*** namelist, 72 int(*filter)(const struct dirent*), 73 int(*compar)(const struct dirent**, [all...] |
/external/chromium/base/ |
dir_reader_linux.h | 52 linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]); local 53 offset_ += dirent->d_reclen; 75 const linux_dirent* dirent = local 77 return dirent->d_name;
|
/external/e2fsprogs/debugfs/ |
ls.c | 46 struct ext2_dir_entry *dirent, variable in typeref:struct:ext2_dir_entry 63 thislen = ((dirent->name_len & 0xFF) < EXT2_NAME_LEN) ? 64 (dirent->name_len & 0xFF) : EXT2_NAME_LEN; 65 strncpy(name, dirent->name, thislen); 67 ino = dirent->inode; 100 inode.i_mode, dirent->name_len >> 8, 109 sprintf(tmp, "%c%u%c (%d) %s ", lbr, dirent->inode, rbr, 110 dirent->rec_len, name);
|
htree.c | 37 struct ext2_dir_entry *dirent; local 69 dirent = (struct ext2_dir_entry *) (buf + offset); 70 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); 80 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len)) { 84 thislen = ((dirent->name_len & 0xFF) < EXT2_NAME_LEN) ? 85 (dirent->name_len & 0xFF) : EXT2_NAME_LEN; 86 strncpy(name, dirent->name, thislen); 94 sprintf(tmp, "%u 0x%08x-%08x (%d) %s ", dirent->inode, 394 struct ext2_dir_entry *dirent; local 412 dirent = (struct ext2_dir_entry *) (p->buf + offset) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dir_iterate.c | 27 struct ext2_dir_entry *dirent, 30 unsigned int len = dirent->rec_len; 43 struct ext2_dir_entry *dirent) 48 dirent->rec_len = len; 53 dirent->rec_len = EXT4_MAX_REC_LEN; 55 dirent->rec_len = 0; 57 dirent->rec_len = (len & 65532) | ((len >> 16) & 3); 73 struct ext2_dir_entry *dirent; local 79 dirent = (struct ext2_dir_entry *)(buf + offset); 80 if (ext2fs_get_rec_len(fs, dirent, &rec_len) 145 struct ext2_dir_entry *dirent, int offset, variable in typeref:struct:ext2_dir_entry 193 struct ext2_dir_entry *dirent; local [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_parse_proc.c | 23 #include <dirent.h> 202 struct dirent * dirent; local 211 while ((dirent = readdir(dir))) { 212 if (sscanf(dirent->d_name, "%u", &pid) == 1) {
|
/external/qemu/ |
path.c | 11 #include <dirent.h> 65 # define dirent_type(dirent) ((dirent)->d_type) 68 # define dirent_type(dirent) (1) 77 struct dirent *dirent; local 79 while ((dirent = readdir(dir)) != NULL) { 80 if (!streq(dirent->d_name,".") && !streq(dirent->d_name,"..")){ 81 path = add_entry(path, dirent->d_name, dirent_type(dirent)) [all...] |
/external/e2fsprogs/e2fsck/ |
message.c | 19 * %Di <dirent>->ino inode number 20 * %Dn <dirent>->name string 21 * %Dr <dirent>->rec_len 22 * %Dl <dirent>->name_len 23 * %Dt <dirent>->filetype 43 * %P ext2fs_get_pathname of <dirent>->ino with <ino2> as 44 * the containing directory. (If dirent is NULL 360 struct ext2_dir_entry *dirent; local 364 if (!ctx || !ctx->dirent) 367 dirent = ctx->dirent [all...] |
/external/oprofile/gui/ |
oprof_start_util.cpp | 12 #include <dirent.h> 65 struct dirent * dirent; local 72 while ((dirent = readdir(dir))) { 75 + dirent->d_name + "/exe"); 80 daemon_pid = dirent->d_name;
|
/external/oprofile/pp/ |
oparchive.cpp | 21 #include <dirent.h> 61 struct dirent * dirent; local 82 while ((dirent = readdir(dir))) { 85 if (sscanf(dirent->d_name, "cpu%d", &cpu_nr) != 1) 87 path = string(dirent->d_name) + "/" + "sample_lost_overflow";
|
/external/bluetooth/bluedroid/btif/co/ |
bta_fs_co.c | 26 #include <dirent.h> 61 struct dirent *de; 856 struct dirent *dirent; local 877 if((dirent = readdir(dir)) != NULL) 881 BTIF_TRACE_DEBUG1("bta_fs_co_getdirentry: dirent = %p", dirent); 885 BTIF_TRACE_DEBUG1("bta_fs_co_getdirentry: dirent = %p", dirent); 893 if ((dirent = readdir((DIR*)p_entry->refdata)) == NULL [all...] |
/external/linux-tools-perf/util/ |
event.c | 64 struct dirent dirent, *next; local 126 while (!readdir_r(tasks, &dirent, &next) && next) { 128 pid = strtol(dirent.d_name, &end, 10); 330 struct dirent dirent, *next; local 346 while (!readdir_r(proc, &dirent, &next) && next) { 348 pid_t pid = strtol(dirent.d_name, &end, 10);
|
/external/oprofile/libpp/ |
profile_spec.cpp | 16 #include <dirent.h> 459 struct dirent * dirent; local 472 while ((dirent = readdir(dir)) && !ret) { 475 if (sscanf(dirent->d_name, "cpu%d", &cpu_nr) != 1) 477 path = stats_path + dirent->d_name + "/";
|
/external/e2fsprogs/misc/ |
e2image.c | 347 struct ext2_dir_entry_2 *dirent; local 353 dirent = (struct ext2_dir_entry_2 *) p; 354 rec_len = dirent->rec_len; 363 printf("rec_len = %d, name_len = %d\n", rec_len, dirent->name_len); 372 (struct ext2_dir_entry *) dirent); 374 dirent->rec_len = ext2fs_swab16(dirent->rec_len); 378 if (dirent->name_len + 8 > rec_len) { 381 dirent->name_len); 382 dirent->name_len = rec_len - 8 [all...] |
/frameworks/native/cmds/installd/ |
installd.c | 406 struct dirent *dirent; local 411 while ((dirent = readdir(dir))) { 412 if (dirent->d_type == DT_DIR) { 413 const char *name = dirent->d_name;
|