Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 25 of 771) sorted by relevance

12345678910>>...31

/freebsd-12-stable/contrib/gcc/
Dc-pretty-print.c71 pp_c_whitespace (c_pretty_printer *pp) in pp_c_whitespace() argument
73 pp_space (pp); in pp_c_whitespace()
74 pp_base (pp)->padding = pp_none; in pp_c_whitespace()
78 pp_c_left_paren (c_pretty_printer *pp) in pp_c_left_paren() argument
80 pp_left_paren (pp); in pp_c_left_paren()
81 pp_base (pp)->padding = pp_none; in pp_c_left_paren()
85 pp_c_right_paren (c_pretty_printer *pp) in pp_c_right_paren() argument
87 pp_right_paren (pp); in pp_c_right_paren()
88 pp_base (pp)->padding = pp_none; in pp_c_right_paren()
92 pp_c_left_brace (c_pretty_printer *pp) in pp_c_left_brace() argument
[all …]
Dpretty-print.c66 pp_set_real_maximum_length (pretty_printer *pp) in pp_set_real_maximum_length() argument
71 if (!pp_is_wrapping_line (pp) in pp_set_real_maximum_length()
72 || pp_prefixing_rule (pp) == DIAGNOSTICS_SHOW_PREFIX_ONCE in pp_set_real_maximum_length()
73 || pp_prefixing_rule (pp) == DIAGNOSTICS_SHOW_PREFIX_NEVER) in pp_set_real_maximum_length()
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()
80 if (pp_line_cutoff (pp) - prefix_length < 32) 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()
89 pp_clear_state (pretty_printer *pp) in pp_clear_state() argument
[all …]
/freebsd-12-stable/contrib/gcc/cp/
Dcxx-pretty-print.c50 pp_cxx_nonconsecutive_character (cxx_pretty_printer *pp, int c) in pp_cxx_nonconsecutive_character() argument
52 const char *p = pp_last_position_in_text (pp); in pp_cxx_nonconsecutive_character()
55 pp_cxx_whitespace (pp); in pp_cxx_nonconsecutive_character()
56 pp_character (pp, c); in pp_cxx_nonconsecutive_character()
57 pp_base (pp)->padding = pp_none; in pp_cxx_nonconsecutive_character()
72 pp_cxx_colon_colon (cxx_pretty_printer *pp) in pp_cxx_colon_colon() argument
74 pp_colon_colon (pp); in pp_cxx_colon_colon()
75 pp_base (pp)->padding = pp_none; in pp_cxx_colon_colon()
79 pp_cxx_begin_template_argument_list (cxx_pretty_printer *pp) in pp_cxx_begin_template_argument_list() argument
81 pp_cxx_nonconsecutive_character (pp, '<'); in pp_cxx_begin_template_argument_list()
[all …]
/freebsd-12-stable/contrib/ntp/ntpd/
Drefclock_ulink.c121 struct refclockproc *pp; in ulink_start() local
138 pp = peer->procptr; in ulink_start()
139 pp->io.clock_recv = ulink_receive; in ulink_start()
140 pp->io.srcclock = peer; in ulink_start()
141 pp->io.datalen = 0; in ulink_start()
142 pp->io.fd = fd; in ulink_start()
143 if (!io_addclock(&pp->io)) { in ulink_start()
145 pp->io.fd = -1; in ulink_start()
149 pp->unitptr = up; in ulink_start()
155 pp->clockdesc = DESCRIPTION; in ulink_start()
[all …]
Drefclock_hopfser.c120 struct refclockproc *pp; in hopfserial_start() local
144 pp = peer->procptr; in hopfserial_start()
145 pp->unitptr = up; in hopfserial_start()
146 pp->io.clock_recv = hopfserial_receive; in hopfserial_start()
147 pp->io.srcclock = peer; in hopfserial_start()
148 pp->io.datalen = 0; in hopfserial_start()
149 pp->io.fd = fd; in hopfserial_start()
150 if (!io_addclock(&pp->io)) { in hopfserial_start()
155 pp->io.fd = -1; in hopfserial_start()
157 pp->unitptr = NULL; in hopfserial_start()
[all …]
Drefclock_wwvb.c184 struct refclockproc *pp; in wwvb_start() local
200 pp = peer->procptr; in wwvb_start()
201 pp->io.clock_recv = wwvb_receive; in wwvb_start()
202 pp->io.srcclock = peer; in wwvb_start()
203 pp->io.datalen = 0; in wwvb_start()
204 pp->io.fd = fd; in wwvb_start()
205 if (!io_addclock(&pp->io)) { in wwvb_start()
207 pp->io.fd = -1; in wwvb_start()
211 pp->unitptr = up; in wwvb_start()
217 pp->clockdesc = DESCRIPTION; in wwvb_start()
[all …]
Drefclock_fg.c97 struct refclockproc *pp; in fg_start() local
120 pp = peer->procptr; in fg_start()
121 pp->unitptr = up; in fg_start()
122 pp->io.clock_recv = fg_receive; in fg_start()
123 pp->io.srcclock = peer; in fg_start()
124 pp->io.datalen = 0; in fg_start()
125 pp->io.fd = fd; in fg_start()
126 if (!io_addclock(&pp->io)) { in fg_start()
128 pp->io.fd = -1; in fg_start()
137 pp->clockdesc = DESCRIPTION; in fg_start()
[all …]
Drefclock_arc.c595 struct refclockproc *pp = peer->procptr; in arc_event_handler() local
596 register struct arcunit *up = pp->unitptr; in arc_event_handler()
610 if(write(pp->io.fd, &c, 1) != 1) { in arc_event_handler()
611 msyslog(LOG_NOTICE, "ARCRON: write to fd %d failed", pp->io.fd); in arc_event_handler()
614 else if(debug) { printf("arc: sent `%2.2x', fd %d.\n", c, pp->io.fd); } in arc_event_handler()
631 struct refclockproc *pp; in arc_start() local
704 pp = peer->procptr; in arc_start()
705 pp->io.clock_recv = arc_receive; in arc_start()
706 pp->io.srcclock = peer; in arc_start()
707 pp->io.datalen = 0; in arc_start()
[all …]
Drefclock_acts.c248 struct refclockproc *pp; in acts_start() local
256 pp = peer->procptr; in acts_start()
257 pp->unitptr = up; in acts_start()
258 pp->io.clock_recv = acts_receive; in acts_start()
259 pp->io.srcclock = peer; in acts_start()
260 pp->io.datalen = 0; in acts_start()
261 pp->io.fd = -1; in acts_start()
267 pp->clockdesc = DESCRIPTION; in acts_start()
268 memcpy(&pp->refid, REFID, 4); in acts_start()
291 struct refclockproc *pp; in acts_shutdown() local
[all …]
Drefclock_as2201.c161 struct refclockproc *pp; in as2201_start() local
177 pp = peer->procptr; in as2201_start()
178 pp->io.clock_recv = as2201_receive; in as2201_start()
179 pp->io.srcclock = peer; in as2201_start()
180 pp->io.datalen = 0; in as2201_start()
181 pp->io.fd = fd; in as2201_start()
182 if (!io_addclock(&pp->io)) { in as2201_start()
184 pp->io.fd = -1; in as2201_start()
188 pp->unitptr = up; in as2201_start()
194 pp->clockdesc = DESCRIPTION; in as2201_start()
[all …]
Drefclock_pst.c123 struct refclockproc *pp; in pst_start() local
139 pp = peer->procptr; in pst_start()
140 pp->io.clock_recv = pst_receive; in pst_start()
141 pp->io.srcclock = peer; in pst_start()
142 pp->io.datalen = 0; in pst_start()
143 pp->io.fd = fd; in pst_start()
144 if (!io_addclock(&pp->io)) { in pst_start()
146 pp->io.fd = -1; in pst_start()
150 pp->unitptr = up; in pst_start()
156 pp->clockdesc = DESCRIPTION; in pst_start()
[all …]
Drefclock_zyfer.c132 struct refclockproc *pp; in zyfer_start() local
152 pp = peer->procptr; in zyfer_start()
153 pp->io.clock_recv = zyfer_receive; in zyfer_start()
154 pp->io.srcclock = peer; in zyfer_start()
155 pp->io.datalen = 0; in zyfer_start()
156 pp->io.fd = fd; in zyfer_start()
157 if (!io_addclock(&pp->io)) { in zyfer_start()
159 pp->io.fd = -1; in zyfer_start()
163 pp->unitptr = up; in zyfer_start()
169 pp->clockdesc = DESCRIPTION; in zyfer_start()
[all …]
Dntp_refclock.c87 struct refclockproc * const pp, in clk_add_sample() argument
91 pp->coderecv = (pp->coderecv + 1) % MAXSTAGE; in clk_add_sample()
92 if (pp->coderecv == pp->codeproc) in clk_add_sample()
93 pp->codeproc = (pp->codeproc + 1) % MAXSTAGE; in clk_add_sample()
94 pp->filter[pp->coderecv] = sv; in clk_add_sample()
98 struct refclockproc * const pp in clk_pop_sample() argument
101 if (pp->coderecv == pp->codeproc) in clk_pop_sample()
103 pp->codeproc = (pp->codeproc + 1) % MAXSTAGE; in clk_pop_sample()
104 return pp->filter[pp->codeproc]; in clk_pop_sample()
108 struct refclockproc * const pp in clk_cnt_sample() argument
[all …]
Drefclock_heath.c217 struct refclockproc *pp; in heath_start() local
229 pp = peer->procptr; in heath_start()
230 pp->io.clock_recv = heath_receive; in heath_start()
231 pp->io.srcclock = peer; in heath_start()
232 pp->io.datalen = 0; in heath_start()
233 pp->io.fd = fd; in heath_start()
234 if (!io_addclock(&pp->io)) { in heath_start()
236 pp->io.fd = -1; in heath_start()
244 pp->clockdesc = DESCRIPTION; in heath_start()
245 memcpy(&pp->refid, REFID, 4); in heath_start()
[all …]
Drefclock_hpgps.c157 struct refclockproc *pp; in hpgps_start() local
181 pp = peer->procptr; in hpgps_start()
182 pp->io.clock_recv = hpgps_receive; in hpgps_start()
183 pp->io.srcclock = peer; in hpgps_start()
184 pp->io.datalen = 0; in hpgps_start()
185 pp->io.fd = fd; in hpgps_start()
186 if (!io_addclock(&pp->io)) { in hpgps_start()
188 pp->io.fd = -1; in hpgps_start()
192 pp->unitptr = up; in hpgps_start()
198 pp->clockdesc = DESCRIPTION; in hpgps_start()
[all …]
Drefclock_arbiter.c152 struct refclockproc *pp; in arb_start() local
168 pp = peer->procptr; in arb_start()
169 pp->io.clock_recv = arb_receive; in arb_start()
170 pp->io.srcclock = peer; in arb_start()
171 pp->io.datalen = 0; in arb_start()
172 pp->io.fd = fd; in arb_start()
173 if (!io_addclock(&pp->io)) { in arb_start()
175 pp->io.fd = -1; in arb_start()
179 pp->unitptr = up; in arb_start()
185 pp->clockdesc = DESCRIPTION; in arb_start()
[all …]
Drefclock_tpro.c73 struct refclockproc *pp; in tpro_start() local
91 pp = peer->procptr; in tpro_start()
92 pp->io.clock_recv = noentry; in tpro_start()
93 pp->io.srcclock = peer; in tpro_start()
94 pp->io.datalen = 0; in tpro_start()
95 pp->io.fd = fd; in tpro_start()
96 pp->unitptr = up; in tpro_start()
102 pp->clockdesc = DESCRIPTION; in tpro_start()
103 memcpy((char *)&pp->refid, REFID, 4); in tpro_start()
118 struct refclockproc *pp; in tpro_shutdown() local
[all …]
Drefclock_true.c218 struct refclockproc *pp; in true_debug() local
222 pp = peer->procptr; in true_debug()
223 up = pp->unitptr; in true_debug()
225 want_debugging = (pp->sloppyclockflag & CLK_FLAG2) != 0; in true_debug()
270 struct refclockproc *pp; in true_start() local
286 pp = peer->procptr; in true_start()
287 pp->io.clock_recv = true_receive; in true_start()
288 pp->io.srcclock = peer; in true_start()
289 pp->io.datalen = 0; in true_start()
290 pp->io.fd = fd; in true_start()
[all …]
/freebsd-12-stable/contrib/tcsh/
Dsh.proc.c145 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 …]
/freebsd-12-stable/sbin/iscontrol/
Dpdu.c51 static void pukeText(char *it, pdu_t *pp);
54 xmitpdu(isess_t *sess, pdu_t *pp) in xmitpdu() argument
56 if(ioctl(sess->fd, ISCSISEND, pp)) { in xmitpdu()
61 pukeText("I-", pp); in xmitpdu()
67 recvpdu(isess_t *sess, pdu_t *pp) in recvpdu() argument
69 if(ioctl(sess->fd, ISCSIRECV, pp)) { in recvpdu()
76 pukeText("T-", pp); in recvpdu()
82 sendPDU(isess_t *sess, pdu_t *pp, handler_t *hdlr) in sendPDU() argument
84 if(xmitpdu(sess, pp)) in sendPDU()
89 pp->ahs_size = 8 * 1024; in sendPDU()
[all …]
/freebsd-12-stable/usr.sbin/lpr/lpd/
Dprintjob.c143 static void openrem(const struct printer *pp);
160 printjob(struct printer *pp) in printjob() argument
171 init(pp); /* set up capabilities */ in printjob()
174 if (open(pp->log_file, O_WRONLY|O_APPEND, LOG_FILE_MODE) < 0) { in printjob()
175 syslog(LOG_ERR, "%s: open(%s): %m", pp->printer, in printjob()
176 pp->log_file); in printjob()
198 if (chdir(pp->spool_dir) < 0) { in printjob()
199 syslog(LOG_ERR, "%s: chdir(%s): %m", pp->printer, in printjob()
200 pp->spool_dir); in printjob()
203 statok = stat(pp->lock_file, &stb); in printjob()
[all …]
/freebsd-12-stable/sys/security/mac/
Dmac_pipe.c73 mac_pipe_init(struct pipepair *pp) in mac_pipe_init() argument
77 pp->pp_label = mac_pipe_label_alloc(); in mac_pipe_init()
79 pp->pp_label = NULL; in mac_pipe_init()
91 mac_pipe_destroy(struct pipepair *pp) in mac_pipe_destroy() argument
94 if (pp->pp_label != NULL) { in mac_pipe_destroy()
95 mac_pipe_label_free(pp->pp_label); in mac_pipe_destroy()
96 pp->pp_label = NULL; in mac_pipe_destroy()
129 mac_pipe_create(struct ucred *cred, struct pipepair *pp) in mac_pipe_create() argument
132 MAC_POLICY_PERFORM_NOSLEEP(pipe_create, cred, pp, pp->pp_label); in mac_pipe_create()
136 mac_pipe_relabel(struct ucred *cred, struct pipepair *pp, in mac_pipe_relabel() argument
[all …]
/freebsd-12-stable/usr.sbin/lpr/common_source/
Dprintcap.c99 getprintcap(const char *printer, struct printer *pp) in getprintcap() argument
106 status = getprintcap_int(bp, pp); in getprintcap()
145 firstprinter(struct printer *pp, int *error) in firstprinter() argument
150 init_printer(pp); in firstprinter()
159 status = getprintcap_int(bp, pp); in firstprinter()
167 nextprinter(struct printer *pp, int *error) in nextprinter() argument
172 free_printer(pp); in nextprinter()
181 status = getprintcap_int(bp, pp); in nextprinter()
213 getprintcap_int(char *bp, struct printer *pp) in getprintcap_int() argument
219 if ((pp->printer = capdb_canonical_name(bp)) == NULL) in getprintcap_int()
[all …]
/freebsd-12-stable/contrib/binutils/binutils/
Dstabs.c226 parse_number (const char **pp, bfd_boolean *poverflow) in parse_number() argument
234 orig = *pp; in parse_number()
237 ul = strtoul (*pp, (char **) pp, 0); in parse_number()
1125 parse_stab_type (void *dhandle, struct stab_handle *info, const char *typename, const char **pp, de… in parse_stab_type() argument
1137 orig = *pp; in parse_stab_type()
1147 if (! ISDIGIT (**pp) && **pp != '(' && **pp != '-') in parse_stab_type()
1155 if (! parse_stab_type_number (pp, typenums)) in parse_stab_type()
1158 if (**pp != '=') in parse_stab_type()
1181 ++*pp; in parse_stab_type()
1183 while (**pp == '@') in parse_stab_type()
[all …]
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libuutil/common/
Duu_avl.c59 (pp)->uap_nodeoffset))
61 #define POOL_TO_MARKER(pp) (((uintptr_t)(pp) | 1)) argument
69 uu_avl_pool_t *pp, *next, *prev; in uu_avl_pool_create() local
84 pp = uu_zalloc(sizeof (uu_avl_pool_t)); in uu_avl_pool_create()
85 if (pp == NULL) { in uu_avl_pool_create()
90 (void) strlcpy(pp->uap_name, name, sizeof (pp->uap_name)); in uu_avl_pool_create()
91 pp->uap_nodeoffset = nodeoffset; in uu_avl_pool_create()
92 pp->uap_objsize = objsize; in uu_avl_pool_create()
93 pp->uap_cmp = compare_func; in uu_avl_pool_create()
95 pp->uap_debug = 1; in uu_avl_pool_create()
[all …]

12345678910>>...31