Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 1421) sorted by relevance

12345678910>>...57

/netbsd/external/bsd/ntp/dist/lib/isc/
H A Dentropy.c483 isc_entropy_t *ent = source->ent; in get_from_callback() local
709 *entp = ent; in isc_entropy_create()
729 ent = source->ent; in destroysource()
843 ent = source->ent; in isc_entropy_destroysource()
900 source->ent = ent; in isc_entropy_createcallbacksource()
979 source->ent = ent; in isc_entropy_createsamplesource()
1035 ent = source->ent; in isc_entropy_addsample()
1091 ent, ent->refcnt, in dumpstats()
1092 ent->pool.cursor, ent->pool.rotate, in dumpstats()
1093 ent->pool.entropy, ent->pool.pseudo, in dumpstats()
[all …]
/netbsd/external/mit/libuv/dist/src/unix/
H A Dbsd-ifaddrs.c39 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
41 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude()
58 if (ent->ifa_addr->sa_family == AF_LINK) in uv__ifaddr_exclude()
61 if (ent->ifa_addr->sa_family != PF_INET && in uv__ifaddr_exclude()
62 ent->ifa_addr->sa_family != PF_INET6) in uv__ifaddr_exclude()
70 struct ifaddrs* ent; in uv_interface_addresses() local
83 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
104 for (ent = addrs; ent != NULL; ent = ent->ifa_next) { in uv_interface_addresses()
108 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses()
116 if (ent->ifa_netmask == NULL) { in uv_interface_addresses()
[all …]
/netbsd/external/bsd/ntp/dist/lib/isc/win32/
H A Dentropy.c52 isc_entropy_t *ent = source->ent; in get_from_filesource() local
94 REQUIRE(VALID_ENTROPY(ent)); in fillpool()
155 ent->nextsource = ISC_LIST_HEAD(ent->sources); in fillpool()
159 source = ent->nextsource; in fillpool()
185 ent->nextsource = source; in fillpool()
223 ent->initialized += added; in fillpool()
253 LOCK(&ent->lock); in isc_entropy_createfilesource()
279 source->ent = ent; in isc_entropy_createfilesource()
290 ent->nsources++; in isc_entropy_createfilesource()
292 UNLOCK(&ent->lock); in isc_entropy_createfilesource()
[all …]
/netbsd/crypto/external/bsd/heimdal/dist/lib/hdb/
H A Dprint.c260 if(ent->valid_start) in entry2string_int()
266 if(ent->valid_end) in entry2string_int()
272 if(ent->pw_end) in entry2string_int()
278 if(ent->max_life) in entry2string_int()
284 if(ent->max_renew) in entry2string_int()
301 if(ent->extensions && ent->extensions->len > 0) { in entry2string_int()
436 if (ent->max_life) in entry2mit_string_int()
438 if (ent->max_renew) in entry2mit_string_int()
440 if (ent->valid_end) in entry2mit_string_int()
442 if (ent->pw_end) in entry2mit_string_int()
[all …]
H A Dhdb-ldap.c1019 memset(ent, 0, sizeof(*ent)); in LDAP_message2entry()
1112 ent->entry.etypes = malloc(sizeof(*(ent->entry.etypes))); in LDAP_message2entry()
1119 ent->entry.etypes->val = calloc(ent->entry.etypes->len, in LDAP_message2entry()
1179 ent->entry.etypes = malloc(sizeof(*(ent->entry.etypes))); in LDAP_message2entry()
1203 ent->entry.etypes->val[ent->entry.etypes->len] = in LDAP_message2entry()
1258 ent->entry.valid_end = malloc(sizeof(*ent->entry.valid_end)); in LDAP_message2entry()
1285 ent->entry.pw_end = malloc(sizeof(*ent->entry.pw_end)); in LDAP_message2entry()
1311 ent->entry.pw_end = malloc(sizeof(*ent->entry.pw_end)); in LDAP_message2entry()
1326 ent->entry.pw_end = malloc(sizeof(*ent->entry.pw_end)); in LDAP_message2entry()
1344 ent->entry.max_life = malloc(sizeof(*ent->entry.max_life)); in LDAP_message2entry()
[all …]
/netbsd/external/ibm-public/postfix/dist/src/tlsmgr/
H A Dtlsmgr.c543 for (ent = cache_table; ent->cache_label; ++ent) { in tlsmgr_loop()
544 if (ent->cache_info && ent->cache_active) in tlsmgr_loop()
647 for (ent = cache_table; ent->cache_label; ++ent) in tlsmgr_service()
682 for (ent = cache_table; ent->cache_label; ++ent) in tlsmgr_service()
708 for (ent = cache_table; ent->cache_label; ++ent) in tlsmgr_service()
785 for (ent = cache_table; ent->cache_label; ++ent) in tlsmgr_service()
931 for (ent = cache_table; ent->cache_label; ++ent) { in tlsmgr_pre_init()
940 if (*ent->cache_timeout > 0 && **ent->cache_db) { in tlsmgr_pre_init()
943 *ent->cache_db, dup_label, ent->cache_label); in tlsmgr_pre_init()
944 htable_enter(dup_filter, *ent->cache_db, ent->cache_label); in tlsmgr_pre_init()
[all …]
/netbsd/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dget_s.c61 tl->tl_data_next = ent->tl_data; in add_tl_data()
62 ent->tl_data = tl; in add_tl_data()
63 ent->n_tl_data++; in add_tl_data()
127 hdb_entry_ex ent; in kadm5_s_get_principal() local
129 memset(&ent, 0, sizeof(ent)); in kadm5_s_get_principal()
186 if(ent.entry.max_life) in kadm5_s_get_principal()
192 if(ent.entry.modified_by) in kadm5_s_get_principal()
198 if(ent.entry.modified_by) { in kadm5_s_get_principal()
214 out->kvno = ent.entry.kvno; in kadm5_s_get_principal()
250 if(ent.entry.max_renew) in kadm5_s_get_principal()
[all …]
H A Dent_setup.c74 hdb_entry_ex *ent, in perform_tl_data() argument
121 ent->entry.flags.client = 1; in default_flags()
123 ent->entry.flags.forwardable = 1; in default_flags()
124 ent->entry.flags.proxiable = 1; in default_flags()
138 hdb_entry_ex *ent, in _kadm5_setup_entry() argument
150 set_null(ent->entry.valid_end); in _kadm5_setup_entry()
157 set_null(ent->entry.pw_end); in _kadm5_setup_entry()
164 ent->entry.flags.invalid = 0; in _kadm5_setup_entry()
166 default_flags(ent, 1); in _kadm5_setup_entry()
197 set_null(ent->entry.max_renew); in _kadm5_setup_entry()
[all …]
H A Dchpass_s.c50 hdb_entry_ex ent; in change() local
56 memset(&ent, 0, sizeof(ent)); in change()
84 &ent, password, cond); in change()
89 num_keys = ent.entry.keys.len; in change()
92 ent.entry.keys.len = 0; in change()
93 ent.entry.keys.val = NULL; in change()
109 ent.entry.keys.len, in change()
120 ent.entry.kvno++; in change()
211 hdb_entry_ex ent; in kadm5_s_chpass_principal_with_key() local
214 memset(&ent, 0, sizeof(ent)); in kadm5_s_chpass_principal_with_key()
[all …]
H A Dset_keys.c46 hdb_entry *ent, in _kadm5_set_keys() argument
63 _kadm5_free_keys (context->context, ent->keys.len, ent->keys.val); in _kadm5_set_keys()
104 hdb_entry *ent, in _kadm5_set_keys2() argument
127 free_Keys(&ent->keys); in _kadm5_set_keys2()
164 ent->kvno = 1; in _kadm5_set_keys2()
173 ent->kvno = kvno; in _kadm5_set_keys2()
263 ent->keys = keys; in _kadm5_set_keys2()
281 hdb_entry *ent, in _kadm5_set_keys3() argument
306 _kadm5_free_keys (context->context, ent->keys.len, ent->keys.val); in _kadm5_set_keys3()
339 hdb_entry *ent, in _kadm5_set_keys_randomly() argument
[all …]
H A Drename_s.c47 hdb_entry_ex ent; in kadm5_s_rename_principal() local
50 memset(&ent, 0, sizeof(ent)); in kadm5_s_rename_principal()
67 oldname = ent.entry.principal; in kadm5_s_rename_principal()
68 ret = _kadm5_set_modifier(context, &ent.entry); in kadm5_s_rename_principal()
80 for(i = 0; i < ent.entry.keys.len; i++){ in kadm5_s_rename_principal()
81 if(ent.entry.keys.val[i].salt == NULL){ in kadm5_s_rename_principal()
82 ent.entry.keys.val[i].salt = in kadm5_s_rename_principal()
83 malloc(sizeof(*ent.entry.keys.val[i].salt)); in kadm5_s_rename_principal()
84 if (ent.entry.keys.val[i].salt == NULL) in kadm5_s_rename_principal()
98 ent.entry.principal = target; in kadm5_s_rename_principal()
[all …]
H A Dcreate_s.c62 hdb_entry_ex *ent, in create_principal() argument
70 memset(ent, 0, sizeof(*ent)); in create_principal()
79 &ent->entry.principal); in create_principal()
93 ent, mask | def_mask, in create_principal()
101 ent->entry.created_by.time = time(NULL); in create_principal()
104 &ent->entry.created_by.principal); in create_principal()
113 hdb_entry_ex ent; in kadm5_s_create_principal_with_key() local
160 hdb_free_entry(context->context, &ent); in kadm5_s_create_principal_with_key()
174 hdb_entry_ex ent; in kadm5_s_create_principal() local
205 ent.entry.keys.len = 0; in kadm5_s_create_principal()
[all …]
/netbsd/external/mpl/bind/dist/lib/dns/
H A Dorder.c75 dns_order_ent_t *ent; in dns_order_add() local
83 ent = isc_mem_get(order->mctx, sizeof(*ent)); in dns_order_add()
87 ent->rdtype = rdtype; in dns_order_add()
88 ent->rdclass = rdclass; in dns_order_add()
89 ent->mode = mode; in dns_order_add()
106 dns_order_ent_t *ent; in dns_order_find() local
109 for (ent = ISC_LIST_HEAD(order->ents); ent != NULL; in dns_order_find()
110 ent = ISC_LIST_NEXT(ent, link)) in dns_order_find()
112 if (ent->rdtype != rdtype && ent->rdtype != dns_rdatatype_any) { in dns_order_find()
121 return (ent->mode); in dns_order_find()
[all …]
/netbsd/games/warp/
H A Dus.c49 setimage(ent, ch); in do_direction()
54 ent->energy -= decr; in do_direction()
118 setimage(ent, ch); in ctrl_direction()
143 setimage(ent, ch); in shift_direction()
294 if (ent) in get_commands()
299 if (ent) { in get_commands()
306 if (ent) { in get_commands()
321 make_blast(evely*2+ent->posy,evelx*2+ent->posx, in get_commands()
323 ent->energy /= 2; in get_commands()
333 make_blast(evely*2+ent->posy,evelx*2+ent->posx, in get_commands()
[all …]
/netbsd/external/gpl3/gdb/dist/opcodes/
H A Daarch64-gen.c71 if (!ent) in new_opcode_node()
79 return ent; in new_opcode_node()
176 while (ent) in print_opcode_nodes()
179 ent = ent->next; in print_opcode_nodes()
255 while (ent) in divide_table_1()
258 ent = ent->next; in divide_table_1()
304 while (ent) in divide_table_1()
310 ent = ent->next; in divide_table_1()
318 ent = ent->next; in divide_table_1()
719 ++ent; in find_alias_opcode()
[all …]
/netbsd/external/gpl3/binutils.old/dist/opcodes/
H A Daarch64-gen.c71 if (!ent) in new_opcode_node()
79 return ent; in new_opcode_node()
176 while (ent) in print_opcode_nodes()
179 ent = ent->next; in print_opcode_nodes()
255 while (ent) in divide_table_1()
258 ent = ent->next; in divide_table_1()
304 while (ent) in divide_table_1()
310 ent = ent->next; in divide_table_1()
318 ent = ent->next; in divide_table_1()
719 ++ent; in find_alias_opcode()
[all …]
/netbsd/external/gpl3/binutils/dist/opcodes/
H A Daarch64-gen.c71 if (!ent) in new_opcode_node()
79 return ent; in new_opcode_node()
176 while (ent) in print_opcode_nodes()
179 ent = ent->next; in print_opcode_nodes()
255 while (ent) in divide_table_1()
258 ent = ent->next; in divide_table_1()
304 while (ent) in divide_table_1()
310 ent = ent->next; in divide_table_1()
318 ent = ent->next; in divide_table_1()
719 ++ent; in find_alias_opcode()
[all …]
/netbsd/external/gpl3/gdb.old/dist/opcodes/
H A Daarch64-gen.c71 if (!ent) in new_opcode_node()
79 return ent; in new_opcode_node()
176 while (ent) in print_opcode_nodes()
179 ent = ent->next; in print_opcode_nodes()
255 while (ent) in divide_table_1()
258 ent = ent->next; in divide_table_1()
304 while (ent) in divide_table_1()
310 ent = ent->next; in divide_table_1()
318 ent = ent->next; in divide_table_1()
719 ++ent; in find_alias_opcode()
[all …]
/netbsd/sys/dev/wsfont/
H A Dwsfont.c430 f = ent->font; in wsfont_enum()
578 ent->font->bitorder, ent->font->byteorder); in wsfont_init()
590 return (ent); in wsfont_find0()
655 bestent = ent; in wsfont_find()
671 matchfunc(ent->font, cookie, ent->cookie); in wsfont_walk()
693 memcpy(ent->font, font, sizeof(*ent->font)); in wsfont_add0()
706 return (ent); in wsfont_add0()
736 if ((ent->flags & WSFONT_BUILTIN) != 0 || ent->lockcount != 0) in wsfont_remove()
771 ent->font->bitorder, ent->font->byteorder, in wsfont_lock()
774 ent = neu; in wsfont_lock()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dby_dir.c138 OPENSSL_free(ent->dir); in by_dir_entry_free()
140 OPENSSL_free(ent); in by_dir_entry_free()
168 BY_DIR_ENTRY *ent; in add_cert_dir() local
177 if (strlen(ent->dir) == len && strncmp(ent->dir, ss, len) == 0) in add_cert_dir()
189 ent = OPENSSL_malloc(sizeof(*ent)); in add_cert_dir()
190 if (ent == NULL) { in add_cert_dir()
194 ent->dir_type = type; in add_cert_dir()
197 if (ent->dir == NULL || ent->hashes == NULL) { in add_cert_dir()
198 by_dir_entry_free(ent); in add_cert_dir()
252 BY_DIR_ENTRY *ent; in get_cert_by_subject() local
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dby_dir.c153 OPENSSL_free(ent->dir); in by_dir_entry_free()
155 OPENSSL_free(ent); in by_dir_entry_free()
183 BY_DIR_ENTRY *ent; in add_cert_dir() local
192 if (strlen(ent->dir) == len && strncmp(ent->dir, ss, len) == 0) in add_cert_dir()
204 ent = OPENSSL_malloc(sizeof(*ent)); in add_cert_dir()
205 if (ent == NULL) { in add_cert_dir()
209 ent->dir_type = type; in add_cert_dir()
212 if (ent->dir == NULL || ent->hashes == NULL) { in add_cert_dir()
213 by_dir_entry_free(ent); in add_cert_dir()
268 BY_DIR_ENTRY *ent; in get_cert_by_subject_ex() local
[all …]
/netbsd/sys/net/npf/
H A Dnpf_tableset.c318 npf_tblent_t *ent; in table_ipset_flush() local
321 thmap_del(t->t_map, &ent->te_addr, ent->te_alen); in table_ipset_flush()
331 npf_tblent_t *ent; in table_tree_flush() local
344 npf_tblent_t *ent; in table_ifaddr_flush() local
540 npf_tblent_t *ent; in npf_table_insert() local
568 if (thmap_put(t->t_map, &ent->te_addr, alen, ent) == ent) { in npf_table_insert()
644 ent->te_alen, ent->te_preflen); in npf_table_remove()
656 ent = NULL; in npf_table_remove()
660 if (ent) { in npf_table_remove()
767 npf_tblent_t *ent; in table_generic_list() local
[all …]
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
H A Dnouveau_nvkm_subdev_bios_i2c.c81 if (ent) { in dcb_i2c_parse()
83 u32 ent_value = nvbios_rd32(bios, ent); in dcb_i2c_parse()
107 info->drive = nvbios_rd08(bios, ent + 0); in dcb_i2c_parse()
108 info->sense = nvbios_rd08(bios, ent + 1); in dcb_i2c_parse()
111 info->drive = nvbios_rd08(bios, ent + 1); in dcb_i2c_parse()
115 if (nvbios_rd08(bios, ent + 1) & 0x01) in dcb_i2c_parse()
120 if (nvbios_rd08(bios, ent + 1) & 0x01) in dcb_i2c_parse()
146 ent = 0x0048; in dcb_i2c_parse()
148 ent = 0x0036 + bios->bmp_offset; in dcb_i2c_parse()
151 info->drive = nvbios_rd08(bios, ent + 4); in dcb_i2c_parse()
[all …]
/netbsd/external/bsd/ntp/dist/lib/isc/unix/
H A Dentropy.c76 isc_entropy_t *ent = source->ent; in get_from_filesource() local
116 isc_entropy_t *ent = source->ent; in get_from_usocketsource() local
320 ent->nextsource = ISC_LIST_HEAD(ent->sources); in fillpool()
324 source = ent->nextsource; in fillpool()
352 ent->nextsource = source; in fillpool()
388 ent->initialized += added; in fillpool()
501 LOCK(&ent->lock); in isc_entropy_createfilesource()
571 source->ent = ent; in isc_entropy_createfilesource()
595 ent->nsources++; in isc_entropy_createfilesource()
597 UNLOCK(&ent->lock); in isc_entropy_createfilesource()
[all …]
/netbsd/crypto/external/bsd/heimdal/dist/kadmin/
H A Dinit.c51 kadm5_principal_ent_rec ent; in create_random_entry() local
69 memset(&ent, 0, sizeof(ent)); in create_random_entry()
70 ent.principal = princ; in create_random_entry()
73 ent.max_life = max_life; in create_random_entry()
77 ent.max_renewable_life = max_rlife; in create_random_entry()
111 ent.kvno = 1; in create_random_entry()
114 kadm5_free_principal_ent (kadm_handle, &ent); in create_random_entry()
258 kadm5_principal_ent_rec ent; in init() local
261 memset (&ent, 0, sizeof(ent)); in init()
266 ent.max_life = 24 * 60 * 60; in init()
[all …]

12345678910>>...57