Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dfile_descriptor.cc73 struct stat stbuf; in BlockDevSize() local
74 if (fstat(fd_, &stbuf) < 0) { in BlockDevSize()
78 if (!S_ISBLK(stbuf.st_mode)) in BlockDevSize()
/system/apex/apexd/
Dapexd_loop.cpp155 struct statfs stbuf; in createLoopDevice() local
158 if (statfs(target.c_str(), &stbuf) != 0 || in createLoopDevice()
159 stbuf.f_type != EROFS_SUPER_MAGIC_V1) { in createLoopDevice()
/system/update_engine/common/
Dutils.cc368 struct stat stbuf; in FileSize() local
369 int rc = fstat(fd, &stbuf); in FileSize()
375 if (S_ISREG(stbuf.st_mode)) in FileSize()
376 return stbuf.st_size; in FileSize()
377 if (S_ISBLK(stbuf.st_mode)) in FileSize()
483 struct stat stbuf; in FileExists() local
484 return 0 == lstat(path, &stbuf); in FileExists()
488 struct stat stbuf; in IsSymlink() local
489 return lstat(path, &stbuf) == 0 && S_ISLNK(stbuf.st_mode) != 0; in IsSymlink()
/system/update_engine/
Domaha_request_params.cc103 struct stat stbuf; in Init() local
105 (stat((root_ + "/.nodelta").c_str(), &stbuf) < 0) && (errno == ENOENT); in Init()