Home
last modified time | relevance | path

Searched refs:ab (Results 1 – 3 of 3) sorted by relevance

/xnu-8792.41.9/bsd/vfs/
H A Dvfs_attrlist.c99 attrlist_pack_fixed(struct _attrlist_buf *ab, void *source, ssize_t count) in attrlist_pack_fixed() argument
120 fit = lmin(count, ab->allocated - (ab->fixedcursor - ab->base)); in attrlist_pack_fixed()
123 bcopy(source, ab->fixedcursor, fit); in attrlist_pack_fixed()
127 ab->fixedcursor += roundup(count, 4); in attrlist_pack_fixed()
139 attrlist_pack_variable2(struct _attrlist_buf *ab, const void *source, ssize_t count, in attrlist_pack_variable2() argument
151 ar.attr_dataoffset = (int32_t)(ab->varcursor - ab->fixedcursor); in attrlist_pack_variable2()
153 attrlist_pack_fixed(ab, &ar, sizeof(ar)); in attrlist_pack_variable2()
163 fit = lmin(count, ab->allocated - (ab->varcursor - ab->base)); in attrlist_pack_variable2()
166 bcopy(source, ab->varcursor, fit); in attrlist_pack_variable2()
168 ab->varcursor += fit; in attrlist_pack_variable2()
[all …]
/xnu-8792.41.9/iokit/Tests/
H A DTests.cpp884 OSSharedPtr<OSString> ab = OSString::withCString("abcdef", 2); in OSCollectionTest() local
885 assert(strcmp(ab->getCStringNoCopy(), "ab") == 0); in OSCollectionTest()
/xnu-8792.41.9/bsd/netinet/
H A Din_pcb.c4051 inp_get_activity_bitmap(struct inpcb *inp, activity_bitmap_t *ab) in inp_get_activity_bitmap() argument
4053 bcopy(&inp->inp_nw_activity, ab, sizeof(*ab)); in inp_get_activity_bitmap()