Searched defs:tr (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-head/contrib/ntp/util/
H A Djitter.c34 l_fp tr; local
48 get_systime(&tr);
49 LFPTOD(&tr, gtod[i]);
H A Dhist.c31 struct timeval ts, tr, tp; local
52 gettimeofday(&tr, &tzp);
53 u = tr.tv_sec * 1000000 + tr.tv_usec;
60 ts.tv_usec, tr.tv_sec, tr.tv_usec);
69 ts = tr;
/freebsd-head/contrib/netbsd-tests/lib/libc/gen/
H A Dt_raise.c134 struct timespec tv, tr; local
154 ATF_REQUIRE(nanosleep(&tv, &tr) == 0);
/freebsd-head/usr.bin/tail/
H A Dreverse.c261 struct bfelem *tr; local
270 tr = TAILQ_NEXT(tl, entries);
272 if (tr != NULL) {
273 TAILQ_FOREACH_FROM_SAFE(tr, &head,
275 if (tr->len)
276 WR(&tr->l, tr->len);
277 TAILQ_REMOVE(&head, tr,
279 free(tr);
/freebsd-head/contrib/ncurses/ncurses/base/
H A Dlib_box.c67 chtype tl, chtype tr,
81 _tracechtype2(6, tr),
93 RENDER_WITH_DEFAULT(tr, ACS_URCORNER);
64 wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
/freebsd-head/contrib/ncurses/ncurses/widechar/
H A Dlib_box_set.c49 const ARG_CH_T tl, const ARG_CH_T tr,
63 _tracech_t2(6, tr),
77 RENDER_WITH_DEFAULT(tr, WACS_URCORNER);
46 wborder_set(WINDOW *win, const ARG_CH_T ls, const ARG_CH_T rs, const ARG_CH_T ts, const ARG_CH_T bs, const ARG_CH_T tl, const ARG_CH_T tr, const ARG_CH_T bl, const ARG_CH_T br) argument
/freebsd-head/contrib/ntp/lib/isc/
H A Dbase64.c182 isc_textregion_t *tr; local
199 tr = &token.value.as_textregion;
200 for (i = 0; i < tr->length; i++)
201 RETERR(base64_decode_char(&ctx, tr->base[i]));
244 isc_region_t tr; local
246 isc_buffer_availableregion(target, &tr);
247 if (length > tr.length)
249 memcpy(tr.base, base, length);
H A Dhex.c131 isc_textregion_t *tr; local
148 tr = &token.value.as_textregion;
149 for (i = 0; i < tr->length; i++)
150 RETERR(hex_decode_char(&ctx, tr->base[i]));
193 isc_region_t tr; local
195 isc_buffer_availableregion(target, &tr);
196 if (length > tr.length)
198 memcpy(tr.base, base, length);
H A Dbase32.c259 isc_textregion_t *tr; local
276 tr = &token.value.as_textregion;
277 for (i = 0; i < tr->length; i++)
278 RETERR(base32_decode_char(&ctx, tr->base[i]));
365 isc_region_t tr; local
367 isc_buffer_availableregion(target, &tr);
368 if (length > tr.length)
370 memcpy(tr.base, base, length);
/freebsd-head/usr.bin/paste/
H A Dpaste.c67 static int tr(wchar_t *);
97 delimcnt = tr(delim = warg);
241 tr(wchar_t *arg) function
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dtransited.c257 const char *tr, int length, struct tr_realm **realms)
263 const char *start = tr;
271 if(tr[i] == '\\'){
275 if(tr[i] == ','){
276 tmp = malloc(tr + i - start + 1);
279 memcpy(tmp, start, tr + i - start);
280 tmp[tr + i - start] = '\0';
287 start = tr + i + 1;
290 tmp = malloc(tr + i - start + 1);
295 memcpy(tmp, start, tr
256 decode_realms(krb5_context context, const char *tr, int length, struct tr_realm **realms) argument
309 krb5_domain_x500_decode(krb5_context context, krb5_data tr, char ***realms, unsigned int *num_realms, const char *client_realm, const char *server_realm) argument
[all...]
/freebsd-head/contrib/tcpdump/
H A Dprint-igmp.c109 register const struct tr_query *tr = (const struct tr_query *)(bp + 8); local
111 ND_TCHECK(*tr);
117 TR_GETQID(EXTRACT_32BITS(&tr->tr_rttlqid)),
118 ipaddr_string(ndo, &tr->tr_src), ipaddr_string(ndo, &tr->tr_dst),
119 ipaddr_string(ndo, &tr->tr_raddr)));
120 if (IN_CLASSD(EXTRACT_32BITS(&tr->tr_raddr)))
121 ND_PRINT((ndo, " with-ttl %d", TR_GETTTL(EXTRACT_32BITS(&tr->tr_rttlqid))));
131 register const struct tr_query *tr = (const struct tr_query *)(bp + 8); local
133 ND_TCHECK(*tr);
[all...]
/freebsd-head/lib/libc/stdlib/
H A Dradixsort.c75 tr = tr0; \
84 tr = tab; \
95 const u_char *tr; local
100 r_sort_a(a, n, 0, tr, endch);
107 const u_char *tr, **ta; local
113 simplesort(a, n, 0, tr, endch);
117 r_sort_b(a, ta, n, 0, tr, endch);
130 r_sort_a(const u_char **a, int n, int i, const u_char *tr, u_int endch) argument
145 simplesort(a, n, i, tr, endch);
154 c = tr[(*a
228 r_sort_b(const u_char **a, const u_char **ta, int n, int i, const u_char *tr, u_int endch) argument
298 simplesort(const u_char **a, int n, int b, const u_char *tr, u_int endch) argument
[all...]
/freebsd-head/contrib/bearssl/T0/
H A DT0Comp.cs149 using (TextReader tr = new StreamReader(
153 tc.ProcessInput(tr);
157 using (TextReader tr = File.OpenText(a)) {
158 tc.ProcessInput(tr);
1398 void ProcessInput(TextReader tr) argument
1400 this.currentInput = tr;
/freebsd-head/sys/geom/raid/
H A Dtr_concat.c85 g_raid_tr_taste_concat(struct g_raid_tr_object *tr, struct g_raid_volume *volume) argument
89 trs = (struct g_raid_tr_concat_object *)tr;
90 if (tr->tro_volume->v_raid_level != G_RAID_VOLUME_RL_SINGLE &&
91 tr->tro_volume->v_raid_level != G_RAID_VOLUME_RL_CONCAT &&
92 !(tr->tro_volume->v_disks_count == 1 &&
93 tr->tro_volume->v_raid_level != G_RAID_VOLUME_RL_UNKNOWN))
154 g_raid_tr_event_concat(struct g_raid_tr_object *tr, argument
162 trs = (struct g_raid_tr_concat_object *)tr;
163 vol = tr->tro_volume;
184 g_raid_tr_start_concat(struct g_raid_tr_object *tr) argument
197 g_raid_tr_stop_concat(struct g_raid_tr_object *tr) argument
211 g_raid_tr_iostart_concat(struct g_raid_tr_object *tr, struct bio *bp) argument
290 g_raid_tr_kerneldump_concat(struct g_raid_tr_object *tr, void *virtual, vm_offset_t physical, off_t boffset, size_t blength) argument
333 g_raid_tr_iodone_concat(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd,struct bio *bp) argument
350 g_raid_tr_free_concat(struct g_raid_tr_object *tr) argument
[all...]
H A Dtr_raid0.c85 g_raid_tr_taste_raid0(struct g_raid_tr_object *tr, struct g_raid_volume *volume) argument
89 trs = (struct g_raid_tr_raid0_object *)tr;
90 if (tr->tro_volume->v_raid_level != G_RAID_VOLUME_RL_RAID0 ||
91 tr->tro_volume->v_raid_level_qualifier != G_RAID_VOLUME_RLQ_NONE)
134 g_raid_tr_event_raid0(struct g_raid_tr_object *tr, argument
142 trs = (struct g_raid_tr_raid0_object *)tr;
143 vol = tr->tro_volume;
164 g_raid_tr_start_raid0(struct g_raid_tr_object *tr) argument
169 trs = (struct g_raid_tr_raid0_object *)tr;
170 vol = tr
177 g_raid_tr_stop_raid0(struct g_raid_tr_object *tr) argument
191 g_raid_tr_iostart_raid0(struct g_raid_tr_object *tr, struct bio *bp) argument
271 g_raid_tr_kerneldump_raid0(struct g_raid_tr_object *tr, void *virtual, vm_offset_t physical, off_t boffset, size_t blength) argument
315 g_raid_tr_iodone_raid0(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd,struct bio *bp) argument
332 g_raid_tr_free_raid0(struct g_raid_tr_object *tr) argument
[all...]
H A Dtr_raid5.c103 g_raid_tr_taste_raid5(struct g_raid_tr_object *tr, struct g_raid_volume *vol) argument
108 trs = (struct g_raid_tr_raid5_object *)tr;
109 qual = tr->tro_volume->v_raid_level_qualifier;
110 if (tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID4 &&
114 } else if ((tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5 ||
115 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5E ||
116 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5EE ||
117 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5R ||
118 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID6 ||
119 tr
175 g_raid_tr_event_raid5(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, u_int event) argument
184 g_raid_tr_start_raid5(struct g_raid_tr_object *tr) argument
198 g_raid_tr_stop_raid5(struct g_raid_tr_object *tr) argument
212 g_raid_tr_iostart_raid5_read(struct g_raid_tr_object *tr, struct bio *bp) argument
344 g_raid_tr_iostart_raid5(struct g_raid_tr_object *tr, struct bio *bp) argument
371 g_raid_tr_iodone_raid5(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, struct bio *bp) argument
388 g_raid_tr_kerneldump_raid5(struct g_raid_tr_object *tr, void *virtual, vm_offset_t physical, off_t offset, size_t length) argument
396 g_raid_tr_locked_raid5(struct g_raid_tr_object *tr, void *argp) argument
409 g_raid_tr_free_raid5(struct g_raid_tr_object *tr) argument
[all...]
H A Dtr_raid1.c132 static void g_raid_tr_raid1_rebuild_abort(struct g_raid_tr_object *tr);
133 static void g_raid_tr_raid1_maybe_rebuild(struct g_raid_tr_object *tr,
137 g_raid_tr_taste_raid1(struct g_raid_tr_object *tr, struct g_raid_volume *vol) argument
141 trs = (struct g_raid_tr_raid1_object *)tr;
142 if (tr->tro_volume->v_raid_level != G_RAID_VOLUME_RL_RAID1 ||
143 (tr->tro_volume->v_raid_level_qualifier != G_RAID_VOLUME_RLQ_R1SM &&
144 tr->tro_volume->v_raid_level_qualifier != G_RAID_VOLUME_RLQ_R1MM))
242 g_raid_tr_raid1_rebuild_some(struct g_raid_tr_object *tr) argument
248 trs = (struct g_raid_tr_raid1_object *)tr;
254 g_raid_tr_raid1_rebuild_abort(tr);
291 g_raid_tr_raid1_rebuild_finish(struct g_raid_tr_object *tr) argument
308 g_raid_tr_raid1_rebuild_abort(struct g_raid_tr_object *tr) argument
342 g_raid_tr_raid1_rebuild_start(struct g_raid_tr_object *tr) argument
406 g_raid_tr_raid1_maybe_rebuild(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd) argument
449 g_raid_tr_event_raid1(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, u_int event) argument
458 g_raid_tr_start_raid1(struct g_raid_tr_object *tr) argument
471 g_raid_tr_stop_raid1(struct g_raid_tr_object *tr) argument
527 g_raid_tr_iostart_raid1_read(struct g_raid_tr_object *tr, struct bio *bp) argument
546 g_raid_tr_iostart_raid1_write(struct g_raid_tr_object *tr, struct bio *bp) argument
608 g_raid_tr_iostart_raid1(struct g_raid_tr_object *tr, struct bio *bp) argument
656 g_raid_tr_iodone_raid1(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, struct bio *bp) argument
904 g_raid_tr_kerneldump_raid1(struct g_raid_tr_object *tr, void *virtual, vm_offset_t physical, off_t offset, size_t length) argument
949 g_raid_tr_locked_raid1(struct g_raid_tr_object *tr, void *argp) argument
962 g_raid_tr_idle_raid1(struct g_raid_tr_object *tr) argument
975 g_raid_tr_free_raid1(struct g_raid_tr_object *tr) argument
[all...]
/freebsd-head/sys/crypto/camellia/
H A Dcamellia.c444 uint32_t kw4l, kw4r, dw, tl, tr; local
562 dw = tl & subl(8), tr = subr(10) ^ CAMELLIA_RL1(dw);
564 SUBR(7) = subr(6) ^ tr;
570 dw = tl & subl(9), tr = subr(7) ^ CAMELLIA_RL1(dw);
572 SUBR(10) = tr ^ subr(11);
582 dw = tl & subl(16), tr = subr(18) ^ CAMELLIA_RL1(dw);
584 SUBR(15) = subr(14) ^ tr;
590 dw = tl & subl(17), tr = subr(15) ^ CAMELLIA_RL1(dw);
592 SUBR(18) = tr ^ subr(19);
651 uint32_t kw4l, kw4r, dw, tl, tr; local
[all...]
/freebsd-head/tests/sys/audit/
H A Dnetwork.c216 int tr = 1; local
224 SO_REUSEADDR, &tr, sizeof(int)));
/freebsd-head/lib/libc/locale/
H A Dcollate.c405 wchar_t *tr = NULL; local
439 free(tr);
440 if ((tr = wcsdup(t)) == NULL) {
444 bp = tr;
445 fp = tr + wcslen(tr) - 1;
451 t = (const wchar_t *)tr;
494 free(tr);
498 free(tr);
550 wchar_t *tr local
[all...]
/freebsd-head/sys/kern/
H A Dkern_rmlock.c812 print_tracker(struct rm_priotracker *tr) argument
816 td = tr->rmp_thread;
819 if (tr->rmp_flags & RMPF_ONQUEUE) {
821 if (tr->rmp_flags & RMPF_SIGNAL)
831 struct rm_priotracker *tr; local
845 tr = (struct rm_priotracker *)queue;
846 if (tr->rmp_rmlock == rm)
847 print_tracker(tr);
850 LIST_FOREACH(tr, &rm->rm_activeReaders, rmp_qentry)
851 print_tracker(tr);
[all...]
/freebsd-head/sys/dev/twe/
H A Dtwe_freebsd.c390 struct twe_request *tr; local
395 while ((tr = twe_dequeue_free(sc)) != NULL)
396 twe_free_request(tr);
891 struct twe_request *tr; local
893 tr = malloc(sizeof(struct twe_request), TWE_MALLOC_CLASS, M_WAITOK | M_ZERO);
894 tr->tr_sc = sc;
895 tr->tr_tag = tag;
896 if (bus_dmamap_create(sc->twe_buffer_dmat, 0, &tr->tr_dmamap)) {
897 twe_free_request(tr);
901 return(tr);
908 twe_free_request(struct twe_request *tr) argument
944 struct twe_request *tr = (struct twe_request *)arg; local
1048 twe_map_request(struct twe_request *tr) argument
1108 twe_unmap_request(struct twe_request *tr) argument
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp260 ThreadRegistry *tr = ctx->thread_registry; local
262 tr->StartThread(tid, os_id, thread_type, &args);
264 tr->Lock();
265 thr->tctx = (ThreadContext*)tr->GetThreadLocked(tid);
266 tr->Unlock();
/freebsd-head/sys/teken/
H A Dteken_subr.h93 teken_rect_t tr; local
106 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin + amount;
107 tr.tr_begin.tp_col = 0;
108 tr.tr_end.tp_row = t->t_scrollreg.ts_end;
109 tr.tr_end.tp_col = t->t_winsize.tp_col;
112 teken_funcs_copy(t, &tr, &tp);
114 tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount;
116 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin;
120 tr.tr_begin.tp_col = 0;
121 tr
188 teken_rect_t tr; local
396 teken_rect_t tr; local
419 teken_rect_t tr; local
488 teken_rect_t tr; local
647 teken_rect_t tr; local
673 teken_rect_t tr; local
736 teken_rect_t tr; local
[all...]

Completed in 80 milliseconds

123