Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 25 of 112) sorted by relevance

12345

/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Dcomp_expand.c66 int bufp; in _nc_tic_expand() local
91 bufp = 0; in _nc_tic_expand()
106 _nc_SPRINTF(buffer + bufp, _nc_SLIMIT(P_LIMIT(bufp)) in _nc_tic_expand()
108 bufp += (int) strlen(buffer + bufp); in _nc_tic_expand()
140 buffer[bufp++] = *str; in _nc_tic_expand()
149 buffer[bufp++] = *str; in _nc_tic_expand()
184 _nc_SPRINTF(&buffer[bufp], _nc_SLIMIT(P_LIMIT(bufp)) in _nc_tic_expand()
186 bufp += 2; in _nc_tic_expand()
188 _nc_SPRINTF(&buffer[bufp], _nc_SLIMIT(P_LIMIT(bufp)) in _nc_tic_expand()
196 bufp += 4; in _nc_tic_expand()
[all …]
/dragonfly/sbin/rconfig/
H A Dsubs.c92 if (*bufp) { in udp_transact()
93 free(*bufp); in udp_transact()
94 *bufp = NULL; in udp_transact()
163 if (*bufp) { in tcp_transact()
164 free(*bufp); in tcp_transact()
165 *bufp = NULL; in tcp_transact()
187 if (*bufp) in tcp_transact()
188 free(*bufp); in tcp_transact()
193 if (*bufp) { in tcp_transact()
195 free(*bufp); in tcp_transact()
[all …]
/dragonfly/lib/libc/db/hash/
H A Dhash_bigkey.c113 bufp = __add_ovflpage(hashp, bufp); in __big_insert()
114 if (!bufp) in __big_insert()
169 bufp = __add_ovflpage(hashp, bufp); in __big_insert()
170 if (!bufp) in __big_insert()
290 bufp = __get_buf(hashp, bp[ndx + 2], bufp, 0); in __find_bigpair()
291 if (!bufp) in __find_bigpair()
338 bufp = __get_buf(hashp, pageno, bufp, 0); in __find_last_page()
339 if (!bufp) in __find_last_page()
364 bufp = __get_buf(hashp, bp[bp[0] - 1], bufp, 0); in __big_return()
372 bufp = __get_buf(hashp, bp[bp[0] - 1], bufp, 0); in __big_return()
[all …]
H A Dhash_page.c303 new_bufp, bufp, bufp->addr, obucket, &ret)) in ugly_split()
314 if (!bufp) in ugly_split()
330 bufp = __get_buf(hashp, ov_addr, bufp, 0); in ugly_split()
331 if (!bufp) in ugly_split()
409 bufp = __get_buf(hashp, bp[bp[0] - 1], bufp, 0); in __addel()
410 if (!bufp) in __addel()
423 bufp = __get_buf(hashp, bp[bp[0] - 1], bufp, 0); in __addel()
434 bufp = __add_ovflpage(hashp, bufp); in __addel()
435 if (!bufp) in __addel()
483 tmp2 = bufp->ovfl ? bufp->ovfl->addr : 0; in __add_ovflpage()
[all …]
/dragonfly/contrib/gmp/printf/
H A Dsprintffuns.c49 gmp_sprintf_format (char **bufp, const char *fmt, va_list ap) in gmp_sprintf_format() argument
51 char *buf = *bufp; in gmp_sprintf_format()
55 *bufp = buf + ret; in gmp_sprintf_format()
60 gmp_sprintf_memory (char **bufp, const char *str, size_t len) in gmp_sprintf_memory() argument
62 char *buf = *bufp; in gmp_sprintf_memory()
63 *bufp = buf + len; in gmp_sprintf_memory()
69 gmp_sprintf_reps (char **bufp, int c, int reps) in gmp_sprintf_reps() argument
71 char *buf = *bufp; in gmp_sprintf_reps()
73 *bufp = buf + reps; in gmp_sprintf_reps()
79 gmp_sprintf_final (char **bufp, int c, int reps) in gmp_sprintf_final() argument
[all …]
/dragonfly/contrib/cvs-1.12/lib/
H A Dregex.c33 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument
34 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
35 # define re_match(bufp, string, size, pos, regs) \ argument
36 __re_match (bufp, string, size, pos, regs)
37 # define re_search(bufp, string, size, startpos, range, regs) \ argument
38 __re_search (bufp, string, size, startpos, range, regs)
39 # define re_compile_pattern(pattern, length, bufp) \ argument
40 __re_compile_pattern (pattern, length, bufp)
42 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ argument
43 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
[all …]
/dragonfly/contrib/grep/lib/
H A Dregex.c46 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument
47 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
48 # define re_match(bufp, string, size, pos, regs) \ argument
49 __re_match (bufp, string, size, pos, regs)
50 # define re_search(bufp, string, size, startpos, range, regs) \ argument
51 __re_search (bufp, string, size, startpos, range, regs)
52 # define re_compile_pattern(pattern, length, bufp) \ argument
53 __re_compile_pattern (pattern, length, bufp)
55 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ argument
56 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
[all …]
/dragonfly/contrib/diffutils/lib/
H A Dregex.c46 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument
47 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
48 # define re_match(bufp, string, size, pos, regs) \ argument
49 __re_match (bufp, string, size, pos, regs)
50 # define re_search(bufp, string, size, startpos, range, regs) \ argument
51 __re_search (bufp, string, size, startpos, range, regs)
52 # define re_compile_pattern(pattern, length, bufp) \ argument
53 __re_compile_pattern (pattern, length, bufp)
55 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ argument
56 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dsomread.c100 for (bufp = buf; bufp < endbufp; ++bufp) in som_symtab_read()
103 unsigned int flags = bfd_getb32 (bufp->flags); in som_symtab_read()
126 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
133 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
146 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
153 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
174 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
205 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
212 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
223 symname = bfd_getb32 (bufp->name) + stringtab; in som_symtab_read()
[all …]
/dragonfly/lib/libc/stdio/
H A Dopen_memstream.c44 char **bufp; member
61 buf = realloc(*ms->bufp, newsize + 1); in memstream_grow()
68 *ms->bufp = buf; in memstream_grow()
176 if (bufp == NULL || sizep == NULL) { in open_memstream()
180 *bufp = calloc(1, 1); in open_memstream()
181 if (*bufp == NULL) in open_memstream()
186 free(*bufp); in open_memstream()
187 *bufp = NULL; in open_memstream()
191 ms->bufp = bufp; in open_memstream()
201 free(*bufp); in open_memstream()
[all …]
H A Dopen_wmemstream.c44 wchar_t **bufp; member
69 *ms->bufp = buf; in wmemstream_grow()
231 open_wmemstream(wchar_t **bufp, size_t *sizep) in open_wmemstream() argument
237 if (bufp == NULL || sizep == NULL) { in open_wmemstream()
241 *bufp = calloc(1, sizeof(wchar_t)); in open_wmemstream()
242 if (*bufp == NULL) in open_wmemstream()
247 free(*bufp); in open_wmemstream()
248 *bufp = NULL; in open_wmemstream()
252 ms->bufp = bufp; in open_wmemstream()
263 free(*bufp); in open_wmemstream()
[all …]
/dragonfly/games/hack/
H A Dhack.tty.c215 getlin(char *bufp) in getlin() argument
224 *bufp = 0; in getlin()
233 if (bufp != obufp) { in getlin()
234 bufp--; in getlin()
239 *bufp = 0; in getlin()
246 *bufp = c; in getlin()
247 bufp[1] = 0; in getlin()
248 putstr(bufp); in getlin()
249 if (bufp - obufp < BUFSZ - 1 && bufp - obufp < COLNO) in getlin()
250 bufp++; in getlin()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dregex.c86 # define re_compile_fastmap(bufp) __re_compile_fastmap (bufp) argument
1149 bufp->used, bufp->allocated); in PREFIX()
1151 if (bufp->fastmap_accurate && bufp->fastmap) in PREFIX()
1943 while ((unsigned long) (b - bufp->buffer + (n)) > bufp->allocated) \
2404 bufp->not_bol = bufp->not_eol = 0; in PREFIX()
2409 bufp->used = 0; in PREFIX()
2412 bufp->re_nsub = 0; in PREFIX()
4170 bufp->used = b - bufp->buffer; in PREFIX()
4559 register UCHAR_T *pend = (UCHAR_T*) (bufp->buffer + bufp->used); in PREFIX()
5780 pend = (CHAR_T*)(bufp->buffer + bufp->used); in wcs_re_match_2_internal()
[all …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dregex.c86 # define re_compile_fastmap(bufp) __re_compile_fastmap (bufp) argument
1149 bufp->used, bufp->allocated); in PREFIX()
1151 if (bufp->fastmap_accurate && bufp->fastmap) in PREFIX()
1943 while ((unsigned long) (b - bufp->buffer + (n)) > bufp->allocated) \
2404 bufp->not_bol = bufp->not_eol = 0; in PREFIX()
2409 bufp->used = 0; in PREFIX()
2412 bufp->re_nsub = 0; in PREFIX()
4170 bufp->used = b - bufp->buffer; in PREFIX()
4559 register UCHAR_T *pend = (UCHAR_T*) (bufp->buffer + bufp->used); in PREFIX()
5780 pend = (CHAR_T*)(bufp->buffer + bufp->used); in wcs_re_match_2_internal()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dregex.c85 # define re_compile_fastmap(bufp) __re_compile_fastmap (bufp) argument
1148 bufp->used, bufp->allocated); in PREFIX()
1150 if (bufp->fastmap_accurate && bufp->fastmap) in PREFIX()
1942 while ((unsigned long) (b - bufp->buffer + (n)) > bufp->allocated) \
2403 bufp->not_bol = bufp->not_eol = 0; in PREFIX()
2408 bufp->used = 0; in PREFIX()
2411 bufp->re_nsub = 0; in PREFIX()
4170 bufp->used = b - bufp->buffer; in PREFIX()
4559 register UCHAR_T *pend = (UCHAR_T*) (bufp->buffer + bufp->used); in PREFIX()
5780 pend = (CHAR_T*)(bufp->buffer + bufp->used); in wcs_re_match_2_internal()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dregex.c85 # define re_compile_fastmap(bufp) __re_compile_fastmap (bufp) argument
1148 bufp->used, bufp->allocated); in PREFIX()
1150 if (bufp->fastmap_accurate && bufp->fastmap) in PREFIX()
1942 while ((unsigned long) (b - bufp->buffer + (n)) > bufp->allocated) \
2403 bufp->not_bol = bufp->not_eol = 0; in PREFIX()
2408 bufp->used = 0; in PREFIX()
2411 bufp->re_nsub = 0; in PREFIX()
4170 bufp->used = b - bufp->buffer; in PREFIX()
4559 register UCHAR_T *pend = (UCHAR_T*) (bufp->buffer + bufp->used); in PREFIX()
5780 pend = (CHAR_T*)(bufp->buffer + bufp->used); in wcs_re_match_2_internal()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dregex.c86 # define re_compile_fastmap(bufp) __re_compile_fastmap (bufp) argument
1149 bufp->used, bufp->allocated); in PREFIX()
1151 if (bufp->fastmap_accurate && bufp->fastmap) in PREFIX()
1943 while ((unsigned long) (b - bufp->buffer + (n)) > bufp->allocated) \
2404 bufp->not_bol = bufp->not_eol = 0; in PREFIX()
2409 bufp->used = 0; in PREFIX()
2412 bufp->re_nsub = 0; in PREFIX()
4170 bufp->used = b - bufp->buffer; in PREFIX()
4559 register UCHAR_T *pend = (UCHAR_T*) (bufp->buffer + bufp->used); in PREFIX()
5780 pend = (CHAR_T*)(bufp->buffer + bufp->used); in wcs_re_match_2_internal()
[all …]
/dragonfly/contrib/cvs-1.12/src/
H A Dbuffer.c306 data->bufp += nbytes; in buf_send_output()
434 data->bufp = data->text; in buf_send_counted()
520 new->bufp = new->text; in buf_copy_data()
608 data->bufp = data->text; in buf_read_file()
672 data->bufp = data->text; in buf_read_file_to_eof()
871 data->bufp = nl + 1; in buf_read_short_line()
906 data->bufp = data->text; in buf_read_short_line()
983 data->bufp = data->text; in buf_read_data()
1003 buf->data->bufp += want; in buf_read_data()
1084 nldata->bufp += len; in buf_copy_lines()
[all …]
/dragonfly/usr.sbin/ppp/
H A Dvjcomp.c118 u_char *bufp; in VjUncompressTcp() local
129 bufp = MBUF_CTOP(bp); in VjUncompressTcp()
130 len = sl_uncompress_tcp(&bufp, len, type, &ipcp->vj.cslc, &ipcp->vj.slstat, in VjUncompressTcp()
148 bufp = work + MAX_HDR; in VjUncompressTcp()
149 bp = mbuf_Read(bp, bufp, rlen); in VjUncompressTcp()
150 len = sl_uncompress_tcp(&bufp, olen, type, &ipcp->vj.cslc, &ipcp->vj.slstat, in VjUncompressTcp()
159 bp = m_prepend(bp, bufp, len, 0); in VjUncompressTcp()
H A Dpred.c183 u_char bufp[MAX_MTU + 2]; in Pred1Output() local
189 cp = bufp; in Pred1Output()
195 fcs = hdlc_Fcs(bufp, 2 + orglen); in Pred1Output()
198 len = compress(state, bufp + 2, wp, orglen); in Pred1Output()
206 memcpy(wp, bufp + 2, orglen); in Pred1Output()
225 u_char *bufp; in Pred1Input() local
231 pp = bufp = MBUF_CTOP(wp); in Pred1Input()
264 fcs = hdlc_Fcs(bufp, wp->m_len = pp - bufp); in Pred1Input()
/dragonfly/contrib/gdb-7/bfd/
H A Dbfd.c585 char *bufp; in _bfd_default_error_handler() local
600 bufp = buf; in _bfd_default_error_handler()
628 bufp += len; in _bfd_default_error_handler()
637 *bufp++ = '*'; in _bfd_default_error_handler()
638 *bufp++ = '*'; in _bfd_default_error_handler()
639 *bufp = '\0'; in _bfd_default_error_handler()
687 q = bufp; in _bfd_default_error_handler()
688 bufp += len; in _bfd_default_error_handler()
697 q = bufp; in _bfd_default_error_handler()
698 bufp += extra; in _bfd_default_error_handler()
[all …]
/dragonfly/sbin/fsdb/
H A Dfsdbutil.c50 static int printindir(ufs_daddr_t blk, int level, char *bufp);
179 printindir(ufs_daddr_t blk, int level, char *bufp) in printindir() argument
189 bp->b_un.b_buf = bufp; in printindir()
219 if (printindir(blkno, level - 1, bufp) == 0) in printindir()
235 char *bufp; in printblocks() local
259 bufp = malloc((unsigned int)sblock.fs_bsize); in printblocks()
260 if (bufp == NULL) in printblocks()
264 if (printindir(dp->di_ib[i], i, bufp) == 0) in printblocks()
266 free(bufp); in printblocks()
/dragonfly/usr.bin/crunch/crunchide/
H A Dexec_elf64.c74 void *bufp; member
321 layoutp[r].bufp = NULL; in ELFNAMEEND()
342 layoutp[i].bufp = shdrp; in ELFNAMEEND()
347 layoutp[i].bufp = shstrtabp; in ELFNAMEEND()
356 layoutp[i].bufp = xmalloc(size, fn, in ELFNAMEEND()
358 if (layoutp[i].bufp == NULL) in ELFNAMEEND()
366 symtabp = layoutp[i].bufp; in ELFNAMEEND()
368 strtabp = layoutp[i].bufp; in ELFNAMEEND()
439 buf = layoutp[i].bufp; in ELFNAMEEND()
470 if (layoutp[i].bufp != NULL) in ELFNAMEEND()
[all …]
/dragonfly/contrib/dhcpcd/src/
H A Dscript.c182 char **env, **envp, *bufp, *endp; in script_buftoenv() local
189 for (bufp = buf; bufp < endp; bufp++) { in script_buftoenv()
190 if (*bufp == '\0') { in script_buftoenv()
192 if (bufp + 1 < endp) in script_buftoenv()
193 assert(*(bufp + 1) != '\0'); in script_buftoenv()
198 assert(*(bufp - 1) == '\0'); in script_buftoenv()
210 bufp = buf; in script_buftoenv()
212 *envp++ = bufp++; in script_buftoenv()
214 for (; bufp < endp; bufp++) { in script_buftoenv()
215 if (*bufp == '\0') in script_buftoenv()
[all …]
/dragonfly/sbin/jscan/
H A Djstream.c395 jsreadp(struct jstream *js, off_t off, const void **bufp, in jsreadp() argument
401 n = jsreadany(js, off, bufp); in jsreadp()
414 *bufp = NULL; in jsreadp()
416 *bufp = js->js_alloc_buf; in jsreadp()
426 const void *bufp; in jsreadcallback() local
432 while (bytes && (n = jsreadany(js, off, &bufp)) > 0) { in jsreadcallback()
435 r = func(fd, bufp, n); in jsreadcallback()
452 jsreadany(struct jstream *js, off_t off, const void **bufp) in jsreadany() argument
463 *bufp = scan->js_normalized_base + n; in jsreadany()

12345