Searched defs:ret (Results 1 - 25 of 39) sorted by relevance

12

/sendmail/libmilter/
H A Dhandler.c31 int ret; local
43 ret = MI_FAILURE;
45 ret = mi_engine(ctx);
48 return ret;
H A Dcomm.c70 int ret; local
82 ret = FD_RD_READY(sd, rds, excs, timeout);
83 if (ret == 0)
85 else if (ret < 0)
115 if (ret == 0)
120 else if (ret < 0)
124 name, MI_POLLSELECT, ret, sm_errstring(errno));
155 ret = FD_RD_READY(sd, rds, excs, timeout);
156 if (ret == 0)
158 else if (ret <
[all...]
H A Dlistener.c725 int ret = MI_SUCCESS; local
754 ret = MI_FAILURE;
787 ret = MI_FAILURE;
795 ret = MI_FAILURE;
872 ret = MI_FAILURE;
906 ret = MI_FAILURE;
956 ret = MI_FAILURE;
963 if (ret != MI_SUCCESS)
973 return ret;
/sendmail/libsm/
H A Dflags.c37 int ret; local
42 ret = SMRD;
46 ret = SMWR;
50 ret = SMWR;
54 ret = SMRW;
58 ret = 0;
62 ret |= SM_IO_BINARY;
63 return ret;
H A Derrstring.c53 char *ret; local
274 ret = strerror(errnum);
275 if (ret == NULL)
282 return ret;
H A Dvsnprintf.c47 int ret; local
75 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
77 return ret;
H A Dfprintf.c47 int ret; local
52 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
54 return ret;
H A Dfscanf.c47 int ret; local
52 ret = sm_vfscanf(fp, timeout, fmt, ap);
54 return ret;
H A Dvasprintf.c61 int ret; local
82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
83 if (ret == -1)
88 base = (unsigned char *) sm_realloc(fake.f_bf.smb_base, ret + 1);
92 return ret;
H A Dfwalk.c39 register int n, ret; local
43 ret = 0;
56 ret |= (*function)(fp, &fptimeout);
60 return ret;
H A Dsetvbuf.c54 int ret, flags; local
80 ret = 0;
122 ret = SM_IO_EOF;
137 return ret;
189 return ret;
H A Dsnprintf.c57 int ret; local
82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
86 return ret;
H A Dsscanf.c78 int ret; local
99 ret = sm_vfscanf(&fake, SM_TIME_FOREVER, fmt, ap);
101 return ret;
H A Drefill.c144 int ret, r; local
245 ret = 0;
258 SM_IO_RD_TIMEOUT(fp, fd, &to, timeout, ret);
260 } while (r <= 0 && ret > 0);
H A Dfopen.c229 int ioflags, ret; local
288 ret = (*fp2->f_open)(fp2, info, flags, rpool);
294 if (ret < 0)
H A Dfseek.c87 int ret; local
154 ret = -1;
276 ret = 0;
307 ret = 0;
312 return ret;
320 ret = SM_TIME_FOREVER;
321 if (sm_flush(fp, &ret) != 0 ||
324 ret = -1;
334 ret = 0;
H A Dstdio.c130 register int ret; local
132 ret = read(fp->f_file, buf, n);
135 if (ret > 0)
136 fp->f_lseekoff += ret;
137 return ret;
184 register off_t ret; local
186 ret = lseek(fp->f_file, (off_t) offset, whence);
187 if (ret != (off_t) -1)
188 fp->f_lseekoff = ret;
189 return ret;
[all...]
H A Dstrio.c169 register off_t ret; local
176 ret = offset;
179 ret = s->strio_offset + offset;
182 ret = s->strio_size;
188 if (ret < 0 || ret > (off_t)(size_t)(-1)) /* XXX ugly */
190 if ((size_t) ret > s->strio_size)
192 if (sm_strgrow(s, (size_t)ret))
198 s->strio_offset = (size_t) ret;
199 return ret;
[all...]
H A Dldap.c651 int ret; local
661 while ((ret = ldap_result(lmap->ldap_ld, msgid, 0,
1099 if (ret == 0)
1101 else if (ret == LDAP_RES_SEARCH_RESULT)
1145 if (ret != 0)
H A Dmbdb.c169 int ret = EX_NOUSER; local
172 ret = SmMbdbType->mbdb_lookup(name, user);
173 return ret;
492 int ret; local
541 ret = ldap_result(LDAPLMAP.ldap_ld, msgid, 1,
546 if (ret != LDAP_RES_SEARCH_RESULT &&
547 ret != LDAP_RES_SEARCH_ENTRY)
549 if (ret == 0)
553 ret = EX_TEMPFAIL;
577 ret
[all...]
/sendmail/contrib/
H A Dbitdomain.c217 int ret; local
233 ret = res_querydomain(host, "", C_IN, qtype,
235 if (ret <= 0)
270 eom = (u_char *) &answer + ret;
273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ)
275 if ((ret = dn_skipname(ap, eom)) < 0)
299 if ((ret = dn_expand((u_char *)&answer,
/sendmail/libsmutil/
H A Dsafefile.c123 int ret; local
129 ret = safedirpath(".", uid, gid, user,
135 ret = safedirpath(fn, uid, gid, user,
139 if (ret == 0)
150 ret = errno;
152 sm_dprintf("\t%s\n", sm_errstring(ret));
153 return ret;
163 int ret; local
168 ret = safedirpath(".", uid, gid, user, flags, 0, 0);
173 ret
187 int ret = file_errno; local
403 int ret = 0; local
[all...]
/sendmail/libsmdb/
H A Dsmdb2.c357 int ret; local
360 ret = db2_error_to_smdb(dbc->c_close(dbc));
362 return ret;
/sendmail/sendmail/
H A Dsfsasl.c293 size_t ret = 0, total = 0; local
332 ret = sm_io_write(so->fp, SM_TIME_DEFAULT,
334 if (ret <= 0)
335 return ret;
336 outlen -= ret;
337 total += ret;
586 int ret; local
591 ret = -1;
646 ret = select(rfd + 1, &ssl_maskr, NULL, &ssl_maskx,
648 } while (ret <
[all...]
H A Ddomain.c779 int ret; local
840 for (domain = RES_DNSRCH_VARIABLE, ret = 0;
841 *domain != NULL && ret < MAXDNSRCH;
842 ret++)
882 ret = res_querydomain(host, *dp, C_IN, qtype,
884 if (ret <= 0)
955 if (ret > sizeof(answer))
956 ret = sizeof(answer);
957 SM_ASSERT(ret >= 0);
967 eom = (unsigned char *) &answer + ret;
[all...]

Completed in 434 milliseconds

12