Home
last modified time | relevance | path

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

/freebsd-12-stable/usr.bin/gencat/
Dgencat.c485 struct _nls_set_hdr *set_hdr; local
538 set_hdr = (struct _nls_set_hdr *)(void *)((char *)msgcat +
570 set_hdr->__setno = htonl(set->setId);
571 set_hdr->__nmsgs = htonl(nmsgs);
572 set_hdr->__index = htonl(msg_index);
574 set_hdr++;
/freebsd-12-stable/lib/libc/nls/
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()