Home
last modified time | relevance | path

Searched refs:fd_stat (Results 1 – 2 of 2) sorted by relevance

/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp202 struct stat fd_stat; in LoadPath() local
203 if (fstat(fd, &fd_stat) < 0) { in LoadPath()
208 if ((fd_stat.st_uid != 0) || (fd_stat.st_gid != 0) || in LoadPath()
209 ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) || in LoadPath()
210 (fd_stat.st_size < static_cast<off_t>(sizeof(PropertyInfoArea)))) { in LoadPath()
215 auto mmap_size = fd_stat.st_size; in LoadPath()
/system/logging/logd/
DReplayMessages.cpp425 struct stat fd_stat; in main() local
426 if (fstat(recorded_messages_fd, &fd_stat) != 0) { in main()
431 static_cast<size_t>(fd_stat.st_size), PROT_READ); in main()