/freebsd/bin/test/tests/ |
H A D | legacy_test.sh | 35 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 D | teken_subr.h | 36 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 D | teken.c | 80 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 D | throughput.c | 46 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 D | fe.h | 28 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 D | chacha-armv4.pl | 62 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 D | zthr.c | 237 zthr_t *t = arg; in zthr_procedure() local 239 mutex_enter(&t->zthr_state_lock); in zthr_procedure() 240 ASSERT3P(t->zthr_thread, ==, curthread); in zthr_procedure() 242 while (!t->zthr_cancel) { in zthr_procedure() 243 if (t->zthr_checkfunc(t->zthr_arg, t)) { in zthr_procedure() 244 mutex_exit(&t->zthr_state_lock); in zthr_procedure() 245 t->zthr_func(t->zthr_arg, t); in zthr_procedure() 246 mutex_enter(&t->zthr_state_lock); in zthr_procedure() 248 if (t->zthr_sleep_timeout == 0) { in zthr_procedure() 249 cv_wait_idle(&t->zthr_cv, &t->zthr_state_lock); in zthr_procedure() [all …]
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | rfc4518.py | 53 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 D | vary.c | 57 domktime(struct tm *t, char type) in domktime() argument 61 while ((ret = mktime(t)) == -1 && t->tm_year > 68 && t->tm_year < 138) in domktime() 63 adjhour(t, type == '-' ? type : '+', 1, 0); in domktime() 69 trans(const struct trans t[], const char *arg) in trans() argument 73 for (f = 0; t[f].val != -1; f++) in trans() 74 if (!strncasecmp(t[f].str, arg, 3) || in trans() 75 !strncasecmp(t[f].str, arg, strlen(t[f].str))) in trans() 76 return t[f].val; in trans() 104 daysinmonth(const struct tm *t) in daysinmonth() argument 108 year = t->tm_year + 1900; in daysinmonth() [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 269 tree_dir_next_posix(struct tree *t); 625 struct tree *t = a->tree; in setup_suitable_read_buffer() local 626 struct filesystem *cf = t->current_filesystem; in setup_suitable_read_buffer() 689 struct tree *t = a->tree; in _archive_read_data_block() local 699 if (t->entry_eof || t->entry_remaining_bytes <= 0) { in _archive_read_data_block() 707 if (t->entry_fd < 0) { in _archive_read_data_block() 716 if (t->current_filesystem->xfer_align != -1 && in _archive_read_data_block() 717 t->nlink == 1) in _archive_read_data_block() 724 if ((t->flags & needsRestoreTimes) != 0 && in _archive_read_data_block() 725 t->restore_time.noatime == 0) in _archive_read_data_block() [all …]
|
/freebsd/crypto/libecc/src/examples/sig/rsa/ |
H A D | rsa_tests.h | 60 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/lib/libc/tests/gen/ |
H A D | fnmatch_test.c | 76 struct testcase *t; in ATF_TC_BODY() local 79 t = &testcases[i]; in ATF_TC_BODY() 80 flags = t->flags; in ATF_TC_BODY() 82 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY() 83 if (result != t->result) in ATF_TC_BODY() 85 if (strchr(t->pattern, '\\') == NULL && in ATF_TC_BODY() 88 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY() 89 if (result != t->result) in ATF_TC_BODY() 91 flags = t->flags; in ATF_TC_BODY() 93 if (strchr(t->pattern, '\\') != NULL && in ATF_TC_BODY() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 371 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 D | MANIFEST | 13 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/sys/ddb/ |
H A D | db_expr.c | 53 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 D | bus.h | 75 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t) argument 293 #define __bs_rs(sz, t, h, o) \ argument 294 (*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o) 295 #define __bs_ws(sz, t, h, o, v) \ argument 296 (*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v) 297 #define __bs_nonsingle(type, sz, t, h, o, a, c) \ argument 298 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, a, c) 299 #define __bs_set(type, sz, t, h, o, v, c) \ argument 300 (*(t)->__bs_opname(type,sz))((t)->bs_cookie, h, o, v, c) 301 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument [all …]
|
/freebsd/crypto/openssl/crypto/aes/asm/ |
H A D | bsaes-armv7.pl | 83 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/contrib/lua/src/ |
H A D | ltable.c | 75 #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/lib/libc/db/recno/ |
H A D | rec_get.c | 59 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/tools/tools/ioat/ |
H A D | ioatcontrol.c | 70 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 D | bus.h | 71 #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 D | libecc_wycheproof.c | 85 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(¶ms, t->curve); in check_wycheproof_ecdsa() 106 …ret = ec_pub_key_import_from_aff_buf(&pub_key, ¶ms, 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/sys/contrib/openzfs/module/lua/ |
H A D | ltable.c | 50 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) argument 52 #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) argument 53 #define hashboolean(t,p) hashpow2(t, p) argument 60 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) argument 63 #define hashpointer(t,p) hashmod(t, IntPoint(p)) argument 79 static Node *hashnum (const Table *t, lua_Number n) { in hashnum() argument 87 return hashmod(t, i); in hashnum() 96 static Node *mainposition (const Table *t, const TValue *key) { in mainposition() argument 99 return hashnum(t, nvalue(key)); in mainposition() 106 return hashstr(t, rawtsvalue(key)); in mainposition() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | sh.sem.c | 83 execute(struct command *t, volatile int wanttty, int *pipein, int *pipeout, in execute() argument 101 if (t == 0) in execute() 107 !t->t_dcdr && !t->t_dcar && !t->t_dflg && !didfds && in execute() 108 (intty || intact) && (t->t_dtyp == NODE_COMMAND) && in execute() 109 !isbfunc(t)) { in execute() 110 if ((t->t_dcom[0][0] & (QUOTE | TRIM)) == QUOTE) in execute() 111 (void) Strcpy(t->t_dcom[0], t->t_dcom[0] + 1); in execute() 112 Dfix(t); in execute() 113 if (nt_try_fast_exec(t) == 0) in execute() 124 if (implicit_cd && (intty || intact) && t->t_dcom && t->t_dcom[0] && in execute() [all …]
|
/freebsd/sys/powerpc/include/ |
H A D | bus.h | 71 #define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t) argument 264 #define __bs_rs(sz, t, h, o) \ argument 265 (*(t)->__bs_opname(r,sz))(h, o) 266 #define __bs_ws(sz, t, h, o, v) \ argument 267 (*(t)->__bs_opname(w,sz))(h, o, v) 268 #define __bs_nonsingle(type, sz, t, h, o, a, c) \ argument 269 (*(t)->__bs_opname(type,sz))(h, o, a, c) 270 #define __bs_set(type, sz, t, h, o, v, c) \ argument 271 (*(t)->__bs_opname(type,sz))(h, o, v, c) 272 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument [all …]
|