Home
last modified time | relevance | path

Searched refs:stbuf (Results 1 – 3 of 3) 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/update_engine/common/
Dutils.cc410 struct stat stbuf; in FileSize() local
411 int rc = fstat(fd, &stbuf); in FileSize()
417 if (S_ISREG(stbuf.st_mode)) in FileSize()
418 return stbuf.st_size; in FileSize()
419 if (S_ISBLK(stbuf.st_mode)) in FileSize()
560 struct stat stbuf; in FileExists() local
561 return 0 == lstat(path, &stbuf); in FileExists()
565 struct stat stbuf; in IsSymlink() local
566 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()