Lines Matching refs:sb
491 zend_stat_t sb = {0}; in phar_file_stat() local
542 sb.st_size = 0; in phar_file_stat()
543 sb.st_mode = 0777; in phar_file_stat()
544 sb.st_mode |= S_IFDIR; /* regular directory */ in phar_file_stat()
545 sb.st_mtime = phar->max_timestamp; in phar_file_stat()
546 sb.st_atime = phar->max_timestamp; in phar_file_stat()
547 sb.st_ctime = phar->max_timestamp; in phar_file_stat()
582 sb.st_size = 0; in phar_file_stat()
583 sb.st_mode = 0777; in phar_file_stat()
584 sb.st_mode |= S_IFDIR; /* regular directory */ in phar_file_stat()
585 sb.st_mtime = phar->max_timestamp; in phar_file_stat()
586 sb.st_atime = phar->max_timestamp; in phar_file_stat()
587 sb.st_ctime = phar->max_timestamp; in phar_file_stat()
603 sb.st_size = data->uncompressed_filesize; in phar_file_stat()
604 sb.st_mode = data->flags & PHAR_ENT_PERM_MASK; in phar_file_stat()
606 sb.st_mode |= S_IFREG|S_IFLNK; /* regular file */ in phar_file_stat()
608 sb.st_mode |= S_IFREG; /* regular file */ in phar_file_stat()
611 sb.st_mtime = data->timestamp; in phar_file_stat()
612 sb.st_atime = data->timestamp; in phar_file_stat()
613 sb.st_ctime = data->timestamp; in phar_file_stat()
615 sb.st_size = 0; in phar_file_stat()
616 sb.st_mode = data->flags & PHAR_ENT_PERM_MASK; in phar_file_stat()
617 sb.st_mode |= S_IFDIR; /* regular directory */ in phar_file_stat()
619 sb.st_mode |= S_IFLNK; in phar_file_stat()
622 sb.st_mtime = data->timestamp; in phar_file_stat()
623 sb.st_atime = data->timestamp; in phar_file_stat()
624 sb.st_ctime = data->timestamp; in phar_file_stat()
629 sb.st_mode = (sb.st_mode & 0555) | (sb.st_mode & ~0777); in phar_file_stat()
632 sb.st_nlink = 1; in phar_file_stat()
633 sb.st_rdev = -1; in phar_file_stat()
635 sb.st_dev = 0xc; in phar_file_stat()
638 sb.st_ino = data->inode; in phar_file_stat()
641 sb.st_blksize = -1; in phar_file_stat()
642 sb.st_blocks = -1; in phar_file_stat()
644 phar_fancy_stat(&sb, type, return_value); in phar_file_stat()