Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 4013) sorted by relevance

12345678910>>...161

/freebsd/bin/test/tests/
H A Dlegacy_test.sh35 t () function
56 t 0 'b = b'
57 t 0 'b == b'
58 t 1 'b != b'
59 t 0 '\( b = b \)'
60 t 0 '\( b == b \)'
61 t 1 '! \( b = b \)'
62 t 1 '! \( b == b \)'
63 t 1 '! -f /etc/passwd'
65 t 0 '-h = -h'
[all …]
/freebsd/sys/teken/
H A Dteken_subr.h36 teken_tab_isset(const teken_t *t, unsigned int col) in teken_tab_isset() argument
46 return (t->t_tabstops[b] & (1U << o)); in teken_tab_isset()
50 teken_tab_clear(teken_t *t, unsigned int col) in teken_tab_clear() argument
60 t->t_tabstops[b] &= ~(1U << o); in teken_tab_clear()
64 teken_tab_set(teken_t *t, unsigned int col) in teken_tab_set() argument
74 t->t_tabstops[b] |= 1U << o; in teken_tab_set()
78 teken_tab_default(teken_t *t) in teken_tab_default() argument
82 memset(t->t_tabstops, 0, T_NUMCOL / 8); in teken_tab_default()
85 teken_tab_set(t, i); in teken_tab_default()
89 teken_subr_do_scroll(const teken_t *t, int amount) in teken_subr_do_scroll() argument
[all …]
H A Dteken.c80 teken_funcs_bell(const teken_t *t) in teken_funcs_bell() argument
83 teken_assert(t->t_funcs->tf_bell != NULL); in teken_funcs_bell()
84 t->t_funcs->tf_bell(t->t_softc); in teken_funcs_bell()
88 teken_funcs_cursor(const teken_t *t) in teken_funcs_cursor() argument
91 teken_assert(t->t_cursor.tp_row < t->t_winsize.tp_row); in teken_funcs_cursor()
92 teken_assert(t->t_cursor.tp_col < t->t_winsize.tp_col); in teken_funcs_cursor()
94 teken_assert(t->t_funcs->tf_cursor != NULL); in teken_funcs_cursor()
95 t->t_funcs->tf_cursor(t->t_softc, &t->t_cursor); in teken_funcs_cursor()
99 teken_funcs_putchar(const teken_t *t, const teken_pos_t *p, teken_char_t c, in teken_funcs_putchar() argument
103 teken_assert(p->tp_row < t->t_winsize.tp_row); in teken_funcs_putchar()
[all …]
/freebsd/usr.sbin/ppp/
H A Dthroughput.c46 throughput_init(struct pppThroughput *t, int period) in throughput_init() argument
48 t->OctetsIn = t->OctetsOut = t->PacketsIn = t->PacketsOut = 0; in throughput_init()
49 t->SamplePeriod = period; in throughput_init()
50 t->in.SampleOctets = (long long *) in throughput_init()
51 calloc(period, sizeof *t->in.SampleOctets); in throughput_init()
52 t->in.OctetsPerSecond = 0; in throughput_init()
53 t->out.SampleOctets = (long long *) in throughput_init()
54 calloc(period, sizeof *t->out.SampleOctets); in throughput_init()
55 t->out.OctetsPerSecond = 0; in throughput_init()
56 t->BestOctetsPerSecond = 0; in throughput_init()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/
H A Dfe.h28 uint128_t t[5]; in fe25519_reduce() local
30 t[0] = f[0]; in fe25519_reduce()
31 t[1] = f[1]; in fe25519_reduce()
32 t[2] = f[2]; in fe25519_reduce()
33 t[3] = f[3]; in fe25519_reduce()
34 t[4] = f[4]; in fe25519_reduce()
36 t[1] += t[0] >> 51; in fe25519_reduce()
37 t[0] &= mask; in fe25519_reduce()
38 t[2] += t[1] >> 51; in fe25519_reduce()
39 t[1] &= mask; in fe25519_reduce()
[all …]
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-armv4.pl62 my @t=map("r$_",(8..11));
70 my ($xc,$xc_) = (@t[0..1]);
71 my ($xd,$xd_) = $odd ? (@t[2],@x[$d1]) : (@x[$d0],@t[2]);
254 str @t[3],[sp,#4*(32+2)] @ save len
258 ldr @t[3], [sp,#4*(15)]
260 ldr @t[2], [sp,#4*(13)]
262 str @t[3], [sp,#4*(16+15)]
263 mov @t[3],#10
268 subs @t[3],@t[3],#1
275 ldr @t[3],[sp,#4*(32+2)] @ load len
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzthr.c238 zthr_t *t = arg; in zthr_procedure() local
240 mutex_enter(&t->zthr_state_lock); in zthr_procedure()
241 ASSERT3P(t->zthr_thread, ==, curthread); in zthr_procedure()
243 while (!t->zthr_cancel) { in zthr_procedure()
244 if (t->zthr_checkfunc(t->zthr_arg, t)) { in zthr_procedure()
245 mutex_exit(&t->zthr_state_lock); in zthr_procedure()
246 t->zthr_func(t->zthr_arg, t); in zthr_procedure()
247 mutex_enter(&t->zthr_state_lock); in zthr_procedure()
249 if (t->zthr_sleep_timeout == 0) { in zthr_procedure()
250 cv_wait_idle(&t->zthr_cv, &t->zthr_state_lock); in zthr_procedure()
[all …]
/freebsd/crypto/heimdal/lib/wind/
H A Drfc4518.py53 t = []
54 t.append(" 00AD; ; Map to nothing")
55 t.append(" 1806; ; Map to nothing")
56 t.append(" 034F; ; Map to nothing")
58 t.append(" 180B; ; Map to nothing")
59 t.append(" 180C; ; Map to nothing")
60 t.append(" 180D; ; Map to nothing")
62 t.append(" FE00; ; Map to nothing")
63 t.append(" FE01; ; Map to nothing")
64 t.append(" FE02; ; Map to nothing")
[all …]
/freebsd/bin/date/
H A Dvary.c59 domktime(struct tm *t, char type) in domktime() argument
63 while ((ret = mktime(t)) == -1 && t->tm_year > 68 && t->tm_year < 138) in domktime()
65 adjhour(t, type == '-' ? type : '+', 1, 0); in domktime()
71 trans(const struct trans t[], const char *arg) in trans() argument
75 for (f = 0; t[f].val != -1; f++) in trans()
76 if (!strncasecmp(t[f].str, arg, 3) || in trans()
77 !strncasecmp(t[f].str, arg, strlen(t[f].str))) in trans()
78 return t[f].val; in trans()
106 daysinmonth(const struct tm *t) in daysinmonth() argument
110 year = t->tm_year + 1900; in daysinmonth()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c264 tree_dir_next_posix(struct tree *t);
620 struct tree *t = a->tree; in setup_suitable_read_buffer() local
621 struct filesystem *cf = t->current_filesystem; in setup_suitable_read_buffer()
684 struct tree *t = a->tree; in _archive_read_data_block() local
694 if (t->entry_eof || t->entry_remaining_bytes <= 0) { in _archive_read_data_block()
702 if (t->entry_fd < 0) { in _archive_read_data_block()
711 if (t->current_filesystem->xfer_align != -1 && in _archive_read_data_block()
712 t->nlink == 1) in _archive_read_data_block()
719 if ((t->flags & needsRestoreTimes) != 0 && in _archive_read_data_block()
720 t->restore_time.noatime == 0) in _archive_read_data_block()
[all …]
/freebsd/crypto/libecc/src/examples/sig/rsa/
H A Drsa_tests.h60 const rsa_test *t = tests[i]; in perform_rsa_tests() local
61 u32 modbits = t->modbits; in perform_rsa_tests()
67 ret = rsa_import_pub_key(&pub, t->n, (u16)t->nlen, t->e, (u16)t->elen); EG(ret, err1); in perform_rsa_tests()
68 if(t->dP == NULL){ in perform_rsa_tests()
75 …ret = rsa_import_simple_priv_key(&priv, t->n, (u16)t->nlen, t->d, (u16)t->dlen, NULL, 0, NULL, 0);… in perform_rsa_tests()
77 …ret = rsa_import_simple_priv_key(&priv_pq, t->n, (u16)t->nlen, t->d, (u16)t->dlen, t_->p, (u16)t_-… in perform_rsa_tests()
81 …import_crt_priv_key(&priv, t->p, (u16)t->plen, t->q, (u16)t->qlen, t->dP, (u16)t->dPlen, t->dQ, (u… in perform_rsa_tests()
88 switch(t->type){ in perform_rsa_tests()
92 if(t->salt != NULL){ in perform_rsa_tests()
94 …ret = rsaes_pkcs1_v1_5_encrypt(&pub, t->m, t->mlen, cipher, &clen, modbits, t->salt, t->saltlen); … in perform_rsa_tests()
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_torus.c371 void teardown_torus(struct torus *t) in teardown_torus() argument
377 if (!t) in teardown_torus()
380 if (t->sw_pool) { in teardown_torus()
385 for (s = 0; s < t->switch_cnt; s++) { in teardown_torus()
386 sw = t->sw_pool[s]; in teardown_torus()
397 free(t->sw_pool); in teardown_torus()
399 if (t->link_pool) in teardown_torus()
400 free(t->link_pool); in teardown_torus()
402 if (t->sw) in teardown_torus()
403 free(t->sw); in teardown_torus()
[all …]
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/
H A DMANIFEST13 t/author-pod-syntax.t
14 t/author-signature.t
15 t/basic.t
16 t/broken.t
17 t/delimiters.t
18 t/error.t
19 t/exported.t
20 t/hash.t
21 t/inline-comment.t
22 t/nested-tags.t
[all …]
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c65 BTREE *t; in __rec_get() local
70 t = dbp->internal; in __rec_get()
73 if (t->bt_pinned != NULL) { in __rec_get()
74 mpool_put(t->bt_mp, t->bt_pinned, 0); in __rec_get()
75 t->bt_pinned = NULL; in __rec_get()
88 if (nrec > t->bt_nrecs) { in __rec_get()
89 if (F_ISSET(t, R_EOF | R_INMEM)) in __rec_get()
91 if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS) in __rec_get()
96 if ((e = __rec_search(t, nrec, SEARCH)) == NULL) in __rec_get()
99 status = __rec_ret(t, e, 0, NULL, data); in __rec_get()
[all …]
/freebsd/sys/ddb/
H A Ddb_expr.c53 int t; in db_term() local
55 t = db_read_token(); in db_term()
56 if (t == tIDENT) { in db_term()
66 if (t == tNUMBER) { in db_term()
70 if (t == tDOT) { in db_term()
74 if (t == tDOTDOT) { in db_term()
78 if (t == tPLUS) { in db_term()
82 if (t == tDITTO) { in db_term()
86 if (t == tDOLLAR) { in db_term()
91 if (t == tLPAREN) { in db_term()
[all …]
/freebsd/sys/arm64/include/
H A Dbus.h75 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t) argument
294 #define __bs_rs(sz, t, h, o) \ argument
295 (*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o)
296 #define __bs_ws(sz, t, h, o, v) \ argument
297 (*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v)
298 #define __bs_nonsingle(type, sz, t, h, o, a, c) \ argument
299 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
300 #define __bs_set(type, sz, t, h, o, v, c) \ argument
301 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
302 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Dbsaes-armv7.pl83 my @t=@_[8..11];
86 &Inv_GF256 (@b[6,5,0,3,7,1,4,2],@t,@s);
138 my @t=@_[8..11];
141 &Inv_GF256 (@b[5,1,2,6,3,7,0,4],@t,@s);
240 my @t=@_[12..15];
242 veor @t[0], @x[0], @x[2]
243 veor @t[1], @x[1], @x[3]
245 &Mul_GF4 (@x[0], @x[1], @y[0], @y[1], @t[2..3]);
250 Mul_GF4_N_GF4 (@t[0], @t[1], @y[0], @y[1], @t[3],
251 @x[2], @x[3], @y[2], @y[3], @t[2]);
[all …]
/freebsd/lib/libc/db/recno/
H A Drec_get.c59 BTREE *t; in __rec_get() local
64 t = dbp->internal; in __rec_get()
67 if (t->bt_pinned != NULL) { in __rec_get()
68 mpool_put(t->bt_mp, t->bt_pinned, 0); in __rec_get()
69 t->bt_pinned = NULL; in __rec_get()
82 if (nrec > t->bt_nrecs) { in __rec_get()
83 if (F_ISSET(t, R_EOF | R_INMEM)) in __rec_get()
85 if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS) in __rec_get()
90 if ((e = __rec_search(t, nrec, SEARCH)) == NULL) in __rec_get()
93 status = __rec_ret(t, e, 0, NULL, data); in __rec_get()
[all …]
/freebsd/crypto/krb5/src/kdc/
H A Ddo_tgs_req.c595 krb5_audit_state *au_state, struct tgs_req_info *t, in gather_tgs_req_info() argument
606 t->req = *reqptr; in gather_tgs_req_info()
609 if (t->req->msg_type != KRB5_TGS_REQ) in gather_tgs_req_info()
614 t->sprinc = t->req->server; in gather_tgs_req_info()
617 ret = kdc_process_tgs_req(realm, t->req, from, pkt, &t->header_tkt, in gather_tgs_req_info()
618 &t->header_server, &t->header_key, &t->subkey, in gather_tgs_req_info()
620 if (t->header_tkt != NULL && t->header_tkt->enc_part2 != NULL) in gather_tgs_req_info()
621 t->cprinc = t->header_tkt->enc_part2->client; in gather_tgs_req_info()
626 ret = kau_make_tkt_id(context, t->header_tkt, &au_state->tkt_in_id); in gather_tgs_req_info()
629 header_enc = t->header_tkt->enc_part2; in gather_tgs_req_info()
[all …]
/freebsd/contrib/lua/src/
H A Dltable.c75 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) argument
81 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) argument
84 #define hashstr(t,str) hashpow2(t, (str)->hash) argument
85 #define hashboolean(t,p) hashpow2(t, p) argument
88 #define hashpointer(t,p) hashmod(t, point2uint(p)) argument
108 static Node *hashint (const Table *t, lua_Integer i) { in hashint() argument
111 return hashmod(t, cast_int(ui)); in hashint()
113 return hashmod(t, ui); in hashint()
151 static Node *mainpositionTV (const Table *t, const TValue *key) { in mainpositionTV() argument
155 return hashint(t, i); in mainpositionTV()
[all …]
/freebsd/tools/tools/ioat/
H A Dioatcontrol.c70 main_raw(struct ioat_test *t, int argc, char **argv) in main_raw() argument
75 t->testkind = IOAT_TEST_RAW_DMA; in main_raw()
76 t->transactions = 1; in main_raw()
77 t->chain_depth = 1; in main_raw()
78 t->buffer_size = 4 * 1024; in main_raw()
80 t->raw_target = strtoull(argv[1], NULL, 0); in main_raw()
81 if (t->raw_target == 0) { in main_raw()
87 t->buffer_size = atoi(argv[2]); in main_raw()
88 if (t->buffer_size == 0) { in main_raw()
100 (void)ioctl(fd, IOAT_DMATEST, t); in main_raw()
[all …]
/freebsd/sys/riscv/include/
H A Dbus.h71 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t) argument
262 #define __bs_rs(sz, t, h, o) \ argument
263 (*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o)
264 #define __bs_ws(sz, t, h, o, v) \ argument
265 (*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v)
266 #define __bs_nonsingle(type, sz, t, h, o, a, c) \ argument
267 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c)
268 #define __bs_set(type, sz, t, h, o, v, c) \ argument
269 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c)
270 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
[all …]
/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof.c85 const wycheproof_ecdsa_test *t = wycheproof_ecdsa_all_tests[i]; in check_wycheproof_ecdsa() local
89 if (t == NULL){ in check_wycheproof_ecdsa()
98 ret = import_params(&params, t->curve); in check_wycheproof_ecdsa()
106 …ret = ec_pub_key_import_from_aff_buf(&pub_key, &params, t->pubkey, (u8)(t->pubkeylen), t->sig_alg); in check_wycheproof_ecdsa()
114 …ret = ec_verify(t->sig, (u8)(t->siglen), &pub_key, t->msg, t->msglen, t->sig_alg, t->hash, NULL, 0… in check_wycheproof_ecdsa()
116 if ((t->result == 1) && ret) { in check_wycheproof_ecdsa()
117 …[-] Error when verifying ECDSA test %d / %s (verification NOK while must be valid)\n", i, t->name); in check_wycheproof_ecdsa()
118 ext_printf(" (comment = %s)\n", t->comment); in check_wycheproof_ecdsa()
123 if ((t->result == -1) && !ret) { in check_wycheproof_ecdsa()
124 …-] Error when verifying ECDSA test %d / %s (verification OK while must be invalid)\n", i, t->name); in check_wycheproof_ecdsa()
[all …]
/freebsd/lib/libc/tests/gen/
H A Dfnmatch_test.c77 struct testcase *t; in ATF_TC_BODY() local
80 t = &testcases[i]; in ATF_TC_BODY()
81 flags = t->flags; in ATF_TC_BODY()
83 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
84 if (result != t->result) in ATF_TC_BODY()
86 if (strchr(t->pattern, '\\') == NULL && in ATF_TC_BODY()
89 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY()
90 if (result != t->result) in ATF_TC_BODY()
92 flags = t->flags; in ATF_TC_BODY()
94 if (strchr(t->pattern, '\\') != NULL && in ATF_TC_BODY()
[all …]
/freebsd/sys/contrib/openzfs/module/lua/
H A Dltable.c51 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) argument
53 #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) argument
54 #define hashboolean(t,p) hashpow2(t, p) argument
61 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) argument
64 #define hashpointer(t,p) hashmod(t, IntPoint(p)) argument
80 static Node *hashnum (const Table *t, lua_Number n) { in hashnum() argument
88 return hashmod(t, i); in hashnum()
97 static Node *mainposition (const Table *t, const TValue *key) { in mainposition() argument
100 return hashnum(t, nvalue(key)); in mainposition()
107 return hashstr(t, rawtsvalue(key)); in mainposition()
[all …]

12345678910>>...161