Searched refs:buf (Results 1 - 25 of 1692) sorted by last modified time

1234567891011>>

/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c430 ParseDistinguishedName(char *buf, int len, KMF_X509_NAME *name) argument
438 e = buf + len;
439 bp = buf;
/osnet-11/usr/src/head/
H A Dldap.h946 ldap_init_templates_buf(char *buf, long buflen,
994 ldap_entry2text(LDAP *ld, char *buf, LDAPMessage *entry,
1001 ldap_vals2text(LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
1014 ldap_entry2html(LDAP *ld, char *buf, LDAPMessage *entry,
1021 ldap_vals2html(LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
1090 ldap_init_searchprefs_buf(char *buf, long buflen,
1296 LDAP_API(LDAPFiltDesc *) LDAP_CALL ldap_init_getfilter_buf(char *buf,
1303 int LDAP_CALL ldap_create_filter(char *buf, unsigned long buflen,
1426 LDAP_API(void) LDAP_CALL ldap_build_filter(char *buf, size_t buflen,
H A Dlber.h149 ber_tag_t LDAP_CALL ber_get_stringb(BerElement *ber, char *buf,
152 char **buf);
156 char **buf, ber_len_t *len);
205 ber_int_t LDAP_CALL ber_read(BerElement *ber, char *buf,
207 ber_int_t LDAP_CALL ber_write(BerElement *ber, char *buf,
/osnet-11/usr/src/cmd/sendmail/src/
H A Dcollect.c293 char *buf; local
318 buf = bp = bufbuf;
527 if (bp >= &buf[buflen - 2])
532 obuf = buf;
549 buf = xalloc(buflen);
550 memmove(buf, obuf, bp - obuf);
551 bp = &buf[bp - obuf];
586 istate, mstate, buf);
592 if (strncmp(buf, "From ", 5) == 0)
594 bp = buf;
1097 char *q, buf[25]; local
[all...]
H A Dconvtime.c130 static char buf[256];
159 p = buf;
164 (void) sm_snprintf(p, SPACELEFT(buf, p), "%d+", dy);
167 (void) sm_snprintf(p, SPACELEFT(buf, p), "%02d:%02d:%02d",
169 return buf;
175 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d week%s", wk,
181 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d day%s", dy,
187 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d hour%s", hr,
193 (void) sm_snprintf(p, SPACELEFT(buf, p), ", %d minute%s", mi,
199 (void) sm_snprintf(p, SPACELEFT(buf,
129 static char buf[256]; local
[all...]
H A Ddomain.c644 char *buf; local
647 char buf[PSBUFSIZE / 2]; local
681 buf = (char *) sm_malloc(len);
682 if (buf == NULL)
687 *buf = '\0';
692 end = sm_strlcat(buf, mxhosts[i], len);
695 buf[end] = map->map_coldelim;
696 buf[end + 1] = '\0';
701 truncate_at_delim(buf, PSBUFSIZE / 2, map->map_coldelim);
703 p = buf;
[all...]
H A Denvelope.c190 char buf[MAXLINE]; local
298 (void) sm_snprintf(buf, sizeof(buf),
304 (void) sm_snprintf(buf, sizeof(buf),
311 e->e_message = sm_rpool_strdup_x(e->e_rpool, buf);
312 message(buf);
396 (void) sm_snprintf(buf, sizeof(buf),
401 (void) sm_snprintf(buf, sizeo
749 char buf[10]; local
829 char buf[30]; local
979 char buf[MAXNAME + 2]; local
[all...]
H A Derr.c54 static char buf[256]; local
63 sm_strio_init(&f, buf, sizeof(buf));
78 syserr("!%s", buf);
321 char buf[MAXLINE]; local
323 (void) sm_snprintf(buf, sizeof(buf),
325 (int) sizeof(buf) - 22, errtxt);
327 sm_rpool_strdup_x(CurEnv->e_rpool, buf);
408 char buf[MAXLIN local
982 static char buf[MAXLINE]; local
[all...]
H A Dmacro.c138 char buf[5]; local
142 buf[0] = m->metaval;
143 buf[1] = '\0';
144 macdefine(&e->e_macro, A_TEMP, m->metaname, buf);
146 buf[0] = MATCHREPL;
147 buf[2] = '\0';
150 buf[1] = c;
151 macdefine(&e->e_macro, A_TEMP, c, buf);
171 ** buf -- the place to put the expansion.
186 doexpand(s, buf, bufsiz
351 xputs(sm_debug_file(), buf); local
639 char buf[2]; local
643 xputs(sm_debug_file(), buf); local
[all...]
H A Dmap.c309 ** av -- arguments to interpolate into buf.
330 static char *buf = NULL; local
373 if (buf != NULL)
374 sm_free(buf);
375 buf = sm_pmalloc_x(buflen);
378 bp = buf;
425 sm_dprintf("map_rewrite => %s\n", buf);
426 return buf;
682 char buf[MAXNAME]; local
685 if (getdomainname(buf, sizeo
1806 static char *buf = NULL; local
1856 char buf[MAXHOSTNAMELEN]; local
2008 char buf[MAXPATHLEN]; variable
2309 char buf[MAXPATHLEN]; local
2523 static char *buf = NULL; local
5813 char buf[MAXNAME + 1]; local
6249 char buf[30]; local
6316 char buf[MAXLINE]; local
7205 char buf[MAXLINE]; local
[all...]
H A Dmilter.c295 milter_sysread(m, buf, sz, to, e, where)
297 char *buf;
340 len = read(m->mf_sock, buf + curl, sz - curl);
378 return buf;
396 char *buf; local
475 buf = (char *) xalloc(expl);
477 if (milter_sysread(m, buf, expl, to, e, where) == NULL)
479 sm_free(buf); /* XXX */
485 m->mf_name, (int) expl, buf);
487 return buf;
1914 char *buf, *bp; local
2717 char *buf, *hv; local
2799 char buf[MILTER_CHUNK_SIZE]; local
3919 char *buf, *bp; local
4105 char *buf, *bp; local
4206 char *buf, *bp; local
[all...]
H A Dreadcf.c107 char buf[MAXLINE]; local
165 while (bufsize = sizeof(buf),
166 (bp = fgetfolded(buf, &bufsize, cf)) != NULL)
172 if (bp != buf)
179 if (nbp != bp && bp != buf)
717 if (bp != buf)
948 char buf[MAXLINE]; local
1011 n = sm_snprintf(buf, sizeof(buf),
1014 if (n >= sizeof(buf))
1677 static char buf[MAXLINE]; local
1755 static char buf[MAXLINE]; local
2416 char buf[50]; local
[all...]
H A Dsavemail.c67 char buf[MAXLINE + 1]; local
196 expand("\201n", buf, sizeof(buf), e);
198 "\r\nMessage from %s...\r\n", buf);
207 buf, sizeof(buf)) != NULL &&
211 buf);
308 expand(DoubleBounceAddr, buf, sizeof(buf), e);
315 if (*buf
515 char buf[MAXNAME + 1]; local
757 char buf[MAXLINE]; local
[all...]
H A Dsrvrsmtp.c114 char buf[16]; \
115 (void) sm_snprintf(buf, sizeof(buf), "%d", \
118 macdefine(&e->e_macro, A_TEMP, macid("{nbadrcpts}"), buf); \
3350 char buf[32]; local
3363 (void) sm_snprintf(buf, sizeof(buf), "%u", smtp->sm_nrcpts);
3364 if (rscheck("check_data", buf, NULL, e,
3484 (void) sm_snprintf(buf, sizeof(buf), "
4885 char buf[MAXLINE]; local
[all...]
H A Dusersmtp.c729 char buf[MAXLINE]; local
804 sm_io_fgets(f, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
806 if (buf[0] != '#')
808 (*sai)[lc] = sm_rpool_strdup_x(rpool, buf);
2011 char buf[MAXNAME + 1]; local
2158 buf[0] = '\0';
2160 expand("\201g", buf, sizeof(buf), e);
2161 if (buf[
[all...]
H A Dutil.c667 char buf[2]; local
670 buf[0] = (char) mode;
671 buf[1] = '\0';
672 macdefine(&e->e_macro, A_TEMP, macid("{deliveryMode}"), buf);
693 char buf[2]; local
697 buf[0] = (char) mode;
698 buf[1] = '\0';
699 macdefine(&BlankEnvelope.e_macro, A_TEMP, MID_OPMODE, buf);
1266 ** buf -- place to put the input line.
1267 ** siz -- size of buf
1800 char buf[200]; local
2031 char buf[MAXPATHLEN]; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_appinit.c82 char *lp, buf[MAXPATHLEN * 2]; local
134 strlen(CONFIG_NAME) + 1 > sizeof(buf)) {
138 (void)strcpy(buf, dbenv->db_home);
139 (void)strcat(buf, CONFIG_NAME);
140 if ((fp = fopen(buf, "r")) != NULL) {
141 while (fgets(buf, sizeof(buf), fp) != NULL) {
142 if ((lp = strchr(buf, '\n')) == NULL) {
149 if (buf[0] == '\0' ||
150 buf[
[all...]
H A Ddb_overflow.c357 void *buf; local
368 buf = NULL;
372 &local_dbt, tlen, pgno, &buf, &bufsize)) != 0)
375 __os_free(buf, bufsize);
H A Ddb_region.c745 char buf[DB_VMPAGESIZE]; local
752 memset(buf, 0, sizeof(buf));
763 __os_write(infop->fd, buf, sizeof(buf), &nw)) != 0)
765 if (nw != sizeof(buf))
782 if ((ret = __os_write(infop->fd, buf, sizeof(buf), &nw)) != 0)
784 if (nw != sizeof(buf))
812 __os_write(infop->fd, buf,
[all...]
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dlog.h179 u_int8_t buf[4 * 1024]; /* Log buffer. */ member in struct:__log
H A Dmp.h296 u_int8_t buf[1]; /* Variable length data. */ member in struct:__bh
H A Dos.h24 u_int8_t *buf; /* Buffer. */ member in struct:__io
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c50 char **array, **arrayp, *name, *p, *pref, buf[MAXPATHLEN]; local
75 if ((pref = getcwd(buf, sizeof(buf))) == NULL)
H A Dlog_get.c183 p = lp->buf + (nlsn.offset - lp->w_off);
237 memcpy((u_int8_t *)&hdr + nr, lp->buf, sizeof(HDR) - nr);
238 shortp = lp->buf + (sizeof(HDR) - nr);
252 if (lp->b_off < ((u_int8_t *)shortp - lp->buf) + len)
280 if (len - nr > sizeof(lp->buf))
287 memcpy((u_int8_t *)tbuf + nr, lp->buf, len - nr);
H A Dlog_put.c304 if ((ret = __log_write(dblp, lp->buf, lp->b_off)) != 0)
381 if (lp->b_off == 0 && len >= sizeof(lp->buf)) {
382 nrec = len / sizeof(lp->buf);
384 addr, nrec * sizeof(lp->buf))) != 0)
386 addr = (u_int8_t *)addr + nrec * sizeof(lp->buf);
387 len -= nrec * sizeof(lp->buf);
392 remain = sizeof(lp->buf) - lp->b_off;
394 memcpy(lp->buf + lp->b_off, addr, nw);
400 if (lp->b_off == sizeof(lp->buf)) {
402 __log_write(dblp, lp->buf, sizeo
[all...]

Completed in 303 milliseconds

1234567891011>>