| /freebsd-12.1/usr.bin/indent/ |
| H A D | lexi.c | 196 *buf_ptr == '_' || *buf_ptr == '$' || in lexi() 197 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi() 204 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi() 226 *buf_ptr == '_' || *buf_ptr == '$') { in lexi() 230 buf_ptr += 2; in lexi() 245 (*buf_ptr == '"' || *buf_ptr == '\'')) in lexi() 345 ((*buf_ptr == '*' && buf_ptr[1] != '=') || in lexi() 507 buf_ptr++; in lexi() 518 if (*buf_ptr == '>' || *buf_ptr == '<' || *buf_ptr == '=') { in lexi() 537 while (*buf_ptr == '*' || isspace((unsigned char)*buf_ptr)) { in lexi() [all …]
|
| H A D | pr_comment.c | 114 if (*buf_ptr == '-' || *buf_ptr == '*' || in pr_comment() 164 start = buf_ptr >= save_com && buf_ptr < save_com + sc_size ? in pr_comment() 170 while (*buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment() 171 buf_ptr++; in pr_comment() 219 while (*++buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment() 223 if (++buf_ptr >= buf_end) in pr_comment() 273 if (*buf_ptr == '/') in pr_comment() 276 } while (*buf_ptr == ' ' || *buf_ptr == '\t'); in pr_comment() 289 if (++buf_ptr >= buf_end) in pr_comment() 312 *e_com = *buf_ptr++; in pr_comment() [all …]
|
| H A D | indent.c | 270 char *p = buf_ptr; in main() 342 *sc_end = *buf_ptr++; in main() 343 if (buf_ptr >= buf_end) in main() 373 if (++buf_ptr >= buf_end) in main() 375 if (*buf_ptr == '\n') in main() 462 while (*buf_ptr == ' ' || *buf_ptr == '\t') { in main() 463 *sc_end++ = *buf_ptr++; in main() 1073 while (*buf_ptr == ' ' || *buf_ptr == '\t') { in main() 1074 buf_ptr++; in main() 1075 if (buf_ptr >= buf_end) in main() [all …]
|
| H A D | io.c | 284 buf_ptr = bp_save; /* do not read anything, just switch buffers */ in fill_buffer() 287 if (buf_ptr < buf_end) in fill_buffer() 312 buf_ptr = in_buffer; in fill_buffer()
|
| H A D | indent_globs.h | 130 char *buf_ptr; /* ptr to next character to be taken from variable
|
| /freebsd-12.1/contrib/byacc/ |
| H A D | mstring.c | 17 static char *buf_ptr; variable 34 buf_ptr = malloc(buf_len = 4096); in msprintf() 36 if (buf_ptr == 0) in msprintf() 45 len = (size_t) vsnprintf(buf_ptr, buf_len, fmt, args); in msprintf() 52 free(buf_ptr); in msprintf() 53 buf_ptr = 0; in msprintf() 56 buf_ptr = new_ptr; in msprintf() 62 len = (size_t) vsprintf(buf_ptr, fmt, args); in msprintf() 91 memcpy(s->ptr, buf_ptr, len); in msprintf() 202 free(buf_ptr); in mstring_leaks() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/tui/ |
| H A D | tui-win.c | 868 xfree (buf_ptr); in tui_set_focus() 949 wname = buf_ptr; in tui_set_win_height() 950 buf_ptr = strchr (buf_ptr, ' '); in tui_set_win_height() 953 *buf_ptr = (char) 0; in tui_set_win_height() 977 if (*buf_ptr == '+' || *buf_ptr == '-') in tui_set_win_height() 982 buf_ptr++; in tui_set_win_height() 1478 num_str = buf_ptr; in parse_scrolling_args() 1479 buf_ptr = strchr (buf_ptr, ' '); in parse_scrolling_args() 1485 buf_ptr++; in parse_scrolling_args() 1497 if (*buf_ptr == ' ') in parse_scrolling_args() [all …]
|
| H A D | tui-layout.c | 414 char *buf_ptr; in tui_set_layout_for_display_command() local 419 buf_ptr = (char *) xstrdup (layout_name); in tui_set_layout_for_display_command() 421 buf_ptr[i] = toupper (buf_ptr[i]); in tui_set_layout_for_display_command() 424 if (strlen (buf_ptr) <= 1 && (*buf_ptr == 'S' || *buf_ptr == '$')) in tui_set_layout_for_display_command() 431 if (subset_compare (buf_ptr, "SRC")) in tui_set_layout_for_display_command() 433 else if (subset_compare (buf_ptr, "ASM")) in tui_set_layout_for_display_command() 435 else if (subset_compare (buf_ptr, "SPLIT")) in tui_set_layout_for_display_command() 464 else if (subset_compare (buf_ptr, in tui_set_layout_for_display_command() 491 else if (subset_compare (buf_ptr, "NEXT")) in tui_set_layout_for_display_command() 493 else if (subset_compare (buf_ptr, "PREV")) in tui_set_layout_for_display_command() [all …]
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | subst.c | 450 char *buf_ptr; in translate_keyword_subst() local 492 buf_ptr += 2; in translate_keyword_subst() 493 while (*buf_ptr != '$') in translate_keyword_subst() 494 *(buf_ptr++) = ' '; in translate_keyword_subst() 523 buf_ptr[0] = ':'; in translate_keyword_subst() 524 buf_ptr[1] = ' '; in translate_keyword_subst() 540 buf_ptr[2] = '$'; in translate_keyword_subst() 564 buf_ptr[0] = '$'; in translate_keyword_subst() 570 buf_ptr[0] = ':'; in translate_keyword_subst() 571 buf_ptr[1] = ' '; in translate_keyword_subst() [all …]
|
| /freebsd-12.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-pko.c | 291 uint64_t *buf_ptr = NULL; in __cvmx_pko_iport_config() local 420 buf_ptr = (uint64_t*)cvmx_cmd_queue_buffer( in __cvmx_pko_iport_config() 422 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr) >> 7; in __cvmx_pko_iport_config() 755 config.s.buf_ptr = 0; in cvmx_pko_shutdown() 873 uint64_t *buf_ptr = NULL; in cvmx_pko_config_port() local 942 buf_ptr = (uint64_t*)cvmx_cmd_queue_buffer( in cvmx_pko_config_port() 944 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr); in cvmx_pko_config_port() 947 config.s.buf_ptr = 0; in cvmx_pko_config_port()
|
| H A D | octeon-pci-console.c | 312 char *buf_ptr; in octeon_pci_console_write() local 321 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->output_base_addr); in octeon_pci_console_write() 335 memcpy(buf_ptr + cons_ptr->output_write_index, buffer + bytes_written, write_size); in octeon_pci_console_write() 367 char *buf_ptr; in octeon_pci_console_read() local 375 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->input_base_addr); in octeon_pci_console_read() 406 memcpy(buffer, buf_ptr + cons_ptr->input_read_index, read_size); in octeon_pci_console_read()
|
| H A D | cvmx-srio.c | 1563 int cvmx_srio_omsg_desc (uint64_t port, cvmx_buf_ptr_t *buf_ptr, in cvmx_srio_omsg_desc() argument 1574 if (buf_ptr == NULL) in cvmx_srio_omsg_desc() 1586 desc_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); in cvmx_srio_omsg_desc() 1593 hdr_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); in cvmx_srio_omsg_desc() 1597 (*buf_ptr).s.addr += 8; in cvmx_srio_omsg_desc() 1598 (*buf_ptr).s.size -= 8; /* last buffer or not */ in cvmx_srio_omsg_desc() 1599 if ((*buf_ptr).s.addr >> 7 > ((*buf_ptr).s.addr - 8) >> 7) in cvmx_srio_omsg_desc() 1600 (*buf_ptr).s.back++; in cvmx_srio_omsg_desc() 1602 cvmx_phys_to_ptr ((*buf_ptr).s.addr); in cvmx_srio_omsg_desc()
|
| H A D | cvmx-pko-defs.h | 1450 uint64_t buf_ptr : 33; /**< Command word pointer */ member 1456 uint64_t buf_ptr : 33; 1477 uint64_t buf_ptr : 33; /**< Command word pointer */ member 1483 uint64_t buf_ptr : 33; 1522 uint64_t buf_ptr : 33; /**< Command word pointer */ member 1528 uint64_t buf_ptr : 33; 1880 uint64_t buf_ptr : 31; /**< Command buffer pointer[37:7] */ member 1892 uint64_t buf_ptr : 31; 2219 uint64_t buf_ptr : 36; /**< Command buffer pointer, <23:17> MBZ */ member 2229 uint64_t buf_ptr : 36;
|
| H A D | cvmx-srio.h | 544 int cvmx_srio_omsg_desc (uint64_t port, cvmx_buf_ptr_t *buf_ptr,
|
| /freebsd-12.1/sys/dev/cfe/ |
| H A D | cfe_api.c | 278 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo() 429 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl() 452 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open() 483 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk() 551 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
|
| H A D | cfe_api_int.h | 97 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
|
| /freebsd-12.1/contrib/hyperv/tools/ |
| H A D | hv_kvp_daemon.c | 611 char *buf_ptr, *p; in kvp_mac_to_if_name() local 620 buf_ptr = strdup(ether_ntoa((struct ether_addr *)(LLADDR(sdl)))); in kvp_mac_to_if_name() 621 if (buf_ptr != NULL) { in kvp_mac_to_if_name() 622 for (p = buf_ptr; *p != '\0'; p++) in kvp_mac_to_if_name() 625 if (strncmp(buf_ptr, mac, strlen(mac)) == 0) { in kvp_mac_to_if_name() 628 free(buf_ptr); in kvp_mac_to_if_name() 631 free(buf_ptr); in kvp_mac_to_if_name()
|
| /freebsd-12.1/contrib/flex/ |
| H A D | FlexLexer.h | 137 void yyunput( int c, char* buf_ptr );
|
| /freebsd-12.1/sys/dev/drm/ |
| H A D | mach64_dma.c | 1185 u32 *buf_ptr; in mach64_do_dispatch_pseudo_dma() local 1257 buf_ptr = (u32 *) ((char *)GETBUFPTR(buf) + offset); in mach64_do_dispatch_pseudo_dma() 1268 reg = le32_to_cpu(*buf_ptr++); in mach64_do_dispatch_pseudo_dma() 1295 MACH64_WRITE(reg, le32_to_cpu(*buf_ptr++)); in mach64_do_dispatch_pseudo_dma()
|
| /freebsd-12.1/sys/contrib/alpine-hal/ |
| H A D | al_hal_udma.h | 86 uint64_t buf_ptr; member
|
| /freebsd-12.1/sbin/camcontrol/ |
| H A D | camcontrol.c | 4801 u_int8_t *buf_ptr = data_ptr; in scsicmd() local 4804 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in scsicmd() 4811 buf_ptr += amt_read; in scsicmd() 4950 u_int8_t *buf_ptr = data_ptr; in scsicmd() local 4953 (amt_written =write(1, buf_ptr,amt_to_write))> 0;){ in scsicmd() 4955 buf_ptr += amt_written; in scsicmd() 7741 u_int8_t *buf_ptr = smp_request; in smpcmd() local 7751 buf_ptr += amt_read; in smpcmd() 7801 u_int8_t *buf_ptr = smp_response; in smpcmd() local 7804 (amt_written = write(STDOUT_FILENO, buf_ptr, in smpcmd() [all …]
|
| /freebsd-12.1/usr.sbin/ctladm/ |
| H A D | ctladm.c | 984 u_int8_t *buf_ptr = (uint8_t *)&err_desc.custom_sense; in cctl_error_inject() local 987 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in cctl_error_inject() 994 buf_ptr += amt_read; in cctl_error_inject()
|
| /freebsd-12.1/crypto/heimdal/lib/asn1/ |
| H A D | lex.c | 909 static void yyunput (int c,char *buf_ptr );
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_all.c | 4695 uint8_t *buf_ptr; in scsi_sense_generic_sbuf() local 4699 buf_ptr = (uint8_t *)&header[1]; in scsi_sense_generic_sbuf() 4701 for (i = 0; i < header->length; i++, buf_ptr++) in scsi_sense_generic_sbuf() 4702 sbuf_printf(sb, " %02x", *buf_ptr); in scsi_sense_generic_sbuf()
|
| /freebsd-12.1/usr.bin/lex/ |
| H A D | initscan.c | 2073 static void yyunput (int c,char *buf_ptr );
|