/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | ltable.c | 51 #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() 81 int i; in hashnum() local 97 static Node *mainposition (const Table *t, const TValue *key) { in mainposition() 144 static int findindex (lua_State *L, Table *t, StkId key) { in findindex() 145 int i; in findindex() local [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() 132 int i; in l_hashfloat() local 151 static Node *mainpositionTV (const Table *t, const TValue *key) { in mainpositionTV() 154 lua_Integer i = ivalue(key); in mainpositionTV() local 189 l_sinline Node *mainpositionfromnode (const Table *t, Node *nd) { in mainpositionfromnode() [all …]
|
H A D | ltable.h | 13 #define gnode(t,i) (&(t)->node[i]) argument 23 #define invalidateTMcache(t) ((t)->flags &= ~maskflags) argument 27 #define isdummy(t) ((t)->lastfree == NULL) argument 31 #define allocsizenode(t) (isdummy(t) ? 0 : sizenode(t)) argument
|
H A D | ltests.c | 198 int i; in freeblock() local 244 int i; in debug_realloc() local 296 static int testobjref1 (global_State *g, GCObject *f, GCObject *t) { in testobjref1() 327 static int testobjref (global_State *g, GCObject *f, GCObject *t) { in testobjref() 340 static void checkobjref (global_State *g, GCObject *f, GCObject *t) { in checkobjref() 351 #define checkobjrefN(g,f,t) { if (t) checkobjref(g,f,obj2gco(t)); } argument 354 static void checkvalref (global_State *g, GCObject *f, const TValue *t) { in checkvalref() 360 unsigned int i; in checktable() local 380 int i; in checkudata() local 389 int i; in checkproto() local [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 200 int i, j, k; member 371 void teardown_torus(struct torus *t) in teardown_torus() 438 bool grow_seed_array(struct torus *t, int new_seeds) in grow_seed_array() 785 bool parse_torus(struct torus *t, const char *parse_sep) in parse_torus() 787 unsigned i, j, k, cnt; in parse_torus() local 865 bool parse_port_order(struct torus *t, const char *parse_sep) in parse_port_order() 867 unsigned i, j, k, n; in parse_port_order() local 898 bool parse_guid(struct torus *t, guid_t *guid, const char *parse_sep) in parse_guid() 915 bool parse_dir_link(int c_dir, struct torus *t, const char *parse_sep) in parse_dir_link() 974 bool parse_dir_dateline(int c_dir, struct torus *t, const char *parse_sep) in parse_dir_dateline() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/ |
H A D | time.c | 61 isc_interval_set(isc_interval_t *i, unsigned int seconds, in isc_interval_set() 75 isc_interval_iszero(const isc_interval_t *i) { in isc_interval_iszero() 84 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { in isc_time_set() 105 isc_time_settoepoch(isc_time_t *t) { in isc_time_settoepoch() 113 isc_time_isepoch(const isc_time_t *t) { in isc_time_isepoch() 124 isc_time_now(isc_time_t *t) { in isc_time_now() 133 isc_time_nowplusinterval(isc_time_t *t, const isc_interval_t *i) { in isc_time_nowplusinterval() 163 isc_time_add(const isc_time_t *t, const isc_interval_t *i, isc_time_t *result) in isc_time_add() 184 isc_time_subtract(const isc_time_t *t, const isc_interval_t *i, in isc_time_subtract() 228 isc_time_seconds(const isc_time_t *t) { in isc_time_seconds() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/unix/ |
H A D | time.c | 87 isc_interval_set(isc_interval_t *i, in isc_interval_set() 98 isc_interval_iszero(const isc_interval_t *i) { in isc_interval_iszero() 117 isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds) { in isc_time_set() 126 isc_time_settoepoch(isc_time_t *t) { in isc_time_settoepoch() 134 isc_time_isepoch(const isc_time_t *t) { in isc_time_isepoch() 146 isc_time_now(isc_time_t *t) { in isc_time_now() 188 isc_time_nowplusinterval(isc_time_t *t, const isc_interval_t *i) { in isc_time_nowplusinterval() 255 isc_time_add(const isc_time_t *t, const isc_interval_t *i, isc_time_t *result) in isc_time_add() 281 isc_time_subtract(const isc_time_t *t, const isc_interval_t *i, in isc_time_subtract() 328 isc_time_seconds(const isc_time_t *t) { in isc_time_seconds() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | throughput.c | 46 throughput_init(struct pppThroughput *t, int period) in throughput_init() 70 throughput_destroy(struct pppThroughput *t) in throughput_destroy() 82 throughput_uptime(struct pppThroughput *t) in throughput_uptime() 89 int i; in throughput_uptime() local 100 throughput_disp(struct pppThroughput *t, struct prompt *prompt) in throughput_disp() 134 throughput_log(struct pppThroughput *t, int level, const char *title) in throughput_log() 162 struct pppThroughput *t = (struct pppThroughput *)v; in throughput_sampler() local 196 throughput_start(struct pppThroughput *t, const char *name, int rolling) in throughput_start() 198 int i; in throughput_start() local 213 throughput_restart(struct pppThroughput *t, const char *name, int rolling) in throughput_restart() [all …]
|
/freebsd/usr.sbin/bluetooth/hccontrol/ |
H A D | util.c | 44 static char const * const t[] = { in hci_link2str() local 55 static char const * const t[] = { in hci_pin2str() local 66 static char const * const t[] = { in hci_scan2str() local 79 static char const * const t[] = { in hci_encrypt2str() local 100 static char const * const t[] = { in hci_coding2str() local 113 static char const * const t[] = { in hci_vdata2str() local 126 static char const * const t[] = { in hci_hmode2str() local 153 static char const * const t[] = { in hci_ver2str() local 174 static char const * const t[] = { in hci_lmpver2str() local 195 static char const * const t[] = { in hci_manufacturer2str() local [all …]
|
/freebsd/sbin/rcorder/ |
H A D | hash.c | 95 register Hash_Table *t, /* Structure to use to hold table. */ in Hash_InitTable() 102 register int i; in Hash_InitTable() local 141 Hash_DeleteTable(Hash_Table *t) in Hash_DeleteTable() 144 register int i; in Hash_DeleteTable() local 181 Hash_Table *t, /* Hash table to search. */ in Hash_FindEntry() 218 register Hash_Table *t, /* Hash table to search. */ in Hash_CreateEntry() 284 Hash_DeleteEntry(Hash_Table *t, Hash_Entry *e) in Hash_DeleteEntry() 324 Hash_Table *t, /* Table to be searched. */ in Hash_EnumFirst() 358 Hash_Table *t = searchPtr->tablePtr; in Hash_EnumNext() local 399 RebuildTable(register Hash_Table *t) in RebuildTable() [all …]
|
/freebsd/usr.bin/truss/ |
H A D | setup.c | 239 unsigned int i; in find_abi() local 285 free_thread(struct threadinfo *t) in free_thread() 296 struct threadinfo *t; in add_threads() local 298 int i, nlwps; in add_threads() local 354 struct threadinfo *t, *t2; in free_proc() local 426 alloc_syscall(struct threadinfo *t, struct ptrace_lwpinfo *pl) in alloc_syscall() 428 u_int i; in alloc_syscall() local 442 free_syscall(struct threadinfo *t) in free_syscall() 444 u_int i; in free_syscall() local 453 enter_syscall(struct trussinfo *info, struct threadinfo *t, in enter_syscall() [all …]
|
/freebsd/contrib/bmake/ |
H A D | hash.c | 114 HashTable_Find(HashTable *t, Substring key, unsigned h) in HashTable_Find() 136 HashTable_Init(HashTable *t) in HashTable_Init() 138 unsigned n = 16, i; in HashTable_Init() local 154 HashTable_Done(HashTable *t) in HashTable_Done() 157 size_t i, n = t->bucketsSize; in HashTable_Done() local 176 HashTable_FindEntry(HashTable *t, const char *key) in HashTable_FindEntry() 185 HashTable_FindValue(HashTable *t, const char *key) in HashTable_FindValue() 196 HashTable_FindValueBySubstringHash(HashTable *t, Substring key, unsigned h) in HashTable_FindValueBySubstringHash() 203 HashTable_MaxChain(const HashTable *t) in HashTable_MaxChain() 221 HashTable_Enlarge(HashTable *t) in HashTable_Enlarge() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | gen_template.c | 43 ttype_symbol(const char *basename, const Type *t) in ttype_symbol() argument 49 integer_symbol(const char *basename, const Type *t) in integer_symbol() argument 68 boolean_symbol(const char * basename,const Type * t) boolean_symbol() argument 75 octetstring_symbol(const char * basename,const Type * t) octetstring_symbol() argument 81 sequence_symbol(const char * basename,const Type * t) sequence_symbol() argument 87 time_symbol(const char * basename,const Type * t) time_symbol() argument 93 tag_symbol(const char * basename,const Type * t) tag_symbol() argument 99 generalstring_symbol(const char * basename,const Type * t) generalstring_symbol() argument 105 printablestring_symbol(const char * basename,const Type * t) printablestring_symbol() argument 111 ia5string_symbol(const char * basename,const Type * t) ia5string_symbol() argument 117 visiblestring_symbol(const char * basename,const Type * t) visiblestring_symbol() argument 123 utf8string_symbol(const char * basename,const Type * t) utf8string_symbol() argument 129 bmpstring_symbol(const char * basename,const Type * t) bmpstring_symbol() argument 135 universalstring_symbol(const char * basename,const Type * t) universalstring_symbol() argument 141 oid_symbol(const char * basename,const Type * t) oid_symbol() argument 147 bitstring_symbol(const char * basename,const Type * t) bitstring_symbol() argument 194 is_supported_type_p(const Type * t) is_supported_type_p() argument 196 size_t i; is_supported_type_p() local 211 symbol_name(const char * basename,const Type * t) symbol_name() argument 213 size_t i; symbol_name() local 275 tlist_header(struct tlist * t,const char * fmt,...) tlist_header() argument 306 unsigned int i = 1; tlist_print() local 341 struct template *t, *q; tlist_cmp() local 391 add_line(struct templatehead * t,const char * fmt,...) add_line() argument 404 add_line_pointer(struct templatehead * t,const char * ptr,const char * offset,const char * ttfmt,...) add_line_pointer() argument 434 is_struct(Type * t,int isstruct) is_struct() argument 436 size_t i; is_struct() local 458 compact_tag(const Type * t) compact_tag() argument 466 template_members(struct templatehead * temp,const char * basetype,const char * name,const Type * t,int optional,int isstruct,int need_offset) template_members() argument 551 size_t count = 0, i; template_members() local 686 size_t count = 0, i; template_members() local [all...] |
/freebsd/crypto/openssl/crypto/property/ |
H A D | property_parse.c | 32 static int match_ch(const char *t[], char m) in match_ch() 45 static int match(const char *t[], const char m[], size_t m_len) in match() 56 static int parse_name(OSSL_LIB_CTX *ctx, const char *t[], int create, in parse_name() 61 size_t i = 0; in parse_name() local 96 static int parse_number(const char *t[], OSSL_PROPERTY_DEFINITION *res) in parse_number() 126 static int parse_hex(const char *t[], OSSL_PROPERTY_DEFINITION *res) in parse_hex() 163 static int parse_oct(const char *t[], OSSL_PROPERTY_DEFINITION *res) in parse_oct() 193 static int parse_string(OSSL_LIB_CTX *ctx, const char *t[], char delim, in parse_string() 198 size_t i = 0; in parse_string() local 224 static int parse_unquoted(OSSL_LIB_CTX *ctx, const char *t[], in parse_unquoted() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_strtol.c | 51 check(struct test *t, long int li, long long int lli, char *end) in check() 76 struct test t[] = { in ATF_TC_BODY() local 108 size_t i; in ATF_TC_BODY() local 127 struct test t[] = { in ATF_TC_BODY() local 142 size_t i; in ATF_TC_BODY() local 164 struct test t[] = { in ATF_TC_BODY() local 179 size_t i; in ATF_TC_BODY() local 201 struct test t[] = { in ATF_TC_BODY() local 221 size_t i; in ATF_TC_BODY() local
|
H A D | t_strtoi.c | 60 check(struct test *t, intmax_t rv, char *end, int rstatus) in check() 87 struct test t[] = { in ATF_TC_BODY() local 133 size_t i; in ATF_TC_BODY() local 156 struct test t[] = { in ATF_TC_BODY() local 180 size_t i; in ATF_TC_BODY() local 203 struct test t[] = { in ATF_TC_BODY() local 223 size_t i; in ATF_TC_BODY() local 246 struct test t[] = { in ATF_TC_BODY() local 280 size_t i; in ATF_TC_BODY() local
|
/freebsd/contrib/libfido2/src/ |
H A D | bio.c | 131 bio_reset_template(fido_bio_template_t *t) in bio_reset_template() 141 for (size_t i = 0; i < ta->n_alloc; i++) in bio_reset_template_array() local 152 fido_bio_template_t *t = arg; in decode_template() local 293 bio_set_template_name_wait(fido_dev_t *dev, const fido_bio_template_t *t, in bio_set_template_name_wait() 322 fido_bio_dev_set_template_name(fido_dev_t *dev, const fido_bio_template_t *t, in fido_bio_dev_set_template_name() 395 bio_rx_enroll_begin(fido_dev_t *dev, fido_bio_template_t *t, in bio_rx_enroll_begin() 438 bio_enroll_begin_wait(fido_dev_t *dev, fido_bio_template_t *t, in bio_enroll_begin_wait() 466 fido_bio_dev_enroll_begin(fido_dev_t *dev, fido_bio_template_t *t, in fido_bio_dev_enroll_begin() 542 bio_enroll_continue_wait(fido_dev_t *dev, const fido_bio_template_t *t, in bio_enroll_continue_wait() 571 fido_bio_dev_enroll_continue(fido_dev_t *dev, const fido_bio_template_t *t, in fido_bio_dev_enroll_continue() [all …]
|
/freebsd/lib/libutil/ |
H A D | login_times.c | 45 parse_time(char * ptr, u_short * t) in parse_time() 61 login_time_t t; in parse_lt() local 66 int i; in parse_lt() local 135 in_lt(const login_time_t *ltm, time_t *t) in in_lt() 142 in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t) in in_ltms() 144 int i = 0; in in_ltms() local 155 in_lts(const login_time_t *ltm, time_t *t) in in_lts()
|
/freebsd/contrib/arm-optimized-routines/string/bench/ |
H A D | memcpy.c | 109 int i, j, freq, size, n; in init_copy_distribution() local 133 for (int i = 0; i < NUM_TESTS; i++) in init_copies() local 158 uint64_t t = clock_get_ns (); in memcpy_random() local 159 for (int i = 0; i < ITERS; i++) in memcpy_random() local 177 uint64_t t = clock_get_ns (); in memcpy_medium_aligned() local 178 for (int i = 0; i < ITERS2; i++) in memcpy_medium_aligned() local 193 uint64_t t = clock_get_ns (); in memcpy_medium_unaligned() local 194 for (int i = 0; i < ITERS2; i++) in memcpy_medium_unaligned() local 209 uint64_t t = clock_get_ns (); in memcpy_large() local 210 for (int i = 0; i < ITERS3; i++) in memcpy_large() local [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_shift.c | 16 register BN_ULONG *ap, *rp, t, c; in BN_lshift1() local 17 int i; in BN_lshift1() local 47 BN_ULONG *ap, *rp, t, c; in BN_rshift1() local 48 int i; in BN_rshift1() local 106 int i, nw; bn_lshift_fixed_top() local 108 BN_ULONG *t, *f; bn_lshift_fixed_top() local 175 int i, top, nw; bn_rshift_fixed_top() local 177 BN_ULONG *t, *f; bn_rshift_fixed_top() local [all...] |
/freebsd/crypto/openssh/ |
H A D | ed25519.c | 32 #define F(i) differentbits |= x[i] ^ y[i]; in crypto_verify_32() argument 163 crypto_uint32 t; in fe25519_reduce_add_sub() local 164 int i,rep; in fe25519_reduce_add_sub() local 183 crypto_uint32 t; in reduce_mul() local 184 int i,rep; in reduce_mul() local 204 int i; in fe25519_freeze() local 220 int i; in fe25519_unpack() local 228 int i; in fe25519_pack() local 237 int i; in fe25519_iszero() local 239 fe25519 t = *x; in fe25519_iszero() local [all …]
|
/freebsd/contrib/mandoc/ |
H A D | tree.c | 88 const char *p, *t; in print_mdoc() local 89 int i, j; in print_mdoc() local 209 const char *p, *t; in print_man() local 210 int i; in print_man() local 326 int i; in print_box() local 327 const char *t; in print_box() local 427 int i; in print_span() local
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | des_support.c | 36 uint32_t l, r, t; in br_des_do_IP() local 66 uint32_t l, r, t; in br_des_do_invIP() local 94 int i; in br_des_keysched_unit() local 154 int i; in br_des_rev_skey() local 157 uint32_t t; in br_des_rev_skey() local
|
/freebsd/sys/teken/ |
H A D | teken_subr_compat.h | 30 teken_subr_cons25_set_border(const teken_t *t, unsigned int c) in teken_subr_cons25_set_border() 37 teken_subr_cons25_set_global_cursor_shape(const teken_t *t, unsigned int ncmds, in teken_subr_cons25_set_global_cursor_shape() 40 unsigned int code, i; in teken_subr_cons25_set_global_cursor_shape() local 59 teken_subr_cons25_set_local_cursor_type(const teken_t *t, unsigned int type) in teken_subr_cons25_set_local_cursor_type() 69 teken_subr_cons25_set_default_background(teken_t *t, unsigned int c) in teken_subr_cons25_set_default_background() 77 teken_subr_cons25_set_default_foreground(teken_t *t, unsigned int c) in teken_subr_cons25_set_default_foreground() 87 teken_get_defattr_cons25(const teken_t *t, int *fg, int *bg) in teken_get_defattr_cons25() 97 teken_subr_cons25_switch_virtual_terminal(const teken_t *t, unsigned int vt) in teken_subr_cons25_switch_virtual_terminal() 104 teken_subr_cons25_set_bell_pitch_duration(const teken_t *t, unsigned int pitch, in teken_subr_cons25_set_bell_pitch_duration() 113 teken_subr_cons25_set_graphic_rendition(teken_t *t, unsigned int cmd, in teken_subr_cons25_set_graphic_rendition() [all …]
|
/freebsd/contrib/libfido2/tools/ |
H A D | bio.c | 24 const fido_bio_template_t *t = NULL; in print_template() local 63 for (size_t i = 0; i < fido_bio_template_array_count(ta); i++) in bio_list() local 79 fido_bio_template_t *t = NULL; in bio_set_name() local 159 fido_bio_template_t *t = NULL; in bio_enroll() local 210 fido_bio_template_t *t = NULL; in bio_delete() local 247 type_str(uint8_t t) in type_str() 262 fido_bio_info_t *i = NULL; in bio_info() local
|