Lines Matching defs:null
76 for (ap = list; *ap != NULL; ap++)
154 if ((shellcmd = value(ENAME_SHELL)) == NULL)
156 (void)run_command(shellcmd, NULL, 0, 1, "-c", cmd, NULL);
176 if ((shellcmd = value(ENAME_SHELL)) == NULL)
178 (void)run_command(shellcmd, NULL, 0, 1, NULL);
208 if (*arglist == NULL)
211 if ((cp = expand(*arglist)) == NULL)
230 np = NULL;
233 (cp = skin(hfield("to", mp))) != NULL &&
234 extract(cp, GTO)->n_flink == NULL) { /* check for one recipient */
266 assert(pref != NULL);
267 if (subj == NULL)
308 /* ensure that all header fields are initially NULL */
318 if ((rcv = skin(hfield("from", mp))) == NULL)
320 if ((replyto = skin(hfield("reply-to", mp))) != NULL)
322 else if ((cp = skin(hfield("to", mp))) != NULL)
325 np = NULL;
335 if (np != NULL && replyto == NULL)
337 else if (np == NULL) {
338 if (replyto != NULL)
343 if ((head.h_subject = hfield("subject", mp)) == NULL)
346 if (replyto == NULL && (cp = skin(hfield("cc", mp))) != NULL) {
354 head.h_cc = NULL;
355 head.h_bcc = NULL;
358 head.h_attach = NULL;
378 /* ensure that all header fields are initially NULL */
381 head.h_to = NULL;
386 if ((cp = skin(hfield("from", mp))) == NULL)
390 if (head.h_to == NULL)
393 if ((head.h_subject = hfield("subject", mp)) == NULL)
396 head.h_cc = NULL;
397 head.h_bcc = NULL;
400 head.h_attach = NULL;
411 if (value(ENAME_REPLYALL) == NULL)
421 if (value(ENAME_REPLYALL) == NULL)
436 if (mp == NULL) {
449 if ((hdr.h_subject = hfield("subject", mp)) == NULL)
476 if (hdr.h_to == NULL) {
500 obuf = NULL;
504 (obuf = Fdopen(fd, "wef+")) == NULL) {
515 if (mp == NULL) {
531 np = NULL;
532 if ((cp = skin(hfield("to", mp))) != NULL)
543 if (sendmessage(mp, obuf, bouncetab, NULL, NULL)) {
577 if (hdr.h_to == NULL)
580 smargs = unpack(NULL, hdr.h_to);
692 if (*arglist == NULL) {
694 for (vp = variables[h]; vp != NULL; vp = vp->v_link)
698 for (vp = variables[h]; vp != NULL; vp = vp->v_link)
700 *p = NULL;
702 for (p = ap; *p != NULL; p++)
707 for (ap = arglist; *ap != NULL; ap++) {
721 (void)printf("Non-null variable name required\n");
742 for (ap = arglist; *ap != NULL; ap++) {
743 if ((vp2 = lookup(*ap)) == NULL) {
781 NULL) {
783 for (vp = variables[h]; vp != NULL; vp = vp->v_link)
787 for (vp = variables[h]; vp != NULL; vp = vp->v_link)
789 *p = NULL;
791 for (p = ap; *p != NULL; p++)
796 for (ap = arglist; *ap != NULL; ap++) {
798 (void)printf("%s=%s\n", *ap, val ? val : "<null>");
818 if (*argv == NULL) {
820 for (gh = groups[h]; gh != NULL; gh = gh->g_link)
824 for (gh = groups[h]; gh != NULL; gh = gh->g_link)
826 *p = NULL;
828 for (p = ap; *p != NULL; p++)
832 if (argv[1] == NULL) {
838 if ((gh = findgroup(gname)) == NULL) {
841 gh->g_list = NULL;
852 for (ap = argv + 1; *ap != NULL; ap++) {
873 for (gh = groups[h], p = NULL; gh != NULL; p = gh, gh = gh->g_link)
875 if (p == NULL)
879 while (gh->g_list != NULL) {
901 for (ap = v; *ap != NULL; ap++)
911 null(void *v __unused)
925 if (argv[0] == NULL) {
946 for (ap = argv; *ap != NULL; ap++) {
948 if ((cp = expand(cp)) != NULL) {
978 if ((csp = cond_stack) == NULL)
1015 { NULL, 0 },
1027 if (mtp->m_name == NULL) {
1047 if (value(argv[0]) == NULL)
1070 if (cond_stack == NULL || (cond & (CIF | CELSE)) != CIF) {
1089 if (cond_stack == NULL || (cond & CIF) != CIF) {