Home
last modified time | relevance | path

Searched refs:stbuf (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_consumer/
Dfile_descriptor.cc80 struct stat stbuf; in BlockDevSize() local
81 if (fstat(fd_, &stbuf) < 0) { in BlockDevSize()
85 if (!S_ISBLK(stbuf.st_mode)) in BlockDevSize()
/system/apex/apexd/
Dapexd_loop.cpp192 struct statfs stbuf; in ConfigureLoopDevice() local
195 if (statfs(target.c_str(), &stbuf) != 0 || in ConfigureLoopDevice()
196 (stbuf.f_type != EROFS_SUPER_MAGIC_V1 && in ConfigureLoopDevice()
197 stbuf.f_type != SQUASHFS_MAGIC && in ConfigureLoopDevice()
198 stbuf.f_type != OVERLAYFS_SUPER_MAGIC)) { in ConfigureLoopDevice()
/system/update_engine/common/
Dutils.cc372 struct stat stbuf; in FileSize() local
373 int rc = fstat(fd, &stbuf); in FileSize()
379 if (S_ISREG(stbuf.st_mode)) in FileSize()
380 return stbuf.st_size; in FileSize()
381 if (S_ISBLK(stbuf.st_mode)) in FileSize()
487 struct stat stbuf; in FileExists() local
488 return 0 == lstat(path, &stbuf); in FileExists()
492 struct stat stbuf; in IsSymlink() local
493 return lstat(path, &stbuf) == 0 && S_ISLNK(stbuf.st_mode) != 0; in IsSymlink()
497 struct stat stbuf; in IsRegFile() local
[all …]
/system/update_engine/cros/
Domaha_request_params.cc94 struct stat stbuf; in Init() local
96 (stat((root_ + "/.nodelta").c_str(), &stbuf) < 0) && (errno == ENOENT); in Init()