Home
last modified time | relevance | path

Searched refs:tk (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-12.1/lib/libc/sys/
H A D__vdso_gettimeofday.c69 if (!tk->tk_enabled) in binuptime()
73 th = &tk->tk_th[curr]; in binuptime()
94 static struct vdso_timekeep *tk; variable
105 if (tk == NULL) { in __vdso_gettimeofday()
106 error = __vdso_gettimekeep(&tk); in __vdso_gettimeofday()
107 if (error != 0 || tk == NULL) in __vdso_gettimeofday()
112 error = binuptime(&bt, tk, 1); in __vdso_gettimeofday()
126 if (tk == NULL) { in __vdso_clock_gettime()
127 error = _elf_aux_info(AT_TIMEKEEP, &tk, sizeof(tk)); in __vdso_clock_gettime()
128 if (error != 0 || tk == NULL) in __vdso_clock_gettime()
[all …]
H A Dtrivial-vdso_tc.c44 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
/freebsd-12.1/sys/kern/
H A Dkern_sharedpage.c139 struct vdso_timekeep *tk; in timehands_update() local
151 tk = (struct vdso_timekeep *)(shared_page_mapping + in timehands_update()
153 tk->tk_th[idx].th_gen = 0; in timehands_update()
156 tk->tk_th[idx] = th; in timehands_update()
158 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update()
164 tk->tk_enabled = enabled; in timehands_update()
172 struct vdso_timekeep32 *tk; in timehands_update32() local
186 tk->tk_th[idx].th_gen = 0; in timehands_update32()
189 tk->tk_th[idx] = th; in timehands_update32()
191 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update32()
[all …]
/freebsd-12.1/contrib/wpa/src/crypto/
H A Dsha1.c30 unsigned char tk[20]; in hmac_sha1_vector() local
45 if (sha1_vector(1, &key, &key_len, tk)) in hmac_sha1_vector()
47 key = tk; in hmac_sha1_vector()
90 forced_memzero(tk, sizeof(tk)); in hmac_sha1_vector()
H A Dmd5.c30 u8 tk[16]; in hmac_md5_vector() local
45 if (md5_vector(1, &key, &key_len, tk)) in hmac_md5_vector()
47 key = tk; in hmac_md5_vector()
91 os_memset(tk, 0, sizeof(tk)); in hmac_md5_vector()
H A Dcrypto_internal.c44 u8 tk[32]; in crypto_hash_init() local
79 MD5Final(tk, &ctx->u.md5); in crypto_hash_init()
80 key = tk; in crypto_hash_init()
98 SHA1Final(tk, &ctx->u.sha1); in crypto_hash_init()
99 key = tk; in crypto_hash_init()
118 sha256_done(&ctx->u.sha256, tk); in crypto_hash_init()
119 key = tk; in crypto_hash_init()
H A Dsha256.c30 unsigned char tk[32]; in hmac_sha256_vector() local
44 if (sha256_vector(1, &key, &key_len, tk) < 0) in hmac_sha256_vector()
46 key = tk; in hmac_sha256_vector()
H A Dsha384.c30 unsigned char tk[48]; in hmac_sha384_vector() local
44 if (sha384_vector(1, &key, &key_len, tk) < 0) in hmac_sha384_vector()
46 key = tk; in hmac_sha384_vector()
H A Dsha512.c30 unsigned char tk[64]; in hmac_sha512_vector() local
44 if (sha512_vector(1, &key, &key_len, tk) < 0) in hmac_sha512_vector()
46 key = tk; in hmac_sha512_vector()
/freebsd-12.1/sbin/iscontrol/
H A Dconfig.c298 textkey_t *tk; in keyLookup() local
300 for(tk = keyMap; tk->name && strcmp(tk->name, "end"); tk++) { in keyLookup()
301 if(strcasecmp(key, tk->name) == 0) in keyLookup()
302 return tk; in keyLookup()
353 textkey_t *tk; in parseArgs() local
365 if((tk = keyLookup(*ar)) == NULL) in parseArgs()
367 setOption(op, tk->tokenID, v); in parseArgs()
/freebsd-12.1/lib/libc/aarch64/sys/
H A D__vdso_gettc.c72 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
75 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-12.1/lib/libc/arm/sys/
H A D__vdso_gettc.c87 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
90 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-12.1/usr.bin/indent/
H A Dparse.c56 parse(int tk) /* tk: the code for the construct scanned */ in parse() argument
61 printf("%2d - %s\n", tk, token); in parse()
64 while (ps.p_stack[ps.tos] == ifhead && tk != elselit) { in parse()
72 switch (tk) { /* go on and figure out what to do with the in parse()
108 ps.p_stack[++ps.tos] = tk; in parse()
/freebsd-12.1/contrib/gdb/gdb/
H A Dacinclude.m4329 ${srcdir}/../tk \
331 ${srcdir}/../../tk \
333 ${srcdir}/../../../tk \
335 if test -f $i/generic/tk.h ; then
348 /usr/local/src/tk \
349 /usr/local/lib/tk \
384 # Ok, lets find the tk configuration
409 ../tk \
411 ../../tk \
413 ../../../tk \
[all …]
H A Daclocal.m4341 ${srcdir}/../tk \
343 ${srcdir}/../../tk \
345 ${srcdir}/../../../tk \
347 if test -f $i/generic/tk.h ; then
360 /usr/local/src/tk \
361 /usr/local/lib/tk \
396 # Ok, lets find the tk configuration
421 ../tk \
423 ../../tk \
425 ../../../tk \
[all …]
/freebsd-12.1/contrib/sqlite3/tea/win/
H A Drules.vc626 !if "$(PROJECT)" == "tk"
627 _TK_H = ..\generic\tk.h
633 !if exist("$(_INSTALLDIR)\..\include\tk.h")
636 _TK_H = $(_TKDIR)\include\tk.h
638 !elseif exist("$(_TCLDIR)\include\tk.h")
641 _TK_H = $(_TKDIR)\include\tk.h
646 !if exist("$(_TKDIR)\include\tk.h")
648 _TK_H = $(_TKDIR)\include\tk.h
649 !elseif exist("$(_TKDIR)\generic\tk.h")
651 _TK_H = $(_TKDIR)\generic\tk.h
[all …]
/freebsd-12.1/contrib/tcpdump/
H A Dsignature.c56 unsigned char tk[16]; in signature_compute_hmac_md5() local
66 MD5_Final(tk, &tctx); in signature_compute_hmac_md5()
68 key = tk; in signature_compute_hmac_md5()
/freebsd-12.1/lib/libc/x86/sys/
H A D__vdso_gettc.c266 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
269 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-12.1/contrib/gcclibs/libiberty/
H A Dcplus-dem.c1879 else if (tk == tk_pointer || tk == tk_reference) in demangle_template_value_parm()
3409 if (tk == tk_none) in do_type()
3410 tk = tk_pointer; in do_type()
3417 if (tk == tk_none) in do_type()
3672 return (int) ((tk == tk_none) ? tk_integral : tk); in do_type()
3774 tk = tk_bool; in demangle_fund_type()
3780 tk = tk_char; in demangle_fund_type()
3786 tk = tk_char; in demangle_fund_type()
3792 tk = tk_real; in demangle_fund_type()
3798 tk = tk_real; in demangle_fund_type()
[all …]
/freebsd-12.1/contrib/binutils/libiberty/
H A Dcplus-dem.c1879 else if (tk == tk_pointer || tk == tk_reference) in demangle_template_value_parm()
3409 if (tk == tk_none) in do_type()
3410 tk = tk_pointer; in do_type()
3417 if (tk == tk_none) in do_type()
3672 return (int) ((tk == tk_none) ? tk_integral : tk); in do_type()
3774 tk = tk_bool; in demangle_fund_type()
3780 tk = tk_char; in demangle_fund_type()
3786 tk = tk_char; in demangle_fund_type()
3792 tk = tk_real; in demangle_fund_type()
3798 tk = tk_real; in demangle_fund_type()
[all …]
/freebsd-12.1/contrib/dma/
H A Dcrypto.c202 unsigned char tk[16]; in hmac_md5() local
211 MD5_Final(tk, &tctx); in hmac_md5()
213 key = tk; in hmac_md5()
/freebsd-12.1/contrib/binutils/
H A DMakefile.def327 dependencies = { module=configure-libgui; on=configure-tk; };
329 dependencies = { module=all-libgui; on=all-tk; };
382 dependencies = { module=all-dejagnu; on=all-tk; };
384 dependencies = { module=configure-expect; on=configure-tk; };
386 dependencies = { module=all-expect; on=all-tk; };
391 dependencies = { module=configure-itcl; on=configure-tk; };
393 dependencies = { module=all-itcl; on=all-tk; };
396 dependencies = { module=configure-tk; on=configure-tcl; };
397 dependencies = { module=all-tk; on=all-tcl; };
403 dependencies = { module=all-sid; on=all-tk; };
[all …]
/freebsd-12.1/contrib/wpa/src/eap_server/
H A Deap_server_peap.c325 u8 *tk; in eap_peap_derive_cmk() local
333 tk = eap_server_tls_derive_key(sm, &data->ssl, "client EAP encryption", in eap_peap_derive_cmk()
335 if (tk == NULL) in eap_peap_derive_cmk()
337 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TK", tk, 60); in eap_peap_derive_cmk()
341 os_memcpy(data->ipmk, tk, 40); in eap_peap_derive_cmk()
344 os_memcpy(data->cmk, tk + 40, 20); in eap_peap_derive_cmk()
347 os_free(tk); in eap_peap_derive_cmk()
361 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TempKey", tk, 40); in eap_peap_derive_cmk()
362 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
367 os_free(tk); in eap_peap_derive_cmk()
[all …]
/freebsd-12.1/contrib/wpa/src/eap_peer/
H A Deap_peap.c254 u8 *tk; in eap_peap_derive_cmk() local
262 tk = data->key_data; in eap_peap_derive_cmk()
263 if (tk == NULL) in eap_peap_derive_cmk()
265 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TK", tk, 60); in eap_peap_derive_cmk()
274 os_memcpy(data->ipmk, tk, 40); in eap_peap_derive_cmk()
277 os_memcpy(data->cmk, tk + 40, 20); in eap_peap_derive_cmk()
294 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TempKey", tk, 40); in eap_peap_derive_cmk()
295 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
/freebsd-12.1/contrib/unbound/validator/
H A Dval_anchor.c861 struct ta_key* tk; in assemble_it() local
912 for(tk = ta->keylist; tk; tk = tk->next) { in assemble_it()
913 if(tk->type != type) in assemble_it()
915 pd->rr_len[i] = tk->len; in assemble_it()
917 pd->rr_data[i] = tk->data; in assemble_it()

123