Home
last modified time | relevance | path

Searched refs:p (Results 26 – 50 of 4185) sorted by relevance

12345678910>>...168

/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-cpu-amd-zen.p5m61 alias=pci1022,12c0,p \
62 alias=pci1022,12c1,p \
63 alias=pci1022,12c2,p \
64 alias=pci1022,12c3,p \
65 alias=pci1022,12c4,p \
66 alias=pci1022,12c5,p \
67 alias=pci1022,12c6,p \
68 alias=pci1022,12c7,p \
69 alias=pci1022,1440,p \
70 alias=pci1022,1441,p \
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pq.c34 dt_pq_t *p; in dt_pq_init() local
40 p->dtpq_items = dt_zalloc(dtp, size * sizeof (p->dtpq_items[0])); in dt_pq_init()
52 return (p); in dt_pq_init()
61 dt_free(dtp, p); in dt_pq_fini()
68 return (p->dtpq_value(item, p->dtpq_arg)); in dt_pq_getvalue()
76 assert(p->dtpq_last < p->dtpq_size); in dt_pq_insert()
83 p->dtpq_items[i] = p->dtpq_items[i / 2]; in dt_pq_insert()
116 p->dtpq_last--; in dt_pq_pop()
117 p->dtpq_items[1] = p->dtpq_items[p->dtpq_last]; in dt_pq_pop()
118 p->dtpq_items[p->dtpq_last] = NULL; in dt_pq_pop()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dlwp.c651 p->p_tr_lgrpid != p->p_t1_lgrpid) { in lwp_create()
718 lwp_hash_in(p, lep, p->p_tidhash, p->p_tidhash_sz, 1); in lwp_create()
983 if (p->p_lwpcnt == p->p_lwpdaemon + (p->p_lwpwait - p->p_lwpdwait)) in lwp_exit()
1330 cv_wait(&p->p_holdlwps, &p->p_lock); in holdlwps()
1380 cv_wait(&p->p_holdlwps, &p->p_lock); in holdcheck()
1471 cv_wait(&p->p_holdlwps, &p->p_lock); in holdwatch()
1496 cv_wait(&p->p_holdlwps, &p->p_lock); in holdwatch()
1523 cv_wait(&p->p_holdlwps, &p->p_lock); in holdwatch()
1704 cv_wait(&p->p_holdlwps, &p->p_lock); in exitlwps()
1715 cv_wait(&p->p_holdlwps, &p->p_lock); in exitlwps()
[all …]
/illumos-gate/usr/src/cmd/troff/nroff.d/
H A Dn10.c137 p = skipstr(p); p = getstr(p, t.twnl = p); in ptinit()
138 p = skipstr(p); p = getstr(p, t.hlr = p); in ptinit()
139 p = skipstr(p); p = getstr(p, t.hlf = p); in ptinit()
140 p = skipstr(p); p = getstr(p, t.flr = p); in ptinit()
141 p = skipstr(p); p = getstr(p, t.bdon = p); in ptinit()
142 p = skipstr(p); p = getstr(p, t.bdoff = p); in ptinit()
143 p = skipstr(p); p = getstr(p, t.iton = p); in ptinit()
144 p = skipstr(p); p = getstr(p, t.itoff = p); in ptinit()
147 p = skipstr(p); p = getstr(p, t.up = p); in ptinit()
148 p = skipstr(p); p = getstr(p, t.down = p); in ptinit()
[all …]
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c57 #define FAKEDPID0(p) (p->pid == 0 && p->psargs[0] == '\0') argument
58 #define HAS_SIBLING(p) ((p)->sp != NULL && (p)->sp->done != 0) argument
237 for (p = aflag ? proc0->cp : proc1->cp; p != NULL; p = p->sp) { in main()
290 for (p = p->pp; p != NULL && in main()
292 p = p->pp) in main()
506 ctsort(p->ctid, p); in prsort()
517 ctsort(p->ctid, p); in prsort()
528 for (p = p->cp; p != NULL; p = p->sp) in printsubtree()
577 for (p = p->cp; p != NULL; p = p->sp) in markprocs()
662 p = zalloc(sizeof (*p)); in add_proc()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Daso.h107 #define asocaschar(p,o,n) asocas8(p,o,n) argument
108 #define asogetchar(p) asoget8(p) argument
109 #define asoincchar(p) asoinc8(p) argument
110 #define asodecchar(p) asodec8(p) argument
117 #define asocasshort(p,o,n) asocas16(p,o,n) argument
118 #define asogetshort(p) asoget16(p) argument
119 #define asoincshort(p) asoinc16(p) argument
120 #define asodecshort(p) asodec16(p) argument
129 #define asogetint(p) asoget32((uint32_t volatile*)p) argument
130 #define asoincint(p) asoinc32((uint32_t volatile*)p) argument
[all …]
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Daso9 #define _aso_cas8(p,o,n) atomic_cas_8(p,o,n)
10 #define _aso_inc8(p) (atomic_add_8_nv(p,1)-1)
11 #define _aso_dec8(p) (atomic_add_8_nv(p,-1)+1)
12 #define _aso_cas16(p,o,n) atomic_cas_16(p,o,n)
13 #define _aso_inc16(p) (atomic_add_16_nv(p,1)-1)
14 #define _aso_dec16(p) (atomic_add_16_nv(p,-1)+1)
15 #define _aso_cas32(p,o,n) atomic_cas_32(p,o,n)
16 #define _aso_inc32(p) (atomic_add_32_nv(p,1)-1)
17 #define _aso_dec32(p) (atomic_add_32_nv(p,-1)+1)
18 #define _aso_cas64(p,o,n) atomic_cas_64(p,o,n)
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.set.c39 tchar *p; in doset() local
50 p = *v++; in doset()
62 for (vp = p; alnum(*p); p++) in doset()
70 p = getinx(p, &subscr); in doset()
192 for (vp = p; alnum(*p); p++) in dolet()
198 p = getinx(p, &subscr); in dolet()
209 p = xset(p, &v); in dolet()
228 p = xset(p, &v); in dolet()
775 p = p->v_left; in plist()
789 p = p->v_right; in plist()
[all …]
/illumos-gate/usr/src/cmd/vntsd/
H A Dqueue.c83 p = *que_hd; in vntsd_que_append()
91 p = p->nextp; in vntsd_que_append()
151 prevp = p; in vntsd_que_rm()
152 p = p->nextp; in vntsd_que_rm()
174 free(p); in vntsd_que_rm()
191 p = p->nextp; in vntsd_que_walk()
210 p = p->nextp; in vntsd_que_find()
224 p = *q; in vntsd_free_que()
235 free(p); in vntsd_free_que()
271 p = p->nextp; in vntsd_que_pos()
[all …]
/illumos-gate/usr/src/common/lzma/
H A DLzmaDec.c29 #define GET_BIT2(p, i, A0, A1) IF_BIT_0(p) \ argument
32 #define GET_BIT(p, i) GET_BIT2(p, i, ; , ;) argument
153 UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; in LzmaDec_DecodeReal()
532 (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); in LzmaDec_TryDummy()
541 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy()
542 ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; in LzmaDec_TryDummy()
733 p->reps[0] = p->reps[1] = p->reps[2] = p->reps[3] = 1; in LzmaDec_InitStateReal()
845 p->buf = p->tempBuf; in LzmaDec_DecodeToDic()
871 if (p->dicPos == p->dicBufSize) in LzmaDec_DecodeToBuf()
904 alloc->Free(alloc, p->probs, (p->numProbs * sizeof (*p->probs))); in LzmaDec_FreeProbs()
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Ddate.c206 p->validTZ = p->tz!=0; in parseHhMmSs()
241 p->rJD += (p->h*3600.0 + p->m*60.0 + p->s)/86400.0; in computeJD()
243 p->rJD += p->tz*60/86400.0; in computeJD()
311 memset(p, 0, sizeof(*p)); in parseDateOrTime()
353 p->Y = p->M>2 ? C - 4716 : C - 4715; in computeYMD()
372 p->s += s - p->m*60; in computeHMS()
475 p->rJD += localtimeOffset(p); in parseModifier()
489 p->rJD = p->rJD/86400.0 + 2440587.5; in parseModifier()
498 p->rJD += c1 - localtimeOffset(p); in parseModifier()
538 p->h = p->m = 0; in parseModifier()
[all …]
/illumos-gate/usr/src/cmd/sed/
H A Dcompile.c170 if (*p == '#' || *p == '\0') in compile_stream()
190 p = compile_addr(p, cmd->a1); in compile_stream()
199 p = compile_addr(p, cmd->a2); in compile_stream()
311 if (*p == '\0' || *p == '\\') in compile_stream()
381 if (*p == '[' && *p != c) { in compile_delimited()
482 for (; *p; p++) { in compile_subst()
589 nval = strtol(p, &p, 10); in compile_flags()
645 if (*p == '\0' || *p == '\\') in compile_tr()
734 if (*p == '\\' && p[1] != '\0' && *++p == '\n') in compile_text()
878 for (h = 0, p = (uchar_t *)cp->t; (c = *p) != 0; p++) in enterlabel()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_string.c35 char *p; in fmd_strdup() local
71 char *p; in fmd_strdirname() local
76 for (p = s + strlen(s); p != s && *--p == '/'; ) in fmd_strdirname()
79 if (p == s && *p == '/') in fmd_strdirname()
84 while (*p == '/' && p != s) in fmd_strdirname()
85 p--; in fmd_strdirname()
100 for (p = key; *p != '\0'; p++) { in fmd_strhash()
124 for (p = q = s; (c = *p) != '\0'; p++) { in fmd_stresc2chr()
136 p++; in fmd_stresc2chr()
138 if (*p >= '0' && *p <= '7') { in fmd_stresc2chr()
[all …]
/illumos-gate/usr/src/cmd/dc/
H A Ddc.h42 #define length(p) ((p)->wt-(p)->beg) argument
43 #define rewind(p) ((p)->rd = (p)->beg) argument
44 #define create(p) ((p)->rd = (p)->wt = (p)->beg) argument
45 #define fsfile(p) ((p)->rd = (p)->wt) argument
46 #define truncate(p) ((p)->wt = (p)->rd) argument
50 #define sgetc(p) (((p)->rd == (p)->wt) ? EOF: ctoint((int)*(p)->rd++)) argument
51 #define slookc(p) (((p)->rd == (p)->wt) ? EOF: ctoint((int)*(p)->rd)) argument
53 #define sputc(p, c) {if ((p)->wt == (p)->last) more(p); *(p)->wt++ = c; } argument
54 #define salterc(p, c) {if ((p)->rd == (p)->last) more(p); *(p)->rd++ = c;\ argument
55 if ((p)->rd > (p)->wt) (p)->wt = (p)->rd; }
[all …]
H A Ddc.c166 p = removc(p, n - sk); in commnds()
313 p = scalint(p); in commnds()
342 p = scalint(p); in commnds()
441 p = scalint(p); in commnds()
1103 t = copy(p, length(p)); in exp()
1351 mp = copy(p, length(p)); in mult()
1539 p = removc(p, sc); in print()
1584 q = copy(p, length(p)); in getdec()
1899 p = add0(p, skq - skp); in eqk()
1938 p = removc(p, n); in scalint()
[all …]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregcomp.c164 #define MORE() (p->next < p->end)
165 #define MORE2() (p->next+1 < p->end)
272 p->end = p->next + len; in regcomp()
668 p->pre_parse(p, &bc); in p_re()
675 p->post_parse(p, &bc); in p_re()
773 (void) dupl(p, p->pbegin[i]+1, p->pend[i]); in p_simp_re()
853 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) { in p_bracket()
858 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) { in p_bracket()
1101 assert(p->next == p->end); in bothcases()
1237 n = mbrtowc(&wc, p->next, p->end - p->next, &mbs); in wgetnext()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpool.c46 if(p->s_sf && p->sf != p->array)
63 for(last = &_Sfpool, p = last->next; p; last = p, p = p->next)
70 if(!p)
80 p->mode = 0;
91 p->s_sf = sizeof(p->array)/sizeof(p->array[0]);
92 p->sf = p->array;
94 POOLMTXRETURN(p,p);
182 p->sf[n] = p->sf[n+1];
187 if(p->n_sf == 0 || p == &_Sfpool)
199 p->sf[n] = p->sf[0];
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dendian.h25 return ((p[0] << 8) | p[1]); in be16dec()
33 return (((unsigned)p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]); in be32dec()
41 return (((uint64_t)be32dec(p) << 32) | be32dec(p + 4)); in be64dec()
49 return ((p[1] << 8) | p[0]); in le16dec()
57 return (((unsigned)p[3] << 24) | (p[2] << 16) | (p[1] << 8) | p[0]); in le32dec()
65 return (((uint64_t)le32dec(p + 4) << 32) | le32dec(p)); in le64dec()
73 p[0] = (u >> 8) & 0xff; in be16enc()
74 p[1] = u & 0xff; in be16enc()
85 p[3] = u & 0xff; in be32enc()
102 p[0] = u & 0xff; in le16enc()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dsyntax.c47 register char *p; local
55 for (p = str; *p; p++)
56 if (!isalnum(*p) && *p != '_' && *p != '-' && *p != '.')
72 register char *p; local
80 for (p = str; *p; p++)
81 if (!isalnum(*p) && *p != '-')
102 for (p = str; *p; p++)
103 if (!isgraph(*p) && *p != '\t' && *p != ' ')
124 for (p = str; *p; p++)
125 if (!isgraph(*p) && *p != '\t' && *p != ' ' && *p != '\n')
[all …]
H A Dgetlist.c123 while (--p != copy && strchr(ws, *p))
130 for (n = 0, p = copy; *p; ) {
136 p += strspn(p, ws);
142 p += strspn(p, ws);
163 for (n = 0, p = copy; *p; )
173 p += strspn(p, ws);
179 p += strspn(p, ws);
218 for (p = str; *p; p++)
219 if (*p != '\\' || !p[1] || !strchr(sep, p[1]))
223 for (p = str; *p; p++)
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppbuiltin.c63 *p = 0; in ppbuiltin()
98 *p = '0'; in ppbuiltin()
199 for (p += 7; *p = *(p + 9); p++); in ppbuiltin()
221 p[1] = 0; in ppbuiltin()
231 pp.time = p = strdup(p); in ppbuiltin()
243 if (!(p = getenv(a))) p = ""; in ppbuiltin()
280 #define BACK(a,p) ((a>p)?*--a:(number++?0:((p=pp.outbuf+PPBUFSIZ),(a=pp.outbuf+2*PPBUFSIZ),*--a))) in ppbuiltin() argument
331 for (t = p, token = a, onumber = number; ppisidig(PEEK(a, p)) && a >= p; BACK(a, p)); in ppbuiltin()
341 if (streq(p, "for") || streq(p, "if") || streq(p, "switch") || streq(p, "while")) in ppbuiltin()
355 p = strncpy(pp.funbuf, p, sizeof(pp.funbuf) - 1); in ppbuiltin()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dshift-undef.c21 s = s >> ((p & 0) + 109); u ^= p; // reloaded because now == 0 in simple()
22 u = u >> ((p & 0) + 110); u ^= p; // reloaded because now == 0 in simple()
23 u = u << ((p & 0) + 111); u ^= p; // reloaded because now == 0 in simple()
25 u = u >> ((p & 0) + -11); u ^= p; // reloaded because now == 0 in simple()
26 u = u << ((p & 0) + -12); u ^= p; // reloaded because now == 0 in simple()
50 s >>= ((p & 0) + 109); u ^= p; // reloaded because now == 0 in compound()
51 u >>= ((p & 0) + 110); u ^= p; // reloaded because now == 0 in compound()
52 u <<= ((p & 0) + 111); u ^= p; // reloaded because now == 0 in compound()
54 u >>= ((p & 0) + -11); u ^= p; // reloaded because now == 0 in compound()
55 u <<= ((p & 0) + -12); u ^= p; // reloaded because now == 0 in compound()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_sc.c127 while ((p) && ((p->lnode_ip != path->local.node_ipaddr) || in rdsv3_path_up()
129 p = p->nextp; in rdsv3_path_up()
196 p = p->nextp; in rdsv3_path_down()
242 p->prevp->nextp = p->nextp; in rdsv3_path_down()
250 p->nextp->prevp = p->prevp; in rdsv3_path_down()
268 while ((p) && ((p->lnode_ip != *localip) || (p->rnode_ip != *remip))) { in rdsv3_sc_path_lookup()
269 p = p->nextp; in rdsv3_sc_path_lookup()
339 while ((p) && (p->lnode_ip != addr)) { in rdsv3_if_lookup_by_addr()
350 p = p->nextp; in rdsv3_if_lookup_by_addr()
380 while ((p) && (p->lnode_ip != addr)) { in rdsv3_scaddr_to_ibaddr()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dreadcf.c188 for (p = &bp[1]; *p != '\0' && *p != '\t'; p++)
621 for (p = &bp[1]; *p != '\0' && *p != '='; p++)
636 for (p = &bp[1]; isascii(*p) && isspace(*p); p++)
784 for (p = bp; *p != '\0'; p++)
832 if (*p == '=' || *p == '~' || *p == '&' || *p == '?')
1216 *p != '\0' && *p != ',' && !(isascii(*p) && isspace(*p));
2804 cleanstrcpy(p, p, strlen(p) + 1);
2937 for (p = val; *p != '\0'; p++)
3275 for (p = val; *p != '\0'; p++)
4078 for (p = line; isascii(*p) && isspace(*p); p++)
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Droff_term.c70 term_newln(p); in roff_term_pre_br()
72 p->tcol->offset = p->tcol->rmargin; in roff_term_pre_br()
73 p->tcol->rmargin = p->maxrmargin; in roff_term_pre_br()
146 if (p->col) { in roff_term_pre_mc()
184 po < -(int)p->tcol->offset ? -(int)p->tcol->offset : po; in roff_term_pre_po()
247 p->ti = len; in roff_term_pre_ti()
249 p->ti = maxoff - p->tcol->offset; in roff_term_pre_ti()
251 p->ti = 0; in roff_term_pre_ti()
257 p->ti = -p->tcol->offset; in roff_term_pre_ti()
262 p->ti = len - p->tcol->offset; in roff_term_pre_ti()
[all …]

12345678910>>...168