Home
last modified time | relevance | path

Searched refs:NOSTR (Results 1 – 25 of 67) sorted by relevance

123

/titanic_41/usr/src/cmd/mailx/
H A Dtty.c132 hp->h_to = addto(NOSTR, readtty("To: ", hp->h_to)); in grabh()
133 if (hp->h_to != NOSTR) in grabh()
138 if (hp->h_subject != NOSTR) in grabh()
142 hp->h_cc = addto(NOSTR, readtty("Cc: ", hp->h_cc)); in grabh()
143 if (hp->h_cc != NOSTR) in grabh()
147 hp->h_bcc = addto(NOSTR, readtty("Bcc: ", hp->h_bcc)); in grabh()
148 if (hp->h_bcc != NOSTR) in grabh()
153 if (hp->h_subject != NOSTR) in grabh()
189 if (src != NOSTR && (int)strlen(src) > LINESIZE - 2) { in readtty()
196 cp2 = src==NOSTR ? "" : src; in readtty()
[all …]
H A Dcmd3.c93 if ((Shell = value("SHELL")) == NOSTR || *Shell=='\0') in shell1()
134 if ((Shell = value("SHELL")) == NOSTR || *Shell=='\0') in dosh()
170 int bangit = (value("bang")!=NOSTR); in bangexp()
246 if ((cp = expand(cp)) == NOSTR) in schdir()
248 if (editfile != NOSTR && (*editfile != '/' || mailname[0] != '/')) { in schdir()
262 if (editfile != NOSTR && *editfile != '/') { in schdir()
325 if (cp != NOSTR) { in resp1()
352 if (cp == NOSTR) { in resp1()
360 if (head.h_subject == NOSTR) in resp1()
363 head.h_cc = NOSTR; in resp1()
[all …]
H A Dsend.c305 head.h_subject = head.h_cc = head.h_bcc = head.h_defopt = NOSTR; in mail()
308 mail1(&head, Fflag, NOSTR); in mail()
315 if (value("flipm") != NOSTR) in sendm()
323 if (value("flipm") != NOSTR) in Sendm()
337 head.h_to = NOSTR; in tmail()
338 head.h_subject = head.h_cc = head.h_bcc = head.h_defopt = NOSTR; in tmail()
341 mail1(&head, Fflag, NOSTR); in tmail()
355 head.h_to = NOSTR; in sendmail()
357 head.h_to = addto(NOSTR, str); in sendmail()
358 head.h_subject = head.h_cc = head.h_bcc = head.h_defopt = NOSTR; in sendmail()
[all …]
H A Dcmd4.c76 if ((cmd = stripquotes(snarf(str, &f, 0))) == NOSTR) { in dopipe()
81 if ( (cmd = value("cmd")) == NOSTR) { in dopipe()
116 if ((Shell = value("SHELL")) == NOSTR || *Shell=='\0') in dopipe()
135 page = (value("page")!=NOSTR); in dopipe()
143 (value("alwaysignore") != NOSTR || in dopipe()
144 value("pipeignore") != NOSTR) in dopipe()
202 if ((file = snarf(str, &f, 1)) == NOSTR) in loadmsg()
220 if ((file = expand(file)) == NOSTR) in loadmsg()
275 if ((fld = stripquotes(snarf(str, &f, 0))) == NOSTR) { in field()
311 if (str == NOSTR) { in stripquotes()
[all …]
H A Doptim.c131 if ((cp = value("conv"))==NOSTR || strcmp(cp, "optimize") != 0) in netmap()
201 ((cp = value("conv"))==NOSTR || strcmp(cp, "internet"))) in unuucp()
206 if (np == NOSTR) in unuucp()
210 if (hp == NOSTR) in unuucp()
215 if (cp == NOSTR) in unuucp()
283 return(NOSTR); in netname()
306 if (cp == NOSTR) in arpafix()
308 if (cp == NOSTR) { in arpafix()
333 if (cp == NOSTR) in arpafix()
355 if (cp == NOSTR) in makeremote()
[all …]
H A Dmain.c136 ef = NOSTR; in main()
253 cwd = getcwd(NOSTR, PATHSIZE); in main()
332 if (newsflg && ef==NOSTR) { in main()
336 if (ef != NOSTR && argp != -1) { in main()
389 if (ef != NOSTR) { in main()
390 if (ef == NOSTR || *ef == '\0' || *ef == '+') { in main()
397 if (cwd == NOSTR) in main()
398 cwd = getcwd(NOSTR, PATHSIZE); in main()
412 if (msgCount > 0 && !noheader && value("header") != NOSTR) { in main()
H A Dcollect.c167 if (hp->h_subject == NOSTR) { in collect()
169 sflag = NOSTR; in collect()
171 if (hp->h_cc == NOSTR) { in collect()
173 cflag = NOSTR; in collect()
175 if (hp->h_bcc == NOSTR) { in collect()
177 bflag = NOSTR; in collect()
182 if (hp->h_to == NOSTR) in collect()
184 if (hp->h_subject == NOSTR && value("asksub")) in collect()
186 if (hp->h_cc == NOSTR && value("askcc")) in collect()
188 if (hp->h_bcc == NOSTR && value("askbcc")) in collect()
[all …]
H A Dnames.c112 if (line == NOSTR || strlen(line) == 0) in extract()
118 while ((cp = yankword(cp, nbuf, sizeof (nbuf), comma)) != NOSTR) { in extract()
122 comma)) == NOSTR) { in extract()
156 return (NOSTR); in detract()
165 return (NOSTR); in detract()
215 if (value("expandaddr") == NOSTR) in outof()
288 if ((shell = value("SHELL")) == NOSTR || in outof()
388 if (fcc == NOSTR) in isfileaddr()
417 metoo = (value("metoo") != NOSTR); in usermap()
513 if ((cp = strchr(user, '%')) == NOSTR) in norm()
[all …]
H A Dcmd2.c151 if ((file = snarf(str, &f, 0)) == NOSTR) in save1()
165 if ((file = expand(file)) == NOSTR) in save1()
226 if ((file = snarf(str, &f, 0)) == NOSTR) in put1()
240 if ((file = expand(file)) == NOSTR) in put1()
369 if ((file = snarf(str, &f, 1)) == NOSTR) in swrite()
373 if ((file = expand(file)) == NOSTR) in swrite()
432 return (NOSTR); in snarf()
438 tok_beg = tok_end = NOSTR; in snarf()
457 for (tok_beg = p, tok_end = NOSTR, p++; in snarf()
468 return (NOSTR); in snarf()
[all …]
H A Dquit.c106 autohold = value("hold") != NOSTR; in quit()
107 appending = value("append") != NOSTR; in quit()
110 if (value("keepsave") != NOSTR) in quit()
126 if (Tflag != NOSTR) { in quit()
128 Tflag = NOSTR; in quit()
137 if (Tflag != NOSTR && (mp->m_flag & (MREAD|MDELETED)) != 0) { in quit()
139 if (id != NOSTR) in quit()
143 if (id != NOSTR) in quit()
148 if (Tflag != NOSTR) in quit()
372 if (!noremove && (fsize(obuf) == 0) && (value("keep") == NOSTR)) { in writeback()
H A Daux.c68 if (top == NOSTR) in savestr()
69 return(NOSTR); in savestr()
131 for (ap = argv; *ap != NOSTR; ap++) in argcount()
149 char *r = NOSTR; in hfield()
153 return(NOSTR); in hfield()
155 return(NOSTR); in hfield()
243 if ((cp = strchr(linebuf, ':')) == NOSTR) in ishfield()
266 if ((cp = strchr(hfield, ':')) == NOSTR) in hcontents()
267 return(NOSTR); in hcontents()
330 if ((cp = expand(name)) == NOSTR) in source()
[all …]
H A Dcmd1.c167 if ((cp = value("screen")) != NOSTR && (tmp = atoi(cp)) > 0) in screensize()
231 if ((subjline = hfield("subject", mp, addone)) == NOSTR && in printhead()
232 (subjline = hfield("subj", mp, addone)) == NOSTR && in printhead()
233 (subjline = hfield("message-status", mp, addone)) == NOSTR) in printhead()
273 if ((fromline = hfield("newsgroups", mp, addone)) == NOSTR && in printhead()
274 (fromline = hfield("article-id", mp, addone)) == NOSTR) in printhead()
386 if ((cp+1)->c_name != NOSTR) in pcmdlist()
456 if (intty && outtty && (page || (cp = value("crt")) != NOSTR)) { in type1()
522 if (value("quiet") == NOSTR && (!doign || !isign("message", 0))) in print()
551 if (valtop != NOSTR) { in top()
[all …]
H A Dstralloc.c87 if (sp->s_topFree == NOSTR && (STRINGSIZE << index) >= s) in salloc()
95 if (sp->s_topFree == NOSTR) { in salloc()
99 if (sp->s_topFree == NOSTR) { in salloc()
169 if (sp->s_topFree == NOSTR) in sreset()
H A Dfio.c501 if (Tflag != NOSTR) { in edstop()
503 Tflag = NOSTR; in edstop()
512 if (Tflag != NOSTR && (mp->m_flag & (MREAD|MDELETED)) != 0) { in edstop()
513 if ((id = hfield("article-id", mp, addone)) != NOSTR) in edstop()
517 if (Tflag != NOSTR) in edstop()
519 if (!gotcha || Tflag != NOSTR) in edstop()
597 if (gotcha && !noremove && (value("keep") == NOSTR)) { in edstop()
763 return (NOSTR); in expand()
768 return (NOSTR); in expand()
797 if ((folder = value("folder")) == NOSTR || *folder == '\0') in getfold()
[all …]
H A Dlex.c98 if (f == NOSTR) in setfile()
118 if (strrchr(name, '/') == NOSTR) in setfile()
323 if (prompt == NOSTR) { in commands()
370 if (value("header") != NOSTR) in commands()
401 if (value("ignoreeof") != NOSTR && shudprompt) { in commands()
672 if (value("autoprint") != NOSTR && com->c_argtype & P) in execute()
724 if (value("exit") != NOSTR) in hangup()
760 for (cp = &cmdtab[0]; cp->c_name != NOSTR; cp++) in lex()
849 if (!Hflag && value("quiet") == NOSTR) in announce()
984 if (strrchr(mailname, '/') == NOSTR) in inc()
/titanic_41/usr/src/cmd/tip/
H A Dremote.c81 if (DV == NOSTR) { in getremcap()
85 if (DU && CU == NOSTR) in getremcap()
87 if (DU && PN == NOSTR) { in getremcap()
98 HW = (CU == NOSTR) || (DU && equal(DV, CU)); in getremcap()
133 if (ES != NOSTR) in getremcap()
135 if (FO != NOSTR) in getremcap()
137 if (PR != NOSTR) in getremcap()
139 if (RC != NOSTR) in getremcap()
157 if (host == NOSTR && (host = getenv("HOST")) == NOSTR) { in getremote()
169 if (next == NOSTR) in getremote()
[all …]
H A Dvars.c31 NOSTR, (char *)&EL },
43 NOSTR, "/var/adm/aculog" },
45 NOSTR, (char *)&PH },
55 NOSTR, (char *)&RM },
65 NOSTR, NOSTR },
88 { NOSTR, NULL, NULL, NOSTR, NOSTR }
H A Dacu.c48 return (NOSTR); in connect()
61 disconnect(NOSTR); in connect()
83 return (NOSTR); in connect()
95 while (fgets(string, sizeof (string), phfd) != NOSTR) { in connect()
116 return (NOSTR); in connect()
135 if (reason == NOSTR) { in disconnect()
156 if (s != NOSTR) in acutype()
H A Dcmds.c64 if (cp == NOSTR) in getfl()
101 if (cp == NOSTR) in cu_take()
260 if (fnamex == NOSTR) in tip_sendfile()
401 if (copynamex == NOSTR) in cu_put()
658 if (msg != NOSTR) in tip_abort()
672 if ((dismsg = value(DISCONNECT)) != NOSTR) { in finish()
676 tip_abort(NOSTR); in finish()
896 if (Shell == NOSTR) in expand()
910 return (NOSTR); in expand()
920 return (NOSTR); in expand()
[all …]
H A Dtip.c49 char *system = NOSTR; in main()
97 if (system == NOSTR) in main()
154 if ((PH = getenv("PHONES")) == NOSTR) { in main()
226 if (CM != NOSTR) { in main()
593 if (value(PARITY) == NOSTR) in setparity()
/titanic_41/usr/src/cmd/csh/
H A Dsh.dir.c34 static tchar *fakev[] = { S_dirs, NOSTR };
88 hp = NOSTR; in dodirs()
89 if (*++v != NOSTR) in dodirs()
90 if (eq(*v, S_MINl /* "-l" */) && *++v == NOSTR) in dodirs()
100 if (!lflag && hp != NOSTR) { in dodirs()
135 if (*++v == NOSTR) { in dochngd()
136 if ((cp = value(S_home)) == NOSTR || *cp == 0) in dochngd()
376 if (*++v == NOSTR) { in dopushd()
451 if (*++v == NOSTR) in dopopd()
H A Dsh.tchar.c71 if (to == NOSTR) { /* Need to xalloc(). */ in strtots()
74 i = mbstotcs(NOSTR, from, 0); in strtots()
76 return (NOSTR); in strtots()
84 return (NOSTR); in strtots()
292 r = NOSTR; in rindex_()
348 pbuf = NOSTR; in getenvs_()
352 return (NOSTR); in getenvs_()
354 return (pbuf = strtots(NOSTR, val)); in getenvs_()
/titanic_41/usr/src/test/libc-tests/tests/nl_langinfo/
H A Dnl_langinfo_test.c70 { NOSTR, "no" },
100 { NOSTR, "no" },
130 { NOSTR, "no" },
160 { NOSTR, "нет" },
/titanic_41/usr/src/cmd/fmt/
H A Dfmt.c48 #define NOSTR ((wchar_t *)0) /* Null string pointer for lint */ macro
121 outp = NOSTR; in main()
355 outp = NOSTR; in prefix()
494 if (outp == NOSTR) in pack()
521 if (outp == NOSTR) in oflush()
525 outp = NOSTR; in oflush()
/titanic_41/usr/src/cmd/vi/port/
H A Dex_set.c373 addmac(arrows[i].cap, NOSTR, NOSTR, arrows); in unterm()
380 addmac(immacs[i].cap, NOSTR, NOSTR, immacs); in unterm()

123