| /freebsd-12.1/contrib/gcc/ |
| H A D | c-pretty-print.c | 73 pp_space (pp); in pp_c_whitespace() 122 pp_dot (pp); in pp_c_dot() 136 pp_star (pp); in pp_c_star() 144 pp_carret (pp); in pp_c_caret() 152 pp_arrow (pp); in pp_c_arrow() 267 pp_c_star (pp); in pp_c_pointer() 848 pp_string (pp, pp_buffer (pp)->digit_buffer); in pp_c_integer_constant() 941 pp_string (pp, pp_buffer(pp)->digit_buffer); in pp_c_floating_constant() 1500 pp_minus (pp); in pp_c_unary_expression() 1592 pp_plus (pp); in pp_c_additive_expression() [all …]
|
| H A D | pretty-print.c | 74 pp->maximum_length = pp_line_cutoff (pp); in pp_set_real_maximum_length() 77 int prefix_length = pp->prefix ? strlen (pp->prefix) : 0; in pp_set_real_maximum_length() 81 pp->maximum_length = pp_line_cutoff (pp) + 32; in pp_set_real_maximum_length() 83 pp->maximum_length = pp_line_cutoff (pp); in pp_set_real_maximum_length() 119 pp_newline (pp); in pp_wrap_text() 126 pp_space (pp); in pp_wrap_text() 166 pp_space (pp); in pp_base_indent() 528 ok = pp_format_decoder (pp) (pp, text, p, in pp_base_format() 666 pp_append_r (pp, pp->prefix, prefix_length); in pp_base_emit_prefix() 683 pp->buffer->obstack = &pp->buffer->formatted_obstack; in pp_construct() [all …]
|
| /freebsd-12.1/contrib/gcc/cp/ |
| H A D | cxx-pretty-print.c | 573 pp_space (pp); in pp_cxx_new_expression() 753 pp_star (pp); in pp_cxx_multiplicative_expression() 755 pp_slash (pp); in pp_cxx_multiplicative_expression() 757 pp_modulo (pp); in pp_cxx_multiplicative_expression() 1155 pp_star (pp); in pp_cxx_ptr_operator() 1167 pp_star (pp); in pp_cxx_ptr_operator() 1176 pp_star (pp); in pp_cxx_ptr_operator() 1356 pp_colon (pp); in pp_cxx_ctor_initializer() 1386 pp_flush (pp); in pp_cxx_function_definition() 1761 pp_equal (pp); in pp_cxx_namespace_alias_definition() [all …]
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | refclock_ulink.c | 142 pp->io.fd = fd; in ulink_start() 145 pp->io.fd = -1; in ulink_start() 149 pp->unitptr = up; in ulink_start() 174 up = pp->unitptr; in ulink_shutdown() 292 char_quality, &pp->year, &pp->day, in ulink_receive() 293 &pp->hour, &syncchar, &pp->minute, &pp->second, in ulink_receive() 364 char_quality, &pp->year, &pp->day, in ulink_receive() 365 &pp->hour, &syncchar, &pp->minute, &pp->second, in ulink_receive() 425 &pp->hour, &pp->minute, &pp->second, in ulink_receive() 556 if (pp->coderecv == pp->codeproc) { in ulink_poll() [all …]
|
| H A D | refclock_fg.c | 121 pp->unitptr = up; in fg_start() 125 pp->io.fd = fd; in fg_start() 128 pp->io.fd = -1; in fg_start() 196 pp->polls++; in fg_poll() 301 if ((pp->hour == 10) && (pp->minute == 10)) { in fg_receive() 305 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode), in fg_receive() 306 "%d %d %d %d %d", pp->year, pp->day, pp->hour, in fg_receive() 307 pp->minute, pp->second); in fg_receive() 308 pp->lencode = strlen(pp->a_lastcode); in fg_receive() 314 pp->year, pp->day, pp->hour, pp->minute, pp->second); in fg_receive() [all …]
|
| H A D | refclock_hopfser.c | 262 (pp->minute < 0) || (pp->minute > 59) || (pp->second < 0) || in hopfserial_receive() 266 (pp->year < 0) || (pp->year > 99)) { in hopfserial_receive() 274 pp->day = ymd2yd(pp->year,month,day); in hopfserial_receive() 275 pp->leap=0; in hopfserial_receive() 286 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode), in hopfserial_receive() 292 pp->year, in hopfserial_receive() 293 pp->hour, in hopfserial_receive() 294 pp->minute, in hopfserial_receive() 297 pp->lencode = strlen(pp->a_lastcode); in hopfserial_receive() 331 pp->lastref = pp->lastrec; in hopfserial_receive() [all …]
|
| H A D | refclock_wwvb.c | 332 &syncchar, &pp->day, &pp->hour, &pp->minute, in wwvb_receive() 345 &syncchar, &qualchar, &pp->year, &pp->day, in wwvb_receive() 346 &pp->hour, &pp->minute, &pp->second, &pp->nsec, in wwvb_receive() 363 &syncchar, &pp->year, &month, &day, &pp->hour, in wwvb_receive() 366 pp->day = ymd2yd(pp->year, month, day); in wwvb_receive() 400 pp->lastref = pp->lastrec; in wwvb_receive() 441 if (!refclock_process_f(pp, pp->fudgetime2)) in wwvb_receive() 511 pp->polls++; in wwvb_poll() 517 if (pp->sloppyclockflag & CLK_FLAG4 && pp->hour < in wwvb_poll() 532 pp->coderecv = pp->codeproc; in wwvb_poll() [all …]
|
| H A D | refclock_arc.c | 1166 || !get2(pp->a_lastcode + 1, &pp->hour) in arc_receive() 1167 || !get2(pp->a_lastcode + 3, &pp->minute) in arc_receive() 1168 || !get2(pp->a_lastcode + 5, &pp->second) in arc_receive() 1170 || !get2(pp->a_lastcode + 8, &pp->day) in arc_receive() 1192 if((pp->hour < 0) || (pp->hour > 23) || in arc_receive() 1193 (pp->minute < 0) || (pp->minute > 59) || in arc_receive() 1196 (pp->day < 1) || (pp->day > 31) || in arc_receive() 1198 (pp->year < 0) || (pp->year > 99)) { in arc_receive() 1235 pp->hour, pp->minute, pp->second, in arc_receive() 1374 pp->year,month,gmtp->tm_mday,pp->hour,pp->minute, in arc_receive() [all …]
|
| H A D | refclock_arbiter.c | 178 pp->io.fd = fd; in arb_start() 345 strlcpy(pp->a_lastcode, tbuf, sizeof(pp->a_lastcode)); in arb_receive() 347 strlcat(pp->a_lastcode, up->status, sizeof(pp->a_lastcode)); in arb_receive() 348 pp->lencode = strlen(pp->a_lastcode); in arb_receive() 351 &syncchar, &pp->year, &pp->day, &pp->hour, in arb_receive() 352 &pp->minute, &pp->second) != 6) { in arb_receive() 366 pp->lastref = pp->lastrec; in arb_receive() 394 pp->disp = 1; in arb_receive() 455 pp->polls++; in arb_poll() 464 if (pp->coderecv == pp->codeproc) { in arb_poll() [all …]
|
| H A D | ntp_refclock.c | 89 if (pp->coderecv == pp->codeproc) in clk_add_sample() 91 pp->filter[pp->coderecv] = sv; in clk_add_sample() 98 if (pp->coderecv == pp->codeproc) in clk_pop_sample() 101 return pp->filter[pp->codeproc]; in clk_pop_sample() 122 if (pp->coderecv == pp->codeproc) in clk_add_sample() 124 pp->filter[pp->coderecv] = sv; in clk_add_sample() 134 return pp->filter[pp->codeproc]; in clk_pop_sample() 258 pp = emalloc_zero(sizeof(*pp)); in refclock_newpeer() 548 if (!clocktime(pp->day, pp->hour, pp->minute, pp->second, GMT, in refclock_process_f() 639 pp->jitter = max(pp->jitter, pp->fudgeminjitter); in refclock_sample() [all …]
|
| H A D | refclock_as2201.c | 181 pp->io.fd = fd; in as2201_start() 184 pp->io.fd = -1; in as2201_start() 188 pp->unitptr = up; in as2201_start() 215 up = pp->unitptr; in as2201_shutdown() 242 up = pp->unitptr; in as2201_receive() 247 up->linect, pp->lencode, pp->a_lastcode); in as2201_receive() 270 memcpy(up->lastptr, pp->a_lastcode, 1 + pp->lencode); in as2201_receive() 302 &pp->day, &pp->hour, &pp->minute, &pp->second, &pp->nsec) in as2201_receive() 333 memcpy(up->lastptr, pp->a_lastcode, pp->lencode); in as2201_receive() 375 pp->polls++; in as2201_poll() [all …]
|
| H A D | refclock_acts.c | 581 pp->lastref = pp->lastrec; in acts_timeout() 779 &mjd, &pp->year, &month, &day, &pp->hour, in acts_timecode() 785 pp->day = ymd2yd(pp->year, month, day); in acts_timecode() 803 &mjd, &pp->day, &pp->hour, &pp->minute, in acts_timecode() 825 &pp->second, &pp->year, &month, &day, &pp->hour, in acts_timecode() 838 pp->day = ymd2yd(pp->year, month, day); in acts_timecode() 849 &synchar, &pp->day, &pp->hour, &pp->minute, in acts_timecode() 866 &synchar, &qualchar, &pp->year, &pp->day, in acts_timecode() 867 &pp->hour, &pp->minute, &pp->second, &pp->nsec, in acts_timecode() 902 pp->lencode = strlen(pp->a_lastcode); in acts_timecode() [all …]
|
| H A D | refclock_pst.c | 143 pp->io.fd = fd; in pst_start() 146 pp->io.fd = -1; in pst_start() 150 pp->unitptr = up; in pst_start() 175 up = pp->unitptr; in pst_shutdown() 206 up = pp->unitptr; in pst_receive() 219 pp->lencode = up->lastptr - pp->a_lastcode; in pst_receive() 239 &mchar, &pp->hour, &pp->minute, &pp->second, &pp->nsec, in pst_receive() 262 pp->lastref = pp->lastrec; in pst_receive() 297 up = pp->unitptr; in pst_poll() 302 if (pp->coderecv == pp->codeproc) { in pst_poll() [all …]
|
| H A D | refclock_hpgps.c | 185 pp->io.fd = fd; in hpgps_start() 188 pp->io.fd = -1; in hpgps_start() 278 pp->lencode, pp->a_lastcode); in hpgps_receive() 304 memcpy(up->lastptr, pp->a_lastcode, pp->lencode); in hpgps_receive() 416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, in hpgps_receive() 497 pp->hour--; in hpgps_receive() 501 pp->hour++; in hpgps_receive() 507 pp->year--; in hpgps_receive() 519 pp->year++; in hpgps_receive() 524 pp->day = day; in hpgps_receive() [all …]
|
| H A D | refclock_zyfer.c | 156 pp->io.fd = fd; in zyfer_start() 159 pp->io.fd = -1; in zyfer_start() 163 pp->unitptr = up; in zyfer_start() 191 up = pp->unitptr; in zyfer_shutdown() 221 up = pp->unitptr; in zyfer_receive() 243 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, in zyfer_receive() 248 memcpy(pp->a_lastcode + pp->lencode, p, rbufp->recv_length); in zyfer_receive() 250 pp->a_lastcode[pp->lencode] = '\0'; in zyfer_receive() 273 &pp->year, &pp->day, &pp->hour, &pp->minute, &pp->second, in zyfer_receive() 306 refclock_process_offset(pp, tfrac, pp->lastrec, pp->fudgetime1); in zyfer_receive() [all …]
|
| H A D | refclock_heath.c | 229 pp = peer->procptr; in heath_start() 233 pp->io.fd = fd; in heath_start() 236 pp->io.fd = -1; in heath_start() 287 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, in heath_receive() 304 &pp->minute, &pp->second, &dsec, a, &month, &day, in heath_receive() 316 if (sscanf(pp->a_lastcode, "%2d:%2d:%2d.%c", &pp->hour, in heath_receive() 317 &pp->minute, &pp->second, &dsec) != 4) { in heath_receive() 377 pp->day = day; in heath_receive() 433 if (pp->coderecv == pp->codeproc) { in heath_poll() 437 pp->lastref = pp->lastrec; in heath_poll() [all …]
|
| H A D | refclock_tpro.c | 95 pp->io.fd = fd; in tpro_start() 96 pp->unitptr = up; in tpro_start() 121 up = pp->unitptr; in tpro_shutdown() 154 pp->polls++; in tpro_poll() 169 snprintf(pp->a_lastcode, sizeof(pp->a_lastcode), in tpro_poll() 175 pp->lencode = strlen(pp->a_lastcode); in tpro_poll() 179 ulfptoa(&pp->lastrec, 6), pp->lencode, in tpro_poll() 182 if (sscanf(pp->a_lastcode, "%3d %2d:%2d:%2d.%6ld", &pp->day, in tpro_poll() 183 &pp->hour, &pp->minute, &pp->second, &pp->nsec) in tpro_poll() 197 if (pp->coderecv == pp->codeproc) { in tpro_poll() [all …]
|
| H A D | refclock_true.c | 296 pp->io.fd = fd; in true_start() 388 strlcpy(pp->a_lastcode, rd_lastcode, sizeof(pp->a_lastcode)); in true_receive() 417 if ((pp->a_lastcode[5] == '+' || pp->a_lastcode[5] == '-') && in true_receive() 418 (pp->a_lastcode[9] == '+' || pp->a_lastcode[9] == '-') && in true_receive() 442 pp->fudgetime1 = pp->fudgetime2; in true_receive() 526 &pp->day, &pp->hour, &pp->minute, in true_receive() 551 if (!clocktime(pp->day, pp->hour, pp->minute, in true_receive() 552 pp->second, GMT, pp->lastrec.l_ui, in true_receive() 606 pp->lastref = pp->lastrec; in true_receive() 646 pp->polls++; in true_send() [all …]
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | sh.proc.c | 278 for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) in pchild() 434 for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) { in pnote() 494 pp = pp->p_friends; in pjwait() 631 for (pp = proclist.p_next; pp; pp = pp->p_next) in dowait() 659 for (pp = proclist.p_next; pp != NULL; pp = pp->p_next) in pflushall() 680 pp = pp->p_friends; in pflush() 805 pp->p_friends = pp; in palloc() 1332 for (pp = proclist.p_next; pp; pp = pp->p_next) in dojobs() 1666 for (pp = proclist.p_next; pp; pp = pp->p_next) in panystop() 1689 for (pp = proclist.p_next; pp; pp = pp->p_next) in pfind() [all …]
|
| /freebsd-12.1/sbin/iscontrol/ |
| H A D | pdu.c | 61 pukeText("I-", pp); in xmitpdu() 90 if((pp->ahs_addr = malloc(pp->ahs_size)) == NULL) { in sendPDU() 94 pp->ds_size = 0; in sendPDU() 100 freePDU(pp); in sendPDU() 128 if((pp->ds_len + len) > pp->ds_size) { in addText() 131 np = realloc(pp->ds_addr, pp->ds_size + len + FUDGE); in addText() 137 pp->ds_addr = np; in addText() 140 memcpy(pp->ds_addr + pp->ds_len, str, len); in addText() 147 freePDU(pdu_t *pp) in freePDU() argument 151 if(pp->ds_size) in freePDU() [all …]
|
| /freebsd-12.1/usr.sbin/lpr/lpd/ |
| H A D | printjob.c | 308 pp->printer, pp->lock_file); in printjob() 330 pp->printer, pp->lock_file); in printjob() 360 if (!pp->no_formfeed && !pp->tof) in printjob() 513 if (!pp->no_header && !pp->header_last) in printit() 585 if (!pp->no_header && pp->header_last) in printit() 1163 pp->printer, pp->remote_host); in sendfile() 1457 if (!pp->no_formfeed && !pp->tof) in banner() 1649 pp->printer, pp->daemon_user); in dofork() 1682 pp->printer, pp->daemon_user); in dofork() 1933 pfd = getport(pp, pp->remote_host, 0); in openrem() [all …]
|
| /freebsd-12.1/sys/security/mac/ |
| H A D | mac_pipe.c | 79 pp->pp_label = NULL; in mac_pipe_init() 94 if (pp->pp_label != NULL) { in mac_pipe_destroy() 96 pp->pp_label = NULL; in mac_pipe_destroy() 132 MAC_POLICY_PERFORM_NOSLEEP(pipe_create, cred, pp, pp->pp_label); in mac_pipe_create() 140 MAC_POLICY_PERFORM_NOSLEEP(pipe_relabel, cred, pp, pp->pp_label, in mac_pipe_relabel() 155 MAC_POLICY_CHECK_NOSLEEP(pipe_check_ioctl, cred, pp, pp->pp_label, in mac_pipe_check_ioctl() 172 MAC_POLICY_CHECK_NOSLEEP(pipe_check_poll, cred, pp, pp->pp_label); in mac_pipe_check_poll() 188 MAC_POLICY_CHECK_NOSLEEP(pipe_check_read, cred, pp, pp->pp_label); in mac_pipe_check_read() 205 MAC_POLICY_CHECK_NOSLEEP(pipe_check_relabel, cred, pp, pp->pp_label, in mac_pipe_check_relabel() 222 MAC_POLICY_CHECK_NOSLEEP(pipe_check_stat, cred, pp, pp->pp_label); in mac_pipe_check_stat() [all …]
|
| /freebsd-12.1/usr.sbin/lpr/common_source/ |
| H A D | printcap.c | 150 init_printer(pp); in firstprinter() 172 free_printer(pp); in nextprinter() 326 *pp = zero; in init_printer() 338 cfree(pp->printer); in free_printer() 339 cfree(pp->acct_file); in free_printer() 342 cfree(pp->form_feed); in free_printer() 343 cfree(pp->log_file); in free_printer() 345 cfree(pp->lp); in free_printer() 353 cfree(pp->trailer); in free_printer() 354 cfree(pp->mode_set); in free_printer() [all …]
|
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | stabs.c | 237 ul = strtoul (*pp, (char **) pp, 0); in parse_number() 1147 if (! ISDIGIT (**pp) && **pp != '(' && **pp != '-') in parse_stab_type() 1953 while (**pp != '\0' && **pp != ';' && **pp != ',') in parse_stab_enum_type() 2377 name = savestring (*pp, p - *pp); in parse_stab_one_struct_field() 2527 if ((*pp)[0] != 'o' || (*pp)[1] != 'p' || (*pp)[2] != '$') in parse_stab_members() 2529 name = savestring (*pp, p - *pp); in parse_stab_members() 2548 name = savestring (*pp, p - *pp); in parse_stab_members() 2959 if (**pp == '=' || **pp == '+' || **pp == '-') in parse_stab_tilde_field() 4422 while (**pp != '_' && **pp != '\0' && **pp != 'e') in stab_demangle_args() 4424 if (**pp == 'N' || **pp == 'T') in stab_demangle_args() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libuutil/common/ |
| H A D | uu_avl.c | 61 #define POOL_TO_MARKER(pp) (((uintptr_t)(pp) | 1)) argument 110 return (pp); in uu_avl_pool_create() 123 (int)sizeof (pp->uap_name), pp->uap_name, in uu_avl_pool_destroy() 128 pp->uap_next->uap_prev = pp->uap_prev; in uu_avl_pool_destroy() 129 pp->uap_prev->uap_next = pp->uap_next; in uu_avl_pool_destroy() 147 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init() 153 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init() 171 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini() 176 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini() 557 pp = pp->uap_next) in uu_avl_lockup() [all …]
|