/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/format/ |
H A D | ms_c99-strftime-1.c | 10 foo (char *s, size_t m, const struct tm *tp) argument 14 strftime (s, m, "%a%A%b%B%d%H%I%j%m%M%p%S%U%w%W%X%Y%z%Z%%", tp); 16 strftime (s, m, "%y", tp); /* { dg-warning "only last 2" "2-digit year" } */ 18 strftime (s, m, "%c", tp); /* { dg-warning "some locales" "2-digit year" } */ 19 strftime (s, m, "%x", tp); /* { dg-warning "some locales" "2-digit year" } */
|
H A D | ms_c99-strftime-2.c | 10 foo (char *s, size_t m, const struct tm *tp) argument 13 strftime (s, m, "%P", tp); /* { dg-warning "unknown" "strftime %P" } */ 15 strftime (s, m, "%k", tp); /* { dg-warning "unknown" "strftime %k" } */ 17 strftime (s, m, "%l", tp); /* { dg-warning "unknown" "strftime %l" } */ 19 strftime (s, m, "%s", tp); /* { dg-warning "unknown" "strftime %s" } */
|
H A D | ms_no-y2k-1.c | 10 foo (char *s, size_t m, const struct tm *tp) argument 12 strftime (s, m, "%y%c%x", tp);
|
H A D | ms_nonlit-3.c | 10 foo (char *s, size_t m, const struct tm *tp, char *fmt) argument 12 strftime (s, m, fmt, tp); /* { dg-warning "format string" "non-literal" } */
|
H A D | nonlit-3.c | 9 foo (char *s, size_t m, const struct tm *tp, char *fmt) argument 11 strftime (s, m, fmt, tp); /* { dg-warning "format string" "non-literal" } */
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/format/ |
H A D | c90-strftime-1.c | 9 foo (char *s, size_t m, const struct tm *tp) argument 13 strftime (s, m, "%a%A%b%B%d%H%I%j%m%M%p%S%U%w%W%X%Y%Z%%", tp); 15 strftime (s, m, "%y", tp); /* { dg-warning "only last 2" "2-digit year" } */ 17 strftime (s, m, "%c", tp); /* { dg-warning "some locales" "2-digit year" } */ 18 strftime (s, m, "%x", tp); /* { dg-warning "some locales" "2-digit year" } */
|
H A D | nonlit-3.c | 9 foo (char *s, size_t m, const struct tm *tp, char *fmt) argument 11 strftime (s, m, fmt, tp); /* { dg-warning "format string" "non-literal" } */
|
/netbsd-6-1-5-RELEASE/sys/netinet/ |
H A D | tcp_timer.c | 202 struct tcpcb *tp = arg; local 211 if ((tp->t_flags & (TF_DEAD | TF_DELACK)) != TF_DELACK) { 215 if (!callout_expired(&tp->t_delack_ch)) { 220 tp->t_flags |= TF_ACKNOW; 222 (void) tcp_output(tp); 243 * Cancel all timers for TCP tp. 246 tcp_canceltimers(struct tcpcb *tp) argument 251 TCP_TIMER_DISARM(tp, i); 266 struct tcpcb *tp = arg; local 274 if ((tp 435 struct tcpcb *tp = arg; local 507 struct tcpcb *tp = arg; local 601 struct tcpcb *tp = arg; local [all...] |
H A D | tcp_seq.h | 56 #define tcp_rcvseqinit(tp) \ 57 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1 59 #define tcp_sendseqinit(tp) \ 60 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \ 61 (tp) [all...] |
H A D | tcp_congctl.c | 202 static void tcp_reno_congestion_exp(struct tcpcb *tp); 313 tcp_congctl_select(struct tcpcb *tp, const char *name) argument 320 old_found = (tp == NULL || tp->t_congctl == NULL); 326 if (!old_found && tccp->congctl_ctl == tp->t_congctl) { 337 if (tp) { 341 tp->t_congctl = new_tccp->congctl_ctl; 358 tcp_congctl_release(struct tcpcb *tp) argument 362 KASSERT(tp->t_congctl); 365 if (tccp->congctl_ctl == tp 412 tcp_reno_congestion_exp(struct tcpcb *tp) argument 439 tcp_reno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) argument 486 tcp_reno_slow_retransmit(struct tcpcb *tp) argument 527 tcp_reno_fast_retransmit_newack(struct tcpcb *tp, const struct tcphdr *th) argument 550 tcp_reno_newack(struct tcpcb *tp, const struct tcphdr *th) argument 618 tcp_newreno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) argument 640 tcp_newreno_fast_retransmit_newack(struct tcpcb *tp, const struct tcphdr *th) argument 703 tcp_newreno_newack(struct tcpcb *tp, const struct tcphdr *th) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | thread.c | 80 struct thread_info *tp = find_thread_ptid (inferior_ptid); local 81 gdb_assert (tp); 82 return tp; 86 delete_step_resume_breakpoint (struct thread_info *tp) argument 88 if (tp && tp->control.step_resume_breakpoint) 90 delete_breakpoint (tp->control.step_resume_breakpoint); 91 tp->control.step_resume_breakpoint = NULL; 96 delete_exception_resume_breakpoint (struct thread_info *tp) argument 98 if (tp 106 clear_thread_inferior_resources(struct thread_info *tp) argument 134 free_thread(struct thread_info *tp) argument 153 struct thread_info *tp, *tpnext; local 175 struct thread_info *tp; local 194 struct thread_info *tp; local 267 struct thread_info *tp, *tpprev; local 330 struct thread_info *tp; local 343 struct thread_info *tp; local 370 struct thread_info *tp, *next; local 386 struct thread_info *tp; local 397 struct thread_info *tp; local 409 struct thread_info *tp; local 432 struct thread_info *tp; local 447 struct thread_info *tp, *ret = NULL; local 460 struct thread_info *tp; local 472 struct thread_info *tp; local 492 struct thread_info *tp; local 534 thread_alive(struct thread_info *tp) argument 546 struct thread_info *tp, *next; local 560 struct thread_info *tp; local 577 struct thread_info *tp; local 617 struct thread_info *tp; local 645 struct thread_info *tp; local 657 struct thread_info *tp; local 667 struct thread_info *tp; local 687 struct thread_info *tp; local 712 struct thread_info *tp; local 772 struct thread_info *tp; local 1087 struct thread_info *tp; local 1121 struct thread_info *tp; local 1132 struct thread_info *tp; local 1181 struct thread_info *tp; local 1235 struct thread_info *tp; local 1318 struct thread_info *tp; local 1382 struct thread_info *tp; local 1443 struct thread_info *tp = find_thread_ptid (inferior_ptid); local [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/bounce/ |
H A D | bounce_template.c | 212 BOUNCE_TEMPLATE *tp; local 214 tp = (BOUNCE_TEMPLATE *) mymalloc(sizeof(*tp)); 215 *tp = *prototype; 216 return (tp); 221 void bounce_template_free(BOUNCE_TEMPLATE *tp) argument 223 if (tp->buffer) { 224 myfree(tp->buffer); 225 myfree((char *) tp->origin); 227 myfree((char *) tp); 232 bounce_template_reset(BOUNCE_TEMPLATE *tp) argument 241 bounce_template_load(BOUNCE_TEMPLATE *tp, const char *origin, const char *buffer) argument 264 bounce_template_parse_buffer(BOUNCE_TEMPLATE *tp) argument 385 BOUNCE_TEMPLATE *tp = (BOUNCE_TEMPLATE *) context; local 432 bounce_template_headers(BOUNCE_XP_PRN_FN out_fn, VSTREAM *fp, BOUNCE_TEMPLATE *tp, const char *rcpt, int postmaster_copy) argument 448 bounce_template_expand(BOUNCE_XP_PUT_FN out_fn, VSTREAM *fp, BOUNCE_TEMPLATE *tp) argument 475 bounce_template_dump(VSTREAM *fp, BOUNCE_TEMPLATE *tp) argument [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpq/ |
H A D | set_d.c | 39 mp_limb_t tp[LIMBS_PER_DOUBLE]; local 51 exp = __gmp_extract_double (tp, d); 56 if (exp <= 1 || (exp == 2 && (tp[0] | tp[1]) != 0)) 59 if (exp <= 1 || (exp == 2 && tp[0] != 0)) 77 if ((tp[0] | tp[1] | tp[2]) == 0) 78 np[0] = tp[3], nn = 1; 79 else if ((tp[ [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/ |
H A D | gettimeofday.c | 12 @deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz}) 14 Writes the current time to @var{tp}. This implementation requires 22 gettimeofday (struct timeval *tp, void *tz) argument 26 tp->tv_usec = 0; 27 if (time (&tp->tv_sec) == (time_t) -1)
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.robertl/ |
H A D | eb7.C | 11 std::vector <T> tp; variable 15 tp.insert(tp.begin(), 10 , T());
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/ |
H A D | gettimeofday.c | 12 @deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz}) 14 Writes the current time to @var{tp}. This implementation requires 22 gettimeofday (struct timeval *tp, void *tz) argument 26 tp->tv_usec = 0; 27 if (time (&tp->tv_sec) == (time_t) -1)
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.robertl/ |
H A D | eb7.C | 11 std::vector <T> tp; variable 15 tp.insert(tp.begin(), 10 , T());
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/ |
H A D | gettimeofday.c | 12 @deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz}) 14 Writes the current time to @var{tp}. This implementation requires 22 gettimeofday (struct timeval *tp, void *tz) argument 26 tp->tv_usec = 0; 27 if (time (&tp->tv_sec) == (time_t) -1)
|
/netbsd-6-1-5-RELEASE/lib/libc/time/ |
H A D | scheck.c | 33 register char * tp; local 45 tp = fbuf; 46 while ((*tp++ = c = *fp++) != '\0') { 50 *tp++ = *fp++; 53 *tp++ = '*'; 57 *tp++ = *fp++; 59 *tp++ = *fp++; 61 do *tp++ = *fp++; 63 if ((*tp++ = *fp++) == '\0') 66 *(tp [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/ |
H A D | gettimeofday.c | 12 @deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz}) 14 Writes the current time to @var{tp}. This implementation requires 22 gettimeofday (struct timeval *tp, void *tz) argument 26 tp->tv_usec = 0; 27 if (time (&tp->tv_sec) == (time_t) -1)
|
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | ex_txt.c | 63 TEXT ait, *ntp, *tp; local 76 tp = tiqh->cqh_first; 77 if (tp->q.cqe_next != (void *)tiqh || tp->lb_len < 32) { 81 tp->len = 0; 83 newtp: if ((tp = text_init(sp, NULL, 0, 32)) == NULL) 85 CIRCLEQ_INSERT_HEAD(tiqh, tp, q); 89 tp->lno = sp->lno + 1; 109 if (v_txt_auto(sp, sp->lno, NULL, 0, tp)) 112 txt_prompt(sp, tp, promp 355 txt_prompt(SCR *sp, TEXT *tp, ARG_CHAR_T prompt, u_int32_t flags) argument 383 txt_dent(SCR *sp, TEXT *tp) argument [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/trivial-rewrite/ |
H A D | transport.c | 99 TRANSPORT_INFO *tp; local 101 tp = (TRANSPORT_INFO *) mymalloc(sizeof(*tp)); 102 tp->transport_path = maps_create(transport_maps_name, transport_maps, 105 tp->wildcard_channel = tp->wildcard_nexthop = 0; 106 tp->transport_errno = 0; 107 tp->expire = 0; 108 return (tp); 113 void transport_post_init(TRANSPORT_INFO *tp) argument 121 transport_free(TRANSPORT_INFO *tp) argument 166 find_transport_entry(TRANSPORT_INFO *tp, const char *key, const char *rcpt_domain, int flags, VSTRING *channel, VSTRING *nexthop) argument 209 transport_wildcard_init(TRANSPORT_INFO *tp) argument 257 transport_lookup(TRANSPORT_INFO *tp, const char *addr, const char *rcpt_domain, VSTRING *channel, VSTRING *nexthop) argument [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpn/generic/ |
H A D | toom_eval_dgr3_pm2.c | 33 mp_srcptr xp, mp_size_t n, mp_size_t x3n, mp_ptr tp) 46 cy = mpn_addlsh2_n (tp, xp + n, xp + 3*n, x3n); 50 cy = mpn_addlsh_n (tp, xp + n, xp + 3*n, x3n, 2); 53 cy = mpn_add_1 (tp + x3n, xp + n + x3n, n - x3n, cy); 54 tp[n] = cy; 56 cy = mpn_lshift (tp, xp + 2*n, n, 2); 57 xp2[n] = cy + mpn_add_n (xp2, tp, xp, n); 59 tp[x3n] = mpn_lshift (tp, xp + 3*n, x3n, 2); 61 tp[ 32 mpn_toom_eval_dgr3_pm2(mp_ptr xp2, mp_ptr xm2, mp_srcptr xp, mp_size_t n, mp_size_t x3n, mp_ptr tp) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/bsd/ |
H A D | gettimeofday.c | 21 isc__gettimeofday(struct timeval *tp, struct timezone *tzp) { argument 24 res = gettimeofday(tp, tzp); 27 if (tp == NULL) 29 if (tp->tv_usec < 0) { 31 tp->tv_usec += MILLION; 32 tp->tv_sec--; 33 } while (tp->tv_usec < 0); 35 } else if (tp->tv_usec > MILLION) { 37 tp->tv_usec -= MILLION; 38 tp [all...] |
/netbsd-6-1-5-RELEASE/sys/netiso/ |
H A D | tp_trace.c | 104 struct tp_Trace *tp; local 106 tp = &tp_Trace[tp_Tracen++]; 109 tp->tpt_event = event; 110 tp->tpt_tseq = tp_seq++; 111 tp->tpt_arg = arg; 113 tp->tpt_arg2 = tpcb->tp_lref; 114 memcpy((void *) & tp->tpt_time, (void *) & time, sizeof(struct timeval)); 119 memcpy((void *) & tp->tpt_ertpdu, (void *) src, 127 memcpy((void *) tp->tpt_str, (void *) arg, 129 tp [all...] |