Lines Matching refs:msg_hdr
560 struct _nls_msg_hdr *msg_hdr; in MCReadCat() local
602 msg_hdr = (struct _nls_msg_hdr *)((char *)msgcat + in MCReadCat()
623 for (m = 0; m < set_hdr->__nmsgs; m++, msg_hdr++) { in MCReadCat()
624 msg_hdr->__msgno = ntohl(msg_hdr->__msgno); in MCReadCat()
625 msg_hdr->__offset = ntohl(msg_hdr->__offset); in MCReadCat()
626 if (msg_hdr->__msgno < msgno) in MCReadCat()
628 CORRUPT, msg_hdr->__msgno); in MCReadCat()
629 if ((msg_hdr->__offset < 0) || in MCReadCat()
630 ((strings + msg_hdr->__offset) > in MCReadCat()
634 msgno = msg_hdr->__msgno; in MCReadCat()
635 MCAddMsg(msgno, strings + msg_hdr->__offset); in MCReadCat()
660 struct _nls_msg_hdr *msg_hdr; in MCWriteCat() local
712 msg_hdr = (struct _nls_msg_hdr *) ((char *) msgcat + in MCWriteCat()
728 msg_hdr->__msgno = htonl(msg->msgId); in MCWriteCat()
729 msg_hdr->__msglen = htonl(msg_len); in MCWriteCat()
730 msg_hdr->__offset = htonl(msg_offset); in MCWriteCat()
737 msg_hdr++; in MCWriteCat()