| /src/external/lgpl3/gmp/dist/printf/ |
| 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) 54 char *buf = *bufp; 58 *bufp = buf + ret; 63 gmp_sprintf_memory (char **bufp, const char *str, size_t len) 65 char *buf = *bufp; 66 *bufp = buf + len; 72 gmp_sprintf_reps (char **bufp, int c, int reps) 74 char *buf = *bufp; [all...] |
| /src/external/bsd/ntp/dist/include/ |
| lib_strbuf.h | 29 #define LIB_GETBUF(bufp) \ 31 (bufp) = lib_getbuf(); \
|
| ieee754io.h | 57 int fetch_ieee754 (unsigned char **bufp, int size, l_fp *lfpp, offsets_t offsets);
|
| /src/external/bsd/ntp/dist/libntp/ |
| buftvtots.c | 19 const char *bufp, 28 memcpy(&tv, bufp, sizeof(tv));
|
| /src/external/gpl2/xcvs/dist/lib/ |
| 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, st1, s1, st2, s2, startpos, range, regs, stop [all...] |
| /src/lib/libc/db/hash/ |
| hash_bigkey.c | 86 __big_insert(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) 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); 348 BUFHEAD *bufp; local [all...] |
| hash_page.c | 134 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) 141 bp = (uint16_t *)(void *)bufp->page; 145 return (__big_delete(hashp, bufp)); 155 char *src = bufp->page + (int)OFFSET(bp); 178 bufp->flags |= BUF_MOD; 293 BUFHEAD *bufp; /* Buffer header for ino */ local 305 bufp = old_bufp; 316 new_bufp, bufp, (int)bufp->addr, obucket, &ret)) 326 bufp = ret.nextp 918 BUFHEAD *bufp; local [all...] |
| /src/usr.bin/audiocfg/ |
| dtmf.c | 135 int16_t **bufp, size_t *buflenp) 141 *bufp = NULL; 145 dtmf_new(bufp, &buflen, sample_rate, 2000, 147 dtmf_new(bufp, &buflen, sample_rate, 65, 157 dtmf_new(bufp, &buflen, sample_rate, 130, 161 dtmf_new(bufp, &buflen, sample_rate, 65, 163 dtmf_new(bufp, &buflen, sample_rate, 65, 169 dtmf_new(bufp, &buflen, sample_rate, 325, 177 dtmf_new(bufp, &buflen, sample_rate, 250, 179 dtmf_new(bufp, &buflen, sample_rate, 250 [all...] |
| /src/games/hack/ |
| hack.tty.c | 217 * Read a line closed with '\n' into the array char bufp[BUFSZ]. 223 getlin(char *bufp) 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...] |
| /src/lib/libc/stdio/ |
| 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) 187 if (bufp == NULL || sizep == NULL) { 191 *bufp = calloc(1, 1); 192 if (*bufp == NULL) 197 free(*bufp); 198 *bufp = NULL [all...] |
| 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) 248 if (bufp == NULL || sizep == NULL) { 252 *bufp = calloc(1, sizeof(wchar_t)); 253 if (*bufp == NULL) 258 free(*bufp); 259 *bufp = NULL [all...] |
| /src/lib/libc/gen/ |
| setproctitle.c | 61 static char buf[MAX_PROCTITLE], *bufp; local 76 bufp = buf; 91 __ps_strings->ps_argvstr = &bufp;
|
| /src/sbin/sysctl/ |
| 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) {
|
| /src/external/bsd/ipf/dist/lib/ |
| 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 = malloc(i) [all...] |
| /src/external/bsd/pkg_install/dist/lib/ |
| 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, remaining) [all...] |
| /src/external/bsd/ntp/dist/libparse/ |
| 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, offsets, &fieldindex); /* fetch rest of characteristic and start of mantissa * [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| f_int.c | 56 unsigned char *bufp; local 89 bufp = (unsigned char *)buf; 92 if ((bufp[0] == '0') && (bufp[1] == '0')) { 93 bufp += 2; 116 m = OPENSSL_hexchar2int(bufp[k + n]);
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| dict_test.c | 45 char *bufp; local 99 bufp = vstring_str(inbuf); 101 vstream_printf("> %s\n", bufp); 104 if (*bufp == '#') 106 if ((cmd = mystrtok(&bufp, " ")) == 0) { 113 key = *bufp ? vstring_str(unescape(keybuf, mystrtok(&bufp, " ="))) : 0; 114 value = mystrtok(&bufp, " =");
|
| /src/external/ibm-public/postfix/dist/src/global/ |
| 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", CHARS_BRACE); 233 junk = mystrtok(&bufp, " \t");
|
| 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)
|
| /src/external/bsd/libpcap/dist/ |
| dlpisubs.c | 149 int count, u_char *bufp, int len) 168 ep = bufp + len; 172 while (bufp < ep) { 187 p->bp = bufp; 188 p->cc = ep - bufp; 193 if ((long)bufp & 3) { 195 memcpy(sbp, bufp, sizeof(*sbp)); 198 sbp = (struct sb_hdr *)bufp; 200 pk = bufp + sizeof(*sbp); 201 bufp += sbp->sbh_totlen [all...] |
| /src/external/ibm-public/postfix/dist/src/master/ |
| master_ent.c | 214 static char *get_str_ent(char **bufp, char *name, char *def_val) 218 if ((value = mystrtok(bufp, master_blanks)) == 0) 234 static int get_bool_ent(char **bufp, char *name, char *def_val) 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) 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, "transport type", (char *) 0) [all...] |
| /src/usr.bin/qsubst/ |
| 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-buf %ld]\n" [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| 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]);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| 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]);
|