| /src/usr.bin/indent/ |
| H A D | lexi.c | 179 while (*buf_ptr == ' ' || *buf_ptr == '\t') { /* get rid of blanks */ in lexi() 182 if (++buf_ptr >= buf_end) in lexi() 187 if (isalnum((unsigned char)*buf_ptr) || in lexi() 188 *buf_ptr == '_' || *buf_ptr == '$' || in lexi() 189 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi() 195 if (isdigit((unsigned char)*buf_ptr) || in lexi() 196 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi() 201 i = (unsigned char)*buf_ptr; in lexi() 209 *e_token++ = *buf_ptr++; in lexi() 210 if (buf_ptr >= buf_end) in lexi() [all …]
|
| H A D | pr_comment.c | 106 if (*buf_ptr == '-' || *buf_ptr == '*' || in pr_comment() 107 (*buf_ptr == '\n' && !opt.format_block_comments)) { in pr_comment() 156 start = buf_ptr >= save_com && buf_ptr < save_com + sc_size ? in pr_comment() 158 ps.n_comment_delta = 1 - count_spaces_until(1, start, buf_ptr - 2); in pr_comment() 162 while (*buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment() 163 buf_ptr++; in pr_comment() 168 if (*buf_ptr != ' ' && !ps.box_com) in pr_comment() 175 for (t_ptr = buf_ptr; *t_ptr != '\0' && *t_ptr != '\n'; t_ptr++) { in pr_comment() 179 if (adj_max_col >= count_spaces_until(ps.com_col, buf_ptr, t_ptr + 2)) in pr_comment() 201 switch (*buf_ptr) { /* this checks for various spcl cases */ in pr_comment() [all …]
|
| H A D | indent.c | 60 char *buf_ptr, *buf_end; variable 155 buf_ptr = buf_end = in_buffer; in main() 284 char *p = buf_ptr; in main() 347 memcpy(sc_buf, in_buffer, buf_ptr - in_buffer - 4); in main() 348 save_com = sc_buf + (buf_ptr - in_buffer - 4); in main() 356 *sc_end = *buf_ptr++; in main() 357 if (buf_ptr >= buf_end) in main() 359 if (*sc_end++ == '*' && *buf_ptr == '/') in main() 369 if (++buf_ptr >= buf_end) /* get past / in buffer */ in main() 386 while (isspace((unsigned char)*buf_ptr)) { in main() [all …]
|
| H A D | io.c | 285 buf_ptr = bp_save; /* do not read anything, just switch buffers */ in fill_buffer() 288 if (buf_ptr < buf_end) in fill_buffer() 313 buf_ptr = in_buffer; in fill_buffer()
|
| H A D | indent_globs.h | 127 extern char *buf_ptr; /* ptr to next character to be taken
|
| /src/contrib/byacc/ |
| H A D | mstring.c | 15 static char *buf_ptr; variable 32 buf_ptr = malloc(buf_len = 4096); in msprintf() 34 if (buf_ptr == 0) in msprintf() 43 len = (size_t)vsnprintf(buf_ptr, buf_len, fmt, args); in msprintf() 47 char *new_ptr = realloc(buf_ptr, (buf_len * 3) / 2); in msprintf() 50 free(buf_ptr); in msprintf() 51 buf_ptr = 0; in msprintf() 54 buf_ptr = new_ptr; in msprintf() 60 len = (size_t)vsprintf(buf_ptr, fmt, args); in msprintf() 89 memcpy(s->ptr, buf_ptr, len); in msprintf() [all …]
|
| /src/usr.sbin/virtual_oss/virtual_oss/ |
| H A D | ring.c | 152 uint8_t *buf_ptr; in vring_write_linear() local 157 vring_get_write(pvr, &buf_ptr, &buf_len); in vring_write_linear() 162 memcpy(buf_ptr, src, buf_len); in vring_write_linear() 174 uint8_t *buf_ptr; in vring_read_linear() local 182 vring_get_read(pvr, &buf_ptr, &buf_len); in vring_read_linear() 187 memcpy(dst, buf_ptr, buf_len); in vring_read_linear() 199 uint8_t *buf_ptr; in vring_write_zero() local 204 vring_get_write(pvr, &buf_ptr, &buf_len); in vring_write_zero() 209 memset(buf_ptr, 0, buf_len); in vring_write_zero()
|
| H A D | main.c | 830 uint8_t *buf_ptr; in vclient_read() local 839 vring_get_read(&pvc->rx_ring[1], &buf_ptr, &buf_len); in vclient_read() 863 error = cuse_copy_out(buf_ptr, peer_ptr, buf_len); in vclient_read() 1029 uint8_t *buf_ptr; in vclient_write_oss() local 1037 vring_get_write(&pvc->tx_ring[1], &buf_ptr, &buf_len); in vclient_write_oss() 1061 error = cuse_copy_in(peer_ptr, buf_ptr, buf_len); in vclient_write_oss()
|
| /src/crypto/openssl/test/ |
| H A D | d2i_test.c | 50 const unsigned char *buf_ptr = buf; in test_bad_asn1() local 74 value = ASN1_item_d2i(NULL, &buf_ptr, len, item_type); in test_bad_asn1()
|
| /src/sys/dev/cfe/ |
| H A D | cfe_api.c | 276 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo() 427 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl() 450 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open() 481 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk() 549 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
|
| H A D | cfe_api_int.h | 95 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
|
| /src/contrib/hyperv/tools/ |
| H A D | hv_kvp_daemon.c | 610 char *buf_ptr, *p; in kvp_mac_to_if_name() local 619 buf_ptr = strdup(ether_ntoa((struct ether_addr *)(LLADDR(sdl)))); in kvp_mac_to_if_name() 620 if (buf_ptr != NULL) { in kvp_mac_to_if_name() 621 for (p = buf_ptr; *p != '\0'; p++) in kvp_mac_to_if_name() 624 if (strncmp(buf_ptr, mac, strlen(mac)) == 0) { in kvp_mac_to_if_name() 627 free(buf_ptr); in kvp_mac_to_if_name() 630 free(buf_ptr); in kvp_mac_to_if_name()
|
| /src/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | abd_os.c | 1252 bio_map(struct bio *bio, void *buf_ptr, unsigned int bio_size) in bio_map() argument 1257 offset = offset_in_page(buf_ptr); in bio_map() 1267 if (is_vmalloc_addr(buf_ptr)) in bio_map() 1268 page = vmalloc_to_page(buf_ptr); in bio_map() 1270 page = virt_to_page(buf_ptr); in bio_map() 1282 buf_ptr += size; in bio_map()
|
| /src/contrib/flex/src/ |
| H A D | FlexLexer.h | 152 void yyunput( int c, char* buf_ptr );
|
| H A D | flex.skl | 929 static void yyunput ( int c, char *buf_ptr M4_YY_PROTO_LAST_ARG);
|
| /src/sys/contrib/dev/athk/ath11k/ |
| H A D | wmi.c | 9938 u8 *buf_ptr = *ptr; in ath11k_wmi_fill_ns_offload() local 9944 tlv = (struct wmi_tlv *)buf_ptr; in ath11k_wmi_fill_ns_offload() 9959 buf_ptr += sizeof(*tlv); in ath11k_wmi_fill_ns_offload() 9962 ns = (struct wmi_ns_offload_tuple *)buf_ptr; in ath11k_wmi_fill_ns_offload() 9992 buf_ptr += sizeof(*ns); in ath11k_wmi_fill_ns_offload() 9995 *ptr = buf_ptr; in ath11k_wmi_fill_ns_offload() 10005 u8 *buf_ptr = *ptr; in ath11k_wmi_fill_arp_offload() local 10009 tlv = (struct wmi_tlv *)buf_ptr; in ath11k_wmi_fill_arp_offload() 10012 buf_ptr += sizeof(*tlv); in ath11k_wmi_fill_arp_offload() 10015 arp = (struct wmi_arp_offload_tuple *)buf_ptr; in ath11k_wmi_fill_arp_offload() [all …]
|
| /src/contrib/bmake/ |
| H A D | parse.c | 139 char *buf_ptr; /* next char to be read from buf */ member 2239 curFile->buf_ptr = curFile->buf.data; in Parse_PushInput() 2363 curFile->buf_ptr = curFile->buf.data; in ParseEOF() 2422 char *line = curFile->buf_ptr; in ParseRawLine() 2482 curFile->buf_ptr = p; in ParseRawLine()
|
| /src/sys/contrib/alpine-hal/ |
| H A D | al_hal_udma.h | 86 uint64_t buf_ptr; member
|
| /src/sbin/camcontrol/ |
| H A D | camcontrol.c | 4890 uint8_t *buf_ptr = data_ptr; in scsicmd() local 4893 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in scsicmd() 4900 buf_ptr += amt_read; in scsicmd() 5039 uint8_t *buf_ptr = data_ptr; in scsicmd() local 5042 (amt_written =write(1, buf_ptr,amt_to_write))> 0;){ in scsicmd() 5044 buf_ptr += amt_written; in scsicmd() 7857 uint8_t *buf_ptr = smp_request; in smpcmd() local 7860 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in smpcmd() 7867 buf_ptr += amt_read; in smpcmd() 7917 uint8_t *buf_ptr = smp_response; in smpcmd() local [all …]
|
| /src/crypto/heimdal/lib/asn1/ |
| H A D | lex.c | 909 static void yyunput (int c,char *buf_ptr );
|
| /src/usr.sbin/ctladm/ |
| H A D | ctladm.c | 1017 u_int8_t *buf_ptr = (uint8_t *)&err_desc.custom_sense; in cctl_error_inject() local 1020 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in cctl_error_inject() 1027 buf_ptr += amt_read; in cctl_error_inject()
|
| /src/sys/cam/scsi/ |
| H A D | scsi_all.c | 4828 uint8_t *buf_ptr; in scsi_sense_generic_sbuf() local 4832 buf_ptr = (uint8_t *)&header[1]; in scsi_sense_generic_sbuf() 4834 for (i = 0; i < header->length; i++, buf_ptr++) in scsi_sense_generic_sbuf() 4835 sbuf_printf(sb, " %02x", *buf_ptr); in scsi_sense_generic_sbuf()
|
| /src/usr.bin/lex/ |
| H A D | initscan.c | 2057 static void yyunput ( int c, char *buf_ptr );
|
| /src/sys/contrib/alpine-hal/eth/ |
| H A D | al_hal_eth_main.c | 2558 tx_desc->tx.buf_ptr = swap64_to_le( in al_eth_tx_pkt_prepare()
|