Searched refs:buf_ptr (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-10.1-release/usr.bin/indent/
H A Dlexi.c140 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 Dpr_comment.c121 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 Dindent.c138 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 Dio.c351 buf_ptr = bp_save; /* dont read anything, just switch buffers */
354 if (buf_ptr < buf_end)
378 buf_ptr = in_buffer;
H A Dindent_globs.h121 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.1-release/contrib/ncurses/ncurses/tinfo/
H A Dsetbuf.c107 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.1-release/contrib/byacc/
H A Dmstring.c17 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.1-release/contrib/gdb/gdb/tui/
H A Dtui-layout.c414 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 Dtui-win.c843 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.1-release/contrib/subversion/subversion/libsvn_subr/
H A Dsubst.c452 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.1-release/sys/contrib/octeon-sdk/
H A Dcvmx-pko.c291 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 Docteon-pci-console.c312 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 Dcvmx-srio.c1554 * @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 Dcvmx-srio.h535 * @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 Dcvmx-pko-defs.h1450 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.1-release/contrib/ofed/management/opensm/osmtest/include/
H A Dosmt_mtl_regular_qp.h89 /*LID*/ void *buf_ptr; /*mem buffer for outstanding pkts */ member in struct:__anon4218
126 /* create and register res->buf_ptr */
/freebsd-10.1-release/sys/dev/cfe/
H A Dcfe_api_int.h96 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member in struct:xiocb_buffer_s
H A Dcfe_api.c256 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.1-release/contrib/flex/
H A DFlexLexer.h137 void yyunput( int c, char* buf_ptr );
/freebsd-10.1-release/contrib/ofed/management/opensm/osmtest/
H A Dosmt_mtl_regular_qp.c224 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 Dosmt_inform.c119 (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.1-release/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c604 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.1-release/sys/dev/drm/
H A Dmach64_dma.c1185 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.1-release/sbin/camcontrol/
H A Dcamcontrol.c4069 u_int8_t *buf_ptr = data_ptr; local
4072 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) {
4079 buf_ptr += amt_read;
4214 u_int8_t *buf_ptr = data_ptr; local
4217 (amt_written =write(1, buf_ptr,amt_to_write))> 0;){
4219 buf_ptr += amt_written;
6541 u_int8_t *buf_ptr = smp_request; local
6544 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) {
6551 buf_ptr += amt_read;
6601 u_int8_t *buf_ptr local
[all...]
/freebsd-10.1-release/contrib/ofed/libsdp/src/
H A Dconfig_scanner.c564 static void yyunput YY_PROTO(( int c, char *buf_ptr ));

Completed in 400 milliseconds

12