Home
last modified time | relevance | path

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

123

/external/elfutils/libcpu/
Di386_data.h127 d->bufp[(*d->bufcntp)++] = '%'; in data_prefix()
128 d->bufp[(*d->bufcntp)++] = ch; in data_prefix()
129 d->bufp[(*d->bufcntp)++] = 's'; in data_prefix()
130 d->bufp[(*d->bufcntp)++] = ':'; in data_prefix()
165 char *bufp = d->bufp; in general_mod$r_m() local
207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
281 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
379 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf); in general_mod$r_m()
400 char *buf = d->bufp + *bufcntp; in FCT_MOD$R_M()
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m()
[all …]
/external/u-boot/board/Synology/ds414/
Dcmd_syno.c33 char *buf, *bufp; in do_syno_populate() local
63 for (i = 0, bufp = buf + n * 7; i < ETH_ALEN; i++) { in do_syno_populate()
64 sum += bufp[i]; in do_syno_populate()
65 csum += bufp[i]; in do_syno_populate()
66 ethaddr[i] = bufp[i]; in do_syno_populate()
70 if (csum != bufp[i]) { /* seventh byte is checksum value */ in do_syno_populate()
90 snp = bufp = buf + 32 + strlen(SYNO_SN_TAG); in do_syno_populate()
91 for (n = 0; bufp[n] && bufp[n] != ','; n++) in do_syno_populate()
92 csum += bufp[n]; in do_syno_populate()
93 bufp[n] = '\0'; in do_syno_populate()
[all …]
/external/u-boot/drivers/net/
Dbcm-sf2-eth-gmac.c97 uint8_t *bufp; in dma_tx_dump() local
120 bufp = (uint8_t *)(dma->tx_buf + i * TX_BUF_SIZE_ALIGNED); in dma_tx_dump()
121 printf("buf%d:0x%x; ", i, (uint32_t)bufp); in dma_tx_dump()
129 uint8_t *bufp; in dma_rx_dump() local
151 bufp = dma->rx_buf + i * RX_BUF_SIZE_ALIGNED; in dma_rx_dump()
152 printf("buf%d:0x%x; ", i, (uint32_t)bufp); in dma_rx_dump()
161 uint8_t *bufp; in dma_tx_init() local
175 bufp = dma->tx_buf + i * TX_BUF_SIZE_ALIGNED; in dma_tx_init()
177 memset((void *)bufp, 0, TX_BUF_SIZE_ALIGNED); in dma_tx_init()
185 descp->addrlow = (uint32_t)bufp; in dma_tx_init()
[all …]
/external/libpcap/
Ddlpisubs.c122 int count, u_char *bufp, int len) in pcap_process_pkts() argument
136 ep = bufp + len; in pcap_process_pkts()
140 while (bufp < ep) { in pcap_process_pkts()
155 p->bp = bufp; in pcap_process_pkts()
156 p->cc = ep - bufp; in pcap_process_pkts()
161 if ((long)bufp & 3) { in pcap_process_pkts()
163 memcpy(sbp, bufp, sizeof(*sbp)); in pcap_process_pkts()
166 sbp = (struct sb_hdr *)bufp; in pcap_process_pkts()
168 pk = bufp + sizeof(*sbp); in pcap_process_pkts()
169 bufp += sbp->sbh_totlen; in pcap_process_pkts()
[all …]
Dpcap-libdlpi.c382 u_char *bufp; in pcap_read_libdlpi() local
388 bufp = p->bp; in pcap_read_libdlpi()
404 bufp = (u_char *)p->buffer + p->offset; in pcap_read_libdlpi()
406 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp, in pcap_read_libdlpi()
426 return (pcap_process_pkts(p, callback, user, count, bufp, len)); in pcap_read_libdlpi()
Dpcap-dlpi.c1152 recv_ack(int fd, int size, const char *what, char *bufp, char *ebuf, int *uerror) argument
1169 ctl.buf = bufp;
1454 dlbindack(int fd, char *bufp, char *ebuf, int *uerror) argument
1457 return (recv_ack(fd, DL_BIND_ACK_SIZE, "bind", bufp, ebuf, uerror));
1461 dlokack(int fd, const char *what, char *bufp, char *ebuf) argument
1464 return (recv_ack(fd, DL_OK_ACK_SIZE, what, bufp, ebuf, NULL));
1479 dlinfoack(int fd, char *bufp, char *ebuf) argument
1482 return (recv_ack(fd, DL_INFO_ACK_SIZE, "info", bufp, ebuf, NULL));
/external/selinux/policycoreutils/sestatus/
Dsestatus.c99 char buf[255], *bufp; in load_checks() local
117 bufp = buf; in load_checks()
118 while (*bufp && isspace(*bufp)) { in load_checks()
119 bufp++; in load_checks()
123 if (*bufp == '#') in load_checks()
127 if (*bufp) { in load_checks()
128 if (!(*bufp)) in load_checks()
131 if (strncmp(bufp, PROCS, proclen) == 0) in load_checks()
133 else if (strncmp(bufp, FILES, filelen) == 0) in load_checks()
143 memcpy(pc[*npc], bufp, buf_len); in load_checks()
[all …]
/external/icu/icu4c/source/test/letest/
Dgendata.cpp102 le_int32 bufp = 0; in dumpLongs() local
107 if (i % 8 == 0 && bufp != 0) { in dumpLongs()
109 bufp = 0; in dumpLongs()
112 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); in dumpLongs()
115 if (bufp != 0) { in dumpLongs()
116 lineBuffer[bufp - 2] = '\0'; in dumpLongs()
125 le_int32 bufp = 0; in dumpFloats() local
130 if (i % 8 == 0 && bufp != 0) { in dumpFloats()
132 bufp = 0; in dumpFloats()
135 bufp += sprintf(&lineBuffer[bufp], "%f, ", floats[i]); in dumpFloats()
[all …]
/external/honggfuzz/examples/openssl/
Dclient.c444 const uint8_t* bufp = kRSAPrivateKeyDER; in LLVMFuzzerInitialize() local
445 RSA* privkey = d2i_RSAPrivateKey(NULL, &bufp, sizeof(kRSAPrivateKeyDER)); in LLVMFuzzerInitialize()
453 bufp = kCertificateDER; in LLVMFuzzerInitialize()
454 X509* cert = d2i_X509(NULL, &bufp, sizeof(kCertificateDER)); in LLVMFuzzerInitialize()
469 bufp = kRSACACertDER; in LLVMFuzzerInitialize()
470 cert = d2i_X509(NULL, &bufp, sizeof(kRSACACertDER)); in LLVMFuzzerInitialize()
478 bufp = kECCACertDER; in LLVMFuzzerInitialize()
479 cert = d2i_X509(NULL, &bufp, sizeof(kECCACertDER)); in LLVMFuzzerInitialize()
487 bufp = kDSACertDER; in LLVMFuzzerInitialize()
488 cert = d2i_X509(NULL, &bufp, sizeof(kDSACertDER)); in LLVMFuzzerInitialize()
Dserver.c482 const uint8_t* bufp = kRSAPrivateKeyDER; in LLVMFuzzerInitialize() local
483 RSA* privkey = d2i_RSAPrivateKey(NULL, &bufp, sizeof(kRSAPrivateKeyDER)); in LLVMFuzzerInitialize()
491 bufp = kCertificateDER; in LLVMFuzzerInitialize()
492 X509* cert = d2i_X509(NULL, &bufp, sizeof(kCertificateDER)); in LLVMFuzzerInitialize()
507 bufp = kRSACACertDER; in LLVMFuzzerInitialize()
508 cert = d2i_X509(NULL, &bufp, sizeof(kRSACACertDER)); in LLVMFuzzerInitialize()
516 bufp = kECCACertDER; in LLVMFuzzerInitialize()
517 cert = d2i_X509(NULL, &bufp, sizeof(kECCACertDER)); in LLVMFuzzerInitialize()
525 bufp = kDSACertDER; in LLVMFuzzerInitialize()
526 cert = d2i_X509(NULL, &bufp, sizeof(kDSACertDER)); in LLVMFuzzerInitialize()
/external/autotest/client/tests/monotonic_time/src/
Dcpuset.c112 char *bufp = buf; in show_cpu_set() local
125 if ((n = show_range(bufp, len, sep, start, end)) < 0) in show_cpu_set()
128 bufp += n; in show_cpu_set()
136 if ((n = show_range(bufp, len, sep, start, end)) < 0) in show_cpu_set()
138 bufp += n; in show_cpu_set()
141 return bufp - buf; in show_cpu_set()
/external/selinux/policycoreutils/run_init/
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/
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/u-boot/drivers/usb/host/
Dsl811-hcd.c533 __u8 *bufp = data_buf; in sl811_rh_submit_urb() local
562 *(__u16 *)bufp = cpu_to_le16(1); in sl811_rh_submit_urb()
566 *(__u16 *)bufp = cpu_to_le16(0); in sl811_rh_submit_urb()
570 *(__u16 *)bufp = cpu_to_le16(0); in sl811_rh_submit_urb()
574 *(__u32 *)bufp = cpu_to_le32(0); in sl811_rh_submit_urb()
578 *(__u32 *)bufp = cpu_to_le32(rh_status.wPortChange<<16 | rh_status.wPortStatus); in sl811_rh_submit_urb()
666 bufp = sl811_rh_dev_des; in sl811_rh_submit_urb()
671 bufp = sl811_rh_config_des; in sl811_rh_submit_urb()
677 bufp = data; in sl811_rh_submit_urb()
688 bufp = sl811_rh_hub_des; in sl811_rh_submit_urb()
[all …]
/external/u-boot/common/
DxyzModem.c45 unsigned char pkt[1024], *bufp; member
335 xyz.bufp = xyz.pkt; in xyzModem_get_hdr()
457 while (*xyz.bufp++); in xyzModem_stream_open()
459 parse_num ((char *) xyz.bufp, &xyz.file_length, NULL, " "); in xyzModem_stream_open()
516 if ((xyz.bufp[xyz.len - 1] == EOF) && in xyzModem_stream_read()
517 (xyz.bufp[xyz.len - 2] == EOF) && in xyzModem_stream_read()
518 (xyz.bufp[xyz.len - 3] == EOF)) in xyzModem_stream_read()
521 && (xyz.bufp[xyz.len - 1] == EOF)) in xyzModem_stream_read()
593 memcpy (buf, xyz.bufp, len); in xyzModem_stream_read()
598 xyz.bufp += len; in xyzModem_stream_read()
/external/curl/src/
Dtool_easysrc.c111 char *bufp; in easysrc_addf() local
114 bufp = curlx_mvaprintf(fmt, ap); in easysrc_addf()
116 if(! bufp) { in easysrc_addf()
120 ret = easysrc_add(plist, bufp); in easysrc_addf()
121 curl_free(bufp); in easysrc_addf()
Dtool_paramhlp.h28 ParameterError file2string(char **bufp, FILE *file);
30 ParameterError file2memory(char **bufp, size_t *size, FILE *file);
Dtool_paramhlp.c59 ParameterError file2string(char **bufp, FILE *file) in file2string() argument
86 *bufp = string; in file2string()
90 ParameterError file2memory(char **bufp, size_t *size, FILE *file) in file2memory() argument
135 *bufp = buffer; in file2memory()
/external/curl/lib/
Drand.c157 unsigned char *bufp = buffer; in Curl_rand_hex() local
179 *rnd++ = hex[(*bufp & 0xF0)>>4]; in Curl_rand_hex()
180 *rnd++ = hex[*bufp & 0x0F]; in Curl_rand_hex()
181 bufp++; in Curl_rand_hex()
Dasyn-ares.c536 char *bufp; in Curl_resolver_getaddrinfo() local
575 bufp = strdup(hostname); in Curl_resolver_getaddrinfo()
576 if(bufp) { in Curl_resolver_getaddrinfo()
579 conn->async.hostname = bufp; in Curl_resolver_getaddrinfo()
/external/elfutils/libasm/
Ddisasm_str.c63 GElf_Addr addr, const char *fmt, char **bufp, size_t len, in disasm_str() argument
66 struct buffer buffer = { .buf = *bufp, .len = len }; in disasm_str()
70 *bufp = buffer.buf; in disasm_str()
/external/tcpdump/
Dutil-print.c525 char *bufp = buf; in bittok2str_internal() local
543 string_size = strlcpy(bufp, sepstr, space_left); in bittok2str_internal()
546 bufp += string_size; in bittok2str_internal()
550 string_size = strlcpy(bufp, lp->s, space_left); in bittok2str_internal()
553 bufp += string_size; in bittok2str_internal()
563 if (bufp == buf) in bittok2str_internal()
/external/curl/tests/libtest/
Dlib1560.c49 char *bufp = &buf[0]; in checkparts() local
70 msnprintf(bufp, len, "%s%s", buf[0]?" | ":"", p); in checkparts()
73 msnprintf(bufp, len, "%s[%d]", buf[0]?" | ":"", (int)rc); in checkparts()
75 n = strlen(bufp); in checkparts()
76 bufp += n; in checkparts()
/external/u-boot/drivers/usb/gadget/
Ddesignware_udc.c183 static int usbgetpckfromfifo(int epNum, u8 *bufp, u32 len) in usbgetpckfromfifo() argument
198 if ((int)bufp & 0x3) in usbgetpckfromfifo()
201 wrdp = (u32 *)bufp; in usbgetpckfromfifo()
217 if ((int)bufp & 0x3) in usbgetpckfromfifo()
218 memcpy(bufp, tmp, len); in usbgetpckfromfifo()
223 static void usbputpcktofifo(int epNum, u8 *bufp, u32 len) in usbputpcktofifo() argument
232 wrdp = (u32 *)bufp; in usbputpcktofifo()
/external/openssh/
Dsshbuf-getput-basic.c378 sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp) in sshbuf_froms() argument
385 if (buf == NULL || bufp == NULL) in sshbuf_froms()
387 *bufp = NULL; in sshbuf_froms()
397 *bufp = ret; in sshbuf_froms()

123