Home
last modified time | relevance | path

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

12345678910>>...32

/freebsd-12-stable/crypto/openssl/crypto/x509/
Dx509_d2.c17 X509_LOOKUP *lookup; in X509_STORE_set_default_paths() local
19 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file()); in X509_STORE_set_default_paths()
20 if (lookup == NULL) in X509_STORE_set_default_paths()
22 X509_LOOKUP_load_file(lookup, NULL, X509_FILETYPE_DEFAULT); in X509_STORE_set_default_paths()
24 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_hash_dir()); in X509_STORE_set_default_paths()
25 if (lookup == NULL) in X509_STORE_set_default_paths()
27 X509_LOOKUP_add_dir(lookup, NULL, X509_FILETYPE_DEFAULT); in X509_STORE_set_default_paths()
38 X509_LOOKUP *lookup; in X509_STORE_load_locations() local
41 lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file()); in X509_STORE_load_locations()
42 if (lookup == NULL) in X509_STORE_load_locations()
[all …]
/freebsd-12-stable/lib/libc/rpc/
Dgetpublickey.c69 char lookup[3 * HEXKEYBYTES]; in __getpublickey_real() local
74 if (!getpublicandprivatekey(netname, lookup)) in __getpublickey_real()
76 p = strchr(lookup, ':'); in __getpublickey_real()
81 (void) strncpy(publickey, lookup, HEXKEYBYTES); in __getpublickey_real()
114 char *lookup; in getpublicandprivatekey() local
123 lookup = NULL; in getpublicandprivatekey()
124 err = yp_match(domain, PKMAP, key, strlen(key), &lookup, &len); in getpublicandprivatekey()
131 lookup[len] = 0; in getpublicandprivatekey()
132 strcpy(ret, lookup); in getpublicandprivatekey()
134 free(lookup); in getpublicandprivatekey()
Dnetnamer.c245 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()
/freebsd-12-stable/usr.sbin/prometheus_sysctl_exporter/
Dprometheus_sysctl_exporter.c91 int lookup[CTL_MAXNAME + 2]; in oid_get_next() local
94 lookup[0] = 0; in oid_get_next()
95 lookup[1] = 2; in oid_get_next()
96 memcpy(lookup + 2, cur->id, cur->len * sizeof(lookup[0])); in oid_get_next()
98 if (sysctl(lookup, 2 + cur->len, &next->id, &nextsize, 0, 0) != 0) { in oid_get_next()
135 int lookup[CTL_MAXNAME + 2]; in oid_get_format() local
138 lookup[0] = 0; in oid_get_format()
139 lookup[1] = 4; in oid_get_format()
140 memcpy(lookup + 2, o->id, o->len * sizeof(lookup[0])); in oid_get_format()
142 if (sysctl(lookup, 2 + o->len, of, &oflen, 0, 0) != 0) { in oid_get_format()
[all …]
/freebsd-12-stable/sys/mips/mips/
Delf_machdep.c306 int type, int local, elf_lookup_fn lookup) in elf_reloc_internal() argument
352 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
361 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
380 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
408 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
437 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
448 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
490 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
499 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
518 elf_lookup_fn lookup) in elf_reloc() argument
[all …]
/freebsd-12-stable/sys/riscv/riscv/
Delf_machdep.c266 int type, int local, elf_lookup_fn lookup) in elf_reloc_internal() argument
301 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
325 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
352 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
377 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
393 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
408 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
424 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
440 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
455 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
[all …]
/freebsd-12-stable/sys/arm64/arm64/
Delf_machdep.c146 int type, int local, elf_lookup_fn lookup) in elf_reloc_internal() argument
185 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
192 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
200 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
209 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
229 int type, elf_lookup_fn lookup) in elf_reloc_local() argument
232 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); in elf_reloc_local()
238 elf_lookup_fn lookup) in elf_reloc() argument
241 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); in elf_reloc()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
DAtomicOrdering.h91 static const bool lookup[8][8] = { in isStrongerThan() local
102 return lookup[static_cast<size_t>(AO)][static_cast<size_t>(Other)]; in isStrongerThan()
106 static const bool lookup[8][8] = { in isAtLeastOrStrongerThan() local
117 return lookup[static_cast<size_t>(AO)][static_cast<size_t>(Other)]; in isAtLeastOrStrongerThan()
137 static const AtomicOrderingCABI lookup[8] = { in toCABI() local
147 return lookup[static_cast<size_t>(AO)]; in toCABI()
/freebsd-12-stable/sys/amd64/amd64/
Delf_machdep.c189 int type, elf_lookup_fn lookup) in elf_reloc_internal() argument
234 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
245 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
255 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
274 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
305 elf_lookup_fn lookup) in elf_reloc() argument
308 return (elf_reloc_internal(lf, relocbase, data, type, lookup)); in elf_reloc()
313 int type, elf_lookup_fn lookup) in elf_reloc_local() argument
316 return (elf_reloc_internal(lf, relocbase, data, type, lookup)); in elf_reloc_local()
/freebsd-12-stable/sys/i386/i386/
Delf_machdep.c173 int type, elf_lookup_fn lookup, int flags) in elf_reloc_internal() argument
217 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
226 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
244 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
270 elf_lookup_fn lookup) in elf_reloc() argument
273 return (elf_reloc_internal(lf, relocbase, data, type, lookup, 0)); in elf_reloc()
278 int type, elf_lookup_fn lookup) in elf_reloc_local() argument
281 return (elf_reloc_internal(lf, relocbase, data, type, lookup, in elf_reloc_local()
/freebsd-12-stable/crypto/openssh/
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()
/freebsd-12-stable/contrib/sendmail/cf/hack/
Dxconnect.m427 dnl workspace: <result-of-lookup> <{client_addr}>
30 dnl workspace: <result-of-lookup> <{client_addr}>
31 R<?> <$+> $: $>A < $1 > <?> <! XConnect> <> no: another lookup
32 dnl workspace: <result-of-lookup> (<>|<{client_addr}>)
34 dnl workspace: <result-of-lookup> (<>|<{client_addr}>) | OK
/freebsd-12-stable/sys/arm/arm/
Delf_machdep.c195 int type, int local, elf_lookup_fn lookup) in elf_reloc_internal() argument
239 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
255 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
274 elf_lookup_fn lookup) in elf_reloc() argument
277 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); in elf_reloc()
282 int type, elf_lookup_fn lookup) in elf_reloc_local() argument
285 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); in elf_reloc_local()
/freebsd-12-stable/sys/powerpc/powerpc/
Delf32_machdep.c226 int type, int local, elf_lookup_fn lookup) in elf_reloc_internal() argument
258 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
265 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
280 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
342 elf_lookup_fn lookup) in elf_reloc() argument
345 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); in elf_reloc()
350 int type, elf_lookup_fn lookup) in elf_reloc_local() argument
353 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); in elf_reloc_local()
Delf64_machdep.c287 int type, int local, elf_lookup_fn lookup) in elf_reloc_internal() argument
317 error = lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
329 lookup(lf, symidx, 1, &addr); in elf_reloc_internal()
381 elf_lookup_fn lookup) in elf_reloc() argument
384 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); in elf_reloc()
389 int type, elf_lookup_fn lookup) in elf_reloc_local() argument
392 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); in elf_reloc_local()
/freebsd-12-stable/sys/i386/pci/
Dpci_pir.c188 struct pci_link_lookup *lookup; in pci_pir_find_link_handler() local
190 lookup = (struct pci_link_lookup *)arg; in pci_pir_find_link_handler()
191 if (entry->pe_bus == lookup->bus && in pci_pir_find_link_handler()
192 entry->pe_device == lookup->device && in pci_pir_find_link_handler()
193 intpin - entry->pe_intpin == lookup->pin) in pci_pir_find_link_handler()
194 *lookup->pci_link_ptr = pci_pir_find_link(intpin->link); in pci_pir_find_link_handler()
491 struct pci_link_lookup lookup; in pci_pir_route_interrupt() local
500 lookup.bus = bus; in pci_pir_route_interrupt()
501 lookup.device = device; in pci_pir_route_interrupt()
502 lookup.pin = pin - 1; in pci_pir_route_interrupt()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/modes/
Docb128.c281 OCB_BLOCK *lookup; in CRYPTO_ocb128_aad() local
284 lookup = ocb_lookup_l(ctx, ocb_ntz(i)); in CRYPTO_ocb128_aad()
285 if (lookup == NULL) in CRYPTO_ocb128_aad()
287 ocb_block16_xor(&ctx->sess.offset_aad, lookup, &ctx->sess.offset_aad); in CRYPTO_ocb128_aad()
362 OCB_BLOCK *lookup; in CRYPTO_ocb128_encrypt() local
366 lookup = ocb_lookup_l(ctx, ocb_ntz(i)); in CRYPTO_ocb128_encrypt()
367 if (lookup == NULL) in CRYPTO_ocb128_encrypt()
369 ocb_block16_xor(&ctx->sess.offset, lookup, &ctx->sess.offset); in CRYPTO_ocb128_encrypt()
458 OCB_BLOCK *lookup = ocb_lookup_l(ctx, ocb_ntz(i)); in CRYPTO_ocb128_decrypt() local
459 if (lookup == NULL) in CRYPTO_ocb128_decrypt()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DPhiValues.cpp52 assert(DepthMap.lookup(Phi) == 0); in processPhi()
62 unsigned int OpDepthNumber = DepthMap.lookup(PhiPhiOp); in processPhi()
65 OpDepthNumber = DepthMap.lookup(PhiPhiOp); in processPhi()
126 unsigned int DepthNumber = DepthMap.lookup(PN); in getValuesForPhi()
130 DepthNumber = DepthMap.lookup(PN); in getValuesForPhi()
171 unsigned int N = DepthMap.lookup(&PN); in print()
/freebsd-12-stable/lib/librpcsvc/
Dsecretkey.c63 char lookup[3 * HEXKEYBYTES]; in getsecretkey() local
68 if (!getpublicandprivatekey(netname, lookup)) in getsecretkey()
70 p = strchr(lookup, ':'); in getsecretkey()
/freebsd-12-stable/sys/kern/
Dsubr_firmware.c147 lookup(const char *name) in lookup() function
174 frp = lookup(imagename); in firmware_register()
187 if (lookup(imagename) != NULL) { in firmware_register()
220 fp = lookup(imagename); in firmware_unregister()
258 fp = lookup(imagename); in loadimage()
289 fp = lookup(imagename); in firmware_get()
318 fp = lookup(imagename); in firmware_get()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DWasmEHFuncInfo.h41 return SrcToUnwindDest.lookup(BB).get<const BasicBlock *>(); in getUnwindDest()
45 const auto &Set = UnwindDestToSrcs.lookup(BB); in getUnwindSrcs()
66 return SrcToUnwindDest.lookup(MBB).get<MachineBasicBlock *>(); in getUnwindDest()
71 const auto &Set = UnwindDestToSrcs.lookup(MBB); in getUnwindSrcs()
/freebsd-12-stable/sys/netinet/
Dip_encap.c99 encap_lookup_t lookup; member
244 (cfg->check == NULL && cfg->lookup == NULL) || in encap_attach()
245 (cfg->lookup != NULL && cfg->exact_match != ENCAP_DRV_LOOKUP) || in encap_attach()
246 (cfg->exact_match == ENCAP_DRV_LOOKUP && cfg->lookup == NULL)) in encap_attach()
257 ep->lookup = cfg->exact_match == ENCAP_DRV_LOOKUP ? cfg->lookup: NULL; in encap_attach()
311 ret = (*ep->lookup)(m, off, proto, &arg); in encap_input()
/freebsd-12-stable/contrib/sendmail/contrib/
Dbitdomain.c46 char *lookup();
144 otherdomain = lookup(node);
156 p = lookup(domain);
169 p = lookup(otherdomain);
337 char *lookup(node) in lookup() function
404 if (!strchr(p->domain, '.') && (domain = lookup(p->domain))) { in finish()
Ddnsblaccess.m425 dnl ## own message. The keytag is used to lookup the access map to
31 dnl ## the example, as it refers to a bogus lookup list.
46 dnl ## will lookup the A record for 7.6.45.123.bogus.org. If there
47 dnl ## is a temp failure for the lookup, sendmail will generate a
49 dnl ## A-record for this lookup, then the mail is treated as if the
50 dnl ## HACK line were not present. If the lookup returns 127.0.0.2,
75 define(`_EDNSBL_MSG_TMP_', `ifelse(_ARG3_,`t',`"451 Temporary lookup failure of " $`'&{client_addr}…
/freebsd-12-stable/libexec/bootpd/
DMakefile.UNIX143 lookup.o getif.o hwaddr.o tzone.o report.o $(STRERROR)
148 lookup.o hwaddr.o tzone.o report.o $(STRERROR)
162 TRYLOOK= trylook.o lookup.o report.o $(STRERROR)
199 lookup.o : bootp.h bptypes.h lookup.h report.h
201 readfile.o : bootp.h bptypes.h hash.h hwaddr.h lookup.h readfile.h

12345678910>>...32