/titanic_50/usr/src/cmd/srchtxt/ |
H A D | srchtxt.c | 79 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()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | gettxt.c | 83 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()
|
/titanic_50/usr/src/cmd/genmsg/ |
H A D | main.c | 99 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_50/usr/src/cmd/exstr/ |
H A D | exstr.c | 259 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_50/usr/src/cmd/lp/cmd/lpsched/ |
H A D | alerts.c | 86 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 D | exec.c | 1048 (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 D | fncs.c | 161 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 D | nodes.h | 44 char *msgfile; member
|
H A D | dowait.c | 481 (void)Unlink (pas->msgfile); in dowait()
|
H A D | disp2.c | 117 Unlink (pps->alert->msgfile); in s_load_printer()
|
/titanic_50/usr/src/lib/libc/port/i18n/ |
H A D | gettext_util.c | 97 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 D | gettext_real.c | 61 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 D | gettext.h | 147 char *msgfile; /* msg catalog file to open */ member
|
H A D | gettext_gnu.c | 326 *mp->msgfile = '\0'; in handle_lang()
|
/titanic_50/usr/src/cmd/ast/msgcc/ |
H A D | msggen.c | 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_50/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 194 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()
|