Lines Matching defs:count
73 * Pack (count) bytes from (source) into (buf).
76 attrlist_pack_fixed(struct _attrlist_buf *ab, void *source, ssize_t count)
81 fit = imin(count, ab->allocated - (ab->fixedcursor - ab->base));
86 ab->fixedcursor += roundup(count, 4);
89 attrlist_pack_variable2(struct _attrlist_buf *ab, const void *source, ssize_t count, const void *ext, ssize_t extcount)
96 ar.attr_length = count + extcount;
100 fit = imin(count, ab->allocated - (ab->varcursor - ab->base));
116 attrlist_pack_variable(struct _attrlist_buf *ab, const void *source, ssize_t count)
118 attrlist_pack_variable2(ab, source, count, NULL, 0);
121 attrlist_pack_string(struct _attrlist_buf *ab, const char *source, ssize_t count)
128 * Supplied count is character count of string text, excluding trailing nul
132 count = 0;
133 } else if (count == 0) {
134 count = strlen(source);
143 ar.attr_length = count + 1;
148 fit = imin(count, space);
156 ab->varcursor += roundup(count + 1, 4);
292 *sizep = sizeof(uint32_t); /* length count */
437 *sizep = sizeof(uint32_t); /* length count */
1079 varsize = 0; /* length count */
1410 if (al.dirattr & ATTR_DIR_LINKCOUNT) /* full count of entries */