HomeSort by relevance Sort by last modified time
    Searched refs:dirent (Results 1 - 25 of 754) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/syslinux/core/fs/xfs/
xfs_readdir.h 21 int xfs_readdir_dir2_local(struct file *file, struct dirent *dirent,
23 int xfs_readdir_dir2_block(struct file *file, struct dirent *dirent,
25 int xfs_readdir_dir2_leaf(struct file *file, struct dirent *dirent,
27 int xfs_readdir_dir2_node(struct file *file, struct dirent *dirent,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
dir.h 24 #include <dirent.h>
26 #define direct dirent
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
dir.h 24 #include <dirent.h>
26 #define direct dirent
  /bionic/tests/headers/posix/
dirent_h.c 29 #include <dirent.h>
36 TYPE(struct dirent);
38 STRUCT_MEMBER(struct dirent, uint64_t, d_ino);
40 STRUCT_MEMBER(struct dirent, ino_t, d_ino);
42 STRUCT_MEMBER_ARRAY(struct dirent, char/*[]*/, d_name);
46 FUNCTION(alphasort, int (*f)(const struct dirent**, const struct dirent**));
51 FUNCTION(readdir, struct dirent* (*f)(DIR*));
52 FUNCTION(readdir_r, int (*f)(DIR*, struct dirent*, struct dirent**));
    [all...]
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
closedir.c 4 #include <dirent.h>
  /bionic/libc/bionic/
scandir.cpp 17 #include <dirent.h>
28 // A smart pointer to the scandir dirent**.
45 dirent** release() {
46 dirent** result = names_;
52 bool Add(dirent* entry) {
55 dirent** new_names =
56 reinterpret_cast<dirent**>(realloc(names_, new_capacity * sizeof(dirent*)));
64 dirent* copy = CopyDirent(entry);
72 void Sort(int (*comparator)(const dirent**, const dirent**))
    [all...]
  /external/autotest/client/profilers/powertop/src/
usb.c 31 #include <dirent.h>
38 struct dirent *dirent; local
46 while ((dirent = readdir(dir))) {
47 if (dirent->d_name[0]=='.')
49 sprintf(filename, "/sys/bus/usb/devices/%s/power/autosuspend", dirent->d_name);
55 sprintf(filename, "/sys/bus/usb/devices/%s/power/level", dirent->d_name);
69 struct dirent *dirent; local
80 while ((dirent = readdir(dir)))
    [all...]
cpufreq.c 31 #include <dirent.h>
38 struct dirent *dirent; local
49 while ((dirent = readdir(dir))) {
50 if (dirent->d_name[0]=='.')
52 sprintf(filename, "/sys/devices/system/cpu/%s/cpufreq/scaling_governor", dirent->d_name);
66 struct dirent *dirent; local
82 while ((dirent = readdir(dir))) {
83 if (dirent->d_name[0]=='.'
    [all...]
sata.c 31 #include <dirent.h>
40 struct dirent *dirent; local
48 while ((dirent = readdir(dir))) {
49 if (dirent->d_name[0]=='.')
51 sprintf(filename, "/sys/class/scsi_host/%s/link_power_management_policy", dirent->d_name);
66 struct dirent *dirent; local
80 while ((dirent = readdir(dir))) {
81 if (dirent->d_name[0]=='.'
    [all...]
  /external/vulkan-validation-layers/loader/
dirent_on_windows.h 20 struct dirent { struct
26 struct dirent *readdir(DIR *);
  /bionic/libc/include/
dirent.h 63 struct dirent { __DIRENT64_BODY }; struct
81 struct dirent* readdir(DIR* __dir);
83 int readdir_r(DIR* __dir, struct dirent* __entry, struct dirent** __buffer) __attribute__((__deprecated__("readdir_r is deprecated; use readdir instead")));
90 int alphasort(const struct dirent** __lhs, const struct dirent** __rhs);
93 int scandir(const char* __path, struct dirent*** __name_list, int (*__filter)(const struct dirent*), int (*__comparator)(const struct dirent**, const struct dirent**));
    [all...]
  /external/boringssl/src/decrepit/ssl/
ssl_decrepit.c 115 #include <dirent.h>
136 struct dirent *dirent = readdir(dir); local
137 if (dirent == NULL) {
148 if (strlen(path) + strlen(dirent->d_name) + 2 > sizeof(buf)) {
153 int r = BIO_snprintf(buf, sizeof(buf), "%s/%s", path, dirent->d_name);
  /external/syslinux/com32/lib/
fdopendir.c 5 #include <dirent.h>
  /bionic/libc/private/
ScopedReaddir.h 20 #include <dirent.h>
43 dirent* ReadEntry() {
  /external/compiler-rt/test/msan/
readdir64.cc 14 #include <dirent.h>
20 struct dirent *d = readdir(dir);
  /external/fio/os/windows/posix/include/
dirent.h 6 struct dirent struct
21 struct dirent *readdir(DIR *dirp);
  /external/syslinux/com32/include/
dirent.h 2 * dirent.h
13 #include <sys/dirent.h>
16 __extern struct dirent *readdir(DIR *);
  /external/compiler-rt/test/asan/TestCases/Linux/
interception_readdir_r_test.cc 14 #include <dirent.h>
22 // Ensure the readdir_r interceptor doesn't erroneously mark the entire dirent
26 struct dirent *result = (struct dirent *)(0xfeedbeef);
33 ((struct dirent *)entry_buffer)->d_reclen = 9999;
34 if (readdir_r(d, (struct dirent *)entry_buffer, &result) != 0)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
dirent.h 21 * POSIX Standard: 5.1.2 Directory Operations <dirent.h>
48 /* This file defines `struct dirent'.
63 #include <bits/dirent.h>
69 /* These macros extract size information from a `struct dirent *'.
154 dirent' describing the entry, or NULL for EOF or error. The
164 extern struct dirent *readdir (DIR *__dirp) __nonnull ((1));
167 extern struct dirent *__REDIRECT (readdir, (DIR *__dirp), readdir64)
186 struct dirent *__restrict __entry,
187 struct dirent **__restrict __result)
193 struct dirent *__restrict __entry
    [all...]
  /device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/
readdir.c 52 #include <dirent.h>
60 struct dirent *
63 struct dirent *dp;
77 dp = (struct dirent *) (void *)(dirp->dd_buf + (size_t)dirp->dd_loc);
87 struct dirent *
90 struct dirent *dp;
105 readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
107 struct dirent *dp;
  /external/e2fsprogs/lib/ext2fs/
unlink.c 34 static int unlink_proc(struct ext2_dir_entry *dirent,
44 ls->prev = dirent;
47 if (ext2fs_dirent_name_len(dirent) != ls->namelen)
49 if (strncmp(ls->name, dirent->name, ext2fs_dirent_name_len(dirent)))
53 if (dirent->inode != ls->inode)
56 if (!dirent->inode)
61 prev->rec_len += dirent->rec_len;
63 dirent->inode = 0;
dir_iterate.c 28 struct ext2_dir_entry *dirent,
31 unsigned int len = dirent->rec_len;
44 struct ext2_dir_entry *dirent)
49 dirent->rec_len = len;
54 dirent->rec_len = EXT4_MAX_REC_LEN;
56 dirent->rec_len = 0;
58 dirent->rec_len = (len & 65532) | ((len >> 16) & 3);
74 struct ext2_dir_entry *dirent; local
80 dirent = (struct ext2_dir_entry *)(buf + offset);
81 if (ext2fs_get_rec_len(fs, dirent, &rec_len)
150 struct ext2_dir_entry *dirent, int offset, variable in typeref:struct:ext2_dir_entry
198 struct ext2_dir_entry *dirent; local
    [all...]
link.c 34 static int link_proc(struct ext2_dir_entry *dirent,
52 ls->err = ext2fs_get_rec_len(ls->fs, dirent, &curr_rec_len);
67 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent);
76 * a dirent that contains htree data, we need to create the
83 !dirent->inode) {
85 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent);
97 dirent->name[0] == '.' && dirent->name[1] == '.') {
99 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent);
112 if (dirent->inode)
    [all...]
  /device/linaro/bootloader/edk2/StdLib/Include/
dirent.h 43 NetBSD: dirent.h,v 1.30 2008/01/09 20:55:03 christos Exp
44 @(#)dirent.h 8.2 (Berkeley) 7/28/94
52 #include <sys/dirent.h>
87 struct dirent *readdir(DIR *) __RENAME(__readdir30);
88 int readdir_r(DIR * __restrict, struct dirent * __restrict,
89 struct dirent ** __restrict) __RENAME(__readdir_r30);
96 //int scandir(const char *, struct dirent ***,
97 // int (*)(const struct dirent *), int (*)(const void *,
  /external/e2fsprogs/lib/e2p/
iod.c 28 int (*func) (const char *, struct dirent *, void *),
32 struct dirent *de, *dep;
49 max_len += sizeof(struct dirent);
67 len = sizeof(struct dirent);

Completed in 801 milliseconds

1 2 3 4 5 6 7 8 91011>>