Lines Matching refs:ip
540 set(char *t, NODE *ip)
553 ip->flags |= type = parsekey(kw, &value);
563 ip->cksum = strtoul(val, &ep, 10);
568 ip->st_rdev = parsedev(val);
572 ip->st_flags = 0;
573 else if (string_to_flags(&val, &ip->st_flags, NULL)
578 ip->st_gid = (gid_t)strtoul(val, &ep, 10);
587 ip->st_gid = gid;
594 if ((ip->md5digest = strdup(md)) == NULL)
601 ip->st_mode = getmode(m, 0);
605 ip->st_nlink = (nlink_t)strtoul(val, &ep, 10);
614 if ((ip->rmd160digest = strdup(md)) == NULL)
622 if ((ip->sha1digest = strdup(md)) == NULL)
626 ip->st_size = (off_t)strtoll(val, &ep, 10);
631 if ((ip->slink = strdup(val)) == NULL)
633 if (strunvis(ip->slink, val) == -1)
638 if ((ip->tags = malloc(len)) == NULL)
640 snprintf(ip->tags, len, ",%s,", val);
643 ip->st_mtimespec.tv_sec =
648 ip->st_mtimespec.tv_nsec = strtol(val, &ep, 10);
653 ip->type = parsetype(val);
656 ip->st_uid = (uid_t)strtoul(val, &ep, 10);
665 ip->st_uid = uid;
672 if ((ip->sha256digest = strdup(md)) == NULL)
680 if ((ip->sha384digest = strdup(md)) == NULL)
688 if ((ip->sha512digest = strdup(md)) == NULL)
701 unset(char *t, NODE *ip)
708 ip->flags &= ~parsekey(p, NULL);