Searched refs:nm (Results 51 - 75 of 238) sorted by relevance

12345678910

/openbsd-current/usr.sbin/config/
H A Dmkmakefile.c473 const char *nm, *swname; local
485 nm = cf->cf_name;
488 if (fprintf(fp, "%s: ${SYSTEM_DEP} swap%s.o", nm, swname) < 0)
503 if (fprintf(fp, "swap%s.c\n", nm) < 0)
512 if (fprintf(fp, "new%s:\n", nm) < 0)
521 swname, nm, nm, nm) < 0)
/openbsd-current/sbin/unwind/libunbound/validator/
H A Dval_neg.c281 uint8_t* nm, size_t len, uint16_t dclass)
286 lookfor.name = nm;
299 * @param nm: what to look for.
300 * @param len: length of nm
301 * @param labs: labels in nm
305 uint8_t* nm, size_t len, int labs)
310 lookfor.name = nm;
364 * @param nm: name to look for
365 * @param nm_len: length of nm
366 * @param labs: labelcount of nm
280 neg_find_zone(struct val_neg_cache* neg, uint8_t* nm, size_t len, uint16_t dclass) argument
304 neg_find_data(struct val_neg_zone* zone, uint8_t* nm, size_t len, int labs) argument
370 neg_closest_zone_parent(struct val_neg_cache* neg, uint8_t* nm, size_t nm_len, int labs, uint16_t qclass) argument
410 neg_closest_data_parent( struct val_neg_zone* zone, uint8_t* nm, size_t nm_len, int labs) argument
449 neg_setup_zone_node( uint8_t* nm, size_t nm_len, int labs, uint16_t dclass) argument
482 neg_zone_chain( uint8_t* nm, size_t nm_len, int labs, uint16_t dclass, struct val_neg_zone* parent) argument
530 neg_create_zone(struct val_neg_cache* neg, uint8_t* nm, size_t nm_len, uint16_t dclass) argument
602 neg_setup_data_node( uint8_t* nm, size_t nm_len, int labs) argument
629 neg_data_chain( uint8_t* nm, size_t nm_len, int labs, struct val_neg_data* parent) argument
754 uint8_t* nm = nsec->rk.dname; local
1351 uint8_t* nm; local
[all...]
H A Dval_anchor.h202 * @param nm: name of insecure trust point.
205 int anchors_add_insecure(struct val_anchors* anchors, uint16_t c, uint8_t* nm);
212 * @param nm: name of insecure trust point.
215 uint8_t* nm);
/openbsd-current/usr.sbin/unbound/validator/
H A Dval_neg.c281 uint8_t* nm, size_t len, uint16_t dclass)
286 lookfor.name = nm;
299 * @param nm: what to look for.
300 * @param len: length of nm
301 * @param labs: labels in nm
305 uint8_t* nm, size_t len, int labs)
310 lookfor.name = nm;
364 * @param nm: name to look for
365 * @param nm_len: length of nm
366 * @param labs: labelcount of nm
280 neg_find_zone(struct val_neg_cache* neg, uint8_t* nm, size_t len, uint16_t dclass) argument
304 neg_find_data(struct val_neg_zone* zone, uint8_t* nm, size_t len, int labs) argument
370 neg_closest_zone_parent(struct val_neg_cache* neg, uint8_t* nm, size_t nm_len, int labs, uint16_t qclass) argument
410 neg_closest_data_parent( struct val_neg_zone* zone, uint8_t* nm, size_t nm_len, int labs) argument
449 neg_setup_zone_node( uint8_t* nm, size_t nm_len, int labs, uint16_t dclass) argument
482 neg_zone_chain( uint8_t* nm, size_t nm_len, int labs, uint16_t dclass, struct val_neg_zone* parent) argument
530 neg_create_zone(struct val_neg_cache* neg, uint8_t* nm, size_t nm_len, uint16_t dclass) argument
602 neg_setup_data_node( uint8_t* nm, size_t nm_len, int labs) argument
629 neg_data_chain( uint8_t* nm, size_t nm_len, int labs, struct val_neg_data* parent) argument
754 uint8_t* nm = nsec->rk.dname; local
1351 uint8_t* nm; local
[all...]
H A Dval_anchor.h202 * @param nm: name of insecure trust point.
205 int anchors_add_insecure(struct val_anchors* anchors, uint16_t c, uint8_t* nm);
212 * @param nm: name of insecure trust point.
215 uint8_t* nm);
H A Dval_anchor.c385 uint8_t* nm = sldns_str2wire_dname(str, &dname_len); local
386 if(!nm) {
390 ta = anchor_store_new_key(anchors, nm, LDNS_RR_TYPE_DS,
392 free(nm);
1050 char* nm; local
1077 nm = f->str;
1078 if(cfg->chrootdir && cfg->chrootdir[0] && strncmp(nm,
1080 nm += strlen(cfg->chrootdir);
1081 if(!anchor_read_file(anchors, parsebuf, nm, 0)) {
1090 nm
1188 anchors_add_insecure(struct val_anchors* anchors, uint16_t c, uint8_t* nm) argument
1213 anchors_delete_insecure(struct val_anchors* anchors, uint16_t c, uint8_t* nm) argument
[all...]
/openbsd-current/gnu/usr.bin/perl/hints/
H A Dqnx.sh29 # nm This is used (optionally) by configure to list
175 # Add -lunix to list of libs. This is needed mainly so the nm
191 # Here is a nm script which fixes up wlib's output to look
192 # something like nm's, at least enough so that Configure can
195 if [ -z "`which nm 2>/dev/null`" ]; then
197 Creating a quick-and-dirty nm cover for Configure to use:
200 cat >./UU/nm <<-'EOF'
204 # Designed to mimic Unix's nm utility to list
216 chmod +x ./UU/nm
/openbsd-current/games/hunt/huntd/
H A Dconf.c272 char nm[MAXNAMLEN + 1]; local
287 snprintf(nm, sizeof nm, fnms[fn], home);
288 if ((f = fopen(nm, "r")) != NULL) {
289 load_config(f, nm);
293 logit(LOG_WARNING, "%s", nm);
/openbsd-current/usr.sbin/unbound/iterator/
H A Diter_priv.c114 uint8_t* nm, *nmr; local
120 nm = sldns_str2wire_dname(p->str, &nm_len);
121 if(!nm) {
125 nm_labs = dname_count_size_labels(nm, &nm_len);
126 nmr = (uint8_t*)regional_alloc_init(priv->region, nm, nm_len);
127 free(nm);
H A Diter_fwd.c111 forwards_insert_data(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, argument
122 node->name = memdup(nm, nmlen);
133 dname_str(nm, buf);
299 fwd_add_stub_hole(struct iter_forwards* fwd, uint16_t c, uint8_t* nm) argument
304 key.name = nm;
507 fwd_zone_find(struct iter_forwards* fwd, uint16_t c, uint8_t* nm) argument
512 key.name = nm;
513 key.namelabs = dname_count_size_labels(nm, &key.namelen);
538 forwards_delete_zone(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, argument
544 if(!(z=fwd_zone_find(fwd, c, nm))) {
555 forwards_add_stub_hole(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, int nolock) argument
574 forwards_delete_stub_hole(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, int nolock) argument
[all...]
/openbsd-current/sbin/unwind/libunbound/iterator/
H A Diter_priv.c114 uint8_t* nm, *nmr; local
120 nm = sldns_str2wire_dname(p->str, &nm_len);
121 if(!nm) {
125 nm_labs = dname_count_size_labels(nm, &nm_len);
126 nmr = (uint8_t*)regional_alloc_init(priv->region, nm, nm_len);
127 free(nm);
H A Diter_fwd.c111 forwards_insert_data(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, argument
122 node->name = memdup(nm, nmlen);
133 dname_str(nm, buf);
299 fwd_add_stub_hole(struct iter_forwards* fwd, uint16_t c, uint8_t* nm) argument
304 key.name = nm;
507 fwd_zone_find(struct iter_forwards* fwd, uint16_t c, uint8_t* nm) argument
512 key.name = nm;
513 key.namelabs = dname_count_size_labels(nm, &key.namelen);
538 forwards_delete_zone(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, argument
544 if(!(z=fwd_zone_find(fwd, c, nm))) {
555 forwards_add_stub_hole(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, int nolock) argument
574 forwards_delete_stub_hole(struct iter_forwards* fwd, uint16_t c, uint8_t* nm, int nolock) argument
[all...]
/openbsd-current/usr.sbin/unbound/smallapp/
H A Dunbound-control.c192 #define PR_UL_NM(str, var) printf("%s."str SQ"%lu\n", nm, (unsigned long)(var));
194 #define PR_UL_SUB(str, nm, var) printf(str".%s"SQ"%lu\n", nm, (unsigned long)(var));
202 static void pr_stats(const char* nm, struct ub_stats_info* s) argument
229 printf("%s.requestlist.avg"SQ"%g\n", nm,
244 printf("%s.", nm);
246 printf("%s.recursion.time.median"SQ"%g\n", nm, s->mesh_time_median);
311 char nm[16]; local
317 sldns_wire2str_type_buf((uint16_t)i, nm, sizeof(nm));
427 char nm[32]; local
[all...]
H A Dunbound-host.c117 isip4(const char* nm, char** res) argument
122 if(inet_pton(AF_INET, nm, &addr) <= 0) {
134 isip6(const char* nm, char** res) argument
142 if(inet_pton(AF_INET6, nm, &addr) <= 0) {
164 massage_qname(const char* nm, int* reverse) argument
168 if(isip4(nm, &res)) {
170 } else if(isip6(nm, &res)) {
173 res = strdup(nm);
385 lookup(struct ub_ctx* ctx, const char* nm, const char* qt, const char* qc) argument
390 char* realq = massage_qname(nm,
[all...]
/openbsd-current/gnu/usr.bin/binutils/binutils/doc/
H A DMakefile.am22 nm.1 \
74 nm.1: $(binutils_TEXI)
76 -$(TEXI2POD) $(MANCONF) -Dnm < $(binutils_TEXI) > nm.pod
77 -($(POD2MAN) nm.pod | sed -e '/^.if n .na/d' > $@.T$$$$ && \
79 rm -f nm.pod
/openbsd-current/usr.sbin/unbound/util/
H A Dconfiglexer.lex69 char* nm;
87 nm = strdup(filename);
88 if(!nm) {
98 free(nm);
109 cfg_parser->filename = nm;
/openbsd-current/sbin/unwind/libunbound/util/
H A Dconfiglexer.lex69 char* nm;
87 nm = strdup(filename);
88 if(!nm) {
98 free(nm);
109 cfg_parser->filename = nm;
/openbsd-current/lib/libcrypto/asn1/
H A Dx_name.c308 } nm = {NULL}; local
323 if (!x509_name_ex_new(&nm.a, NULL))
326 if (!BUF_MEM_grow(nm.x->bytes, p - q))
328 memcpy(nm.x->bytes->data, q, p - q);
336 if (!sk_X509_NAME_ENTRY_push(nm.x->entries, entry))
342 ret = x509_name_canon(nm.x);
345 nm.x->modified = 0;
346 *val = nm.a;
351 if (nm.x != NULL)
352 X509_NAME_free(nm
651 X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder, size_t *pderlen) argument
[all...]
/openbsd-current/lib/libcrypto/ocsp/
H A Docsp_vfy.c76 X509_NAME *nm, STACK_OF(X509) *certs, X509_STORE *st,
387 X509_NAME *nm; local
401 nm = gen->d.directoryName;
402 ret = ocsp_req_find_signer(&signer, req, nm, certs, store, flags);
456 ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, argument
462 signer = X509_find_by_subject(req->optionalSignature->certs, nm);
469 signer = X509_find_by_subject(certs, nm);
/openbsd-current/usr.sbin/unbound/services/cache/
H A Dinfra.c160 uint8_t* nm; local
166 nm = sldns_str2wire_dname(name, &nmlen);
167 if(!nm) {
171 labs = dname_count_labels(nm);
175 nm, nmlen, labs, LDNS_RR_CLASS_IN);
177 free(nm);
184 free(nm);
188 d->node.name = nm;
194 if(!name_tree_insert(&infra->domain_limits, &d->node, nm, nmlen,
197 free(nm);
536 infra_host(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to) argument
608 infra_set_lame(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow, int dnsseclame, int reclame, uint16_t qtype) argument
646 infra_update_tcp_works(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen) argument
664 infra_rtt_update(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, int qtype, int roundtrip, int orig_rtt, time_t timenow) argument
726 infra_get_host_rto(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, struct rtt_info* rtt, int* delay, time_t timenow, int* tA, int* tAAAA, int* tother) argument
752 infra_edns_update(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, int edns_version, time_t timenow) argument
[all...]
/openbsd-current/sbin/unwind/libunbound/services/cache/
H A Dinfra.c160 uint8_t* nm; local
166 nm = sldns_str2wire_dname(name, &nmlen);
167 if(!nm) {
171 labs = dname_count_labels(nm);
175 nm, nmlen, labs, LDNS_RR_CLASS_IN);
177 free(nm);
184 free(nm);
188 d->node.name = nm;
194 if(!name_tree_insert(&infra->domain_limits, &d->node, nm, nmlen,
197 free(nm);
536 infra_host(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to) argument
608 infra_set_lame(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow, int dnsseclame, int reclame, uint16_t qtype) argument
646 infra_update_tcp_works(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen) argument
664 infra_rtt_update(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, int qtype, int roundtrip, int orig_rtt, time_t timenow) argument
726 infra_get_host_rto(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, struct rtt_info* rtt, int* delay, time_t timenow, int* tA, int* tAAAA, int* tother) argument
752 infra_edns_update(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, int edns_version, time_t timenow) argument
[all...]
/openbsd-current/lib/libcrypto/x509/
H A Dx509_alt.c445 X509_NAME *nm; local
459 nm = X509_get_subject_name(ctx->subject_cert);
461 nm = X509_REQ_get_subject_name(ctx->subject_req);
465 while ((i = X509_NAME_get_index_by_NID(nm,
467 ne = X509_NAME_get_entry(nm, i);
470 X509_NAME_delete_entry(nm, i);
763 X509_NAME *nm; local
765 if (!(nm = X509_NAME_new()))
771 X509_NAME_free(nm);
775 ret = X509V3_NAME_from_section(nm, s
[all...]
/openbsd-current/usr.sbin/gpioctl/
H A Dgpioctl.c144 char *nm = NULL; local
149 nm = argv[1]; /* try named pin */
164 pinset(pin, nm, fl, nam);
166 unset(pin, nm);
181 pinwrite(pin, nm, value);
184 pinread(pin, nm);
/openbsd-current/usr.sbin/unbound/services/
H A Dauthzone.h572 struct auth_zone* auth_zone_find(struct auth_zones* az, uint8_t* nm,
576 struct auth_xfer* auth_xfer_find(struct auth_zones* az, uint8_t* nm,
581 struct auth_zone* auth_zone_create(struct auth_zones* az, uint8_t* nm,
593 * @param nm: name of delegation point.
594 * @param nmlen: length of nm.
600 int auth_zones_can_fallback(struct auth_zones* az, uint8_t* nm, size_t nmlen,
610 * @param nm: name of the zone. Uncompressed. from query.
622 uint8_t* nm, size_t nmlen, uint16_t dclass,
634 struct module_env* env, uint8_t* nm, size_t nmlen, uint16_t dclass);
/openbsd-current/sbin/unwind/libunbound/services/
H A Dauthzone.h572 struct auth_zone* auth_zone_find(struct auth_zones* az, uint8_t* nm,
576 struct auth_xfer* auth_xfer_find(struct auth_zones* az, uint8_t* nm,
581 struct auth_zone* auth_zone_create(struct auth_zones* az, uint8_t* nm,
593 * @param nm: name of delegation point.
594 * @param nmlen: length of nm.
600 int auth_zones_can_fallback(struct auth_zones* az, uint8_t* nm, size_t nmlen,
610 * @param nm: name of the zone. Uncompressed. from query.
622 uint8_t* nm, size_t nmlen, uint16_t dclass,
634 struct module_env* env, uint8_t* nm, size_t nmlen, uint16_t dclass);

Completed in 234 milliseconds

12345678910