dirent 52 base/files/dir_reader_linux.h linux_dirent* dirent = reinterpret_cast<linux_dirent*>(&buf_[offset_]); dirent 53 base/files/dir_reader_linux.h offset_ += dirent->d_reclen; dirent 75 base/files/dir_reader_linux.h const linux_dirent* dirent = dirent 77 base/files/dir_reader_linux.h return dirent->d_name; dirent 132 base/files/file_enumerator_posix.cc struct dirent dent_buf; dirent 133 base/files/file_enumerator_posix.cc struct dirent* dent; dirent 209 base/linux_util.cc struct dirent* dent; dirent 270 base/linux_util.cc struct dirent* dent; dirent 82 base/process/process_iterator_linux.cc dirent* slot = readdir(procfs_dir_); dirent 110 base/process/process_metrics_linux.cc while (struct dirent* ent = readdir(dir)) { dirent 81 components/nacl/loader/nonsfi/irt_fdio.cc reinterpret_cast<int(*)(int, struct dirent*, size_t, size_t*)>(IrtGetDents), dirent 587 native_client_sdk/src/examples/demo/nacl_io/handlers.c struct dirent* entry; dirent 57 native_client_sdk/src/libraries/nacl_io/dir_node.cc dirent* pdir, dirent 71 native_client_sdk/src/libraries/nacl_io/dir_node.cc if (name.length() >= MEMBER_SIZE(dirent, d_name)) dirent 35 native_client_sdk/src/libraries/nacl_io/dir_node.h struct dirent* pdir, dirent 370 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc struct dirent* pdir, dirent 434 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc if (fill_info->num_bytes < sizeof(dirent)) dirent 439 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc fill_info->num_bytes -= sizeof(dirent); dirent 444 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc fill_info->num_bytes -= sizeof(dirent); dirent 104 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.h struct dirent* pdir, dirent 44 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc dirents_.push_back(dirent()); dirent 45 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc dirent& entry = dirents_.back(); dirent 47 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc entry.d_off = sizeof(dirent); dirent 48 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc entry.d_reclen = sizeof(dirent); dirent 53 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc size_t d_name_max = MEMBER_SIZE(dirent, d_name) - 1; // -1 for \0. dirent 60 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc dirent* pdir, dirent 70 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc if (size < sizeof(dirent)) dirent 74 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc size -= size % sizeof(dirent); dirent 76 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc size_t max = dirents_.size() * sizeof(dirent); dirent 23 native_client_sdk/src/libraries/nacl_io/getdents_helper.h Error GetDents(size_t offs, dirent* pdir, size_t size, int* out_bytes) const; dirent 28 native_client_sdk/src/libraries/nacl_io/getdents_helper.h std::vector<dirent> dirents_; dirent 87 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc struct dirent* pdir, dirent 128 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc MEMBER_SIZE(dirent, d_name) - 1); // -1 for NULL. dirent 22 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.h struct dirent* pdir, dirent 158 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc struct dirent* pdir, dirent 24 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.h struct dirent* pdir, dirent 116 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc Error KernelHandle::GetDents(struct dirent* pdir, size_t nbytes, int* cnt) { dirent 54 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error GetDents(struct dirent* pdir, size_t count, int* bytes_written); dirent 515 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->GetDents(static_cast<dirent*>(buf), count, &cnt); dirent 70 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h struct dirent; dirent 71 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int getdents(unsigned int fd, struct dirent* buf, unsigned int count) NOTHROW; dirent 93 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc static const int d_name_shift = offsetof (dirent, d_name) - dirent 206 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int WRAP(getdents)(int fd, dirent* nacl_buf, size_t nacl_count, size_t *nread) { dirent 220 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc dirent* d = (dirent*)(buf + offset); dirent 225 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc size_t d_name_len = d->d_reclen - offsetof(dirent, d_name); dirent 401 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int err = REAL(getdents)(fd, (dirent*)nacl_buf, count, &nacl_nread); dirent 406 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc dirent* d = (dirent*)((char*)buf + offset); dirent 97 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc static const int d_name_shift = offsetof (dirent, d_name) - dirent 187 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int WRAP(getdents)(int fd, dirent* nacl_buf, size_t nacl_count, size_t *nread) { dirent 201 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc dirent* d = (dirent*)(buf + offset); dirent 206 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc size_t d_name_len = d->d_reclen - offsetof(dirent, d_name); dirent 335 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int err = REAL(getdents)(fd, (dirent*)nacl_buf, count, &nacl_nread); dirent 340 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc dirent* d = (dirent*)((char*)buf + offset); dirent 134 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int WRAP(getdents)(int fd, dirent* buf, size_t count, size_t* nread) { dirent 295 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc return REAL(getdents)(fd, static_cast<dirent*>(nacl_buf), nacl_count, nread); dirent 79 native_client_sdk/src/libraries/nacl_io/node.cc struct dirent* pdir, dirent 62 native_client_sdk/src/libraries/nacl_io/node.h struct dirent* pdir, dirent 76 native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc struct dirent* pdir, dirent 77 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc struct dirent dirs[4]; dirent 81 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(3 * sizeof(struct dirent), len); dirent 277 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc struct dirent entries[4]; dirent 282 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(3 * sizeof(dirent), bytes_read); dirent 289 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(0, root->GetDents(sizeof(dirent), &entries[0], 2 * sizeof(dirent), dirent 291 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(2 * sizeof(dirent), bytes_read); dirent 299 native_client_sdk/src/tests/nacl_io_test/fuse_fs_test.cc ASSERT_EQ(4 * sizeof(dirent), bytes_read); dirent 439 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc dirent dirents[kMaxDirents]; dirent 452 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc 0, root->GetDents(0, &dirents[0], sizeof(dirent) * 3 + 2, &bytes_read)); dirent 455 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc size_t num_dirents = bytes_read / sizeof(dirent); dirent 457 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent) * num_dirents, bytes_read); dirent 461 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent), dirents[i].d_off); dirent 462 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent), dirents[i].d_reclen); dirent 479 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc size_t num_dirents = bytes_read / sizeof(dirent); dirent 481 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent) * num_dirents, bytes_read); dirent 485 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent), dirents[i].d_off); dirent 486 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(sizeof(dirent), dirents[i].d_reclen); dirent 113 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc struct dirent d; dirent 236 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc struct dirent d[kMaxDirents]; dirent 240 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc size_t num_dirents = result_bytes / sizeof(dirent); dirent 242 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(sizeof(dirent) * num_dirents, result_bytes); dirent 247 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(sizeof(dirent), d[i].d_off); dirent 248 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(sizeof(dirent), d[i].d_reclen); dirent 26 native_client_sdk/src/tests/nacl_io_test/mock_node.h MOCK_METHOD4(GetDents, Error(size_t, struct dirent*, size_t, int*)); dirent 37 net/disk_cache/simple/simple_index_file_posix.cc dirent entry, *result; dirent 97 net/tools/flip_server/mem_cache.cc for (struct dirent* dir_data = readdir(current_dir); dir_data != NULL; dirent 202 sandbox/linux/services/credentials.cc struct dirent e; dirent 203 sandbox/linux/services/credentials.cc struct dirent* de; dirent 73 sandbox/linux/suid/linux_util.c struct dirent* dent; dirent 349 third_party/leveldatabase/env_chromium_stdio.cc struct dirent dent_buf; dirent 350 third_party/leveldatabase/env_chromium_stdio.cc struct dirent* dent; dirent 227 third_party/libusb/src/libusb/os/linux_usbfs.c static int _is_usbdev_entry(struct dirent *entry, int *bus_p, int *dev_p) dirent 245 third_party/libusb/src/libusb/os/linux_usbfs.c struct dirent *entry; dirent 280 third_party/libusb/src/libusb/os/linux_usbfs.c struct dirent *entry; dirent 1117 third_party/libusb/src/libusb/os/linux_usbfs.c struct dirent *entry; dirent 1156 third_party/libusb/src/libusb/os/linux_usbfs.c struct dirent *entry; dirent 1218 third_party/libusb/src/libusb/os/linux_usbfs.c struct dirent *entry; dirent 159 third_party/npapi/npspy/extern/nspr/md/_win16.h struct dirent *dir; dirent 157 third_party/protobuf/src/google/protobuf/testing/file.cc struct dirent* entry = readdir(dir); dirent 98 third_party/talloc/libreplace/repdir_getdents.c struct dirent *readdir(DIR *dir) dirent 101 third_party/talloc/libreplace/repdir_getdents.c struct dirent *de; dirent 111 third_party/talloc/libreplace/repdir_getdents.c de = (struct dirent *)&d->buf[d->ofs]; dirent 100 third_party/talloc/libreplace/repdir_getdirentries.c struct dirent *readdir(DIR *dir) dirent 103 third_party/talloc/libreplace/repdir_getdirentries.c struct dirent *de; dirent 114 third_party/talloc/libreplace/repdir_getdirentries.c de = (struct dirent *)&d->buf[d->ofs]; dirent 30 third_party/talloc/libreplace/system/dir.h # define NAMLEN(dirent) strlen((dirent)->d_name) dirent 33 third_party/talloc/libreplace/system/dir.h # define NAMLEN(dirent) (dirent)->d_namlen dirent 64 third_party/talloc/libreplace/test/os2_delete.c struct dirent *de; dirent 97 third_party/talloc/libreplace/test/os2_delete.c struct dirent *de; dirent 96 tools/android/ps_ext/ps_ext.c struct dirent *de;