/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 430 ParseDistinguishedName(char *buf, int len, KMF_X509_NAME *name) argument 438 e = buf + len; 439 bp = buf;
|
/osnet-11/usr/src/head/ |
H A D | ldap.h | 946 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 D | lber.h | 149 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 D | collect.c | 293 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 D | convtime.c | 130 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 D | domain.c | 644 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 D | envelope.c | 190 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 D | err.c | 54 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 D | macro.c | 138 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 D | map.c | 309 ** 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 D | milter.c | 295 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 D | readcf.c | 107 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 D | savemail.c | 67 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 D | srvrsmtp.c | 114 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 D | usersmtp.c | 729 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 D | util.c | 667 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 D | db_appinit.c | 82 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 D | db_overflow.c | 357 void *buf; local 368 buf = NULL; 372 &local_dbt, tlen, pgno, &buf, &bufsize)) != 0) 375 __os_free(buf, bufsize);
|
H A D | db_region.c | 745 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 D | log.h | 179 u_int8_t buf[4 * 1024]; /* Log buffer. */ member in struct:__log
|
H A D | mp.h | 296 u_int8_t buf[1]; /* Variable length data. */ member in struct:__bh
|
H A D | os.h | 24 u_int8_t *buf; /* Buffer. */ member in struct:__io
|
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_archive.c | 50 char **array, **arrayp, *name, *p, *pref, buf[MAXPATHLEN]; local 75 if ((pref = getcwd(buf, sizeof(buf))) == NULL)
|
H A D | log_get.c | 183 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 D | log_put.c | 304 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...] |