Lines Matching refs:htons
35 if (fflags & htons(FINDERINFO_INVISIBLE))
36 *attr |= htons(ATTRBIT_INVISIBLE);
38 *attr &= htons(~ATTRBIT_INVISIBLE);
44 if (fflags & htons(FINDERINFO_ISHARED))
45 *attr |= htons(ATTRBIT_MULTIUSER);
47 *attr &= htons(~ATTRBIT_MULTIUSER);
55 *attr |= htons(ad->ad_open_forks);
66 u_int16_t attr = attribute & ~htons(ATTRBIT_DOPEN | ATTRBIT_ROPEN);
86 if (attr & htons(ATTRBIT_INVISIBLE))
87 fflags |= htons(FINDERINFO_INVISIBLE);
89 fflags &= htons(~FINDERINFO_INVISIBLE);
92 if (attr & htons(ATTRBIT_MULTIUSER)) {
94 fflags |= htons(FINDERINFO_ISHARED);
96 fflags &= htons(~FINDERINFO_ISHARED);