/freebsd-10.3-release/usr.bin/indent/ |
H A D | lexi.c | 140 while (*buf_ptr == ' ' || *buf_ptr == '\t') { /* get rid of blanks */ 143 if (++buf_ptr >= buf_end) 148 if (chartype[(int)*buf_ptr] == alphanum || (buf_ptr[0] == '.' && isdigit(buf_ptr[1]))) { 157 if (isdigit(*buf_ptr) || (buf_ptr[0] == '.' && isdigit(buf_ptr[1]))) { 161 if (*buf_ptr [all...] |
H A D | pr_comment.c | 121 if (*buf_ptr == '-' || *buf_ptr == '*' || 122 (*buf_ptr == '\n' && !format_block_comments)) { 161 buf_ptr[-2] = 0; 163 buf_ptr[-2] = '/'; 167 while (*buf_ptr == ' ' || *buf_ptr == '\t') 168 buf_ptr++; 173 if (*buf_ptr != ' ' && !ps.box_com) 191 if (*buf_ptr > 04 [all...] |
H A D | indent.c | 138 buf_ptr = buf_end = in_buffer; 269 char *p = buf_ptr; 358 *sc_end = *buf_ptr++; 359 if (buf_ptr >= buf_end) 362 if (*sc_end++ == '*' && *buf_ptr == '/') 373 if (++buf_ptr >= buf_end) /* get past / in buffer */ 411 bp_save = buf_ptr; /* save current input buffer */ 413 buf_ptr = save_com; /* fix so that subsequent calls to 1051 while (*buf_ptr == ' ' || *buf_ptr [all...] |
H A D | io.c | 351 buf_ptr = bp_save; /* dont read anything, just switch buffers */ 354 if (buf_ptr < buf_end) 378 buf_ptr = in_buffer;
|
H A D | indent_globs.h | 121 char *buf_ptr; /* ptr to next character to be taken from variable 129 char *bp_save; /* saved value of buf_ptr when taking input
|
/freebsd-10.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | setbuf.c | 107 char *buf_ptr; local 118 if ((buf_ptr = SP->_setbuf) == 0) { 119 if ((buf_ptr = typeMalloc(char, buf_len)) == NULL) 121 SP->_setbuf = buf_ptr; 133 buf_ptr = 0; 139 (void) setvbuf(ofp, buf_ptr, buf_len, buf_len ? _IOFBF : _IOLBF); 141 (void) setvbuf(ofp, buf_ptr, buf_len ? _IOFBF : _IOLBF, buf_len); 144 (void) setbuffer(ofp, buf_ptr, (int) buf_len);
|
/freebsd-10.3-release/contrib/byacc/ |
H A D | mstring.c | 17 static char *buf_ptr; variable 34 buf_ptr = malloc(buf_len = 4096); 36 if (buf_ptr == 0) 45 len = (size_t) vsnprintf(buf_ptr, buf_len, fmt, args); 49 char *new_ptr = realloc(buf_ptr, (buf_len * 3) / 2); 52 free(buf_ptr); 53 buf_ptr = 0; 56 buf_ptr = new_ptr; 62 len = (size_t) vsprintf(buf_ptr, fmt, args); 91 memcpy(s->ptr, buf_ptr, le [all...] |
/freebsd-10.3-release/contrib/gdb/gdb/tui/ |
H A D | tui-layout.c | 414 char *buf_ptr; local 419 buf_ptr = (char *) xstrdup (layout_name); 421 buf_ptr[i] = toupper (buf_ptr[i]); 424 if (strlen (buf_ptr) <= 1 && (*buf_ptr == 'S' || *buf_ptr == '$')) 431 if (subset_compare (buf_ptr, "SRC")) 433 else if (subset_compare (buf_ptr, "ASM")) 435 else if (subset_compare (buf_ptr, "SPLI [all...] |
H A D | tui-win.c | 843 char *buf_ptr = (char *) xstrdup (arg); local 847 for (i = 0; (i < strlen (buf_ptr)); i++) 848 buf_ptr[i] = toupper (arg[i]); 850 if (subset_compare (buf_ptr, "NEXT")) 852 else if (subset_compare (buf_ptr, "PREV")) 855 win_info = tui_partial_win_by_name (buf_ptr); 868 xfree (buf_ptr); 944 char *buf_ptr = buf; local 949 wname = buf_ptr; 950 buf_ptr 1470 char *buf, *buf_ptr; local [all...] |
/freebsd-10.3-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | subst.c | 452 char *buf_ptr; 471 buf_ptr = buf + 1 + keyword_len; 480 if ((buf_ptr[0] == ':') /* first char after keyword is ':' */ 481 && (buf_ptr[1] == ':') /* second char after keyword is ':' */ 482 && (buf_ptr[2] == ' ') /* third char after keyword is ' ' */ 494 buf_ptr += 2; 495 while (*buf_ptr != '$') 496 *(buf_ptr++) = ' '; 502 strncpy(buf_ptr + 3, value->data, value->len); 503 buf_ptr 449 char *buf_ptr; local [all...] |
/freebsd-10.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-pko.c | 291 uint64_t *buf_ptr = NULL; local 420 buf_ptr = (uint64_t*)cvmx_cmd_queue_buffer( 422 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr) >> 7; 755 config.s.buf_ptr = 0; 873 uint64_t *buf_ptr = NULL; local 942 buf_ptr = (uint64_t*)cvmx_cmd_queue_buffer( 944 config.s.buf_ptr = cvmx_ptr_to_phys(buf_ptr); 947 config.s.buf_ptr [all...] |
H A D | octeon-pci-console.c | 312 char *buf_ptr; local 321 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->output_base_addr); 335 memcpy(buf_ptr + cons_ptr->output_write_index, buffer + bytes_written, write_size); 367 char *buf_ptr; local 375 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->input_base_addr); 406 memcpy(buffer, buf_ptr + cons_ptr->input_read_index, read_size);
|
H A D | cvmx-srio.c | 1554 * @param buf_ptr pointer to a buffer pointer. the buffer pointer points 1559 * if *buf_ptr is in the format (1) 1563 int cvmx_srio_omsg_desc (uint64_t port, cvmx_buf_ptr_t *buf_ptr, argument 1574 if (buf_ptr == NULL) 1586 desc_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); 1593 hdr_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); 1597 (*buf_ptr).s.addr += 8; 1598 (*buf_ptr).s.size -= 8; /* last buffer or not */ 1599 if ((*buf_ptr).s.addr >> 7 > ((*buf_ptr) [all...] |
H A D | cvmx-srio.h | 535 * @param buf_ptr pointer to a buffer pointer. the buffer pointer points 540 * if *buf_ptr is in the format (1) 544 int cvmx_srio_omsg_desc (uint64_t port, cvmx_buf_ptr_t *buf_ptr,
|
H A D | cvmx-pko-defs.h | 1450 uint64_t buf_ptr : 33; /**< Command word pointer */ member in struct:cvmx_pko_mem_debug7::cvmx_pko_mem_debug7_cn50xx 1456 uint64_t buf_ptr : 33; 1477 uint64_t buf_ptr : 33; /**< Command word pointer */ member in struct:cvmx_pko_mem_debug7::cvmx_pko_mem_debug7_cn68xx 1483 uint64_t buf_ptr : 33; 1522 uint64_t buf_ptr : 33; /**< Command word pointer */ member in struct:cvmx_pko_mem_debug8::cvmx_pko_mem_debug8_cn30xx 1528 uint64_t buf_ptr : 33; 1880 uint64_t buf_ptr : 31; /**< Command buffer pointer[37:7] */ member in struct:cvmx_pko_mem_iqueue_ptrs::cvmx_pko_mem_iqueue_ptrs_s 1892 uint64_t buf_ptr : 31; 2219 uint64_t buf_ptr : 36; /**< Command buffer pointer, <23:17> MBZ */ member in struct:cvmx_pko_mem_queue_ptrs::cvmx_pko_mem_queue_ptrs_s 2229 uint64_t buf_ptr [all...] |
/freebsd-10.3-release/contrib/ofed/management/opensm/osmtest/include/ |
H A D | osmt_mtl_regular_qp.h | 89 /*LID*/ void *buf_ptr; /*mem buffer for outstanding pkts */ member in struct:__anon4422 126 /* create and register res->buf_ptr */
|
/freebsd-10.3-release/sys/dev/cfe/ |
H A D | cfe_api_int.h | 96 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member in struct:xiocb_buffer_s
|
H A D | cfe_api.c | 256 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); 407 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); 430 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); 461 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); 529 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer);
|
/freebsd-10.3-release/contrib/ofed/management/opensm/osmtest/ |
H A D | osmt_mtl_regular_qp.c | 224 res->buf_ptr = VMALLOC(res->buf_size); 226 if (res->buf_ptr == ((VAPI_virt_addr_t) NULL)) { 237 ASSERT_VOIDP2UINTN(res->buf_ptr); 238 mr_in.start = (VAPI_virt_addr_t) (uintn_t) (res->buf_ptr);
|
H A D | osmt_inform.c | 119 (uint8_t *) p_qp_ctx->qp_bind_hndl.buf_ptr + GRH_LEN; 121 (uint8_t *) p_qp_ctx->qp_bind_hndl.buf_ptr + 2 * (GRH_LEN +
|
/freebsd-10.3-release/contrib/flex/ |
H A D | FlexLexer.h | 137 void yyunput( int c, char* buf_ptr );
|
/freebsd-10.3-release/contrib/hyperv/tools/ |
H A D | hv_kvp_daemon.c | 604 char *buf_ptr, *p; local 613 buf_ptr = strdup(ether_ntoa((struct ether_addr *)(LLADDR(sdl)))); 614 if (buf_ptr != NULL) { 615 for (p = buf_ptr; *p != '\0'; p++) 618 if (strncmp(buf_ptr, mac, strlen(mac)) == 0) { 621 free(buf_ptr); 624 free(buf_ptr);
|
/freebsd-10.3-release/sys/dev/drm/ |
H A D | mach64_dma.c | 1185 u32 *buf_ptr; local 1257 buf_ptr = (u32 *) ((char *)GETBUFPTR(buf) + offset); 1268 reg = le32_to_cpu(*buf_ptr++); 1295 MACH64_WRITE(reg, le32_to_cpu(*buf_ptr++));
|
/freebsd-10.3-release/sbin/camcontrol/ |
H A D | camcontrol.c | 4310 u_int8_t *buf_ptr = data_ptr; local 4313 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { 4320 buf_ptr += amt_read; 4455 u_int8_t *buf_ptr = data_ptr; local 4458 (amt_written =write(1, buf_ptr,amt_to_write))> 0;){ 4460 buf_ptr += amt_written; 6945 u_int8_t *buf_ptr = smp_request; local 6948 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { 6955 buf_ptr += amt_read; 7005 u_int8_t *buf_ptr local [all...] |
/freebsd-10.3-release/contrib/ofed/libsdp/src/ |
H A D | config_scanner.c | 564 static void yyunput YY_PROTO(( int c, char *buf_ptr ));
|