Home
last modified time | relevance | path

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

12345678910>>...18

/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dnamemap_internal_test.c21 OSSL_NAMEMAP *nm = NULL; in test_namemap_empty() local
25 && TEST_ptr(nm = ossl_namemap_new()) in test_namemap_empty()
26 && TEST_int_eq(ossl_namemap_empty(nm), 1) in test_namemap_empty()
27 && TEST_int_ne(ossl_namemap_add_name(nm, 0, NAME1), 0) in test_namemap_empty()
28 && TEST_int_eq(ossl_namemap_empty(nm), 0); in test_namemap_empty()
29 ossl_namemap_free(nm); in test_namemap_empty()
33 static int test_namemap(OSSL_NAMEMAP *nm) in test_namemap() argument
35 int num1 = ossl_namemap_add_name(nm, 0, NAME1); in test_namemap()
36 int num2 = ossl_namemap_add_name(nm, 0, NAME2); in test_namemap()
37 int num3 = ossl_namemap_add_name(nm, num1, ALIAS1); in test_namemap()
[all …]
/netbsd/src/tests/usr.bin/cut/
Dd_basic.out10 qwe:rty:uio:p[]:asd:fgh:jkl:zxc:vbn:nm
11 :qwe:::rty:uio::p[]:asd:fgh:jkl:zxc:vbn:nm
21 qwe:rty:uio:p[]:asd:fgh:jkl:zxc:vbn:nm
22 :qwe:::rty:uio::p[]:asd:fgh:jkl:zxc:vbn:nm
32 qwe:rty:uio:p[]:asd:fgh:jkl:zxc:vbn:nm
33 :qwe:::rty:uio::p[]:asd:fgh:jkl:zxc:vbn:nm
43 qwe:rty:uio:p[]:asd:fgh:jkl:zxc:vbn:nm
44 :qwe:::rty:uio::p[]:asd:fgh:jkl:zxc:vbn:nm
54 qwe:rty:uio:p[]:asd:fgh:jkl:zxc:vbn:nm
55 :qwe:::rty:uio::p[]:asd:fgh:jkl:zxc:vbn:nm
[all …]
Dd_dflag.out6 … rty uio p[] asd fgh jkl zxc vbn nm
17 … rty uio p[] asd fgh jkl zxc vbn nm
28 … rty uio p[] asd fgh jkl zxc vbn nm
39 … rty uio p[] asd fgh jkl zxc vbn nm
50 … rty uio p[] asd fgh jkl zxc vbn nm
61 … rty uio p[] asd fgh jkl zxc vbn nm
72 … rty uio p[] asd fgh jkl zxc vbn nm
83 … rty uio p[] asd fgh jkl zxc vbn nm
/netbsd/src/sys/arch/hpc/hpc/
Dplatid.awk66 mode_name[mode], nm, saved_name, enumerator[mode]) > out_h
68 mode_name[mode], nm, saved_name) > out_h
70 mode_name[mode], nm, saved_name, shifts[mode, nest]) > out_h
83 mode_name[mode], nm, saved_name) > out_mask_h
87 nm, saved_name,
88 mode_name[mode], nm, saved_name) > out_mask_h
91 nm, saved_name,
92 mode_name[mode], nm, saved_name) > out_mask_h
100 mode_name[mode], nm, saved_name) > out_mask_c
103 mode_name[mode], nm, saved_name) > out_mask_c
[all …]
/netbsd/src/dist/pf/sbin/pfctl/
Dpfctl_osfp.c285 struct name_entry *nm; in pfctl_flush_my_fingerprints() local
287 while ((nm = LIST_FIRST(list)) != NULL) { in pfctl_flush_my_fingerprints()
288 LIST_REMOVE(nm, nm_entry); in pfctl_flush_my_fingerprints()
289 pfctl_flush_my_fingerprints(&nm->nm_sublist); in pfctl_flush_my_fingerprints()
290 free(nm); in pfctl_flush_my_fingerprints()
340 struct name_entry *nm, *class_nm, *version_nm, *subtype_nm; in pfctl_get_fingerprint() local
351 if ((nm = lookup_name_list(&classes, name))) { in pfctl_get_fingerprint()
352 class = nm->nm_num; in pfctl_get_fingerprint()
462 struct name_entry *nm; in pfctl_lookup_fingerprint() local
485 LIST_FOREACH(nm, &classes, nm_entry) { in pfctl_lookup_fingerprint()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/evp/
Dlegacy_meth.h10 #define IMPLEMENT_LEGACY_EVP_MD_METH(nm, fn) \ argument
11 static int nm##_init(EVP_MD_CTX *ctx) \
15 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
19 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \
24 #define IMPLEMENT_LEGACY_EVP_MD_METH_LC(nm, fn) \ argument
25 static int nm##_init(EVP_MD_CTX *ctx) \
29 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
33 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \
Dnames.c203 static void do_all_cipher_fn(const OBJ_NAME *nm, void *arg) in do_all_cipher_fn() argument
206 if (nm->alias) in do_all_cipher_fn()
207 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
209 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); in do_all_cipher_fn()
246 static void do_all_md_fn(const OBJ_NAME *nm, void *arg) in do_all_md_fn() argument
249 if (nm->alias) in do_all_md_fn()
250 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_md_fn()
252 dc->fn((const EVP_MD *)nm->data, nm->name, NULL, dc->arg); in do_all_md_fn()
Dlegacy_sha.c29 #define IMPLEMENT_LEGACY_EVP_MD_METH_SHA3(nm, fn, tag) \ argument
30 static int nm##_init(EVP_MD_CTX *ctx) \
34 static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
38 static int nm##_final(EVP_MD_CTX *ctx, unsigned char *md) \
42 #define IMPLEMENT_LEGACY_EVP_MD_METH_SHAKE(nm, fn, tag) \ argument
43 static int nm##_init(EVP_MD_CTX *ctx) \
/netbsd/src/external/lgpl3/gmp/dist/mpz/
Dmillerrabin.c66 mpz_t nm, x, y, q; in mpz_millerrabin() local
74 MPZ_TMP_INIT (nm, SIZ (n) + 1); in mpz_millerrabin()
75 mpz_tdiv_q_2exp (nm, n, 1); in mpz_millerrabin()
82 k = mpz_scan1 (nm, 0L); in mpz_millerrabin()
83 mpz_tdiv_q_2exp (q, nm, k); in mpz_millerrabin()
126 …|| SIZ (nm) - GMP_BPSW_LIMBS_LIMIT + 1 == (PTR (nm) [GMP_BPSW_LIMBS_LIMIT - 1] < GMP_BPSW_LIMB_CON… in mpz_millerrabin()
146 mpz_sub_ui (nm, nm, 2L); in mpz_millerrabin()
147 ASSERT (mpz_cmp_ui (nm, 1L) >= 0); in mpz_millerrabin()
154 mpz_urandomm (x, rstate, nm); in mpz_millerrabin()
/netbsd/src/external/gpl3/gcc/dist/contrib/
Ddg-cmp-results.sh124 function push(st, nm) {
125 queueN += 1; status[queueN] = st; name[queueN] = nm
137 function compare(st, nm) {
143 printf("NA->%s:%s\n", st, nm)
150 status[old], name[old], st, nm)
152 if (name[old] != nm) {
157 if (nm != "") printf("NA->%s:%s\n", st, nm)
165 if (verbose >= 3) printf("%s:%s\n", st, nm)
183 if (notable > 0) printf("%s->%s:%s\n", status[old], st, nm)
/netbsd/src/external/bsd/openpam/dist/t/
Dt_pam_conv.c63 t_pam_conv(int nm, const struct pam_message **msgs, in t_pam_conv() argument
71 if (nm != s->nmsg) { in t_pam_conv()
73 s->nmsg, nm); in t_pam_conv()
76 if (nm <= 0 || nm > PAM_MAX_NUM_MSG) { in t_pam_conv()
83 if ((resps = calloc(nm, sizeof *resps)) == NULL) in t_pam_conv()
85 for (i = 0; i < nm; ++i) { in t_pam_conv()
128 for (i = 0; i < nm; ++i) in t_pam_conv()
/netbsd/src/bin/pax/
Dfile_subs.c474 char *nm = arcn->name; in node_creat() local
494 while (lstat(nm, &sb) == 0 && in node_creat()
496 len = readlink(nm, target, in node_creat()
502 nm, arcn->name); in node_creat()
507 nm = target; in node_creat()
510 res = domkdir(nm, file_mode); in node_creat()
517 res = mknod(nm, file_mode, arcn->sb.st_rdev); in node_creat()
521 res = mknod(nm, file_mode, arcn->sb.st_rdev); in node_creat()
524 res = mkfifo(nm, file_mode); in node_creat()
532 nm); in node_creat()
[all …]
/netbsd/src/usr.sbin/npf/npftest/libnpftest/
Dnpf_table_test.c94 const int nm = NPF_NO_NETMASK; in fill_with_ip4() local
103 error = npf_table_insert(t, alen, addr, nm); in fill_with_ip4()
105 error = npf_table_insert(t, alen, addr, nm); in fill_with_ip4()
109 error = npf_table_insert(t, alen, addr, nm); in fill_with_ip4()
111 error = npf_table_insert(t, alen, addr, nm); in fill_with_ip4()
122 const int nm = NPF_NO_NETMASK; in verify_ip4() local
130 error = npf_table_insert(t, alen, addr, nm); in verify_ip4()
134 error = npf_table_insert(t, alen, addr, nm); in verify_ip4()
157 const int nm = NPF_NO_NETMASK; in clear_ip4() local
166 error = npf_table_remove(t, alen, addr, nm); in clear_ip4()
[all …]
/netbsd/src/sys/coda/
Dcoda_venus.h83 const char *nm, int len,
89 const char *nm, int len, int exclusive, int mode, struct vattr *va,
95 const char *nm, int len,
100 const char *nm, int len,
105 const char *nm, int len, const char *tnm, int tlen,
110 const char *nm, int len, struct vattr *va,
116 const char *nm, int len,
121 const char *lnm, int llen, const char *nm, int len, struct vattr *va,
Dcoda_vnops.c890 const char *nm = cnp->cn_nameptr; in coda_lookup() local
899 nm, coda_f2s(&dcp->c_fid)));) in coda_lookup()
911 if (IS_CTL_NAME(dvp, nm, len)) { in coda_lookup()
922 __func__, coda_f2s(&dcp->c_fid), nm));) in coda_lookup()
933 cp = coda_nc_lookup(dcp, nm, len, cred); in coda_lookup()
941 error = venus_lookup(vtomi(dvp), &dcp->c_fid, nm, len, cred, l, &VFid, in coda_lookup()
947 __func__, coda_f2s(&dcp->c_fid), nm, error));) in coda_lookup()
964 coda_nc_enter(VTOC(dvp), nm, len, cred, VTOC(*vpp)); in coda_lookup()
1004 const char *nm = cnp->cn_nameptr; in coda_create() local
1015 if (IS_CTL_NAME(dvp, nm, len)) { in coda_create()
[all …]
Dcoda_venus.c472 const char *nm, int len, in venus_lookup() argument
496 STRCPY(name, nm, len); /* increments Isize */ in venus_lookup()
511 const char *nm, int len, int exclusive, int mode, struct vattr *va, in venus_create() argument
527 STRCPY(name, nm, len); /* increments Isize */ in venus_create()
542 const char *nm, int len, in venus_remove() argument
554 STRCPY(name, nm, len); /* increments Isize */ in venus_remove()
564 const char *nm, int len, in venus_link() argument
577 STRCPY(tname, nm, len); /* increments Isize */ in venus_link()
587 const char *nm, int len, const char *tnm, int tlen, in venus_rename() argument
600 STRCPY(srcname, nm, len); /* increments Isize */ in venus_rename()
[all …]
/netbsd/src/external/cddl/osnet/dist/common/zfs/
Dzfs_comutil.c73 char *nm; in zpool_get_rewind_policy() local
86 nm = nvpair_name(elem); in zpool_get_rewind_policy()
87 if (strcmp(nm, ZPOOL_REWIND_POLICY) == 0) { in zpool_get_rewind_policy()
91 } else if (strcmp(nm, ZPOOL_REWIND_REQUEST) == 0) { in zpool_get_rewind_policy()
95 } else if (strcmp(nm, ZPOOL_REWIND_REQUEST_TXG) == 0) { in zpool_get_rewind_policy()
97 } else if (strcmp(nm, ZPOOL_REWIND_META_THRESH) == 0) { in zpool_get_rewind_policy()
99 } else if (strcmp(nm, ZPOOL_REWIND_DATA_THRESH) == 0) { in zpool_get_rewind_policy()
/netbsd/src/sys/dev/gpio/
Dgpio.c234 struct gpio_name *nm; in gpio_attach() local
257 nm = kmem_alloc(sizeof(*nm), KM_SLEEP); in gpio_attach()
258 strlcpy(nm->gp_name, defname, sizeof(nm->gp_name)); in gpio_attach()
259 nm->gp_pin = pin; in gpio_attach()
260 LIST_INSERT_HEAD(&sc->sc_names, nm, gp_next); in gpio_attach()
707 struct gpio_name *nm; in gpio_pinbyname() local
709 LIST_FOREACH(nm, &sc->sc_names, gp_next) in gpio_pinbyname()
710 if (!strcmp(nm->gp_name, gp_name)) in gpio_pinbyname()
711 return nm->gp_pin; in gpio_pinbyname()
741 struct gpio_name *nm; in gpio_ioctl() local
[all …]
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dsanity.sh34 for i in size objdump nm ar strip ranlib ; do
39 for i in size objdump nm ar strip ranlib ; do
44 for i in size objdump nm ar strip ranlib ; do
45 ${BIN}/nm ${BIN}/$i > /dev/null
54 for i in size objdump nm ar ranlib ; do
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/pem/
Dpem_lib.c31 static int check_pem(const char *nm, const char *name);
126 static int check_pem(const char *nm, const char *name) in check_pem() argument
129 if (strcmp(nm, name) == 0) in check_pem()
137 if (strcmp(nm, PEM_STRING_PKCS8) == 0) in check_pem()
139 if (strcmp(nm, PEM_STRING_PKCS8INF) == 0) in check_pem()
141 slen = ossl_pem_check_suffix(nm, "PRIVATE KEY"); in check_pem()
147 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); in check_pem()
157 slen = ossl_pem_check_suffix(nm, "PARAMETERS"); in check_pem()
160 ameth = EVP_PKEY_asn1_find_str(&e, nm, slen); in check_pem()
176 if (strcmp(nm, PEM_STRING_DHXPARAMS) == 0 in check_pem()
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/
Dx_name.c153 } nm = { in x509_name_ex_d2i() local
174 if (!x509_name_ex_new(&nm.a, NULL)) in x509_name_ex_d2i()
177 if (!BUF_MEM_grow(nm.x->bytes, p - q)) in x509_name_ex_d2i()
179 memcpy(nm.x->bytes->data, q, p - q); in x509_name_ex_d2i()
187 if (!sk_X509_NAME_ENTRY_push(nm.x->entries, entry)) in x509_name_ex_d2i()
192 ret = x509_name_canon(nm.x); in x509_name_ex_d2i()
197 nm.x->modified = 0; in x509_name_ex_d2i()
198 *val = nm.a; in x509_name_ex_d2i()
203 if (nm.x != NULL) in x509_name_ex_d2i()
204 X509_NAME_free(nm.x); in x509_name_ex_d2i()
[all …]
Dv3_ncons.c36 static int nc_dn(const X509_NAME *sub, const X509_NAME *nm);
253 X509_NAME *nm; in NAME_CONSTRAINTS_check() local
255 nm = X509_get_subject_name(x); in NAME_CONSTRAINTS_check()
261 if (!add_lengths(&name_count, X509_NAME_entry_count(nm), in NAME_CONSTRAINTS_check()
269 if (X509_NAME_entry_count(nm) > 0) { in NAME_CONSTRAINTS_check()
272 gntmp.d.directoryName = nm; in NAME_CONSTRAINTS_check()
286 i = X509_NAME_get_index_by_NID(nm, NID_pkcs9_emailAddress, i); in NAME_CONSTRAINTS_check()
289 ne = X509_NAME_get_entry(nm, i); in NAME_CONSTRAINTS_check()
412 const X509_NAME *nm = X509_get_subject_name(x); in NAME_CONSTRAINTS_check_CN() local
429 i = X509_NAME_get_index_by_NID(nm, NID_commonName, i); in NAME_CONSTRAINTS_check_CN()
[all …]
/netbsd/src/regress/sys/uvm/pdsim/
Dnbsd.hs74 reactivate (q,m) = (nq,nm) where
76 nm = clrrefm x m function
78 reactivate_act (q,m) = (nq,nm) where
80 nm = clrrefm x m function
82 deactivate_act (q,m) = (nq,nm) where
84 nm = clrrefm x m function
126 (nq, nm) = reclaim pct (q,m) function
128 do_nbsd1 npg pct (r:n) (enqueue r nq) (pgenqueue r nm) rs2
/netbsd/src/sys/dev/qbus/
Dif_uba.c78 int totsz, i, error, rseg, nm = nr; in if_ubaminit() local
113 nm = nw = 0; in if_ubaminit()
122 nm = 0; in if_ubaminit()
129 for (i = 0; i < nm; i++) { in if_ubaminit()
131 nm = i; in if_ubaminit()
150 while (--nm >= 0) { in if_ubaminit()
152 m_freem(ifr[nm].ifrw_mbuf); in if_ubaminit()
/netbsd/src/tests/lib/libc/regex/
Dt_regex_att.c362 checkmatches(const char *matches, size_t nm, const regmatch_t *pm, in checkmatches() argument
365 if (nm == 0) in checkmatches()
372 for (size_t i = 0; i < nm; i++) { in checkmatches()
407 size_t nm; in att_test() local
493 nm = 0; in att_test()
496 nm = getmatches(matches); in att_test()
497 ATF_REQUIRE((pm = calloc(nm, sizeof(*pm))) != NULL); in att_test()
525 int e = regexec(&re, input, nm, pm, 0); in att_test()
528 checkmatches(matches, nm, pm, lineno); in att_test()

12345678910>>...18