Searched defs:bufp (Results 1 - 25 of 29) sorted by relevance

12

/external/elfutils/libasm/
H A Ddisasm_str.c63 GElf_Addr addr, const char *fmt, char **bufp, size_t len,
66 struct buffer buffer = { .buf = *bufp, .len = len };
70 *bufp = buffer.buf;
62 disasm_str(DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end, GElf_Addr addr, const char *fmt, char **bufp, size_t len, void *symcbarg) argument
/external/libselinux/src/
H A Dinit.c33 char *bufp; local
56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) {
74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) {
90 if (bufp)
/external/autotest/client/tests/monotonic_time/src/
H A Dcpuset.c112 char *bufp = buf; local
125 if ((n = show_range(bufp, len, sep, start, end)) < 0)
128 bufp += n;
136 if ((n = show_range(bufp, len, sep, start, end)) < 0)
138 bufp += n;
141 return bufp - buf;
/external/boringssl/src/crypto/asn1/
H A Df_enum.c102 unsigned char *bufp; local
133 bufp=(unsigned char *)buf;
137 if ((bufp[0] == '0') && (buf[1] == '0'))
139 bufp+=2;
171 m=bufp[k+n];
H A Df_int.c107 unsigned char *bufp; local
138 bufp=(unsigned char *)buf;
142 if ((bufp[0] == '0') && (buf[1] == '0'))
144 bufp+=2;
175 m=bufp[k+n];
H A Df_string.c102 unsigned char *bufp; local
139 bufp=(unsigned char *)buf;
169 m=bufp[k+n];
/external/curl/src/
H A Dtool_easysrc.c110 char *bufp; local
113 bufp = curlx_mvaprintf(fmt, ap);
115 if(! bufp) {
119 ret = easysrc_add(plist, bufp);
120 curl_free(bufp);
H A Dtool_paramhlp.c59 ParameterError file2string(char **bufp, FILE *file) argument
83 *bufp = string;
87 ParameterError file2memory(char **bufp, size_t *size, FILE *file) argument
130 *bufp = buffer;
/external/libpcap/
H A Ddlpisubs.c122 int count, u_char *bufp, int len)
136 ep = bufp + len;
140 while (bufp < ep) {
155 p->bp = bufp;
156 p->cc = ep - bufp;
161 if ((long)bufp & 3) {
163 memcpy(sbp, bufp, sizeof(*sbp));
166 sbp = (struct sb_hdr *)bufp;
168 pk = bufp + sizeof(*sbp);
169 bufp
121 pcap_process_pkts(pcap_t *p, pcap_handler callback, u_char *user, int count, u_char *bufp, int len) argument
[all...]
H A Dpcap-libdlpi.c318 u_char *bufp; local
324 bufp = p->bp;
340 bufp = p->buffer + p->offset;
342 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp,
362 return (pcap_process_pkts(p, callback, user, count, bufp, len));
H A Dpcap-dlpi.c1027 recv_ack(int fd, int size, const char *what, char *bufp, char *ebuf, int *uerror) argument
1042 ctl.buf = bufp;
1329 dlbindack(int fd, char *bufp, char *ebuf, int *uerror) argument
1332 return (recv_ack(fd, DL_BIND_ACK_SIZE, "bind", bufp, ebuf, uerror));
1336 dlokack(int fd, const char *what, char *bufp, char *ebuf) argument
1339 return (recv_ack(fd, DL_OK_ACK_SIZE, what, bufp, ebuf, NULL));
1354 dlinfoack(int fd, char *bufp, char *ebuf) argument
1357 return (recv_ack(fd, DL_INFO_ACK_SIZE, "info", bufp, ebuf, NULL));
/external/ltrace/
H A Dglob.c80 append(char **bufp, const char *str, size_t str_size, argument
88 char *nbuf = realloc(*bufp, nalloc);
92 *bufp = nbuf;
95 memcpy(*bufp + *sizep, str, str_size);
/external/selinux/policycoreutils/run_init/
H A Drun_init.c302 char buf[255], *bufp; local
322 bufp = buf;
323 while (*bufp && isspace(*bufp))
324 bufp++;
326 if (*bufp) {
327 *context = strdup(bufp);
/external/ppp/pppd/
H A Dcbcp.c369 u_char *bufp = buf; local
388 PUTCHAR(CB_CONF_USER, bufp);
390 PUTCHAR(len , bufp);
391 PUTCHAR(5, bufp); /* delay */
392 PUTCHAR(1, bufp);
393 BCOPY(us->us_number, bufp, slen + 1);
400 PUTCHAR(CB_CONF_ADMIN, bufp);
402 PUTCHAR(len, bufp);
403 PUTCHAR(5, bufp); /* delay */
410 PUTCHAR(CB_CONF_NO, bufp);
[all...]
/external/selinux/policycoreutils/sestatus/
H A Dsestatus.c92 char buf[255], *bufp; local
110 bufp = buf;
111 while (*bufp && isspace(*bufp)) {
112 bufp++;
116 if (*bufp == '#')
120 if (*bufp) {
121 if (!(*bufp))
124 if (strncmp(bufp, PROCS, proclen) == 0)
126 else if (strncmp(bufp, FILE
[all...]
/external/boringssl/src/crypto/obj/
H A Dobj.c367 const unsigned char *bufp; local
401 bufp = buf;
402 op = d2i_ASN1_OBJECT(NULL, &bufp, total_len);
/external/curl/lib/
H A Dasyn-ares.c494 char *bufp; local
533 bufp = strdup(hostname);
534 if(bufp) {
537 conn->async.hostname = bufp;
/external/icu/icu4c/source/test/letest/
H A Dgendata.cpp100 le_int32 bufp = 0; local
105 if (i % 8 == 0 && bufp != 0) {
107 bufp = 0;
110 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]);
113 if (bufp != 0) {
114 lineBuffer[bufp - 2] = '\0';
123 le_int32 bufp = 0; local
128 if (i % 8 == 0 && bufp != 0) {
130 bufp
[all...]
/external/curl/packages/OS400/
H A Dccsidcurl.c370 char * * bufp, int * left, unsigned int ccsid)
374 Result is stored in the `*left'-byte buffer at `*bufp'.
375 `*bufp' and `*left' are updated accordingly.
379 int l = convert(*bufp, *left, ccsid, *stringp, -1, ASCII_CCSID);
384 *stringp = *bufp;
385 *bufp += l;
369 convert_version_info_string(const char * * stringp, char * * bufp, int * left, unsigned int ccsid) argument
/external/elfutils/libcpu/
H A Di386_data.h127 d->bufp[(*d->bufcntp)++] = '%';
128 d->bufp[(*d->bufcntp)++] = ch;
129 d->bufp[(*d->bufcntp)++] = 's';
130 d->bufp[(*d->bufcntp)++] = ':';
165 char *bufp = d->bufp; local
207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
281 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
379 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf);
400 char *buf = d->bufp
508 char *bufp = d->bufp; local
535 char *bufp = d->bufp; local
946 char *bufp = d->bufp; local
1025 char *bufp = d->bufp; local
1093 char *bufp = d->bufp; local
1362 char *bufp = d->bufp; local
1385 char *bufp = d->bufp; local
[all...]
H A Di386_disasm.c264 char *bufp; member in struct:output_data
333 .bufp = buf,
470 output_data.bufp = buf;
/external/icu/icu4c/source/extra/uconv/
H A Duconv.cpp597 char *bufp; local
914 // Again 'bufp' will be placed behind the last converted character
922 bufp = outbuf;
927 ucnv_fromUnicode(convto, &bufp, outbuf + bufsz,
982 ferroffset = (int32_t)(outfoffset + (bufp - outbuf));
1022 size_t outlen = (size_t) (bufp - outbuf);
/external/valgrind/coregrind/m_gdbserver/
H A Dremote-utils.c946 static unsigned char *bufp; local
950 return *bufp++;
991 bufp = buf;
1000 return *bufp++;
/external/curl/lib/vtls/
H A Dopenssl.c2290 BN_bn2bin(pubkey->pkey._type->_name, (unsigned char*)bufp); \
2291 bufp[len] = 0; \
2292 pubkey_show(data, _num, #_type, #_name, (unsigned char*)bufp, len); \
2404 char *bufp; local
2408 bufp = malloc(CERTBUFFERSIZE);
2409 if(!bufp)
2414 free(bufp);
2422 free(bufp);
2444 (void)x509_name_oneline(X509_get_subject_name(x), bufp, CERTBUFFERSIZE); local
2445 infof(data, "%2d Subject: %s\n", i, bufp);
2448 (void)x509_name_oneline(X509_get_issuer_name(x), bufp, CERTBUFFERSIZE); local
[all...]
/external/libedit/src/
H A Dterminal.c459 Char **bufp; local
464 for (bufp = b; *bufp != NULL; bufp++)
465 el_free(*bufp);
471 for (bufp = b; *bufp != NULL; bufp++)
472 el_free(*bufp);

Completed in 2260 milliseconds

12