Home
last modified time | relevance | path

Searched refs:nm (Results 1 – 25 of 495) sorted by relevance

12345678910>>...20

/openbsd/usr.sbin/ldpd/
H A Dnotification.c53 err |= gen_status_tlv(buf, nm->status_code, nm->msg_id, nm->msg_type); in send_notification_full()
60 err |= gen_returned_tlvs(buf, nm->rtlvs.type, nm->rtlvs.length, in send_notification_full()
61 nm->rtlvs.data); in send_notification_full()
80 struct notify_msg nm; in send_notification() local
82 memset(&nm, 0, sizeof(nm)); in send_notification()
84 nm.msg_id = msg_id; in send_notification()
96 memset(&nm, 0, sizeof(nm)); in send_notification_rtlvs()
98 nm.msg_id = msg_id; in send_notification_rtlvs()
116 struct notify_msg nm; in recv_notification() local
137 memset(&nm, 0, sizeof(nm)); in recv_notification()
[all …]
H A Dl2vpn.c337 struct notify_msg nm; in l2vpn_send_pw_status() local
339 memset(&nm, 0, sizeof(nm)); in l2vpn_send_pw_status()
341 nm.pw_status = status; in l2vpn_send_pw_status()
343 lde_fec2map(fec, &nm.fec); in l2vpn_send_pw_status()
344 nm.flags |= F_NOTIF_FEC; in l2vpn_send_pw_status()
347 sizeof(nm)); in l2vpn_send_pw_status()
354 struct notify_msg nm; in l2vpn_send_pw_status_wcard() local
356 memset(&nm, 0, sizeof(nm)); in l2vpn_send_pw_status_wcard()
358 nm.pw_status = status; in l2vpn_send_pw_status_wcard()
363 nm.flags |= F_NOTIF_FEC; in l2vpn_send_pw_status_wcard()
[all …]
/openbsd/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-nm/
H A DBUILD.gn7 visibility = [ ":llvm-nm" ]
12 symlink_or_copy("nm") {
13 deps = [ ":llvm-nm" ]
14 source = "llvm-nm"
15 output = "$root_out_dir/bin/nm"
19 # //:llvm-nm depends on this symlink target, see comment in //BUILD.gn.
21 deps = [ ":llvm-nm" ]
23 deps += [ ":nm" ]
27 driver_executable("llvm-nm") {
41 sources = [ "llvm-nm.cpp" ]
/openbsd/usr.sbin/unbound/daemon/
H A Dremote.c769 snprintf(nm, sizeof(nm), "thread%d", i); in print_thread_stats()
770 nm[sizeof(nm)-1]=0; in print_thread_stats()
935 snprintf(nm, sizeof(nm), "IXFR"); in print_ext()
937 snprintf(nm, sizeof(nm), "AXFR"); in print_ext()
939 snprintf(nm, sizeof(nm), "MAILA"); in print_ext()
941 snprintf(nm, sizeof(nm), "MAILB"); in print_ext()
943 snprintf(nm, sizeof(nm), "ANY"); in print_ext()
945 snprintf(nm, sizeof(nm), "TYPE%d", i); in print_ext()
962 snprintf(nm, sizeof(nm), "CLASS%d", i); in print_ext()
979 snprintf(nm, sizeof(nm), "OPCODE%d", i); in print_ext()
[all …]
H A Dcachedump.c144 char* nm, *tp, *cl; in dump_msg_ref() local
149 free(nm); in dump_msg_ref()
155 free(nm); in dump_msg_ref()
160 free(nm); in dump_msg_ref()
172 char* nm, *tp, *cl; in dump_msg() local
180 free(nm); in dump_msg()
187 free(nm); in dump_msg()
195 nm, cl, tp, in dump_msg()
203 free(nm); in dump_msg()
209 free(nm); in dump_msg()
[all …]
/openbsd/gnu/usr.bin/perl/t/porting/
H A Dlibperl.t85 my $nm;
131 $nm = '/usr/bin/nm';
133 $nm = '/usr/bin/nm';
150 unless (defined $nm) {
158 print "# nm = $nm\n";
162 unless (-x $nm) {
163 skip_all "no executable nm $nm";
167 open(my $gnu_verify, "$nm --version|") or
193 skip_all "$nm $nm_opt $libperl_a failed: $!";
505 warn "$0: Unexpected $nm error: $_";
[all …]
/openbsd/usr.sbin/tcpdump/
H A Dpfctl_osfp.c274 struct name_entry *nm; in pfctl_flush_my_fingerprints() local
279 free(nm); in pfctl_flush_my_fingerprints()
335 class = nm->nm_num; in pfctl_get_fingerprint()
445 struct name_entry *nm; in pfctl_lookup_fingerprint() local
473 list = &nm->nm_sublist; in pfctl_lookup_fingerprint()
483 nm->nm_name; in pfctl_lookup_fingerprint()
522 struct name_entry *nm; in lookup_name_list() local
525 return (nm); in lookup_name_list()
711 struct name_entry *nm; in print_name_list() local
715 nm->nm_name); in print_name_list()
[all …]
/openbsd/sbin/pfctl/
H A Dpfctl_osfp.c270 struct name_entry *nm; in pfctl_flush_my_fingerprints() local
275 free(nm); in pfctl_flush_my_fingerprints()
337 class = nm->nm_num; in pfctl_get_fingerprint()
447 struct name_entry *nm; in pfctl_lookup_fingerprint() local
475 list = &nm->nm_sublist; in pfctl_lookup_fingerprint()
485 nm->nm_name; in pfctl_lookup_fingerprint()
524 struct name_entry *nm; in lookup_name_list() local
527 return (nm); in lookup_name_list()
714 struct name_entry *nm; in print_name_list() local
718 nm->nm_name); in print_name_list()
[all …]
/openbsd/bin/pax/
H A Dfile_subs.c358 char *nm = arcn->name; in node_creat() local
380 len = readlink(nm, target, in node_creat()
385 nm, arcn->name); in node_creat()
390 nm = target; in node_creat()
393 res = mkdir(nm, file_mode); in node_creat()
408 res = mkfifo(nm, file_mode); in node_creat()
416 nm); in node_creat()
444 nm); in node_creat()
501 if (lstat(nm, &sb) == -1) { in node_creat()
510 set_pmode(nm, in node_creat()
[all …]
/openbsd/lib/libcrypto/pem/
H A Dpem_pkey.c80 char *nm = NULL; in PEM_read_bio_PrivateKey() local
87 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, in PEM_read_bio_PrivateKey()
92 if (strcmp(nm, PEM_STRING_PKCS8INF) == 0) { in PEM_read_bio_PrivateKey()
103 } else if (strcmp(nm, PEM_STRING_PKCS8) == 0) { in PEM_read_bio_PrivateKey()
130 } else if ((slen = pem_check_suffix(nm, "PRIVATE KEY")) > 0) { in PEM_read_bio_PrivateKey()
132 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); in PEM_read_bio_PrivateKey()
142 free(nm); in PEM_read_bio_PrivateKey()
178 char *nm = NULL; in PEM_read_bio_Parameters() local
190 if ((slen = pem_check_suffix(nm, "PARAMETERS")) > 0) { in PEM_read_bio_Parameters()
194 if (!EVP_PKEY_set_type_str(ret, nm, slen) || in PEM_read_bio_Parameters()
[all …]
H A Dpem_lib.c193 if (!strcmp(nm, name)) in check_pem()
201 if (!strcmp(nm, PEM_STRING_PKCS8)) in check_pem()
203 if (!strcmp(nm, PEM_STRING_PKCS8INF)) in check_pem()
238 if (!strcmp(nm, PEM_STRING_X509_OLD) && in check_pem()
247 if (!strcmp(nm, PEM_STRING_X509) && in check_pem()
256 if (!strcmp(nm, PEM_STRING_X509) && in check_pem()
283 char *nm = NULL, *header = NULL; in PEM_bytes_read_bio() local
295 if (check_pem(nm, name)) in PEM_bytes_read_bio()
297 free(nm); in PEM_bytes_read_bio()
310 *pnm = nm; in PEM_bytes_read_bio()
[all …]
/openbsd/sys/dev/gpio/
H A Dgpio.c288 struct gpio_name *nm; in gpio_pinbyname() local
292 return (nm->gp_pin); in gpio_pinbyname()
305 struct gpio_name *nm; in gpio_ioctl() local
477 if (nm->gp_pin == pin) { in gpio_ioctl()
479 sizeof(nm->gp_name)); in gpio_ioctl()
484 nm = malloc(sizeof(*nm), M_DEVBUF, M_WAITOK); in gpio_ioctl()
486 sizeof(nm->gp_name)); in gpio_ioctl()
487 nm->gp_pin = set->gp_pin; in gpio_ioctl()
512 if (nm->gp_pin == pin) { in gpio_ioctl()
513 LIST_REMOVE(nm, gp_next); in gpio_ioctl()
[all …]
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dsanity.sh17 for i in size objdump nm ar strip ranlib ; do
22 for i in size objdump nm ar strip ranlib ; do
27 for i in size objdump nm ar strip ranlib ; do
28 ${BIN}/nm ${BIN}/$i > /dev/null
37 for i in size objdump nm ar ranlib ; do
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dsanity.sh17 for i in size objdump nm ar strip ranlib ; do
22 for i in size objdump nm ar strip ranlib ; do
27 for i in size objdump nm ar strip ranlib ; do
28 ${BIN}/nm ${BIN}/$i > /dev/null
37 for i in size objdump nm ar ranlib ; do
/openbsd/sbin/unwind/libunbound/validator/
H A Dval_nsec3.c284 uint8_t* nm, *zone; in nsec3_get_nextowner_b32() local
344 uint8_t* nm; in filter_next() local
423 uint8_t* nm; in filter_init() local
453 filter->zone = nm; in filter_init()
742 query_dname_compare(nm+(size_t)nm[0]+1, flt->zone) == 0) { in nsec3_hash_matches_owner()
957 ce->ce = nm; in nsec3_find_closest_encloser()
982 *nm = qname; in next_closer()
1099 uint8_t* nm; in nsec3_ce_wildcard() local
1103 if(!nm) { in nsec3_ce_wildcard()
1107 nm[0] = 1; in nsec3_ce_wildcard()
[all …]
H A Dval_nsec.c125 *nm = 0; in nsec_get_next()
129 *nm = d->rr_data[0]+2; in nsec_get_next()
130 *ln = dname_valid(*nm, d->rr_len[0]-2); in nsec_get_next()
132 *nm = 0; in nsec_get_next()
303 uint8_t* nm; in nsec_proves_nodata() local
313 if(!nsec_get_next(nsec, &nm, &ln)) in nsec_proves_nodata()
315 if(dname_strict_subdomain_c(nm, qinfo->qname) && in nsec_proves_nodata()
361 if (dname_subdomain_c(qinfo->qname, nm)) in nsec_proves_nodata()
366 if (dname_is_wild(nm)) { in nsec_proves_nodata()
368 uint8_t* ce = nm; in nsec_proves_nodata()
[all …]
/openbsd/usr.sbin/unbound/validator/
H A Dval_nsec3.c284 uint8_t* nm, *zone; in nsec3_get_nextowner_b32() local
344 uint8_t* nm; in filter_next() local
423 uint8_t* nm; in filter_init() local
453 filter->zone = nm; in filter_init()
742 query_dname_compare(nm+(size_t)nm[0]+1, flt->zone) == 0) { in nsec3_hash_matches_owner()
957 ce->ce = nm; in nsec3_find_closest_encloser()
982 *nm = qname; in next_closer()
1099 uint8_t* nm; in nsec3_ce_wildcard() local
1103 if(!nm) { in nsec3_ce_wildcard()
1107 nm[0] = 1; in nsec3_ce_wildcard()
[all …]
H A Dval_nsec.c125 *nm = 0; in nsec_get_next()
129 *nm = d->rr_data[0]+2; in nsec_get_next()
130 *ln = dname_valid(*nm, d->rr_len[0]-2); in nsec_get_next()
132 *nm = 0; in nsec_get_next()
303 uint8_t* nm; in nsec_proves_nodata() local
313 if(!nsec_get_next(nsec, &nm, &ln)) in nsec_proves_nodata()
315 if(dname_strict_subdomain_c(nm, qinfo->qname) && in nsec_proves_nodata()
361 if (dname_subdomain_c(qinfo->qname, nm)) in nsec_proves_nodata()
366 if (dname_is_wild(nm)) { in nsec_proves_nodata()
368 uint8_t* ce = nm; in nsec_proves_nodata()
[all …]
/openbsd/usr.sbin/unbound/ipsecmod/
H A Dipsecmod-whitelist.c61 uint8_t* nm = sldns_str2wire_dname(name, &len); in whitelist_str_cfg() local
62 if(!nm) { in whitelist_str_cfg()
69 free(nm); in whitelist_str_cfg()
73 n->name = nm; in whitelist_str_cfg()
75 n->labs = dname_count_labels(nm); in whitelist_str_cfg()
77 if(!name_tree_insert(whitelist, n, nm, len, n->labs, n->dclass)) { in whitelist_str_cfg()
/openbsd/usr.bin/nm/
H A DMakefile3 PROG= nm
4 SRCS= nm.c elf32.c elf64.c
7 LINKS= ${BINDIR}/nm ${BINDIR}/size
8 MAN= nm.1 size.1
/openbsd/gnu/llvm/llvm/tools/llvm-nm/
H A DCMakeLists.txt19 add_llvm_tool(llvm-nm
20 llvm-nm.cpp
29 add_llvm_tool_symlink(nm llvm-nm)
/openbsd/usr.sbin/quot/
H A Dquot.c589 _PATH_DEV, nm + 1); in main()
590 nm = dev; in main()
592 nm = mp->f_mntfromname; in main()
593 quot(nm, mp->f_mntonname); in main()
599 nm = *argv; in main()
602 cp = nm + strlen(nm); in main()
603 while (*(--cp) == '/' && cp != nm) in main()
617 nm = mp[i].f_mntfromname; in main()
627 nm + sizeof(_PATH_DEV) - 1); in main()
628 nm = dev; in main()
[all …]
/openbsd/lib/libcrypto/asn1/
H A Dx_name.c310 } nm = {NULL}; in x509_name_ex_d2i() local
325 if (!x509_name_ex_new(&nm.a, NULL)) in x509_name_ex_d2i()
328 if (!BUF_MEM_grow(nm.x->bytes, p - q)) in x509_name_ex_d2i()
330 memcpy(nm.x->bytes->data, q, p - q); in x509_name_ex_d2i()
344 ret = x509_name_canon(nm.x); in x509_name_ex_d2i()
347 nm.x->modified = 0; in x509_name_ex_d2i()
348 *val = nm.a; in x509_name_ex_d2i()
353 if (nm.x != NULL) in x509_name_ex_d2i()
354 X509_NAME_free(nm.x); in x509_name_ex_d2i()
656 if (i2d_X509_NAME(nm, NULL) <= 0) in X509_NAME_get0_der()
[all …]
/openbsd/usr.sbin/unbound/edns-subnet/
H A Dsubnet-whitelist.c136 uint8_t* nm, *nmr; in read_names() local
142 nm = sldns_str2wire_dname(p->str, &nm_len); in read_names()
143 if(!nm) { in read_names()
147 nm_labs = dname_count_size_labels(nm, &nm_len); in read_names()
148 nmr = (uint8_t*)regional_alloc_init(whitelist->region, nm, in read_names()
150 free(nm); in read_names()
/openbsd/lib/libc/gen/
H A Ddisklabel.c138 const char * const *nm; in gettype() local
140 for (nm = names; *nm; nm++) in gettype()
141 if (strcasecmp(t, *nm) == 0) in gettype()
142 return (nm - names); in gettype()

12345678910>>...20