Searched refs:itemsize (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/ntp/ntpdc/ |
H A D | ntpdc_ops.c | 308 size_t itemsize, in checkitemsize() argument 312 if (itemsize != expected) { in checkitemsize() 315 (u_long)itemsize, (u_long)expected); in checkitemsize() 357 size_t itemsize; in peerlist() local 362 &itemsize, (void *)&plist, 0, in peerlist() 376 if (!checkitemsize(itemsize, sizeof(struct info_peer_list)) && in peerlist() 377 !checkitemsize(itemsize, v4sizeof(struct info_peer_list))) in peerlist() 441 size_t itemsize; in dopeers() local 449 &items, &itemsize, (void *)&plist, 0, in dopeers() 463 if (!checkitemsize(itemsize, sizeof(struct info_peer_summary)) && in dopeers() [all …]
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBDataExtensions.i | 22 …y * self.item_size # SBData uses byte-based indexes, but we want to use itemsize-based indexes here 74 def _make_helper(self, sbdata, getfunc, itemsize): 75 return self.read_data_helper(sbdata, getfunc, itemsize)
|
/freebsd/sbin/ipfw/ |
H A D | tables.c | 732 uint16_t itemsize; member 750 if (d->itemsize == d->itemsize6) in table_show_tainfo() 752 d->size, d->count, d->itemsize); in table_show_tainfo() 757 d->itemsize, d->itemsize6); in table_show_tainfo() 761 if (d->itemsize == d->itemsize6) in table_show_tainfo() 763 d->count, d->itemsize); in table_show_tainfo() 767 d->count, d->itemsize, d->itemsize6); in table_show_tainfo() 832 d.itemsize = tainfo->itemsize4; in table_show_info() 836 d.itemsize6 = d.itemsize; in table_show_info() 850 d.itemsize = tainfo->itemsize6; in table_show_info() [all …]
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_request.h | 234 #define MBZ_ITEMSIZE(itemsize) (htons((u_short)(itemsize))) argument
|
/freebsd/contrib/tzcode/ |
H A D | zic.c | 490 size_product(ptrdiff_t nitems, ptrdiff_t itemsize) in size_product() argument 494 if (!ckd_mul(&product, nitems, itemsize) && product <= INDEX_MAX) in size_product() 497 ptrdiff_t nitems_max = INDEX_MAX / itemsize; in size_product() 499 return nitems * itemsize; in size_product() 547 grow_nitems_alloc(ptrdiff_t *nitems_alloc, ptrdiff_t itemsize) in grow_nitems_alloc() argument 553 && !ckd_mul(&product, *nitems_alloc, itemsize) && product <= INDEX_MAX) in grow_nitems_alloc() 556 if (*nitems_alloc <= ((INDEX_MAX - 1) / 3 * 2) / itemsize) { in grow_nitems_alloc() 558 return *nitems_alloc * itemsize; in grow_nitems_alloc() 565 growalloc(void *ptr, ptrdiff_t itemsize, ptrdiff_t nitems, in growalloc() argument 570 : erealloc(ptr, grow_nitems_alloc(nitems_alloc, itemsize))); in growalloc() [all...] |
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_request.c | 221 static int itemsize; variable 290 * Fill in the implementation, request and itemsize fields in prepare_pkt() 304 itemsize = structsize; in prepare_pkt() 336 memcpy(&rpkt.u.data[0], exbuf, (unsigned)itemsize); in more_pkt() 343 databytes += itemsize; in more_pkt() 345 if (databytes + itemsize <= RESP_DATA_SIZE) { in more_pkt() 556 * For 16-octet digests, regardless of itemsize and in process_private()
|