Lines Matching refs:msgcat
557 void *msgcat; /* message catalog data */ in MCReadCat() local
591 msgcat = xmalloc(cat_hdr.__mem); in MCReadCat()
593 n = read(fd, msgcat, cat_hdr.__mem); in MCReadCat()
601 set_hdr = (struct _nls_set_hdr *)msgcat; in MCReadCat()
602 msg_hdr = (struct _nls_msg_hdr *)((char *)msgcat + in MCReadCat()
604 strings = (char *)msgcat + cat_hdr.__msg_txt_offset; in MCReadCat()
631 ((char *)msgcat + cat_hdr.__mem))) in MCReadCat()
638 free(msgcat); in MCReadCat()
657 void *msgcat; /* message catalog data */ in MCWriteCat() local
695 msgcat = xmalloc(msgcat_size); in MCWriteCat()
696 memset(msgcat, '\0', msgcat_size); in MCWriteCat()
699 cat_hdr = (struct _nls_cat_hdr *) msgcat; in MCWriteCat()
710 set_hdr = (struct _nls_set_hdr *) ((char *) msgcat + in MCWriteCat()
712 msg_hdr = (struct _nls_msg_hdr *) ((char *) msgcat + in MCWriteCat()
715 strings = (char *) msgcat + in MCWriteCat()
748 write(fd, msgcat, msgcat_size); in MCWriteCat()