/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_expand.c | 58 int bufp; local 78 bufp = 0; 81 buffer[bufp++] = *str++; 93 sprintf(buffer + bufp, "{%d}", str[1]); 94 bufp += strlen(buffer + bufp); 97 buffer[bufp++] = *str; 118 buffer[bufp++] = S_QUOTE; 121 buffer[bufp++] = '\\'; 122 buffer[bufp [all...] |
/freebsd-9.3-release/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
|
H A D | recvbuff.c | 81 register recvbuf_t *bufp; local 88 bufp = emalloc_zero(abuf * sizeof(*bufp)); 98 bufp = emalloc_zero(sizeof(*bufp)); 100 LINK_SLIST(free_recv_list, bufp, link); 101 bufp++;
|
/freebsd-9.3-release/gnu/lib/libregex/ |
H A D | regex.c | 59 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 60 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 61 # define re_match(bufp, string, size, pos, regs) \ 62 __re_match (bufp, string, size, pos, regs) 63 # define re_search(bufp, string, size, startpos, range, regs) \ 64 __re_search (bufp, string, size, startpos, range, regs) 65 # define re_compile_pattern(pattern, length, bufp) \ 66 __re_compile_pattern (pattern, length, bufp) 68 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 69 __re_search_2 (bufp, st [all...] |
/freebsd-9.3-release/kerberos5/lib/libgssapi_krb5/ |
H A D | pname_to_uid.c | 41 char lname[MAXLOGNAME + 1], buf[1024], *bufp; local 60 bufp = buf; 62 bufp = malloc(buflen); 63 if (bufp == NULL) 65 error = getpwnam_r(lname, &pwd, bufp, buflen, &pw); 69 free(bufp); 80 if (bufp != NULL && buflen > sizeof(buf)) 81 free(bufp);
|
/freebsd-9.3-release/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-9.3-release/sys/opencrypto/ |
H A D | deflate.c | 83 struct deflate_buf *bufh, *bufp; local 87 bufh = bufp = NULL; 107 bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i), 109 if (bufp == NULL) { 114 bufp->next = NULL; 115 bufp->size = size * i; 123 zbuf.next_out = bufp->data; 124 zbuf.avail_out = bufp->size; 176 bufp [all...] |
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | ipft_sn.c | 132 static char *bufp = NULL; local 138 if (!bufp) 139 bufp = malloc(i); 141 bufp = realloc(bufp, i); 143 if (read(sfd, bufp, i) != i) 147 bcopy(bufp, buf, n); 160 static char *bufp = NULL; local 170 if (!bufp) 171 bufp [all...] |
H A D | ipft_pc.c | 206 static char *bufp = NULL; local 212 if (!bufp) 213 bufp = malloc(i); 215 bufp = realloc(bufp, i); 217 if (read(pfd, bufp, i) != i) 221 bcopy(bufp, buf, n); 234 static char *bufp = NULL; local 246 if (!bufp) 247 bufp [all...] |
/freebsd-9.3-release/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 | 125 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) argument 130 bp = (u_int16_t *)bufp->page; 134 return (__big_delete(hashp, bufp)); 144 char *src = bufp->page + (int)OFFSET(bp); 173 bufp->flags |= BUF_MOD; 283 BUFHEAD *bufp; /* Buffer header for ino */ local 294 bufp = old_bufp; 305 new_bufp, bufp, bufp->addr, obucket, &ret)) 315 bufp 397 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) argument 467 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) argument 921 BUFHEAD *bufp; local [all...] |
/freebsd-9.3-release/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-9.3-release/lib/libc/stdio/ |
H A D | open_memstream.c | 45 char **bufp; member in struct:memstream 62 buf = realloc(*ms->bufp, newsize + 1); 69 *ms->bufp = buf; 98 memcpy(*ms->bufp + ms->offset, buf, tocopy); 171 open_memstream(char **bufp, size_t *sizep) argument 177 if (bufp == NULL || sizep == NULL) { 181 *bufp = calloc(1, 1); 182 if (*bufp == NULL) 187 free(*bufp); 188 *bufp [all...] |
H A D | open_wmemstream.c | 45 wchar_t **bufp; member in struct:wmemstream 63 buf = realloc(*ms->bufp, (newsize + 1) * sizeof(wchar_t)); 70 *ms->bufp = buf; 139 charlen = mbrtowc(*ms->bufp + ms->offset, buf, len, 232 open_wmemstream(wchar_t **bufp, size_t *sizep) argument 238 if (bufp == NULL || sizep == NULL) { 242 *bufp = calloc(1, sizeof(wchar_t)); 243 if (*bufp == NULL) 248 free(*bufp); 249 *bufp [all...] |
/freebsd-9.3-release/sys/ia64/include/ |
H A D | bus.h | 299 bus_size_t ofs, uint8_t *bufp, size_t count) 303 bus_space_read_multi_io_1(bsh + ofs, bufp, count); 306 *bufp++ = ia64_ld1((void *)(bsh + ofs)); 312 bus_size_t ofs, uint16_t *bufp, size_t count) 316 bus_space_read_multi_io_2(bsh + ofs, bufp, count); 319 *bufp++ = ia64_ld2((void *)(bsh + ofs)); 325 bus_size_t ofs, uint32_t *bufp, size_t count) 329 bus_space_read_multi_io_4(bsh + ofs, bufp, count); 332 *bufp++ = ia64_ld4((void *)(bsh + ofs)); 338 bus_size_t ofs, uint64_t *bufp, size_ 298 bus_space_read_multi_1(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint8_t *bufp, size_t count) argument 311 bus_space_read_multi_2(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint16_t *bufp, size_t count) argument 324 bus_space_read_multi_4(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint32_t *bufp, size_t count) argument 337 bus_space_read_multi_8(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint64_t *bufp, size_t count) argument 361 bus_space_write_multi_1(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint8_t *bufp, size_t count) argument 374 bus_space_write_multi_2(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint16_t *bufp, size_t count) argument 387 bus_space_write_multi_4(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint32_t *bufp, size_t count) argument 400 bus_space_write_multi_8(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint64_t *bufp, size_t count) argument 425 bus_space_read_region_1(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint8_t *bufp, size_t count) argument 439 bus_space_read_region_2(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint16_t *bufp, size_t count) argument 453 bus_space_read_region_4(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint32_t *bufp, size_t count) argument 467 bus_space_read_region_8(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, uint64_t *bufp, size_t count) argument 493 bus_space_write_region_1(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint8_t *bufp, size_t count) argument 507 bus_space_write_region_2(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint16_t *bufp, size_t count) argument 521 bus_space_write_region_4(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint32_t *bufp, size_t count) argument 535 bus_space_write_region_8(bus_space_tag_t bst, bus_space_handle_t bsh, bus_size_t ofs, const uint64_t *bufp, size_t count) argument [all...] |
/freebsd-9.3-release/contrib/libpcap/ |
H A D | dlpisubs.c | 121 int count, u_char *bufp, int len) 134 ep = bufp + len; 138 while (bufp < ep) { 153 p->bp = bufp; 154 p->cc = ep - bufp; 159 if ((long)bufp & 3) { 161 memcpy(sbp, bufp, sizeof(*sbp)); 164 sbp = (struct sb_hdr *)bufp; 166 pk = bufp + sizeof(*sbp); 167 bufp 120 pcap_process_pkts(pcap_t *p, pcap_handler callback, u_char *user, int count, u_char *bufp, int len) argument [all...] |
/freebsd-9.3-release/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-9.3-release/sys/contrib/ia64/libuwx/src/ |
H A D | uwx_bstream.h | 30 unsigned char *bufp; member in struct:uwx_bstream
|
/freebsd-9.3-release/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') && (buf[1] == '0')) { 142 bufp += 2; 172 m = bufp[k + n];
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | vjcomp.c | 117 u_char *bufp; local 128 bufp = MBUF_CTOP(bp); 129 len = sl_uncompress_tcp(&bufp, len, type, &ipcp->vj.cslc, &ipcp->vj.slstat, 147 bufp = work + MAX_HDR; 148 bp = mbuf_Read(bp, bufp, rlen); 149 len = sl_uncompress_tcp(&bufp, olen, type, &ipcp->vj.cslc, &ipcp->vj.slstat, 158 bp = m_prepend(bp, bufp, len, 0);
|
/freebsd-9.3-release/contrib/cvs/lib/ |
H A D | regex.c | 972 print_compiled_pattern (bufp) 973 struct re_pattern_buffer *bufp; 975 unsigned char *buffer = bufp->buffer; 977 print_partial_compiled_pattern (buffer, buffer + bufp->used); 978 printf ("%d bytes used/%d bytes allocated.\n", bufp->used, bufp->allocated); 980 if (bufp->fastmap_accurate && bufp->fastmap) 983 print_fastmap (bufp->fastmap); 986 printf ("re_nsub: %d\t", bufp [all...] |
/freebsd-9.3-release/contrib/binutils/gas/ |
H A D | ecoff.h | 56 (HDRR *hdr, char **bufp, const struct ecoff_debug_swap *);
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_getcwd.c | 102 * Place the name in the buffer which starts at bufp, immediately 109 linux_getcwd_scandir(lvpp, uvpp, bpp, bufp, td) 113 char *bufp; 136 if (bufp != NULL) { 178 if (bufp == NULL) { 259 if (bp <= bufp) { 289 linux_getcwd_common (lvp, rvp, bpp, bufp, limit, flags, td) 293 char *bufp; 323 if (bufp) 377 error = linux_getcwd_scandir(&lvp, &uvp, &bp, bufp, t [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/ |
H A D | mem_dbg.c | 565 char *bufp = buf; local 571 #define BUF_REMAIN (sizeof buf - (size_t)(bufp - buf)) 579 BIO_snprintf(bufp, BUF_REMAIN, "[%02d:%02d:%02d] ", 581 bufp += strlen(bufp); 584 BIO_snprintf(bufp, BUF_REMAIN, "%5lu file=%s, line=%d, ", 586 bufp += strlen(bufp); 589 BIO_snprintf(bufp, BUF_REMAIN, "thread=%lu, ", m->thread); 590 bufp [all...] |