Home
last modified time | relevance | path

Searched refs:_nls_cat_hdr (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/lib/libc/nls/
Dcatgets.c41 struct _nls_cat_hdr *cat_hdr; in catgets()
51 cat_hdr = (struct _nls_cat_hdr *) catd->__data; in catgets()
53 + sizeof(struct _nls_cat_hdr)); in catgets()
64 + sizeof(struct _nls_cat_hdr) in catgets()
74 + sizeof(struct _nls_cat_hdr) in catgets()
Dcatopen.c181 if (st.st_size > INT_MAX || st.st_size < sizeof (struct _nls_cat_hdr)) { in load_msgcat()
193 if (ntohl(((struct _nls_cat_hdr *) data)->__magic) != _NLS_MAGIC) in load_msgcat()
217 struct _nls_cat_hdr *cat; in verify_msgcat()
224 cat = (struct _nls_cat_hdr *) catd->__data; in verify_msgcat()
/openbsd/src/usr.bin/gencat/
Dgencat.c501 struct _nls_cat_hdr *cat_hdr; in MCWriteCat()
533 msgcat_size = sizeof(struct _nls_cat_hdr) in MCWriteCat()
542 cat_hdr = (struct _nls_cat_hdr *) msgcat; in MCWriteCat()
545 cat_hdr->__mem = htonl(msgcat_size - sizeof(struct _nls_cat_hdr)); in MCWriteCat()
554 sizeof(struct _nls_cat_hdr)); in MCWriteCat()
556 sizeof(struct _nls_cat_hdr) + in MCWriteCat()
559 sizeof(struct _nls_cat_hdr) + in MCWriteCat()
/openbsd/src/include/
Dnl_types.h53 struct _nls_cat_hdr { struct