/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_expand.c | 60 int bufp; local 80 bufp = 0; 83 buffer[bufp++] = *str++; 95 _nc_SPRINTF(buffer + bufp, _nc_SLIMIT(P_LIMIT(bufp)) 97 bufp += (int) strlen(buffer + bufp); 100 buffer[bufp++] = *str; 121 buffer[bufp++] = S_QUOTE; 124 buffer[bufp [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | buftvtots.c | 17 const char *bufp, 26 memcpy(&tv, bufp, sizeof(tv)); 16 buftvtots( const char *bufp, l_fp *ts ) argument
|
/freebsd-11-stable/contrib/libgnuregex/ |
H A D | regex.c | 38 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 39 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 40 # define re_match(bufp, string, size, pos, regs) \ 41 __re_match (bufp, string, size, pos, regs) 42 # define re_search(bufp, string, size, startpos, range, regs) \ 43 __re_search (bufp, string, size, startpos, range, regs) 44 # define re_compile_pattern(pattern, length, bufp) \ 45 __re_compile_pattern (pattern, length, bufp) 47 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 48 __re_search_2 (bufp, st [all...] |
/freebsd-11-stable/contrib/ntp/include/ |
H A D | lib_strbuf.h | 25 #define LIB_GETBUF(bufp) \ 28 (bufp) = &lib_stringbuf[lib_nextbuf++][0]; \
|
H A D | ieee754io.h | 55 int fetch_ieee754 (unsigned char **bufp, int size, l_fp *lfpp, offsets_t offsets);
|
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/ |
H A D | pname_to_uid.c | 43 char lname[MAXLOGNAME + 1], buf[1024], *bufp; local 62 bufp = buf; 64 bufp = malloc(buflen); 65 if (bufp == NULL) 67 error = getpwnam_r(lname, &pwd, bufp, buflen, &pw); 71 free(bufp); 82 if (bufp != NULL && buflen > sizeof(buf)) 83 free(bufp);
|
/freebsd-11-stable/sys/opencrypto/ |
H A D | cryptodeflate.c | 81 struct deflate_buf *bufh, *bufp; local 85 bufh = bufp = NULL; 105 bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i), 107 if (bufp == NULL) { 112 bufp->next = NULL; 113 bufp->size = size * i; 121 zbuf.next_out = bufp->data; 122 zbuf.avail_out = bufp->size; 174 bufp [all...] |
/freebsd-11-stable/lib/libc/db/hash/ |
H A D | hash_bigkey.c | 86 __big_insert(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) argument 94 cp = bufp->page; /* Character pointer of p. */ 116 bufp = __add_ovflpage(hashp, bufp); 117 if (!bufp) 146 p = (u_int16_t *)bufp->page; 147 cp = bufp->page; 148 bufp->flags |= BUF_MOD; 172 bufp = __add_ovflpage(hashp, bufp); 196 __big_delete(HTAB *hashp, BUFHEAD *bufp) argument 273 __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size) argument 322 BUFHEAD *bufp; local 359 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current) argument 445 collect_data(HTAB *hashp, BUFHEAD *bufp, int len, int set) argument 498 __big_keydata(HTAB *hashp, BUFHEAD *bufp, DBT *key, DBT *val, int set) argument 512 collect_key(HTAB *hashp, BUFHEAD *bufp, int len, DBT *val, int set) argument [all...] |
H A D | hash_page.c | 126 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) argument 131 bp = (u_int16_t *)bufp->page; 135 return (__big_delete(hashp, bufp)); 145 char *src = bufp->page + (int)OFFSET(bp); 174 bufp->flags |= BUF_MOD; 284 BUFHEAD *bufp; /* Buffer header for ino */ local 295 bufp = old_bufp; 306 new_bufp, bufp, bufp->addr, obucket, &ret)) 316 bufp 398 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) argument 468 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) argument 925 BUFHEAD *bufp; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | somread.c | 92 struct symbol_dictionary_record *buf, *bufp, *endbufp; local 131 for (bufp = buf; bufp < endbufp; ++bufp) 137 switch (bufp->symbol_scope) 141 switch (bufp->symbol_type) 151 symname = bufp->name.n_strx + stringtab; 153 bufp->symbol_value += text_offset; 154 bufp->symbol_value = SMASH_TEXT_ADDRESS (bufp [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | open_memstream.c | 48 char **bufp; member in struct:memstream 65 buf = realloc(*ms->bufp, newsize + 1); 72 *ms->bufp = buf; 101 memcpy(*ms->bufp + ms->offset, buf, tocopy); 174 open_memstream(char **bufp, size_t *sizep) argument 180 if (bufp == NULL || sizep == NULL) { 184 *bufp = calloc(1, 1); 185 if (*bufp == NULL) 190 free(*bufp); 191 *bufp [all...] |
H A D | open_wmemstream.c | 48 wchar_t **bufp; member in struct:wmemstream 66 buf = reallocarray(*ms->bufp, newsize + 1, sizeof(wchar_t)); 73 *ms->bufp = buf; 142 charlen = mbrtowc(*ms->bufp + ms->offset, buf, len, 235 open_wmemstream(wchar_t **bufp, size_t *sizep) argument 241 if (bufp == NULL || sizep == NULL) { 245 *bufp = calloc(1, sizeof(wchar_t)); 246 if (*bufp == NULL) 251 free(*bufp); 252 *bufp [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | dlpisubs.c | 122 int count, u_char *bufp, int len) 136 ep = bufp + len; 140 while (bufp < ep) { 155 p->bp = bufp; 156 p->cc = ep - bufp; 161 if ((long)bufp & 3) { 163 memcpy(sbp, bufp, sizeof(*sbp)); 166 sbp = (struct sb_hdr *)bufp; 168 pk = bufp + sizeof(*sbp); 169 bufp 121 pcap_process_pkts(pcap_t *p, pcap_handler callback, u_char *user, int count, u_char *bufp, int len) argument [all...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | ipft_pc.c | 181 static char *bufp = NULL; local 187 if (!bufp) 188 bufp = malloc(i); 190 bufp = realloc(bufp, i); 192 if (read(pfd, bufp, i) != i) 196 bcopy(bufp, buf, n); 210 static char *bufp = NULL; local 230 if (!bufp) 231 bufp [all...] |
/freebsd-11-stable/contrib/ntp/libparse/ |
H A D | ieee754io.c | 105 unsigned char *bufp, 116 snprintf(hex, sizeof(hex), "%02x", bufp[i]); 127 unsigned char *bufp, 134 val = *(bufp + offset[*fieldindex]); 137 printf("fetchieee754: getbyte(0x%08x, %d) = 0x%02x\n", (unsigned int)(bufp)+offset[*fieldindex], *fieldindex, val); 146 unsigned char *bufp, 152 *(bufp + offsets[*fieldindex]) = val; 169 unsigned char *bufp = *buffpp; local 208 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */ 213 val = get_byte(bufp, offset 104 fmt_hex( unsigned char *bufp, int length ) argument 126 get_byte( unsigned char *bufp, offsets_t offset, int *fieldindex ) argument 145 put_byte( unsigned char *bufp, offsets_t offsets, int *fieldindex, unsigned char val ) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | f_enum.c | 103 unsigned char *bufp; local 138 bufp = (unsigned char *)buf; 141 if ((bufp[0] == '0') && (bufp[1] == '0')) { 142 bufp += 2; 170 m = bufp[k + n];
|
H A D | f_int.c | 107 unsigned char *bufp; local 152 bufp = (unsigned char *)buf; 155 if ((bufp[0] == '0') && (bufp[1] == '0')) { 156 bufp += 2; 182 m = bufp[k + n];
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | vjcomp.c | 119 u_char *bufp; local 130 bufp = MBUF_CTOP(bp); 131 len = sl_uncompress_tcp(&bufp, len, type, &ipcp->vj.cslc, &ipcp->vj.slstat, 149 bufp = work + MAX_HDR; 150 bp = mbuf_Read(bp, bufp, rlen); 151 len = sl_uncompress_tcp(&bufp, olen, type, &ipcp->vj.cslc, &ipcp->vj.slstat, 160 bp = m_prepend(bp, bufp, len, 0);
|
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | ecoff.h | 56 (HDRR *hdr, char **bufp, const struct ecoff_debug_swap *);
|
/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | mem_dbg.c | 632 char *bufp = buf; local 639 #define BUF_REMAIN (sizeof(buf) - (size_t)(bufp - buf)) 652 BIO_snprintf(bufp, BUF_REMAIN, "[%02d:%02d:%02d] ", 654 bufp += strlen(bufp); 657 BIO_snprintf(bufp, BUF_REMAIN, "%5lu file=%s, line=%d, ", 659 bufp += strlen(bufp); 662 BIO_snprintf(bufp, BUF_REMAIN, "thread=%lu, ", 664 bufp [all...] |
/freebsd-11-stable/usr.bin/comm/ |
H A D | comm.c | 216 show(FILE *fp, const char *fn, const char *offset, char **bufp, size_t *buflenp) argument 221 (void)printf("%s%s\n", offset, *bufp); 222 if ((n = getline(bufp, buflenp, fp)) < 0) 224 if (n > 0 && (*bufp)[n - 1] == '\n') 225 (*bufp)[n - 1] = '\0';
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | regex.c | 73 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 74 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 75 # define re_match(bufp, string, size, pos, regs) \ 76 __re_match (bufp, string, size, pos, regs) 77 # define re_search(bufp, string, size, startpos, range, regs) \ 78 __re_search (bufp, string, size, startpos, range, regs) 79 # define re_compile_pattern(pattern, length, bufp) \ 80 __re_compile_pattern (pattern, length, bufp) 82 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 83 __re_search_2 (bufp, st 1140 print_compiled_pattern(struct re_pattern_buffer *bufp) argument 2282 regex_compile(const char *ARG_PREFIX(pattern), size_t ARG_PREFIX(size), reg_syntax_t syntax, struct re_pattern_buffer *bufp) argument 4541 re_compile_fastmap(struct re_pattern_buffer *bufp) argument 4860 re_compile_fastmap(struct re_pattern_buffer *bufp) argument 5007 re_search_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int startpos, int range, struct re_registers *regs, int stop) argument 5448 re_match_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int pos, struct re_registers *regs, int stop) argument 5528 wcs_re_match_2_internal(struct re_pattern_buffer *bufp, const char *cstring1, int csize1, const char *cstring2, int csize2, int pos, struct re_registers *regs, int stop, wchar_t *string1, int size1, wchar_t *string2, int size2, int *mbs_offset1, int *mbs_offset2) argument [all...] |
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | regex.c | 73 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 74 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 75 # define re_match(bufp, string, size, pos, regs) \ 76 __re_match (bufp, string, size, pos, regs) 77 # define re_search(bufp, string, size, startpos, range, regs) \ 78 __re_search (bufp, string, size, startpos, range, regs) 79 # define re_compile_pattern(pattern, length, bufp) \ 80 __re_compile_pattern (pattern, length, bufp) 82 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 83 __re_search_2 (bufp, st 1140 print_compiled_pattern(struct re_pattern_buffer *bufp) argument 2282 regex_compile(const char *ARG_PREFIX(pattern), size_t ARG_PREFIX(size), reg_syntax_t syntax, struct re_pattern_buffer *bufp) argument 4541 re_compile_fastmap(struct re_pattern_buffer *bufp) argument 4860 re_compile_fastmap(struct re_pattern_buffer *bufp) argument 5007 re_search_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int startpos, int range, struct re_registers *regs, int stop) argument 5448 re_match_2(struct re_pattern_buffer *bufp, const char *string1, int size1, const char *string2, int size2, int pos, struct re_registers *regs, int stop) argument 5528 wcs_re_match_2_internal(struct re_pattern_buffer *bufp, const char *cstring1, int csize1, const char *cstring2, int csize2, int pos, struct re_registers *regs, int stop, wchar_t *string1, int size1, wchar_t *string2, int size2, int *mbs_offset1, int *mbs_offset2) argument [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | usersmtp.c | 2025 char *bufp; local 2065 bufp = &optbuf[strlen(optbuf)]; 2070 bufp = optbuf; 2075 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2077 bufp += strlen(bufp); 2091 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7) 2093 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2314 char *bufp; local 3100 register char *bufp; local [all...] |
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | bfd.c | 475 char *bufp; 487 bufp = buf; 506 memcpy (bufp, fmt, len + 1); 514 memcpy (bufp, fmt, len); 515 bufp += len; 524 *bufp++ = '*'; 525 *bufp++ = '*'; 526 *bufp = '\0'; 538 snprintf (bufp, avail, "%s(%s)", 541 snprintf (bufp, avai 473 char *bufp; local [all...] |