| /dragonfly/contrib/gcc-4.7/gcc/cp/ |
| HD | cxx-pretty-print.c | 33 #define M_(msgid) (pp_translate_identifiers (pp) ? _(msgid) : (msgid)) 55 pp_cxx_nonconsecutive_character (cxx_pretty_printer *pp, int c) in pp_cxx_nonconsecutive_character() argument 57 const char *p = pp_last_position_in_text (pp); in pp_cxx_nonconsecutive_character() 60 pp_cxx_whitespace (pp); in pp_cxx_nonconsecutive_character() 61 pp_character (pp, c); in pp_cxx_nonconsecutive_character() 62 pp_base (pp)->padding = pp_none; in pp_cxx_nonconsecutive_character() 77 pp_cxx_colon_colon (cxx_pretty_printer *pp) in pp_cxx_colon_colon() argument 79 pp_colon_colon (pp); in pp_cxx_colon_colon() 80 pp_base (pp)->padding = pp_none; in pp_cxx_colon_colon() 84 pp_cxx_begin_template_argument_list (cxx_pretty_printer *pp) in pp_cxx_begin_template_argument_list() argument [all …]
|
| /dragonfly/contrib/gcc-4.7/gcc/c-family/ |
| HD | c-pretty-print.c | 35 #define M_(msgid) (pp_translate_identifiers (pp) ? _(msgid) : (msgid)) 76 pp_c_whitespace (c_pretty_printer *pp) in pp_c_whitespace() argument 78 pp_space (pp); in pp_c_whitespace() 79 pp_base (pp)->padding = pp_none; in pp_c_whitespace() 83 pp_c_left_paren (c_pretty_printer *pp) in pp_c_left_paren() argument 85 pp_left_paren (pp); in pp_c_left_paren() 86 pp_base (pp)->padding = pp_none; in pp_c_left_paren() 90 pp_c_right_paren (c_pretty_printer *pp) in pp_c_right_paren() argument 92 pp_right_paren (pp); in pp_c_right_paren() 93 pp_base (pp)->padding = pp_none; in pp_c_right_paren() [all …]
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | tree-pretty-print.c | 47 int i; for (i = 0; i<SPACE; i++) pp_space (pp); } while (0) 49 #define NIY do_niy (pp, node, flags) 56 do_niy (pretty_printer *pp, const_tree node, dump_flags_t flags) in do_niy() argument 60 pp_string (pp, "<<< Unknown tree: "); in do_niy() 61 pp_string (pp, get_tree_code_name (TREE_CODE (node))); in do_niy() 68 newline_and_indent (pp, 2); in do_niy() 69 dump_generic_node (pp, TREE_OPERAND (node, i), 2, flags, false); in do_niy() 73 pp_string (pp, " >>>"); in do_niy() 171 dump_fancy_name (pretty_printer *pp, tree name) in dump_fancy_name() argument 200 pp_tree_identifier (pp, name); in dump_fancy_name() [all …]
|
| HD | pretty-print.c | 778 pp_set_real_maximum_length (pretty_printer *pp) in pp_set_real_maximum_length() argument 783 if (!pp_is_wrapping_line (pp) in pp_set_real_maximum_length() 784 || pp_prefixing_rule (pp) == DIAGNOSTICS_SHOW_PREFIX_ONCE in pp_set_real_maximum_length() 785 || pp_prefixing_rule (pp) == DIAGNOSTICS_SHOW_PREFIX_NEVER) in pp_set_real_maximum_length() 786 pp->maximum_length = pp_line_cutoff (pp); in pp_set_real_maximum_length() 789 int prefix_length = pp->prefix ? strlen (pp->prefix) : 0; in pp_set_real_maximum_length() 792 if (pp_line_cutoff (pp) - prefix_length < 32) in pp_set_real_maximum_length() 793 pp->maximum_length = pp_line_cutoff (pp) + 32; in pp_set_real_maximum_length() 795 pp->maximum_length = pp_line_cutoff (pp); in pp_set_real_maximum_length() 801 pp_clear_state (pretty_printer *pp) in pp_clear_state() argument [all …]
|
| /dragonfly/games/hunt/huntd/ |
| HD | execute.c | 56 mon_execute(PLAYER *pp) in mon_execute() argument 60 ch = pp->p_cbuf[pp->p_ncount++]; in mon_execute() 65 sendcom(pp, REDRAW); in mon_execute() 69 strlcpy(pp->p_death, "| Quit |", sizeof pp->p_death); in mon_execute() 82 execute(PLAYER *pp) in execute() argument 86 ch = pp->p_cbuf[pp->p_ncount++]; in execute() 89 if (pp->p_flying >= 0) { in execute() 92 sendcom(pp, REDRAW); in execute() 95 strlcpy(pp->p_death, "| Quit |", in execute() 96 sizeof pp->p_death); in execute() [all …]
|
| HD | terminal.c | 52 cgoto(PLAYER *pp, int y, int x) in cgoto() argument 55 if (pp == ALL_PLAYERS) { in cgoto() 56 for (pp = Player; pp < End_player; pp++) in cgoto() 57 cgoto(pp, y, x); in cgoto() 58 for (pp = Monitor; pp < End_monitor; pp++) in cgoto() 59 cgoto(pp, y, x); in cgoto() 63 if (x == pp->p_curx && y == pp->p_cury) in cgoto() 66 sendcom(pp, MOVE, y, x); in cgoto() 67 pp->p_cury = y; in cgoto() 68 pp->p_curx = x; in cgoto() [all …]
|
| HD | draw.c | 52 drawmaze(PLAYER *pp) in drawmaze() argument 60 clrscr(pp); in drawmaze() 62 outstr(pp, pp->p_maze[0], WIDTH); in drawmaze() 64 endp = &pp->p_maze[y][WIDTH]; in drawmaze() 65 for (x = 0, sp = pp->p_maze[y]; sp < endp; x++, sp++) in drawmaze() 67 cgoto(pp, y, x); in drawmaze() 69 if (pp->p_x == x && pp->p_y == y) in drawmaze() 70 outch(pp, translate(*sp)); in drawmaze() 73 outch(pp, player_sym(pp, y, x)); in drawmaze() 75 outch(pp, *sp); in drawmaze() [all …]
|
| HD | driver.c | 85 PLAYER *pp; in main() local 223 for (pp = Player; pp < End_player; ) in main() 224 if (pp->p_death[0] != '\0') in main() 225 zap(pp, TRUE); in main() 227 pp++; in main() 228 for (pp = Monitor; pp < End_monitor; ) in main() 229 if (pp->p_death[0] != '\0') in main() 230 zap(pp, FALSE); in main() 232 pp++; in main() 235 for (pp = Player; pp < End_player; pp++) in main() [all …]
|
| HD | shots.c | 65 PLAYER *pp; in can_moveshots() local 76 for (pp = Boot; pp < &Boot[NBOOTS]; pp++) in can_moveshots() 77 if (pp->p_flying >= 0) in can_moveshots() 79 for (pp = Player; pp < End_player; pp++) in can_moveshots() 80 if (pp->p_flying >= 0) in can_moveshots() 95 PLAYER *pp; in moveshots() local 181 for (pp = Monitor; pp < End_monitor; pp++) in moveshots() 182 check(pp, bp->b_y, bp->b_x); in moveshots() 186 for (pp = Player; pp < End_player; pp++) in moveshots() 187 if (pp->p_scan >= 0) in moveshots() [all …]
|
| HD | expl.c | 54 PLAYER *pp; in showexpl() local 75 for (pp = Player; pp < End_player; pp++) { in showexpl() 76 if (pp->p_maze[y][x] == type) in showexpl() 78 pp->p_maze[y][x] = type; in showexpl() 79 cgoto(pp, y, x); in showexpl() 80 outch(pp, type); in showexpl() 82 for (pp = Monitor; pp < End_monitor; pp++) { in showexpl() 83 if (pp->p_maze[y][x] == type) in showexpl() 85 pp->p_maze[y][x] = type; in showexpl() 86 cgoto(pp, y, x); in showexpl() [all …]
|
| /dragonfly/games/atc/ |
| HD | update.c | 56 PLANE *pp, *p1, *p2; in update() local 67 for (pp = ground.head; pp != NULL; pp = pp->next) { in update() 68 if (pp->new_altitude > 0) { in update() 69 delete(&ground, pp); in update() 70 append(&air, pp); in update() 78 for (pp = air.head; pp != NULL; pp = pp->next) { in update() 80 if (pp->plane_type == 0 && clck & 1) in update() 83 pp->fuel--; in update() 84 if (pp->fuel < 0) in update() 85 loser(pp, "ran out of fuel."); in update() [all …]
|
| /dragonfly/contrib/gcc-8.0/gcc/cp/ |
| HD | cxx-pretty-print.c | 44 pp_cxx_nonconsecutive_character (cxx_pretty_printer *pp, int c) in pp_cxx_nonconsecutive_character() argument 46 const char *p = pp_last_position_in_text (pp); in pp_cxx_nonconsecutive_character() 49 pp_cxx_whitespace (pp); in pp_cxx_nonconsecutive_character() 50 pp_character (pp, c); in pp_cxx_nonconsecutive_character() 51 pp->padding = pp_none; in pp_cxx_nonconsecutive_character() 64 pp_cxx_colon_colon (cxx_pretty_printer *pp) in pp_cxx_colon_colon() argument 66 pp_colon_colon (pp); in pp_cxx_colon_colon() 67 pp->padding = pp_none; in pp_cxx_colon_colon() 71 pp_cxx_begin_template_argument_list (cxx_pretty_printer *pp) in pp_cxx_begin_template_argument_list() argument 73 pp_cxx_nonconsecutive_character (pp, '<'); in pp_cxx_begin_template_argument_list() [all …]
|
| HD | error.c | 141 void handle (pretty_printer *pp) FINAL OVERRIDE; 158 cxx_pretty_printer *pp = XNEW (cxx_pretty_printer); in cxx_initialize_diagnostics() local 159 context->printer = new (pp) cxx_pretty_printer (); in cxx_initialize_diagnostics() 169 pp->m_format_postprocessor = new cxx_format_postprocessor (); in cxx_initialize_diagnostics() 175 dump_scope (cxx_pretty_printer *pp, tree scope, int flags) in dump_scope() argument 186 dump_decl (pp, scope, f); in dump_scope() 187 pp_cxx_colon_colon (pp); in dump_scope() 192 dump_type (pp, scope, f); in dump_scope() 193 pp_cxx_colon_colon (pp); in dump_scope() 197 dump_function_decl (pp, scope, f); in dump_scope() [all …]
|
| /dragonfly/contrib/gcc-8.0/gcc/c-family/ |
| HD | c-pretty-print.c | 69 pp_c_whitespace (c_pretty_printer *pp) in pp_c_whitespace() argument 71 pp_space (pp); in pp_c_whitespace() 72 pp->padding = pp_none; in pp_c_whitespace() 76 pp_c_left_paren (c_pretty_printer *pp) in pp_c_left_paren() argument 78 pp_left_paren (pp); in pp_c_left_paren() 79 pp->padding = pp_none; in pp_c_left_paren() 83 pp_c_right_paren (c_pretty_printer *pp) in pp_c_right_paren() argument 85 pp_right_paren (pp); in pp_c_right_paren() 86 pp->padding = pp_none; in pp_c_right_paren() 90 pp_c_left_brace (c_pretty_printer *pp) in pp_c_left_brace() argument [all …]
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | pretty-print.c | 64 pp_set_real_maximum_length (pretty_printer *pp) in pp_set_real_maximum_length() argument 69 if (!pp_is_wrapping_line (pp) in pp_set_real_maximum_length() 70 || pp_prefixing_rule (pp) == DIAGNOSTICS_SHOW_PREFIX_ONCE in pp_set_real_maximum_length() 71 || pp_prefixing_rule (pp) == DIAGNOSTICS_SHOW_PREFIX_NEVER) in pp_set_real_maximum_length() 72 pp->maximum_length = pp_line_cutoff (pp); in pp_set_real_maximum_length() 75 int prefix_length = pp->prefix ? strlen (pp->prefix) : 0; in pp_set_real_maximum_length() 78 if (pp_line_cutoff (pp) - prefix_length < 32) in pp_set_real_maximum_length() 79 pp->maximum_length = pp_line_cutoff (pp) + 32; in pp_set_real_maximum_length() 81 pp->maximum_length = pp_line_cutoff (pp); in pp_set_real_maximum_length() 87 pp_clear_state (pretty_printer *pp) in pp_clear_state() argument [all …]
|
| /dragonfly/contrib/tcsh-6/ |
| HD | sh.proc.c | 145 struct process *pp; in pchild() local 274 for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) in pchild() 275 if (pid == pp->p_procid) in pchild() 285 pp->p_flags &= ~(PRUNNING | PSTOPPED | PREPORTED); in pchild() 287 pp->p_flags |= PSTOPPED; in pchild() 288 pp->p_reason = WSTOPSIG(w); in pchild() 291 if (pp->p_flags & (PTIME | PPTIME) || adrof(STRtime)) in pchild() 294 (void) get_process_stats(&pp->p_etime, PS_SELF, NULL, NULL); in pchild() 296 pp->p_etime = times(&proctimes); in pchild() 299 (void) gettimeofday(&pp->p_etime, NULL); in pchild() [all …]
|
| /dragonfly/games/mille/ |
| HD | move.c | 54 PLAY *pp; in domove() local 58 pp = &Player[Play]; in domove() 67 if (haspicked(pp)) { in domove() 68 if (pp->hand[Card_no] == C_INIT) { in domove() 74 if (issafety(pp->hand[Card_no])) { in domove() 79 Discard = pp->hand[Card_no]; in domove() 80 pp->hand[Card_no] = C_INIT; in domove() 90 goodplay = playcard(pp); in domove() 96 else if (haspicked(pp)) in domove() 99 pp->hand[0] = *--Topcard; in domove() [all …]
|
| HD | print.c | 48 PLAY *pp; in prboard() local 52 pp = &Player[k]; in prboard() 55 if (pp->safety[i] == S_PLAYED && !pp->sh_safety[i]) { in prboard() 57 if (pp->coups[i]) in prboard() 59 pp->sh_safety[i] = TRUE; in prboard() 61 show_card(14, temp, pp->battle, &pp->sh_battle); in prboard() 62 show_card(16, temp, pp->speed, &pp->sh_speed); in prboard() 67 if (pp->nummiles[i] == pp->sh_nummiles[i]) in prboard() 72 end = pp->nummiles[i]; in prboard() 73 for (j = pp->sh_nummiles[i]; j < end; j++) in prboard() [all …]
|
| HD | comp.c | 46 PLAY *pp, *op; in calcmove() local 56 pp = &Player[COMP]; in calcmove() 67 card = pp->hand[i]; in calcmove() 71 if ((playit[i] = canplay(pp, op, card))) in calcmove() 75 if ((playit[i] = canplay(pp, op, card)) in calcmove() 82 if ((playit[i] = canplay(pp, op, card)) in calcmove() 83 && pp->mileage + Value[card] == End) in calcmove() 87 playit[i] = canplay(pp, op, card); in calcmove() 94 if (pp->battle == opposite(card) || in calcmove() 95 (pp->speed == C_LIMIT && card == C_RIGHT_WAY)) { in calcmove() [all …]
|
| HD | init.c | 42 PLAY *pp; in init() local 50 pp = &Player[i]; in init() 51 pp->hand[0] = C_INIT; in init() 53 pp->safety[j] = S_UNKNOWN; in init() 54 pp->coups[j] = FALSE; in init() 57 pp->hand[j] = *--Topcard; in init() 61 pp->safety[card - S_CONV] = S_IN_HAND; in init() 64 pp->mileage = 0; in init() 65 pp->hand_tot = 0; in init() 66 pp->safescore = 0; in init() [all …]
|
| /dragonfly/usr.sbin/lpr/lpd/ |
| HD | printjob.c | 123 static void openrem(const struct printer *pp); 139 printjob(struct printer *pp) in printjob() argument 150 init(pp); /* set up capabilities */ in printjob() 153 if (open(pp->log_file, O_WRONLY|O_APPEND, LOG_FILE_MODE) < 0) { in printjob() 154 syslog(LOG_ERR, "%s: open(%s): %m", pp->printer, in printjob() 155 pp->log_file); in printjob() 177 if (chdir(pp->spool_dir) < 0) { in printjob() 178 syslog(LOG_ERR, "%s: chdir(%s): %m", pp->printer, in printjob() 179 pp->spool_dir); in printjob() 182 if (stat(pp->lock_file, &stb) == 0 && (stb.st_mode & LFM_PRINT_DIS)) in printjob() [all …]
|
| /dragonfly/sbin/iscontrol/ |
| HD | pdu.c | 47 xmitpdu(isess_t *sess, pdu_t *pp) in xmitpdu() argument 49 if(ioctl(sess->fd, ISCSISEND, pp)) { in xmitpdu() 54 pukeText("I-", pp); in xmitpdu() 60 recvpdu(isess_t *sess, pdu_t *pp) in recvpdu() argument 62 if(ioctl(sess->fd, ISCSIRECV, pp)) { in recvpdu() 69 pukeText("T-", pp); in recvpdu() 75 sendPDU(isess_t *sess, pdu_t *pp, handler_t *hdlr) in sendPDU() argument 77 if(xmitpdu(sess, pp)) in sendPDU() 82 pp->ahs_size = 8 * 1024; in sendPDU() 83 if((pp->ahs = malloc(pp->ahs_size)) == NULL) { in sendPDU() [all …]
|
| /dragonfly/usr.sbin/lpr/common_source/ |
| HD | printcap.c | 88 getprintcap(const char *printer, struct printer *pp) in getprintcap() argument 101 status = getprintcap_int(bp, pp); in getprintcap() 140 firstprinter(struct printer *pp, int *error) in firstprinter() argument 145 init_printer(pp); in firstprinter() 154 status = getprintcap_int(bp, pp); in firstprinter() 162 nextprinter(struct printer *pp, int *error) in nextprinter() argument 167 free_printer(pp); in nextprinter() 176 status = getprintcap_int(bp, pp); in nextprinter() 208 getprintcap_int(char *bp, struct printer *pp) in getprintcap_int() argument 214 if ((pp->printer = capdb_canonical_name(bp)) == NULL) in getprintcap_int() [all …]
|
| /dragonfly/contrib/binutils-2.34/binutils/ |
| HD | stabs.c | 236 parse_number (const char **pp, bfd_boolean *poverflow, const char *p_end) in parse_number() argument 244 orig = *pp; in parse_number() 253 ul = strtoul (*pp, (char **) pp, 0); in parse_number() 1169 const char ** pp, in parse_stab_type() argument 1183 orig = *pp; in parse_stab_type() 1195 if (! ISDIGIT (**pp) && **pp != '(' && **pp != '-') in parse_stab_type() 1203 if (! parse_stab_type_number (pp, typenums, p_end)) in parse_stab_type() 1206 if (**pp != '=') in parse_stab_type() 1229 ++*pp; in parse_stab_type() 1231 while (**pp == '@') in parse_stab_type() [all …]
|
| /dragonfly/contrib/binutils-2.27/binutils/ |
| HD | stabs.c | 225 parse_number (const char **pp, bfd_boolean *poverflow) in parse_number() argument 233 orig = *pp; in parse_number() 236 ul = strtoul (*pp, (char **) pp, 0); in parse_number() 1141 parse_stab_type (void *dhandle, struct stab_handle *info, const char *type_name, const char **pp, d… in parse_stab_type() argument 1153 orig = *pp; in parse_stab_type() 1163 if (! ISDIGIT (**pp) && **pp != '(' && **pp != '-') in parse_stab_type() 1171 if (! parse_stab_type_number (pp, typenums)) in parse_stab_type() 1174 if (**pp != '=') in parse_stab_type() 1197 ++*pp; in parse_stab_type() 1199 while (**pp == '@') in parse_stab_type() [all …]
|