/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_io.c | 919 READ_TOKEN_U_INT32(buf, len, tok->tt.hdr32.size, tok->len, err); in fetch_header32_tok() 923 READ_TOKEN_U_CHAR(buf, len, tok->tt.hdr32.version, tok->len, err); in fetch_header32_tok() 927 READ_TOKEN_U_INT16(buf, len, tok->tt.hdr32.e_type, tok->len, err); in fetch_header32_tok() 931 READ_TOKEN_U_INT16(buf, len, tok->tt.hdr32.e_mod, tok->len, err); in fetch_header32_tok() 935 READ_TOKEN_U_INT32(buf, len, tok->tt.hdr32.s, tok->len, err); in fetch_header32_tok() 939 READ_TOKEN_U_INT32(buf, len, tok->tt.hdr32.ms, tok->len, err); in fetch_header32_tok() 953 print_1_byte(fp, tok->tt.hdr32.version, "%u"); in print_header32_tok() 956 print_event(fp, tok->tt.hdr32.e_type, oflags); in print_header32_tok() 959 print_evmod(fp, tok->tt.hdr32.e_mod, oflags); in print_header32_tok() 962 print_sec32(fp, tok->tt.hdr32.s, oflags); in print_header32_tok() [all …]
|
/freebsd/sbin/routed/ |
H A D | radix.c | 320 struct radix_node *tt = nodes, *t = tt + 1; in rn_newpair() local 322 t->rn_l = tt; t->rn_off = b >> 3; in rn_newpair() 323 tt->rn_b = -1; tt->rn_key = (caddr_t)v; tt->rn_p = t; in rn_newpair() 324 tt->rn_flags = t->rn_flags = RNF_ACTIVE; in rn_newpair() 326 tt->rn_info = rn_nodenum++; t->rn_info = rn_nodenum++; in rn_newpair() 327 tt->rn_twin = t; tt->rn_ybro = rn_clist; rn_clist = tt; in rn_newpair() 344 struct radix_node *tt; in rn_insert() local 381 t = rn_newpair(v_arg, b, nodes); tt = t->rn_l; in rn_insert() 390 t->rn_r = tt; t->rn_l = x; in rn_insert() 397 return (tt); in rn_insert() [all …]
|
/freebsd/sys/net/ |
H A D | radix.c | 76 rn_new_radix_mask(struct radix_node *tt, 406 struct radix_node *tt = nodes, *t = tt + 1; in rn_newpair() local 409 t->rn_left = tt; in rn_newpair() 415 tt->rn_mask = NULL; in rn_newpair() 416 tt->rn_dupedkey = NULL; in rn_newpair() 417 tt->rn_bmask = 0; in rn_newpair() 419 tt->rn_bit = -1; in rn_newpair() 420 tt->rn_key = (caddr_t)v; in rn_newpair() 421 tt->rn_parent = t; in rn_newpair() 422 tt->rn_flags = t->rn_flags = RNF_ACTIVE; in rn_newpair() [all …]
|
/freebsd/contrib/ntp/html/scripts/ |
H A D | manual.txt | 2 <li class='inline'><a href='ntpd.html'><tt>ntpd</tt> - Network Time Protocol (NTP) daemon</a></li>\ 3 <li class='inline'><a href='ntpq.html'><tt>ntpq</tt> - standard NTP query program</a></li>\ 4 <li class='inline'><a href='ntpdc.html'><tt>ntpdc</tt> - special NTP query program</a></li>\ 5 <li class='inline'><a href='ntpdate.html'><tt>ntpdate</tt> - set the date and time via NTP</a></li>\ 6 <li class='inline'><a href='sntp.html'><tt>sntp</tt> - Simple Network Time Protocol (SNTP) client</… 7 <li class='inline'><a href='ntptrace.html'><tt>ntptrace</tt> - trace a chain of NTP servers back to… 8 <li class='inline'><a href='tickadj.html'><tt>tickadj</tt> - set time-related kernel variables</a><… 9 <li class='inline'><a href='ntptime.html'><tt>ntptime</tt> - read and set kernel time variables</a>… 10 <li class='inline'><a href='keygen.html'><tt>ntp-keygen</tt> - generate public and private keys</a>… 11 <li class='inline'><a href='ntpdsim_new.html'><tt>ntpdsim</tt> - Network Time Protocol (NTP) simula…
|
/freebsd/contrib/bearssl/test/ |
H A D | test_speed.c | 52 double tt; \ 62 tt = (double)(end - begin) / CLOCKS_PER_SEC; \ 63 if (tt >= 2.0) { \ 66 / (tt * 1000000.0)); \ 104 double tt; \ 113 tt = (double)(end - begin) / CLOCKS_PER_SEC; \ 114 if (tt >= 2.0) { \ 117 / (tt * 1000000.0)); \ 153 double tt; \ 162 tt = (double)(end - begin) / CLOCKS_PER_SEC; \ [all …]
|
/freebsd/crypto/openssl/crypto/des/asm/ |
H A D | crypt586.pl | 149 local($a,$b,$tt,$shift,$mask,$last)=@_; 152 &mov( $tt, $a ); 158 &xor( $tt, $a ); 162 &xor( $tt, $a ); 170 local($l,$r,$tt,$lr)=@_; 172 &R_PERM_OP($l,$r,$tt, 4,"0xf0f0f0f0",$l); 173 &R_PERM_OP($r,$tt,$l,20,"0xfff0000f",$l); 174 &R_PERM_OP($l,$tt,$r,14,"0x33333333",$r); 175 &R_PERM_OP($tt,$r,$l,22,"0x03fc03fc",$r); 176 &R_PERM_OP($l,$r,$tt, 9,"0xaaaaaaaa",$r); [all …]
|
H A D | des-586.pl | 255 local($a,$b,$tt,$shift,$mask,$last)=@_; 258 &mov( $tt, $a ); 266 &xor( $tt, $a ); 270 &xor( $tt, $a ); 278 local($l,$r,$tt,$lr)=@_; 280 &R_PERM_OP($l,$r,$tt, 4,"0xf0f0f0f0",$l); 281 &R_PERM_OP($r,$tt,$l,20,"0xfff0000f",$l); 282 &R_PERM_OP($l,$tt,$r,14,"0x33333333",$r); 283 &R_PERM_OP($tt,$r,$l,22,"0x03fc03fc",$r); 284 &R_PERM_OP($l,$r,$tt, 9,"0xaaaaaaaa",$r); [all …]
|
/freebsd/usr.bin/last/ |
H A D | last.c | 267 struct idtab *tt; in doentry() local 272 while ((tt = SLIST_FIRST(&idlist)) != NULL) { in doentry() 274 free(tt); in doentry() 307 SLIST_FOREACH(tt, &idlist, list) in doentry() 308 if (!memcmp(tt->id, bp->ut_id, sizeof bp->ut_id)) in doentry() 311 if (tt == NULL) { in doentry() 313 tt = malloc(sizeof(struct idtab)); in doentry() 314 if (tt == NULL) in doentry() 316 tt->logout = currentout; in doentry() 317 memcpy(tt->id, bp->ut_id, sizeof bp->ut_id); in doentry() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | template.c | 159 unsigned int template_flags = t->tt; in _asn1_decode() 168 switch (t->tt & A1_OP_MASK) { in _asn1_decode() 175 if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) { in _asn1_decode() 182 if (t->tt & A1_FLAG_OPTIONAL) { in _asn1_decode() 188 if ((t->tt & A1_OP_MASK) == A1_OP_TYPE) { in _asn1_decode() 195 if (t->tt & A1_FLAG_OPTIONAL) { in _asn1_decode() 214 ret = der_match_tag_and_length(p, len, A1_TAG_CLASS(t->tt), in _asn1_decode() 215 &dertype, A1_TAG_TAG(t->tt), in _asn1_decode() 218 if (t->tt & A1_FLAG_OPTIONAL) in _asn1_decode() 230 if (dertype != A1_TAG_TYPE(t->tt) in _asn1_decode() [all...] |
/freebsd/contrib/bearssl/T0/ |
H A D | T0Comp.cs | 311 string tt = Next(); in T0Comp() 312 if (tt == null) { in T0Comp() 316 if (allCCode.ContainsKey(tt)) { in T0Comp() 318 "C code already set for: " + tt); in T0Comp() 320 allCCode[tt] = ParseCCode(); in T0Comp() 331 string tt = Next(); in T0Comp() 332 if (tt == null) { in T0Comp() 336 Word w = AddNative(tt, false, cpu2 => { in T0Comp() 338 "C-only word: " + tt); in T0Comp() 340 if (allCCode.ContainsKey(tt)) { in T0Comp() [all …]
|
/freebsd/contrib/bearssl/src/ec/ |
H A D | ecdsa_i15_sign_raw.c | 47 unsigned char tt[ORDER_LEN << 1]; in br_ecdsa_i15_sign_raw() local 116 br_i15_encode(tt, nlen, x); in br_ecdsa_i15_sign_raw() 117 br_i15_encode(tt + nlen, nlen, m); in br_ecdsa_i15_sign_raw() 118 br_hmac_drbg_init(&drbg, hf, tt, nlen << 1); in br_ecdsa_i15_sign_raw() 120 br_hmac_drbg_generate(&drbg, tt, nlen); in br_ecdsa_i15_sign_raw() 121 br_ecdsa_i15_bits2int(k, tt, nlen, n[0]); in br_ecdsa_i15_sign_raw() 136 br_i15_encode(tt, nlen, k); in br_ecdsa_i15_sign_raw() 137 ulen = impl->mulgen(eU, tt, nlen, sk->curve); in br_ecdsa_i15_sign_raw() 150 memcpy(tt, cd->order, nlen); in br_ecdsa_i15_sign_raw() 151 tt[nlen - 1] -= 2; in br_ecdsa_i15_sign_raw() [all …]
|
H A D | ecdsa_i31_sign_raw.c | 47 unsigned char tt[ORDER_LEN << 1]; in br_ecdsa_i31_sign_raw() local 115 br_i31_encode(tt, nlen, x); in br_ecdsa_i31_sign_raw() 116 br_i31_encode(tt + nlen, nlen, m); in br_ecdsa_i31_sign_raw() 117 br_hmac_drbg_init(&drbg, hf, tt, nlen << 1); in br_ecdsa_i31_sign_raw() 119 br_hmac_drbg_generate(&drbg, tt, nlen); in br_ecdsa_i31_sign_raw() 120 br_ecdsa_i31_bits2int(k, tt, nlen, n[0]); in br_ecdsa_i31_sign_raw() 135 br_i31_encode(tt, nlen, k); in br_ecdsa_i31_sign_raw() 136 ulen = impl->mulgen(eU, tt, nlen, sk->curve); in br_ecdsa_i31_sign_raw() 149 memcpy(tt, cd->order, nlen); in br_ecdsa_i31_sign_raw() 150 tt[nlen - 1] -= 2; in br_ecdsa_i31_sign_raw() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | tt.c | 17 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; in iwl_mvm_enter_ctkill() local 18 u32 duration = tt->params.ct_kill_duration; in iwl_mvm_enter_ctkill() 27 tt->throttle = false; in iwl_mvm_enter_ctkill() 28 tt->dynamic_smps = false; in iwl_mvm_enter_ctkill() 36 schedule_delayed_work(&tt->ct_kill_exit, in iwl_mvm_enter_ctkill() 278 struct iwl_mvm_tt_mgmt *tt; in check_exit_ctkill() local 284 tt = container_of(work, struct iwl_mvm_tt_mgmt, ct_kill_exit.work); in check_exit_ctkill() 285 mvm = container_of(tt, struct iwl_mvm, thermal_throttle); in check_exit_ctkill() 293 duration = tt->params.ct_kill_duration; in check_exit_ctkill() 311 if (temp <= tt in check_exit_ctkill() 388 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; iwl_mvm_tt_handler() local 829 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; iwl_mvm_thermal_initialize() local [all...] |
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | tasn_new.c | 24 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, 26 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 63 const ASN1_TEMPLATE *tt = NULL; in asn1_item_embed_new() local 149 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in asn1_item_embed_new() 150 pseqval = ossl_asn1_get_field_ptr(pval, tt); in asn1_item_embed_new() 151 if (!asn1_template_new(pseqval, tt, libctx, propq)) in asn1_item_embed_new() 207 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, in asn1_template_new() argument 210 const ASN1_ITEM *it = ASN1_ITEM_ptr(tt->item); in asn1_template_new() 211 int embed = tt->flags & ASN1_TFLG_EMBED; in asn1_template_new() 218 if (tt->flags & ASN1_TFLG_OPTIONAL) { in asn1_template_new() [all …]
|
H A D | tasn_fre.c | 30 const ASN1_TEMPLATE *tt = NULL, *seqtt; in ossl_asn1_item_embed_free() local 68 tt = it->templates + i; in ossl_asn1_item_embed_free() 69 pchval = ossl_asn1_get_field_ptr(pval, tt); in ossl_asn1_item_embed_free() 70 ossl_asn1_template_free(pchval, tt); in ossl_asn1_item_embed_free() 105 tt = it->templates + it->tcount; in ossl_asn1_item_embed_free() 109 tt--; in ossl_asn1_item_embed_free() 110 seqtt = ossl_asn1_do_adb(*pval, tt, 0); in ossl_asn1_item_embed_free() 126 void ossl_asn1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ossl_asn1_template_free() argument 128 int embed = tt->flags & ASN1_TFLG_EMBED; in ossl_asn1_template_free() 134 if (tt->flags & ASN1_TFLG_SK_MASK) { in ossl_asn1_template_free() [all …]
|
H A D | tasn_dec.c | 49 const ASN1_TEMPLATE *tt, char opt, 54 const ASN1_TEMPLATE *tt, char opt, 168 const ASN1_TEMPLATE *tt, *errtt = NULL; in asn1_item_embed_d2i() local 282 tt = it->templates + i; in asn1_item_embed_d2i() 283 pchptr = ossl_asn1_get_field_ptr(pval, tt); in asn1_item_embed_d2i() 284 ossl_asn1_template_free(pchptr, tt); in asn1_item_embed_d2i() 293 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i() 294 pchptr = ossl_asn1_get_field_ptr(pval, tt); in asn1_item_embed_d2i() 298 ret = asn1_template_ex_d2i(pchptr, &p, len, tt, 1, ctx, depth, in asn1_item_embed_d2i() 310 ossl_asn1_template_free(pchptr, tt); in asn1_item_embed_d2i() [all …]
|
H A D | tasn_enc.c | 26 const ASN1_TEMPLATE *tt, int tag, int aclass); 86 const ASN1_TEMPLATE *tt = NULL; in ASN1_item_ex_i2d() local 174 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d() 178 seqtt = ossl_asn1_do_adb(*pval, tt, 1); in ASN1_item_ex_i2d() 193 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d() 196 seqtt = ossl_asn1_do_adb(*pval, tt, 1); in ASN1_item_ex_i2d() 217 const ASN1_TEMPLATE *tt, int tag, int iclass) in asn1_template_ex_i2d() argument 219 const int flags = tt->flags; in asn1_template_ex_i2d() 244 ttag = tt->tag; in asn1_template_ex_i2d() 307 len = ASN1_item_ex_i2d(&skitem, NULL, ASN1_ITEM_ptr(tt->item), in asn1_template_ex_i2d() [all …]
|
/freebsd/crypto/openssl/crypto/des/ |
H A D | des_local.h | 203 register DES_LONG tt; \ 204 PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \ 205 PERM_OP(l,r,tt,16,0x0000ffffL); \ 206 PERM_OP(r,l,tt, 2,0x33333333L); \ 207 PERM_OP(l,r,tt, 8,0x00ff00ffL); \ 208 PERM_OP(r,l,tt, 1,0x55555555L); \ 213 register DES_LONG tt; \ 214 PERM_OP(l,r,tt, 1,0x55555555L); \ 215 PERM_OP(r,l,tt, 8,0x00ff00ffL); \ 216 PERM_OP(l,r,tt, 2,0x33333333L); \ [all …]
|
/freebsd/lib/libc/isc/ |
H A D | ev_timers.c | 362 idle_timer *tt; in evSetIdleTimer() local 365 OKNEW(tt); in evSetIdleTimer() 366 tt->func = func; in evSetIdleTimer() 367 tt->uap = uap; in evSetIdleTimer() 368 tt->lastTouched = ctx->lastEventTime; in evSetIdleTimer() 369 tt->max_idle = max_idle; in evSetIdleTimer() 371 if (evSetTimer(opaqueCtx, idle_timeout, tt, in evSetIdleTimer() 374 FREE(tt); in evSetIdleTimer() 378 tt->timer = opaqueID->opaque; in evSetIdleTimer() 386 idle_timer *tt = del->uap; in evClearIdleTimer() local [all …]
|
/freebsd/lib/libutil/ |
H A D | login_times.c | 107 in_ltm(const login_time_t *ltm, struct tm *tt, time_t *ends) in in_ltm() argument 111 if (tt != NULL) { in in_ltm() 113 if ((u_char)(0x01 << tt->tm_wday) & ltm->lt_dow) { in in_ltm() 115 u_short now = (u_short)((tt->tm_hour * 60) + tt->tm_min); in in_ltm() 117 if (tt->tm_sec > 30) in in_ltm() 123 tt->tm_hour = (int)(ltm->lt_end / 60); in in_ltm() 124 tt->tm_min = (int)(ltm->lt_end % 60); in in_ltm() 125 *ends = mktime(tt); in in_ltm()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_neoclock4x.c | 727 char *tt; in neoclock4x_control() local 738 tt = add_var(&out->kv_list, sizeof(tmpbuf)-1, RO|DEF); in neoclock4x_control() 739 snprintf(tt, sizeof(tmpbuf)-1, "calc_utc=\"%s\"", tmpbuf); in neoclock4x_control() 741 tt = add_var(&out->kv_list, 40, RO|DEF); in neoclock4x_control() 742 snprintf(tt, 39, "radiosignal=\"%s\"", up->radiosignal); in neoclock4x_control() 743 tt = add_var(&out->kv_list, 40, RO|DEF); in neoclock4x_control() 744 snprintf(tt, 39, "antenna1=\"%d\"", up->antenna1); in neoclock4x_control() 745 tt = add_var(&out->kv_list, 40, RO|DEF); in neoclock4x_control() 746 snprintf(tt, 39, "antenna2=\"%d\"", up->antenna2); in neoclock4x_control() 747 tt in neoclock4x_control() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
H A D | blake3_sse41.c | 97 __m128i t0, t1, t2, t3, tt; in compress_pre() local 124 tt = _mm_shuffle_epi32(m0, _MM_SHUFFLE(0, 0, 3, 3)); in compress_pre() 125 t1 = _mm_blend_epi16(tt, t1, 0xCC); in compress_pre() 129 tt = _mm_blend_epi16(t2, m2, 0xC0); in compress_pre() 130 t2 = _mm_shuffle_epi32(tt, _MM_SHUFFLE(1, 3, 2, 0)); in compress_pre() 133 tt = _mm_unpacklo_epi32(m2, t3); in compress_pre() 134 t3 = _mm_shuffle_epi32(tt, _MM_SHUFFLE(0, 1, 3, 2)); in compress_pre() 147 tt = _mm_shuffle_epi32(m0, _MM_SHUFFLE(0, 0, 3, 3)); in compress_pre() 148 t1 = _mm_blend_epi16(tt, t1, 0xCC); in compress_pre() 152 tt = _mm_blend_epi16(t2, m2, 0xC0); in compress_pre() [all …]
|
H A D | blake3_sse2.c | 103 __m128i t0, t1, t2, t3, tt; in compress_pre() local 130 tt = _mm_shuffle_epi32(m0, _MM_SHUFFLE(0, 0, 3, 3)); in compress_pre() 131 t1 = blend_epi16(tt, t1, 0xCC); in compress_pre() 135 tt = blend_epi16(t2, m2, 0xC0); in compress_pre() 136 t2 = _mm_shuffle_epi32(tt, _MM_SHUFFLE(1, 3, 2, 0)); in compress_pre() 139 tt = _mm_unpacklo_epi32(m2, t3); in compress_pre() 140 t3 = _mm_shuffle_epi32(tt, _MM_SHUFFLE(0, 1, 3, 2)); in compress_pre() 153 tt = _mm_shuffle_epi32(m0, _MM_SHUFFLE(0, 0, 3, 3)); in compress_pre() 154 t1 = blend_epi16(tt, t1, 0xCC); in compress_pre() 158 tt = blend_epi16(t2, m2, 0xC0); in compress_pre() [all …]
|
/freebsd/contrib/openbsm/bin/auditreduce/ |
H A D | auditreduce.c | 385 if (difftime((time_t)tok.tt.hdr32.s, p_atime) < 0) { in select_hdr32() 392 if (difftime(p_btime, (time_t)tok.tt.hdr32.s) < 0) { in select_hdr32() 404 if (au_preselect(tok.tt.hdr32.e_type, &maskp, AU_PRS_BOTH, in select_hdr32() 413 if (tok.tt.hdr32.e_type == *ev) in select_hdr32() 428 if (tok_ret32.tt.ret32.status == 0) in select_return32() 433 if (au_preselect(tok_hdr32.tt.hdr32.e_type, &maskp, sorf, in select_return32() 455 if (!select_auid(tok.tt.proc32.auid)) in select_proc32() 457 if (!select_euid(tok.tt.proc32.euid)) in select_proc32() 459 if (!select_egid(tok.tt.proc32.egid)) in select_proc32() 461 if (!select_rgid(tok.tt.proc32.rgid)) in select_proc32() [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varmod-to-title.mk | 8 .if ${:UUPPER:tt} != "Upper" 12 .if ${:Ulower:tt} != "Lower" 16 .if ${:UMixeD case.:tt} != "Mixed Case." 22 .if ${:Umultiple spaces:tt} != "Multiple Spaces" 27 .if ${:Uthis&that or os/2:tt} != "This&that Or Os/2"
|