Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 15 of 15) sorted by relevance

/dragonfly/usr.bin/indent/
H A Dlexi.c187 *buf_ptr == '_' || *buf_ptr == '$' || in lexi()
188 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi()
195 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi()
217 *buf_ptr == '_' || *buf_ptr == '$') { in lexi()
221 buf_ptr += 2; in lexi()
236 (*buf_ptr == '"' || *buf_ptr == '\'')) in lexi()
337 ((*buf_ptr == '*' && buf_ptr[1] != '=') || in lexi()
499 buf_ptr++; in lexi()
510 if (*buf_ptr == '>' || *buf_ptr == '<' || *buf_ptr == '=') { in lexi()
529 while (*buf_ptr == '*' || isspace((unsigned char)*buf_ptr)) { in lexi()
[all …]
H A Dpr_comment.c104 if (*buf_ptr == '-' || *buf_ptr == '*' || in pr_comment()
154 start = buf_ptr >= save_com && buf_ptr < save_com + sc_size ? in pr_comment()
160 while (*buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment()
161 buf_ptr++; in pr_comment()
209 while (*++buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment()
213 if (++buf_ptr >= buf_end) in pr_comment()
263 if (*buf_ptr == '/') in pr_comment()
266 } while (*buf_ptr == ' ' || *buf_ptr == '\t'); in pr_comment()
279 if (++buf_ptr >= buf_end) in pr_comment()
302 *e_com = *buf_ptr++; in pr_comment()
[all …]
H A Dindent.c57 char *buf_ptr, *buf_end; variable
270 char *p = buf_ptr; in main()
342 *sc_end = *buf_ptr++; in main()
343 if (buf_ptr >= buf_end) in main()
374 if (++buf_ptr >= buf_end) in main()
376 if (*buf_ptr == '\n') in main()
463 while (*buf_ptr == ' ' || *buf_ptr == '\t') { in main()
464 *sc_end++ = *buf_ptr++; in main()
1075 while (*buf_ptr == ' ' || *buf_ptr == '\t') { in main()
1076 buf_ptr++; in main()
[all …]
H A Dio.c283 buf_ptr = bp_save; /* do not read anything, just switch buffers */ in fill_buffer()
286 if (buf_ptr < buf_end) in fill_buffer()
311 buf_ptr = in_buffer; in fill_buffer()
H A Dindent_globs.h130 extern char *buf_ptr; /* ptr to next character to be taken
/dragonfly/contrib/byacc/
H A Dmstring.c15 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()
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()
212 free(buf_ptr); in mstring_leaks()
[all …]
/dragonfly/contrib/gdb-7/gdb/tui/
H A Dtui-win.c942 xfree (buf_ptr); in tui_set_focus()
1025 wname = buf_ptr; in tui_set_win_height()
1026 buf_ptr = strchr (buf_ptr, ' '); in tui_set_win_height()
1029 *buf_ptr = (char) 0; in tui_set_win_height()
1052 if (*buf_ptr == '+' || *buf_ptr == '-') in tui_set_win_height()
1057 buf_ptr++; in tui_set_win_height()
1565 num_str = buf_ptr; in parse_scrolling_args()
1566 buf_ptr = strchr (buf_ptr, ' '); in parse_scrolling_args()
1572 buf_ptr++; in parse_scrolling_args()
1584 if (*buf_ptr == ' ') in parse_scrolling_args()
[all …]
H A Dtui-layout.c427 char *buf_ptr; in tui_set_layout_for_display_command() local
434 buf_ptr[i] = toupper (buf_ptr[i]); in tui_set_layout_for_display_command()
437 if (strlen (buf_ptr) <= 1 in tui_set_layout_for_display_command()
438 && (*buf_ptr == 'S' || *buf_ptr == '$')) in tui_set_layout_for_display_command()
445 if (subset_compare (buf_ptr, "SRC")) in tui_set_layout_for_display_command()
447 else if (subset_compare (buf_ptr, "ASM")) in tui_set_layout_for_display_command()
451 else if (subset_compare (buf_ptr, "REGS") in tui_set_layout_for_display_command()
479 else if (subset_compare (buf_ptr, in tui_set_layout_for_display_command()
505 else if (subset_compare (buf_ptr, "NEXT")) in tui_set_layout_for_display_command()
507 else if (subset_compare (buf_ptr, "PREV")) in tui_set_layout_for_display_command()
[all …]
/dragonfly/contrib/flex/src/
H A DFlexLexer.h152 void yyunput( int c, char* buf_ptr );
H A Dflex.skl928 static void yyunput ( int c, char *buf_ptr M4_YY_PROTO_LAST_ARG);
/dragonfly/contrib/bmake/
H A Dparse.c144 char *buf_ptr; /* next char to be read */ member
2164 curFile->buf_ptr = curFile->buf.data; in Parse_PushInput()
2293 curFile->buf_ptr = curFile->buf.data; in ParseEOF()
2339 char *line = curFile->buf_ptr; in ParseRawLine()
2399 curFile->buf_ptr = p; in ParseRawLine()
/dragonfly/sbin/camcontrol/
H A Dcamcontrol.c1959 u_int8_t *buf_ptr = data_ptr; in scsicmd() local
1962 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in scsicmd()
1969 buf_ptr += amt_read; in scsicmd()
2060 u_int8_t *buf_ptr = data_ptr; in scsicmd() local
2063 (amt_written =write(1, buf_ptr,amt_to_write))> 0;){ in scsicmd()
2065 buf_ptr += amt_written; in scsicmd()
/dragonfly/contrib/mpfr/src/
H A Dvasprintf.c489 #define FLUSH(flag, start, end, ap, buf_ptr) \ argument
501 if (sprntf_gmp ((buf_ptr), (fmt_copy), (ap)) == -1) \
511 buffer_cat ((buf_ptr), (start), n); \
/dragonfly/contrib/gdb-7/gdb/
H A Dada-lex.c933 static void yyunput (int c,char *buf_ptr );
/dragonfly/gnu/usr.bin/gdb/gdb/
H A Dada-lex.c933 static void yyunput (int c,char *buf_ptr );