/netbsd-current/external/bsd/am-utils/dist/wire-test/ |
H A D | wire-test.c | 58 int nv, ret; local 105 for (nv=2; nv<=3; ++nv) { 106 fprintf(stderr, "\ttesting vers=%d, proto=\"%s\" -> ", nv, proto); 107 ret = get_nfs_version(testhost, ip, nv, proto, 0); 115 for (nv=2; nv<=3; ++nv) { 116 fprintf(stderr, "\ttesting vers=%d, proto=\"%s\" -> ", nv, prot [all...] |
/netbsd-current/usr.bin/config/ |
H A D | mkswap.c | 93 struct nvlist *nv; local 112 nv = cf->cf_root; 120 mkdevstr((dev_t)nv->nv_num), 121 nv->nv_str == s_qmark ? "wildcarded" : nv->nv_str); 126 nv = cf->cf_dump; 133 nv ? mkdevstr((dev_t)nv->nv_num) : "NODEV", 134 nv ? nv [all...] |
H A D | mkmakefile.c | 215 emitmkoption(FILE *fp, const char *ass, const struct nvlist *nv) argument 219 fprintf(fp, "%s%s", nv->nv_name, ass); 220 for (p = nv->nv_str; *p; p++) { 279 struct nvlist *nv; local 283 for (nv = options; nv != NULL; nv = nv->nv_next) { 286 if (DEFINED_OPTION(nv->nv_name)) 288 const char *s = nv 652 struct nvlist *nv; local [all...] |
H A D | util.c | 195 struct nvlist *nv; local 197 nv = ecalloc(1, sizeof(*nv)); 198 nv->nv_next = next; 199 nv->nv_name = name; 200 nv->nv_str = str; 201 nv->nv_ptr = ptr; 202 nv->nv_num = i; 203 nv->nv_where.w_srcfile = yyfile; 204 nv 212 nvfree(struct nvlist *nv) argument 222 nvfreel(struct nvlist *nv) argument 235 struct nvlist *nv; local [all...] |
H A D | mkdevsw.c | 179 struct nvlist *nv; local 191 nv = dm->dm_devnodes; 192 d_class = nv->nv_str; 193 while ((nv = nv->nv_next) != NULL) { 196 if (nv->nv_str) { 197 d_flags = nv->nv_str; 200 if (nv->nv_num > INT_MAX || nv->nv_num < INT_MIN) 202 d_vec[i++] = (int)nv [all...] |
H A D | main.c | 614 struct nvlist *nv; local 616 for (nv = options; nv != NULL; nv = nv->nv_next) { 617 dependopts_one(nv->nv_name); 620 for (nv = fsoptions; nv != NULL; nv = nv 644 do_depends(struct nvlist *nv) argument 654 do_depend(struct nvlist *nv) argument 776 struct nvlist *nv; local 839 add_fs_dependencies(struct nvlist *nv, struct nvlist *deps) argument 859 struct nvlist *nv; local 1278 struct nvlist *nv; local 1291 struct nvlist *nv; local 1316 struct nvlist *nv; local 1337 struct nvlist *nv, *onv; local 1378 struct nvlist *nv; local 1459 cfcrosscheck(struct config *cf, const char *what, struct nvlist *nv) argument [all...] |
H A D | sem.c | 121 struct nvlist *nv; local 122 for (nv = stack; nv != NULL; nv = nv->nv_next) 123 remove_devi(nv->nv_ptr); 656 struct nvlist *nv; local 709 for (nv = atlist; nv != NULL; nv 948 struct nvlist *nv; local 1073 struct nvlist *nv; local 1393 struct nvlist *nv, *onv; local 1566 struct nvlist *nv, *stack = NULL; local 2206 onlist(struct nvlist *nv, void *ptr) argument [all...] |
/netbsd-current/bin/ps/ |
H A D | fmt.c | 21 char *nv; local 34 nv = realloc(v, nlen); 35 if (nv == 0) 37 v = nv;
|
/netbsd-current/external/bsd/libnv/lib/ |
H A D | Makefile | 10 LIB= nv 15 #INCS= nv.h dnv.h 17 #MAN= nv.3
|
/netbsd-current/tests/net/icmp/ |
H A D | t_forward.c | 74 int nv; local 82 nv = 1; 83 if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1) 108 int nv; local 111 nv = 200; 112 if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1)
|
/netbsd-current/sys/external/bsd/libnv/dist/ |
H A D | nvlist_impl.h | 41 #include <sys/nv.h> 43 #include "nv.h"
|
/netbsd-current/bin/csh/ |
H A D | glob.c | 98 globtilde(Char **nv, Char *s) argument 111 blkfree(nv); 130 Char *lm, *pe, *pl, *pm, **nv, **vl; local 134 nv = vl = xreallocarray(NULL, sizeof(Char *), (size_t)size); 148 blkfree(nv); 161 blkfree(nv); 172 blkfree(nv); 198 if (vl == &nv[size]) { 200 nv = xreallocarray(nv, (size_ 216 Char **ex, **nv, *s, **vl; local 278 Char **ex, **nv, *s, **vl; local [all...] |
/netbsd-current/external/cddl/osnet/dist/cmd/zpool/ |
H A D | zpool_util.c | 67 num_logs(nvlist_t *nv) argument 73 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN,
|
H A D | zpool_vdev.c | 606 nvlist_t *nv; local 621 nv = top[t]; 627 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &is_log); 631 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, 633 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, 657 verify(nvlist_lookup_uint64(nv, 948 make_disks(zpool_handle_t *zhp, nvlist_t *nv) argument 960 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &type) == 0); 962 if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_CHILDREN, 973 verify(nvlist_lookup_string(nv, ZPOOL_CONFIG_PAT 1095 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, boolean_t replacing, boolean_t isspare) argument 1228 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local [all...] |
/netbsd-current/tests/lib/libc/ |
H A D | t_convfp.c | 112 double nv; local 115 nv = 5.6; 116 uv = (unsigned long)nv; 119 "%.3f casted to unsigned long is %lu", nv, uv);
|
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/ |
H A D | safe-ctype.c | 131 #define nv _sch_isnvsp macro 149 #define Z (const unsigned short) (nv |cn) /* NUL */ 150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */ 152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */ 153 #define S (const unsigned short) (nv|sp|bl|pr) /* space */
|
/netbsd-current/external/gpl3/binutils/dist/libiberty/ |
H A D | safe-ctype.c | 131 #define nv _sch_isnvsp macro 149 #define Z (const unsigned short) (nv |cn) /* NUL */ 150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */ 152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */ 153 #define S (const unsigned short) (nv|sp|bl|pr) /* space */
|
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/ |
H A D | safe-ctype.c | 131 #define nv _sch_isnvsp macro 149 #define Z (const unsigned short) (nv |cn) /* NUL */ 150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */ 152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */ 153 #define S (const unsigned short) (nv|sp|bl|pr) /* space */
|
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/ |
H A D | safe-ctype.c | 131 #define nv _sch_isnvsp macro 149 #define Z (const unsigned short) (nv |cn) /* NUL */ 150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */ 152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */ 153 #define S (const unsigned short) (nv|sp|bl|pr) /* space */
|
/netbsd-current/external/gpl3/gcc/dist/libiberty/ |
H A D | safe-ctype.c | 131 #define nv _sch_isnvsp macro 149 #define Z (const unsigned short) (nv |cn) /* NUL */ 150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */ 152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */ 153 #define S (const unsigned short) (nv|sp|bl|pr) /* space */
|
/netbsd-current/external/gpl3/gdb/dist/libiberty/ |
H A D | safe-ctype.c | 131 #define nv _sch_isnvsp macro 149 #define Z (const unsigned short) (nv |cn) /* NUL */ 150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */ 152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */ 153 #define S (const unsigned short) (nv|sp|bl|pr) /* space */
|
/netbsd-current/sys/kern/ |
H A D | subr_pcq.c | 181 uint32_t v, nv; local 194 nv = pcq_combine(p, c); 195 } while (atomic_cas_32(&pcq->pcq_pc, v, nv) != v); 236 uint32_t v, nv; local 261 nv = pcq_combine(p, c); 277 while (__predict_false(atomic_cas_32(&pcq->pcq_pc, v, nv) != v)) { 281 nv = pcq_combine(p, c);
|
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | vdev_label.c | 223 nvlist_t *nv = NULL; local 225 nv = fnvlist_alloc(); 227 fnvlist_add_string(nv, ZPOOL_CONFIG_TYPE, vd->vdev_ops->vdev_op_type); 229 fnvlist_add_uint64(nv, ZPOOL_CONFIG_ID, vd->vdev_id); 230 fnvlist_add_uint64(nv, ZPOOL_CONFIG_GUID, vd->vdev_guid); 233 fnvlist_add_string(nv, ZPOOL_CONFIG_PATH, vd->vdev_path); 236 fnvlist_add_string(nv, ZPOOL_CONFIG_DEVID, vd->vdev_devid); 239 fnvlist_add_string(nv, ZPOOL_CONFIG_PHYS_PATH, 243 fnvlist_add_string(nv, ZPOOL_CONFIG_FRU, vd->vdev_fru); 264 fnvlist_add_uint64(nv, ZPOOL_CONFIG_NPARIT [all...] |
/netbsd-current/tests/lib/libc/regex/ |
H A D | t_regex_att.c | 198 } nv[]= { local 203 for (size_t i = 0; i < __arraycount(nv); i++) 204 if (strcmp(nv[i].n, s) == 0) { 205 if (nv[i].v) 266 } nv[] = { local 297 for (size_t i = 0; i < __arraycount(nv); i++) 298 if (strcmp(s, nv[i].n) == 0) { 299 if (nv[i].ce & COMP) 300 *comp = nv[i].v; 301 if (nv[ [all...] |
/netbsd-current/games/backgammon/common_source/ |
H A D | fancy.c | 314 int o, n, nv; local 321 nv = abs(new); 324 n = (nv - 1) / 5; 332 if (ov > nv) 333 fixcol(r + inc * (nv - n * 5), nc, 334 abs(ov - nv), ' ', inc); 337 abs(ov - nv), col, inc); 343 fixcol(r, c, abs(nv - 5), col, 352 if (nv != 5) 353 fixcol(r + inc * nv, [all...] |