Home
last modified time | relevance | path

Searched refs:set_hdr (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/usr.bin/gencat/
H A Dgencat.c483 struct _nls_set_hdr *set_hdr; local
536 set_hdr = (struct _nls_set_hdr *)(void *)((char *)msgcat +
568 set_hdr->__setno = htonl(set->setId);
569 set_hdr->__nmsgs = htonl(nmsgs);
570 set_hdr->__index = htonl(msg_index);
572 set_hdr++;
/freebsd-14.2/lib/libc/nls/
H A Dmsgcat.c279 struct _nls_set_hdr *set_hdr; in catgets() local
289 set_hdr = (struct _nls_set_hdr *)(void *)((char *)catd->__data + in catgets()
297 r = set_id - ntohl((u_int32_t)set_hdr[i].__setno); in catgets()
305 l = ntohl((u_int32_t)set_hdr[i].__index); in catgets()
306 u = l + ntohl((u_int32_t)set_hdr[i].__nmsgs) - 1; in catgets()