Home
last modified time | relevance | path

Searched refs:lookup (Results 1 – 25 of 195) sorted by relevance

12345678

/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_d2.c69 X509_LOOKUP *lookup; in X509_STORE_set_default_paths() local
71 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file()); in X509_STORE_set_default_paths()
72 if (lookup == NULL) in X509_STORE_set_default_paths()
77 if (lookup == NULL) in X509_STORE_set_default_paths()
79 X509_LOOKUP_add_dir(lookup, NULL, X509_FILETYPE_DEFAULT); in X509_STORE_set_default_paths()
90 X509_LOOKUP *lookup; in X509_STORE_load_locations() local
94 if (lookup == NULL) in X509_STORE_load_locations()
101 if (lookup == NULL) in X509_STORE_load_locations()
114 X509_LOOKUP *lookup; in X509_STORE_load_mem() local
117 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_mem()); in X509_STORE_load_mem()
[all …]
/dragonfly/lib/libc/rpc/
H A Dgetpublickey.c65 char lookup[3 * HEXKEYBYTES]; in __getpublickey_real() local
70 if (!getpublicandprivatekey(netname, lookup)) in __getpublickey_real()
72 p = strchr(lookup, ':'); in __getpublickey_real()
77 strncpy(publickey, lookup, HEXKEYBYTES); in __getpublickey_real()
110 char *lookup; in getpublicandprivatekey() local
119 lookup = NULL; in getpublicandprivatekey()
120 err = yp_match(domain, PKMAP, key, strlen(key), &lookup, &len); in getpublicandprivatekey()
127 lookup[len] = 0; in getpublicandprivatekey()
128 strcpy(ret, lookup); in getpublicandprivatekey()
130 free(lookup); in getpublicandprivatekey()
H A Dnetnamer.c246 char *lookup; in getnetid() local
276 lookup = NULL; in getnetid()
278 strlen(key), &lookup, &len); in getnetid()
285 lookup[len] = 0; in getnetid()
286 strcpy(ret, lookup); in getnetid()
287 free(lookup); in getnetid()
/dragonfly/sys/cpu/x86_64/misc/
H A Delf_machdep.c77 int type, int local, elf_lookup_fn lookup) in elf_reloc_internal() argument
123 if (lookup(lf, symidx, 1, &addr)) in elf_reloc_internal()
132 if (lookup(lf, symidx, 1, &addr)) in elf_reloc_internal()
142 if (lookup(lf, symidx, 1, &addr)) in elf_reloc_internal()
161 if (lookup(lf, symidx, 1, &addr)) in elf_reloc_internal()
184 elf_lookup_fn lookup) in elf_reloc() argument
187 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); in elf_reloc()
192 int type, elf_lookup_fn lookup) in elf_reloc_local() argument
195 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); in elf_reloc_local()
/dragonfly/crypto/openssh/
H A Dauth2-hostbased.c179 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local
204 lookup = chost; in hostbased_key_allowed()
216 lookup = resolvedname; in hostbased_key_allowed()
221 sshkey_cert_check_authority_now(key, 1, 0, 0, lookup, &reason)) { in hostbased_key_allowed()
227 host_status = check_key_in_hostfiles(pw, key, lookup, in hostbased_key_allowed()
233 host_status = check_key_in_hostfiles(pw, key, lookup, in hostbased_key_allowed()
247 cuser, lookup); in hostbased_key_allowed()
253 sshkey_type(key), fp, cuser, lookup); in hostbased_key_allowed()
/dragonfly/crypto/libressl/apps/openssl/
H A Dverify.c266 X509_LOOKUP *lookup = NULL; in verify_main() local
296 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file()); in verify_main()
297 if (lookup == NULL) in verify_main()
300 if (!X509_LOOKUP_load_file(lookup, verify_config.CAfile, in verify_main()
308 X509_LOOKUP_load_file(lookup, NULL, X509_FILETYPE_DEFAULT); in verify_main()
310 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir()); in verify_main()
311 if (lookup == NULL) in verify_main()
314 if (!X509_LOOKUP_add_dir(lookup, verify_config.CApath, in verify_main()
322 X509_LOOKUP_add_dir(lookup, NULL, X509_FILETYPE_DEFAULT); in verify_main()
H A Dcrl.c227 X509_LOOKUP *lookup = NULL; in crl_main() local
286 lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file()); in crl_main()
287 if (lookup == NULL) in crl_main()
289 if (!X509_LOOKUP_load_file(lookup, crl_config.cafile, in crl_main()
291 X509_LOOKUP_load_file(lookup, NULL, in crl_main()
294 lookup = X509_STORE_add_lookup(store, X509_LOOKUP_hash_dir()); in crl_main()
295 if (lookup == NULL) in crl_main()
297 if (!X509_LOOKUP_add_dir(lookup, crl_config.capath, in crl_main()
299 X509_LOOKUP_add_dir(lookup, NULL, in crl_main()
/dragonfly/lib/libkvm/
H A Dkvm.c318 struct kld_sym_lookup lookup; in kvm_nlist() local
334 lookup.version = sizeof(lookup); in kvm_nlist()
335 lookup.symname = p->n_name; in kvm_nlist()
336 lookup.symvalue = 0; in kvm_nlist()
337 lookup.symsize = 0; in kvm_nlist()
339 if (lookup.symname[0] == '_') in kvm_nlist()
340 lookup.symname++; in kvm_nlist()
342 if (kldsym(0, KLDSYM_LOOKUP, &lookup) != -1) { in kvm_nlist()
346 p->n_value = lookup.symvalue; in kvm_nlist()
/dragonfly/lib/librpcsvc/
H A Dsecretkey.c59 char lookup[3 * HEXKEYBYTES]; in getsecretkey() local
64 if (!getpublicandprivatekey(netname, lookup)) in getsecretkey()
66 p = strchr(lookup, ':'); in getsecretkey()
/dragonfly/libexec/bootpd/
H A DMakefile.UNIX144 lookup.o getif.o hwaddr.o tzone.o report.o $(STRERROR)
149 lookup.o hwaddr.o tzone.o report.o $(STRERROR)
163 TRYLOOK= trylook.o lookup.o report.o $(STRERROR)
200 lookup.o : bootp.h bptypes.h lookup.h report.h
202 readfile.o : bootp.h bptypes.h hash.h hwaddr.h lookup.h readfile.h
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtyped-splay-tree.c51 ASSERT_EQ (1, t.lookup ("a")); in test_str_to_int()
52 ASSERT_EQ (2, t.lookup ("b")); in test_str_to_int()
53 ASSERT_EQ (3, t.lookup ("c")); in test_str_to_int()
/dragonfly/contrib/ldns/drill/
H A Dchasetrace.c65 ldns_rdf *lookup = ldns_rdf_clone(name); in set_nss_for_name() local
73 referrals, lookup, LDNS_RR_TYPE_NS); in set_nss_for_name()
75 ldns_rdf_deep_free(lookup); in set_nss_for_name()
78 new_lookup = ldns_dname_left_chop(lookup); in set_nss_for_name()
79 ldns_rdf_deep_free(lookup); in set_nss_for_name()
80 lookup = new_lookup; in set_nss_for_name()
81 if (!lookup) { in set_nss_for_name()
/dragonfly/sys/kern/
H A Dsubr_firmware.c147 lookup(const char *name, struct priv_fw **empty_slot) in lookup() function
182 match = lookup(imagename, &frp); in firmware_register()
223 fp = lookup(imagename, NULL); in firmware_unregister()
282 fp = lookup(imagename, NULL); in loadimage()
311 fp = lookup(imagename, NULL); in firmware_get()
338 fp = lookup(imagename, NULL); in firmware_get()
H A Dkern_linker.c1030 struct kld_sym_lookup lookup; in sys_kldsym() local
1034 if ((error = copyin(uap->data, &lookup, sizeof(lookup))) != 0) in sys_kldsym()
1036 if (lookup.version != sizeof(lookup) || uap->cmd != KLDSYM_LOOKUP) { in sys_kldsym()
1042 if ((error = copyinstr(lookup.symname, symstr, MAXPATHLEN, NULL)) != 0) in sys_kldsym()
1053 lookup.symvalue = (uintptr_t)symval.value; in sys_kldsym()
1054 lookup.symsize = symval.size; in sys_kldsym()
1055 error = copyout(&lookup, uap->data, sizeof(lookup)); in sys_kldsym()
1062 lookup.symvalue = (uintptr_t)symval.value; in sys_kldsym()
1063 lookup.symsize = symval.size; in sys_kldsym()
1064 error = copyout(&lookup, uap->data, sizeof(lookup)); in sys_kldsym()
/dragonfly/games/battlestar/
H A Dparse.c41 static struct wlist *lookup(const char *);
68 lookup(const char *s) in lookup() function
83 if (lookup(wp->string) == NULL) { in install()
100 if ((wp = lookup(words[n])) == NULL) { in parse()
/dragonfly/lib/libutil/
H A Drealhostname.c60 char lookup[MAXHOSTNAMELEN]; in realhostname() local
62 strlcpy(lookup, hp->h_name, sizeof(lookup)); in realhostname()
63 hp = gethostbyname(lookup); in realhostname()
/dragonfly/libexec/mknetid/
H A Dmknetid.c218 if (lookup(dtable, writebuf)) { in main()
227 if ((glist = lookup(mtable, (char *)&readbuf)) != NULL) { in main()
260 if (lookup(dtable, (char *)&writebuf)) { in main()
289 if (lookup(dtable, (char *)&readbuf)) { in main()
/dragonfly/usr.bin/mail/
H A Dvars.c53 vp = lookup(name); in assign()
107 if ((vp = lookup(name)) == NULL) in value()
118 lookup(const char *name) in lookup() function
/dragonfly/sys/net/pf/
H A Dif_pflog.c266 if (rm->log & PF_LOG_SOCKET_LOOKUP && !pd->lookup.done) in pflog_packet()
267 pd->lookup.done = pf_socket_lookup(dir, pd); in pflog_packet()
268 if (pd->lookup.done > 0) { in pflog_packet()
269 hdr.uid = pd->lookup.uid; in pflog_packet()
270 hdr.pid = pd->lookup.pid; in pflog_packet()
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dname-lookup.c4083 if (lookup.type && TREE_CODE (lookup.type) == TREE_LIST) in do_nonmember_using_decl()
4101 if (lookup.value && DECL_IMPLICIT_TYPEDEF_P (lookup.value)) in do_nonmember_using_decl()
4103 lookup.type = lookup.value; in do_nonmember_using_decl()
4107 if (lookup.value && lookup.value != value) in do_nonmember_using_decl()
4160 value = lookup.value; in do_nonmember_using_decl()
4163 if (lookup.type && lookup.type != type) in do_nonmember_using_decl()
4168 type = lookup.type; in do_nonmember_using_decl()
4930 old = lookup.value; in set_decl_namespace()
5796 t = lookup.value; in lookup_qualified_name()
6328 val = lookup.value; in lookup_name_real_1()
[all …]
/dragonfly/contrib/binutils-2.34/gold/
H A Ddirsearch.cc112 Dir_cache* lookup(const char*) const;
138 if (this->lookup(dirname) != NULL) in add()
156 Dir_caches::lookup(const char* dirname) const in lookup() function in __anonc11a3c7f0111::Dir_caches
258 Dir_cache* pdc = caches->lookup(p->name().c_str()); in find()
/dragonfly/contrib/binutils-2.27/gold/
H A Ddirsearch.cc112 Dir_cache* lookup(const char*) const;
138 if (this->lookup(dirname) != NULL) in add()
156 Dir_caches::lookup(const char* dirname) const in lookup() function in __anon078240e10111::Dir_caches
258 Dir_cache* pdc = caches->lookup(p->name().c_str()); in find()
/dragonfly/contrib/binutils-2.34/ld/
H A Dldelf.c1784 lookup != NULL; in output_rel_find()
1785 lookup = lookup->next) in output_rel_find()
1787 if (lookup->constraint >= 0 in output_rel_find()
1790 int lookrela = lookup->name[4] == 'a'; in output_rel_find()
1803 last_rel = lookup; in output_rel_find()
1805 && lookup->bfd_section != NULL in output_rel_find()
1807 last_rel_alloc = lookup; in output_rel_find()
1810 last = lookup; in output_rel_find()
1811 if (lookup->bfd_section != NULL in output_rel_find()
1814 last_alloc = lookup; in output_rel_find()
[all …]
/dragonfly/usr.sbin/repquota/
H A Drepquota.c78 struct fileusage *lookup(u_long, int);
208 if ((fup = lookup(id, type)) == NULL) in repquota()
218 fup = lookup(id, type); in repquota()
308 lookup(u_long id, int type) in lookup() function
327 if ((fup = lookup(id, type))) in addid()
/dragonfly/usr.bin/m4/
H A Dlook.c98 lookup(const char *name) in lookup() function
184 ndptr n = lookup(name); in macro_undefine()
201 ndptr n = lookup(name); in macro_popdef()
272 p = lookup(name); in macro_getbuiltin()

12345678