HomeSort by: relevance | last modified time | path
    Searched defs:nv (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/bin/ps/
fmt.c 21 char *nv; local in function:fmt_puts
34 nv = realloc(v, nlen);
35 if (nv == 0)
37 v = nv;
  /src/usr.bin/config/
mkswap.c 93 struct nvlist *nv; local in function:mkoneswap
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->nv_str : "unspecified")
    [all...]
mkdevsw.c 179 struct nvlist *nv; local in function:emitconv
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->nv_num
    [all...]
files.c 513 struct nvlist *nv; local in function:fixcount
518 nv = newnv(name, NULL, NULL, dev->d_umax, NULL);
519 **p = nv;
520 *p = &nv->nv_next;
521 (void)ht_insert(needcnttab, name, nv);
533 struct nvlist *nv; local in function:fixfsel
537 nv = newnv(name, NULL, NULL, sel, NULL);
538 **p = nv;
539 *p = &nv->nv_next;
mkmakefile.c 215 emitmkoption(FILE *fp, const char *ass, const struct nvlist *nv)
219 fprintf(fp, "%s%s", nv->nv_name, ass);
220 for (p = nv->nv_str; *p; p++) {
279 struct nvlist *nv; local in function:emitdefs
283 for (nv = options; nv != NULL; nv = nv->nv_next) {
286 if (DEFINED_OPTION(nv->nv_name))
288 const char *s = nv->nv_str
652 struct nvlist *nv; local in function:emitappmkoptions
    [all...]
mkheaders.c 162 fprintcnt(FILE *fp, struct nvlist *nv)
164 const char *name = cntname(nv->nv_name);
166 fprintf(fp, "#define\t%s\t%lld\n", name, nv->nv_num);
167 fprint_global(fp, name, nv->nv_num);
174 struct nvlist *nv; local in function:emitcnt
183 for (nv = head; nv != NULL; nv = nv->nv_next)
184 fprintcnt(fp, nv);
    [all...]
util.c 195 struct nvlist *nv; local in function:newnv
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->nv_where.w_srcline = currentline()
235 struct nvlist *nv; local in function:nvcat
    [all...]
  /src/tests/lib/libc/
t_convfp.c 112 double nv; local in function:ATF_TC_BODY
115 nv = 5.6;
116 uv = (unsigned long)nv;
119 "%.3f casted to unsigned long is %lu", nv, uv);
  /src/tests/net/icmp/
t_forward.c 74 int nv; local in function:sendttl
82 nv = 1;
83 if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1)
108 int nv; local in function:router
111 nv = 200;
112 if (rump_sys___sysctl(mib, 4, NULL, NULL, &nv, sizeof(nv)) == -1)
  /src/sys/kern/
