Home
last modified time | relevance | path

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

/titanic_51/usr/src/cmd/srchtxt/
H A Dsrchtxt.c79 static char *msgfile; /* points to the argument immediately */ variable
119 msgfile = optarg; in main()
154 end = msgfile + strlen(msgfile) + 1; in main()
155 if (*msgfile == ',' || *(end - 2) == ',') in main()
157 while ((fname = strtok(msgfile, ",\0")) != NULL) { in main()
165 msgfile = msgfile + strlen(fname) + 1; in main()
169 if (end != msgfile) in main()
177 if (end == msgfile) in main()
[all...]
/titanic_51/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()
135 /* msgfile found */ in gettxt()
169 _DFLT_LOC_PATH "%s" MESSAGES "%s", dbc->loc, msgfile) >= in gettxt()
194 (void) strcpy(dbl->db_name, msgfile); in gettxt()
/titanic_51/usr/src/cmd/genmsg/
H A Dmain.c99 char *msgfile = NULL; in main() local
118 msgfile = optarg; in main()
209 if (IsActiveMode(AppendMode) && msgfile != NULL) { in main()
210 read_msgfile(msgfile); in main()
213 if (msgfile == NULL) { in main()
216 if ((msgfile = malloc(len)) == NULL) { in main()
220 (void) snprintf(msgfile, len, "%s%s", tmp, MSG_SUFFIX); in main()
363 write_msgfile(msgfile); in main()
/titanic_51/usr/src/cmd/exstr/
H A Dexstr.c259 char *msgfile; local
315 msgfile = repbufp;
316 if (strlen(msgfile) > (size_t)14 || *msgfile == '\0') {
319 "'%s'\n", msgfile);
403 "gettxt(\"%s:%d\", \"%s\")", msgfile, curmsgno,
407 "gettxt(\"%s:%d\", \"\")", msgfile, curmsgno);
/titanic_51/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.c1048 (void)Chown (printer->alert->msgfile, procuid, procgid); in exec()
1052 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec()
1059 (void)Chown (pwheel->alert->msgfile, procuid, procgid); in exec()
1063 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile); in exec()
1070 (void)Chown (form->alert->msgfile, procuid, procgid); in exec()
1074 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.c481 (void)Unlink (pas->msgfile); in dowait()
H A Ddisp2.c117 Unlink (pps->alert->msgfile); in s_load_printer()
/titanic_51/usr/src/lib/libc/port/i18n/
H A Dgettext_util.c70 * msgfile - buffer to store the pathname to the message file
79 * mp->msgfile - pathname to the message file is stored
82 * mp->msgfile is returned
97 p = mp->msgfile; in mk_msgfile()
101 cblen = (uint32_t)(p - mp->msgfile); in mk_msgfile()
119 * totallen is the length of the msgfile in mk_msgfile()
144 gprintf(0, "mp->msgfile: \"%s\"\n", mp->msgfile); in mk_msgfile()
147 return (mp->msgfile); in mk_msgfile()
155 * msgfile
[all...]
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()
234 gprintf(0, " msgfile: \"%s\"\n", 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()
[all...]
H A Dgettext.h147 char *msgfile; /* msg catalog file to open */ member
H A Dgettext_gnu.c326 *mp->msgfile = '\0'; in handle_lang()
/titanic_51/usr/src/cmd/ast/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()
/titanic_51/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsggen.c108 "\ncatfile [ msgfile ]\n"
220 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()
/titanic_51/usr/src/cmd/msgfmt/
H A Dmsgfmt.c194 static char msgfile[MAXPATHLEN]; in read_psffm() local
516 (void) strcpy(msgfile, gcurrent_domain); in read_psffm()
517 (void) strcat(msgfile, ".mo"); in read_psffm()
/titanic_51/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.tab1600 |name match *.msg Outlook Item application/x-ms-msgfile