Lines Matching refs:mp

69  * mp -	uses the following members:
79 * mp->msgfile - pathname to the message file is stored
82 * mp->msgfile is returned
85 mk_msgfile(struct msg_pack *mp)
93 gprintf(0, "*************** mk_msgfile(0x%p)\n", (void *)mp);
94 printmp(mp, 1);
97 p = mp->msgfile;
98 q = mp->binding;
101 cblen = (uint32_t)(p - mp->msgfile);
115 loclen = strlen(mp->locale);
116 catstr = category_name[mp->category];
117 catlen = (uint32_t)category_name_len[mp->category];
124 mp->domain_len + MSGFILESUFFIXLEN;
128 q = mp->locale;
135 q = mp->domain;
144 gprintf(0, "mp->msgfile: \"%s\"\n", mp->msgfile);
147 return (mp->msgfile);
154 * mp - may use the following members:
167 check_cache(struct msg_pack *mp)
173 gprintf(0, "*************** check_cache(0x%p)\n", mp);
174 printmp(mp, 1);
179 cur_msg->hashid == mp->hash_domain &&
180 strcmp(cur_msg->path, mp->msgfile) == 0) {
196 mnp->hashid, mp->hash_domain);
199 if (mnp->hashid == mp->hash_domain &&
200 strcmp(mnp->path, mp->msgfile) == 0) {
416 printmp(struct msg_pack *mp, int level)
418 gprintf(level, "=== mp ===\n");
420 mp->msgid1 ? mp->msgid1 : "(null)");
422 mp->msgid2 ? mp->msgid2 : "(null)");
424 mp->msgfile ? mp->msgfile : "(null)");
426 mp->domain ? mp->domain : "(null)");
428 mp->binding ? mp->binding : "(null)");
430 mp->locale ? mp->locale : "(null)");
432 mp->language ? mp->language : "(null)");
433 gprintf(level, " addr: 0x%p\n", mp->addr);
434 gprintf(level, " fsz: %d\n", mp->fsz);
435 gprintf(level, " hash_domain: %d\n", mp->hash_domain);
436 gprintf(level, " domain_len: %d\n", mp->domain_len);
437 gprintf(level, " n: %d\n", mp->n);
439 category_name[mp->category]);
440 gprintf(level, " plural: %d\n", mp->plural);
441 gprintf(level, " nlsp: %d\n", mp->nlsp);
442 gprintf(level, " trusted: %d\n", mp->trusted);
443 gprintf(level, " status: %d\n", mp->status);