Searched refs:bufp (Results 1 - 25 of 115) sorted by relevance

12345

/freebsd-10.0-release/contrib/ncurses/ncurses/tinfo/
H A Dcomp_expand.c58 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...]
H A Dlib_termcap.c71 * tgetent(bufp, term)
74 * buffer pointed to by bufp. It must be called before any of the functions
80 * system). The bufp argument is ignored.
85 tgetent(char *bufp, const char *name) argument
102 * bufp may be a null pointer, e.g., GNU termcap. That allocates data,
109 bool same_result = (MyCache[n].last_used && MyCache[n].last_bufp == bufp);
170 LAST_BUF = bufp;
189 if (bufp && _nc_termcap[0])
190 strncpy(bufp, _nc_termcap, 1024);
/freebsd-10.0-release/contrib/libgnuregex/
H A Dregex.c38 # 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-10.0-release/contrib/ntp/libntp/
H A Dbuftvtots.c16 const char *bufp,
25 memcpy(&tv, bufp, sizeof(tv));
15 buftvtots( const char *bufp, l_fp *ts ) argument
H A Drecvbuff.c81 register recvbuf_t *bufp; local
87 bufp = (recvbuf_t *) emalloc(abuf*sizeof(recvbuf_t));
91 memset((char *) bufp, 0, sizeof(recvbuf_t));
92 ISC_LIST_APPEND(free_recv_list, bufp, link);
93 bufp++;
/freebsd-10.0-release/kerberos5/lib/libgssapi_krb5/
H A Dpname_to_uid.c41 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-10.0-release/sys/opencrypto/
H A Ddeflate.c83 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-10.0-release/lib/libc/db/hash/
H A Dhash_bigkey.c86 __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 Dhash_page.c125 __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
919 BUFHEAD *bufp; local
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dsomread.c92 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-10.0-release/lib/libc/stdio/
H A Dopen_memstream.c45 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 Dopen_wmemstream.c45 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-10.0-release/sys/ia64/include/
H A Dbus.h299 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-10.0-release/contrib/ntp/include/
H A Dieee754io.h55 int fetch_ieee754 P((unsigned char **bufp, int size, l_fp *lfpp, offsets_t offsets));
/freebsd-10.0-release/contrib/mdocml/
H A Droff.c135 char **bufp, /* input buffer */ \
436 roff_res(struct roff *r, char **bufp, size_t *szp, int ln, int pos) argument
450 cp = *bufp + pos;
471 ln, (int)(stesc - *bufp), NULL);
507 (int)(stesc - *bufp), NULL);
524 ln, (int)(stesc - *bufp), NULL);
530 pos = stesc - *bufp;
535 strlcpy(n, *bufp, (size_t)(stesc - *bufp + 1));
539 free(*bufp);
596 roff_parseln(struct roff *r, int ln, char **bufp, size_t *szp, int pos, int *offs) argument
[all...]
/freebsd-10.0-release/contrib/ipfilter/lib/
H A Dipft_pc.c181 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-10.0-release/contrib/libpcap/
H A Ddlpisubs.c121 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-10.0-release/contrib/ntp/libparse/
H A Dieee754io.c104 unsigned char *bufp,
114 sprintf(buf+i*2, "%02x", bufp[i]);
123 unsigned char *bufp,
130 val = *(bufp + offset[*fieldindex]);
133 printf("fetchieee754: getbyte(0x%08x, %d) = 0x%02x\n", (unsigned int)(bufp)+offset[*fieldindex], *fieldindex, val);
142 unsigned char *bufp,
148 *(bufp + offsets[*fieldindex]) = val;
165 unsigned char *bufp = *buffpp; local
204 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */
209 val = get_byte(bufp, offset
103 fmt_hex( unsigned char *bufp, int length ) argument
122 get_byte( unsigned char *bufp, offsets_t offset, int *fieldindex ) argument
141 put_byte( unsigned char *bufp, offsets_t offsets, int *fieldindex, unsigned char val ) argument
[all...]
/freebsd-10.0-release/sys/contrib/ia64/libuwx/src/
H A Duwx_bstream.h30 unsigned char *bufp; member in struct:uwx_bstream
/freebsd-10.0-release/crypto/openssl/crypto/asn1/
H A Df_enum.c104 unsigned char *bufp; local
135 bufp=(unsigned char *)buf;
139 if ((bufp[0] == '0') && (buf[1] == '0'))
141 bufp+=2;
174 m=bufp[k+n];
H A Df_int.c108 unsigned char *bufp; local
148 bufp=(unsigned char *)buf;
152 if ((bufp[0] == '0') && (buf[1] == '0'))
154 bufp+=2;
186 m=bufp[k+n];
/freebsd-10.0-release/usr.sbin/ppp/
H A Dvjcomp.c117 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-10.0-release/contrib/binutils/gas/
H A Decoff.h56 (HDRR *hdr, char **bufp, const struct ecoff_debug_swap *);
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_getcwd.c102 * 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-10.0-release/crypto/openssl/crypto/
H A Dmem_dbg.c667 char *bufp = buf; local
673 #define BUF_REMAIN (sizeof buf - (size_t)(bufp - buf))
682 BIO_snprintf(bufp, BUF_REMAIN, "[%02d:%02d:%02d] ",
684 bufp += strlen(bufp);
687 BIO_snprintf(bufp, BUF_REMAIN, "%5lu file=%s, line=%d, ",
689 bufp += strlen(bufp);
693 BIO_snprintf(bufp, BUF_REMAIN, "thread=%lu, ",
695 bufp
[all...]

Completed in 334 milliseconds

12345