Home
last modified time | relevance | path

Searched refs:msgfile (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/srchtxt/
H A Dsrchtxt.c77 static char *msgfile; /* points to the argument immediately */ variable
117 msgfile = optarg; in main()
152 end = msgfile + strlen(msgfile) + 1; in main()
153 if (*msgfile == ',' || *(end - 2) == ',') in main()
155 while ((fname = strtok(msgfile, ",\0")) != NULL) { in main()
163 msgfile = msgfile + strlen(fname) + 1; in main()
167 if (end != msgfile) in main()
175 if (end == msgfile) in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgettxt.c83 char msgfile[DB_NAME_LEN]; /* name of static shared library */ in gettxt() local
104 (void) strncpy(msgfile, msg_id, name_len); in gettxt()
105 msgfile[name_len] = '\0'; in gettxt()
115 (void) strcpy(msgfile, cur_cat); in gettxt()
134 if (strcmp(msgfile, dbl->db_name) == 0) { in gettxt()
169 _DFLT_LOC_PATH "%s" MESSAGES "%s", dbc->loc, msgfile) >= in gettxt()
194 (void) strcpy(dbl->db_name, msgfile); in gettxt()
/illumos-gate/usr/src/cmd/genmsg/
H A Dmain.c97 char *msgfile = NULL; in main() local
116 msgfile = optarg; in main()
207 if (IsActiveMode(AppendMode) && msgfile != NULL) { in main()
208 read_msgfile(msgfile); in main()
211 if (msgfile == NULL) { in main()
214 if ((msgfile = malloc(len)) == NULL) { in main()
218 (void) snprintf(msgfile, len, "%s%s", tmp, MSG_SUFFIX); in main()
361 write_msgfile(msgfile); in main()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dalerts.c86 pformat(pr->alert->msgfile, text, pr, rp); in alert()
96 Unlink(pr->alert->msgfile); in alert()
103 pwformat(pp->alert->msgfile, pp); in alert()
111 Unlink(pp->alert->msgfile); in alert()
126 formPath = fp->alert->msgfile; in alert()
140 Unlink(fp->alert->msgfile); in alert()
154 if (Access(pr->alert->msgfile, 0) == 0) { in pformat()
288 Unlink(ap->msgfile); in cancel_alert()
H A Dexec.c942 (void)Chown (printer->alert->msgfile, procuid, procgid); in exec()
946 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec()
953 (void)Chown (pwheel->alert->msgfile, procuid, procgid); in exec()
957 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec()
964 (void)Chown (form->alert->msgfile, procuid, procgid); in exec()
968 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec()
H A Dfncs.c161 if (ap->msgfile != NULL) in free_alert()
162 free(ap->msgfile); in free_alert()
178 result->msgfile = makepath(Lp_Temp, buf, (char *)0); in new_alert()
179 (void) Unlink(result->msgfile); in new_alert()
H A Dnodes.h44 char *msgfile; member
H A Ddowait.c479 (void)Unlink (pas->msgfile); in dowait()
H A Ddisp2.c117 Unlink (pps->alert->msgfile); in s_load_printer()
/illumos-gate/usr/src/cmd/exstr/
H A Dexstr.c247 char *msgfile; in replace() local
303 msgfile = repbufp; in replace()
304 if (strlen(msgfile) > (size_t)14 || *msgfile == '\0') { in replace()
307 "'%s'\n", msgfile); in replace()
391 "gettxt(\"%s:%d\", \"%s\")", msgfile, curmsgno, in replace()
395 "gettxt(\"%s:%d\", \"\")", msgfile, curmsgno); in replace()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_util.c97 p = mp->msgfile; in mk_msgfile()
101 cblen = (uint32_t)(p - mp->msgfile); in mk_msgfile()
144 gprintf(0, "mp->msgfile: \"%s\"\n", mp->msgfile); in mk_msgfile()
147 return (mp->msgfile); in mk_msgfile()
180 strcmp(cur_msg->path, mp->msgfile) == 0) { in check_cache()
200 strcmp(mnp->path, mp->msgfile) == 0) { in check_cache()
424 mp->msgfile ? mp->msgfile : "(null)"); in printmp()
H A Dgettext_real.c61 char msgfile[MAXPATHLEN]; /* 1024 */ in _real_gettext_u() local
171 mp->msgfile = msgfile; in _real_gettext_u()
228 (void) memcpy(mp->msgfile, cb, cblen); in _real_gettext_u()
229 *(mp->msgfile + cblen) = '\0'; in _real_gettext_u()
235 msgfile ? msgfile : "(null)"); in _real_gettext_u()
269 *mp->msgfile = '\0'; in _real_gettext_u()
1071 mnp->path = strdup(mp->msgfile); in handle_mo()
1078 fd = nls_safe_open(mp->msgfile, &statbuf, &mp->trusted, !mp->nlsp); in handle_mo()
H A Dgettext.h147 char *msgfile; /* msg catalog file to open */ member
H A Dgettext_gnu.c320 *mp->msgfile = '\0'; in handle_lang()
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsggen.c220 char* msgfile; in main() local
350 else if (!(msgfile = *argv++) || *argv) in main()
359 if (!(mp = sfopen(NiL, msgfile, "r"))) in main()
360 error(ERROR_SYSTEM|3, "%s: cannot read message file", msgfile); in main()
374 error_info.file = msgfile; in main()
/illumos-gate/usr/src/cmd/msgfmt/
H A Dmsgfmt.c192 static char msgfile[MAXPATHLEN]; in read_psffm() local
514 (void) strcpy(msgfile, gcurrent_domain); in read_psffm()
515 (void) strcat(msgfile, ".mo"); in read_psffm()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.tab1600 |name match *.msg Outlook Item application/x-ms-msgfile