/netbsd-current/external/lgpl3/gmp/dist/printf/ |
H A D | sprintffuns.c | 43 /* The data parameter "bufp" points to a "char *buf" which is the next 49 "*bufp" is ruined in this case, since gmp_doprint will bail out 52 gmp_sprintf_format (char **bufp, const char *fmt, va_list ap) argument 54 char *buf = *bufp; 58 *bufp = buf + ret; 63 gmp_sprintf_memory (char **bufp, const char *str, size_t len) argument 65 char *buf = *bufp; 66 *bufp = buf + len; 72 gmp_sprintf_reps (char **bufp, int c, int reps) argument 74 char *buf = *bufp; 82 gmp_sprintf_final(char **bufp) argument [all...] |
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | buftvtots.c | 19 const char *bufp, 28 memcpy(&tv, bufp, sizeof(tv)); 18 buftvtots( const char *bufp, l_fp *ts ) argument
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | regex.c | 36 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 37 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 38 # define re_match(bufp, string, size, pos, regs) \ 39 __re_match (bufp, string, size, pos, regs) 40 # define re_search(bufp, string, size, startpos, range, regs) \ 41 __re_search (bufp, string, size, startpos, range, regs) 42 # define re_compile_pattern(pattern, length, bufp) \ 43 __re_compile_pattern (pattern, length, bufp) 45 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 46 __re_search_2 (bufp, st [all...] |
/netbsd-current/external/bsd/ntp/dist/include/ |
H A D | lib_strbuf.h | 27 #define LIB_GETBUF(bufp) \ 30 (bufp) = &lib_stringbuf[lib_nextbuf++][0]; \
|
H A D | ieee754io.h | 57 int fetch_ieee754 (unsigned char **bufp, int size, l_fp *lfpp, offsets_t offsets);
|
/netbsd-current/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. */ 125 bufp = __add_ovflpage(hashp, bufp); 126 if (!bufp) 157 p = (uint16_t *)(void *)bufp->page; 158 cp = bufp->page; 159 bufp->flags |= BUF_MOD; 192 bufp = __add_ovflpage(hashp, bufp); 219 __big_delete(HTAB *hashp, BUFHEAD *bufp) argument 299 __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size) argument 348 BUFHEAD *bufp; local 385 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DBT *val, int set_current) argument 472 collect_data(HTAB *hashp, BUFHEAD *bufp, int len, int set) argument 526 __big_keydata(HTAB *hashp, BUFHEAD *bufp, DBT *key, DBT *val, int set) argument 540 collect_key(HTAB *hashp, BUFHEAD *bufp, int len, DBT *val, int set) argument [all...] |
H A D | hash_page.c | 133 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) argument 140 bp = (uint16_t *)(void *)bufp->page; 144 return (__big_delete(hashp, bufp)); 154 char *src = bufp->page + (int)OFFSET(bp); 177 bufp->flags |= BUF_MOD; 292 BUFHEAD *bufp; /* Buffer header for ino */ local 304 bufp = old_bufp; 315 new_bufp, bufp, (int)bufp->addr, obucket, &ret)) 325 bufp 408 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) argument 480 __add_ovflpage(HTAB *hashp, BUFHEAD *bufp) argument 917 BUFHEAD *bufp; local [all...] |
/netbsd-current/games/hack/ |
H A D | hack.tty.c | 217 * Read a line closed with '\n' into the array char bufp[BUFSZ]. 223 getlin(char *bufp) argument 225 char *obufp = bufp; 232 *bufp = 0; 241 if (bufp != obufp) { 242 bufp--; 247 *bufp = 0; 254 *bufp = c; 255 bufp[1] = 0; 256 putstr(bufp); [all...] |
/netbsd-current/lib/libc/stdio/ |
H A D | open_memstream.c | 48 char **bufp; member in struct:memstream 70 buf = realloc(*ms->bufp, newsize + 1); 77 *ms->bufp = buf; 108 memcpy(*ms->bufp + ms->offset, buf, tocopy); 181 open_memstream(char **bufp, size_t *sizep) argument 187 if (bufp == NULL || sizep == NULL) { 191 *bufp = calloc(1, 1); 192 if (*bufp == NULL) 197 free(*bufp); 198 *bufp [all...] |
H A D | open_wmemstream.c | 48 wchar_t **bufp; member in struct:wmemstream 74 buf = realloc(*ms->bufp, (newsize + 1) * sizeof(wchar_t)); 81 *ms->bufp = buf; 149 charlen = mbrtowc(*ms->bufp + ms->offset, buf, len, 242 open_wmemstream(wchar_t **bufp, size_t *sizep) argument 248 if (bufp == NULL || sizep == NULL) { 252 *bufp = calloc(1, sizeof(wchar_t)); 253 if (*bufp == NULL) 258 free(*bufp); 259 *bufp [all...] |
/netbsd-current/lib/libc/gen/ |
H A D | setproctitle.c | 61 static char buf[MAX_PROCTITLE], *bufp; local 76 bufp = buf; 91 __ps_strings->ps_argvstr = &bufp;
|
/netbsd-current/sbin/sysctl/ |
H A D | pathconf.c | 155 char *bufp, buf[BUFSIZ]; local 157 bufp = buf; 159 if ((indx = findname(string, "top", &bufp, &pclist)) == -1) 161 if (bufp) { 162 fprintf(stderr, "name %s in %s is unknown\n", *bufp, string); 197 findname(string, level, bufp, namelist) 200 char **bufp; 206 if (namelist->list == 0 || (name = strsep(bufp, ".")) == NULL) {
|
/netbsd-current/external/bsd/ipf/dist/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 228 if (!bufp) 229 bufp [all...] |
/netbsd-current/external/bsd/pkg_install/dist/lib/ |
H A D | file.c | 295 char *bufp, *tmp; local 298 for (bufp = buf, remaining = size; remaining > 1 && *fmt;) { 300 *bufp++ = *fmt++; 311 quoted = shquote(name, bufp, remaining); 316 bufp += quoted; 321 quoted = shquote(dir, bufp, remaining); 326 bufp += quoted; 334 quoted = shquote(tmp, bufp, remaining); 340 bufp += quoted; 347 quoted = shquote(cp, bufp, remainin [all...] |
/netbsd-current/external/bsd/libpcap/dist/ |
H A D | dlpisubs.c | 141 int count, u_char *bufp, int len) 160 ep = bufp + len; 164 while (bufp < ep) { 179 p->bp = bufp; 180 p->cc = ep - bufp; 185 if ((long)bufp & 3) { 187 memcpy(sbp, bufp, sizeof(*sbp)); 190 sbp = (struct sb_hdr *)bufp; 192 pk = bufp + sizeof(*sbp); 193 bufp 140 pcap_process_pkts(pcap_t *p, pcap_handler callback, u_char *user, int count, u_char *bufp, int len) argument [all...] |
/netbsd-current/external/bsd/ntp/dist/libparse/ |
H A D | ieee754io.c | 107 unsigned char *bufp, 118 snprintf(hex, sizeof(hex), "%02x", bufp[i]); 129 unsigned char *bufp, 136 val = *(bufp + offset[*fieldindex]); 139 printf("fetchieee754: getbyte(0x%08x, %d) = 0x%02x\n", (unsigned int)(bufp)+offset[*fieldindex], *fieldindex, val); 148 unsigned char *bufp, 154 *(bufp + offsets[*fieldindex]) = val; 171 unsigned char *bufp = *buffpp; local 210 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */ 215 val = get_byte(bufp, offset 106 fmt_hex( unsigned char *bufp, int length ) argument 128 get_byte( unsigned char *bufp, offsets_t offset, int *fieldindex ) argument 147 put_byte( unsigned char *bufp, offsets_t offsets, int *fieldindex, unsigned char val ) argument [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_test.c | 45 char *bufp; local 100 bufp = vstring_str(inbuf); 102 vstream_printf("> %s\n", bufp); 105 if (*bufp == '#') 107 if ((cmd = mystrtok(&bufp, " ")) == 0) { 114 key = *bufp ? vstring_str(unescape(keybuf, mystrtok(&bufp, " ="))) : 0; 115 value = mystrtok(&bufp, " =");
|
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | data_redirect.c | 212 char *bufp; local 220 bufp = STR(inbuf); 222 vstream_printf("> %s\n", bufp); 225 if (*bufp == '#') 227 if ((cmd = mystrtok(&bufp, " \t")) == 0) { 232 target = mystrtokq(&bufp, " \t"); 233 junk = mystrtok(&bufp, " \t");
|
H A D | own_inet_addr.c | 87 char *bufp; local 147 bufp = hosts = mystrdup(var_inet_interfaces); 148 while ((host = mystrtok(&bufp, sep)) != 0) 236 char *bufp; local 243 bufp = hosts = mystrdup(var_proxy_interfaces); 244 while ((host = mystrtok(&bufp, sep)) != 0)
|
/netbsd-current/external/ibm-public/postfix/dist/src/master/ |
H A D | master_ent.c | 214 static char *get_str_ent(char **bufp, char *name, char *def_val) argument 218 if ((value = mystrtok(bufp, master_blanks)) == 0) 234 static int get_bool_ent(char **bufp, char *name, char *def_val) argument 238 value = get_str_ent(bufp, name, def_val); 251 static int get_int_ent(char **bufp, char *name, char *def_val, int min_val) argument 256 value = get_str_ent(bufp, name, def_val); 279 char *bufp; local 314 bufp = vstring_str(buf); 315 if ((cp = mystrtok(&bufp, master_blanks)) == 0) 318 transport = get_str_ent(&bufp, "transpor [all...] |
/netbsd-current/usr.bin/qsubst/ |
H A D | qsubst.c | 134 static char *bufp; variable 202 return (!issymchar(bufp[-1]) && 203 !issymchar(bufp[-2 - s1l]) && 204 !bcmp(bufp - 1 - s1l, str1, s1l)); 206 return (!bcmp(bufp - s1l, str1, s1l)); 397 bufp = bufp0; 405 if (bufp > bufp0) 406 fwrite(bufp0, 1, bufp - bufp0, tempf); 419 *bufp++ = c; 422 printf("[got %c, n now %ld, bufp [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
H A D | f_int.c | 58 unsigned char *bufp; local 92 bufp = (unsigned char *)buf; 95 if ((bufp[0] == '0') && (bufp[1] == '0')) { 96 bufp += 2; 120 m = OPENSSL_hexchar2int(bufp[k + n]);
|
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/asn1/ |
H A D | f_int.c | 58 unsigned char *bufp; local 92 bufp = (unsigned char *)buf; 95 if ((bufp[0] == '0') && (bufp[1] == '0')) { 96 bufp += 2; 120 m = OPENSSL_hexchar2int(bufp[k + n]);
|
/netbsd-current/crypto/external/bsd/openssh/dist/ |
H A D | sshbuf-io.c | 82 sshbuf_load_file(const char *path, struct sshbuf **bufp) argument 86 *bufp = NULL; 89 if ((r = sshbuf_load_fd(fd, bufp)) != 0)
|
/netbsd-current/external/mpl/dhcp/dist/common/ |
H A D | raw.c | 118 int bufp = 0; local 123 assemble_udp_ip_header (interface, buf, &bufp, from.s_addr, 129 iov [0].iov_len = bufp;
|