subr_pcq.c 181 uint32_t v, nv; local in function:pcq_put
194 nv = pcq_combine(p, c);
195 } while (atomic_cas_32(&pcq->pcq_pc, v, nv) != v);
236 uint32_t v, nv; local in function:pcq_get
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);
kern_uidinfo.c 61 } nv[] = { local in function:SLIST_HEAD
71 for (size_t i = 0; i < __arraycount(nv); i++)
72 if (strcmp(nv[i].name, rnode->sysctl_name) == 0) {
81 *(u_long *)((char *)uip + nv[i].value);
  /src/sys/dev/isa/
pcppi.c 85 u_int8_t v, nv; local in function:pcppi_match
128 nv = bus_space_read_1(ia->ia_iot, ppi_ioh, 0); /* XXX */
129 if (((nv ^ v) & 0x01) == 0x01)
132 nv = bus_space_read_1(ia->ia_iot, ppi_ioh, 0); /* XXX */
133 if (((nv ^ v) & 0x01) != 0x00) {
  /src/lib/libc/gen/
unvis.c 83 static const struct nv { struct
86 } nv[] = { variable in typeref:typename:const struct nv[]
200 * Top 8 bits hold the current character in the http 1866 nv string decoding
443 lc = is == 0 ? 0 : nv[ia].name[is - 1]; /* last character */
448 for (; ia < __arraycount(nv); ia++) {
449 if (is != 0 && nv[ia].name[is - 1] != lc)
451 if (nv[ia].name[is] == uc)
455 if (ia == __arraycount(nv))
464 *cp = nv[ia].value;
  /src/tests/kernel/
h_segv.c 61 } nv[] = { variable in typeref:struct:__anon70d0e90c0108[]
235 for (j = 0; j < __arraycount(nv); j++) {
236 if (strcmp(nv[j].n, argv[i]) == 0) {
237 flags |= nv[j].v;
  /src/tests/lib/libc/regex/
t_regex_att.c 198 } nv[]= { local in function:optional
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 in function:geterror
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[i].ce & EXEC
    [all...]
  /src/bin/csh/
misc.c 342 Char **nv; local in function:copyblk
344 nv = xcalloc((size_t)(blklen(v) + 1), sizeof(*nv));
346 return (blkcpy(nv, v));
glob.c 98 globtilde(Char **nv, Char *s)
111 blkfree(nv);
130 Char *lm, *pe, *pl, *pm, **nv, **vl; local in function:globbrace
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_t)size, sizeof(Char *))
216 Char **ex, **nv, *s, **vl; local in function:expbrace
278 Char **ex, **nv, *s, **vl; local in function:globexpand
    [all...]
  /src/usr.sbin/makefs/
makefs.c 507 } nv[] = { variable in typeref:struct:__anonc279ec5e0208[]
526 for (size_t i = 0; i < __arraycount(nv); i++)
527 fprintf(stderr, "\t0x%8.8x\t%s\n", nv[i].v, nv[i].n);
557 for (i = 0; i < __arraycount(nv); i++)
558 if (strcmp(nv[i].n, a) == 0) {
559 d |= nv[i].v;
562 if (i == __arraycount(nv))
  /src/usr.bin/elf2aout/
elf2aout.c 91 } nv[] = { variable in typeref:typename:const struct __anonc76267a10108[]
106 for (i = 0; i < __arraycount(nv); i++) {
107 if (strcmp(name, nv[i].n) == 0)
108 return nv[i].v;
  /src/games/backgammon/common_source/
fancy.c 314 int o, n, nv; local in function:fixpos
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...]
  /src/sys/dev/usb/
umcpmio_subr.c 331 int nv = *newvalue; local in function:umcpmio_set_gpio_designation_sram
334 nv &= 0xF8;
337 nv |= MCP2221_SRAM_PIN_IS_GPIO;
341 nv |= MCP2221_SRAM_PIN_IS_ALT0;
344 nv |= MCP2221_SRAM_PIN_IS_ALT1;
347 nv |= MCP2221_SRAM_PIN_IS_ALT2;
357 nv |= MCP2221_SRAM_PIN_IS_DED;
363 *newvalue = nv;
  /src/common/lib/libprop/
prop_data.c 257 void *nv; variable in typeref:typename:void *
261 nv = _PROP_MALLOC(size, M_PROP_DATA);
262 if (nv == NULL) {
266 memcpy(nv, v, size);
267 pd->pd_mutable = nv;
290 void *nv; local in function:prop_data_create_copy
294 nv = _PROP_MALLOC(size, M_PROP_DATA);
295 if (nv == NULL)
298 memcpy(nv, v, size);
300 nv = NULL
    [all...]
  /src/usr.bin/xlint/lint1/
func.c 430 check_duplicate_case_label(control_statement *cs, const val_t *nv)
435 while (i < n && labels->vals[i].u.integer != nv->u.integer)
439 if (is_uinteger(nv->v_tspec))
441 error(200, (uintmax_t)nv->u.integer);
444 error(199, (intmax_t)nv->u.integer);
453 labels->vals[labels->len++] = *nv;
503 val_t nv; local in function:check_case_label
504 (void)memset(&nv, 0, sizeof(nv));
505 convert_constant(CASE, 0, cs->c_switch_type, &nv, v)
    [all...]
  /src/sys/arch/m68k/m68k/
db_disasm.c 2926 u_long nv; local in function:print_disp
2932 nv = disp + (u_int)dbuf->val + 2;
2934 return; /* nv = get_areg_val(rel); */
2938 sym = db_search_symbol(nv, DB_STGY_PROC, &diff);
  /src/bin/sh/
redir.c 867 } nv[] = { variable in typeref:typename:const struct flgnames[]
1017 for (fn = nv; fn->name; fn++) {
1057 for (fn = nv; fn->name; fn++)

Completed in 140 milliseconds

1 2