Searched refs:p2 (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/eqn/
H A Dsqrt.c20 sqrt(int p2) argument
25 nps = EFFPS(((eht[p2]*9)/10+(resolution/POINT-1))/(resolution/POINT));
27 yyval = p2;
32 yyval, p2, ebase[yyval], eht[yyval]);
36 nrwid(p2, ps, p2);
39 "(rn'\\v'.2m'\\s%d", yyval, ebase[p2], nps, p2, ps);
40 printf("\\v'%du'\\h'-\\n(%du'\\*(%d\n", -ebase[p2], p2, p
[all...]
H A Dover.c20 boverb(int p1, int p2) argument
28 h = eht[p1] + eht[p2] + d;
31 h = eht[p1] + eht[p2];
33 b = eht[p2] - d;
36 yyval, p1, p2, b, h);
38 nrwid(p2, ps, p2);
40 printf(".if \\n(%d>\\n(%d .nr %d \\n(%d\n", p2, treg, treg, p2);
45 yyval, eht[p2]
[all...]
H A Dfromto.c20 fromto(int p1, int p2, int p3) argument
32 if (p2 > 0) {
33 nrwid(p2, pss, p2);
35 p2, yyval, yyval, p2);
36 eht[yyval] += eht[p2];
37 b = eht[p2];
46 if (p2 > 0) {
48 eht[p2]
[all...]
H A Deqnbox.c20 eqnbox(int p1, int p2, int lu) argument
26 b = max(ebase[p1], ebase[p2]);
27 eht[yyval] = h = b + max(eht[p1]-ebase[p1], eht[p2]-ebase[p2]);
31 yyval, p1, p2, b, h);
32 if (rfont[p1] == ITAL && lfont[p2] == ROM)
40 printf(".as %d \"%s\\*(%d\n", yyval, sh, p2);
41 rfont[p1] = rfont[p2];
42 ofree(p2);
H A Dintegral.c21 integral(int p, int p1, int p2) argument
26 if (p2 != 0)
27 printf(".ds %d \\v'-0.3m'\\*(%d\\v'0.3m'\n", p2, p2);
29 if (p1 != 0 && p2 != 0)
30 shift2(p, p1, p2);
33 else if (p2 != 0)
34 bshiftb(p, SUP, p2);
H A Dshift.c21 bshiftb(int p1, int dir, int p2) argument
32 h2 = eht[p2];
33 b2 = ebase[p2];
53 if (rfont[p1] == ITAL && lfont[p2] == ROM)
55 if (rfont[p2] == ITAL)
78 if (rfont[p2] == ITAL)
86 "b=%d, h=%d\n", yyval, p1, shval, p2, -shval,
90 yyval, shval, diffps, sh1, p2, diffps, sh2, -shval);
92 if (rfont[p2] == ITAL)
95 rfont[p1] = rfont[p2];
112 shift2(int p1, int p2, int p3) argument
[all...]
H A Dsize.c32 size(int p1, int p2) argument
38 yyval = p2;
41 yyval, ps, p2, p1, ebase[yyval], eht[yyval]);
44 printf(".ds %d \\s%d\\*(%d\\s%d\n", yyval, effps, p2, effp1);
/illumos-gate/usr/src/lib/libeti/panel/inc/
H A Dprivate.h45 #define _panels_intersect(p1, p2) (!((p1)->wstarty > (p2)->wendy || \
46 (p1)->wendy < (p2)->wstarty || \
47 (p1)->wstartx > (p2)->wendx || \
48 (p1)->wendx < (p2)->wstartx))
/illumos-gate/usr/src/ucbcmd/basename/
H A Dbasename.c24 char *p1, *p2, *p3; local
31 p2 = p1;
34 p2 = p1;
42 if (p1 <= p2 || *--p3 != *--p1)
48 (void) fputs(p2, stdout);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dnl_strncmp.c42 register char *p1, *p2; local
45 p2 = ns2;
49 *p2++ = *s2++;
51 *p1 = *p2 = '\0';
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dbcmp.c44 char *p1, *p2; local
49 p2 = (char *)b2;
51 if (*p1++ != *p2++)
H A Dmemcmp.c48 const unsigned char *p1 = s1, *p2 = s2; local
51 if (*p1++ != *p2++)
52 return (*--p1 - *--p2);
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwsprintf.c53 char *p2; local
68 p2 = malloc(len);
69 if (p2 == NULL)
73 p2 = tempstring;
74 (void) strcpy(p2, p1);
76 if (mbstowcs(wstring, p2, len) == (size_t)-1) {
78 if ((retcode = mbtowc(wstring, p2, MB_CUR_MAX)) == -1) {
79 *wstring = (wchar_t)*p2 & 0xff;
80 p2++;
82 p2
[all...]
H A Dwmemcpy.c39 wchar_t *p1, *p2; local
49 p2 = (wchar_t *)ws2;
57 (const void *)p2, len * sizeof (wchar_t));
60 p2 += len;
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c82 unsigned char *p2; local
85 p2 = nxtarg(1);
86 if (p2 != 0)
88 if (eq(p2, "-o"))
91 /* if (!eq(p2, ")"))
102 unsigned char *p2; local
105 p2 = nxtarg(1);
107 if ((p2 != 0) && eq(p2, "-a"))
127 unsigned char *p2; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/
H A Derr.D_PROTO_ARG.DupStructAssoc.d53 struct pirate p2;
66 p2.position = 2;
67 p2.content = 'b';
72 assoc_array[p2] = 4444;
77 printf("assoc_array[p2]: %d\n", assoc_array[p2]);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/union/
H A Derr.D_PROTO_ARG.DupUnionAssoc.d53 union pirate p2;
66 p2.position = 2;
67 p2.content = 'b';
72 assoc_array[p2] = 4444;
77 printf("assoc_array[p2]: %d\n", assoc_array[p2]);
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed1.c107 char *p1, *p2; local
142 p2 = ipc->r1.ad2;
147 if(*p2 == CEND) {
149 } else if(*p2 == CLNUM) {
150 c = (unsigned char)p2[1];
161 } else if(match(p2, 0)) {
180 if(p2)
183 if(p2)
331 char *p1, *p2, *p3; local
359 p1 = p2
606 char *p1, *p2; local
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtrace.c85 char *p2; local
89 p2 = unctrl(c);
90 while (*p1 = *p2++)
/illumos-gate/usr/src/ucbcmd/test/
H A Dtest.c82 char *p2; local
85 p2 = nxtarg(1);
86 if (p2 != 0) {
87 if (EQ(p2, "-o"))
89 if (EQ(p2, "]"))
100 char *p2; local
103 p2 = nxtarg(1);
104 if ((p2 != 0) && EQ(p2, "-a"))
124 char *p2; local
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.parse.c64 asyntax(struct wordent *p1, struct wordent *p2) argument
70 while (p1 != p2)
77 asyn0(p1, p2);
83 asyn0(struct wordent *p1, struct wordent *p2) argument
91 for (p = p1; p != p2; p = p->next)
105 if (p->next != p2 && eq(p->next->word, S_AND /* "&"*/))
116 asyntax(p->next, p2);
120 asyn3(p1, p2);
124 asyn3(struct wordent *p1, struct wordent *p2) argument
133 if (p1 == p2)
176 freenod(struct wordent *p1, struct wordent *p2) argument
204 syntax(struct wordent *p1, struct wordent *p2, int flags) argument
227 syn0(struct wordent *p1, struct wordent *p2, int flags) argument
295 syn1(struct wordent *p1, struct wordent *p2, int flags) argument
337 syn1a(struct wordent *p1, struct wordent *p2, int flags) argument
379 syn1b(struct wordent *p1, struct wordent *p2, int flags) argument
421 syn2(struct wordent *p1, struct wordent *p2, int flags) argument
473 syn3(struct wordent *p1, struct wordent *p2, int flags) argument
[all...]
H A Dsh.exp.c121 int p2; local
124 p2 = exp0(vp, (ignore&IGNORE) || p1);
126 etraci("exp0 p2", p2, vp);
128 return (p1 || p2);
145 int p2; local
148 p2 = exp1(vp, (ignore&IGNORE) || !p1);
150 etraci("exp1 p2", p2, vp);
152 return (p1 && p2);
169 int p2; local
193 int p2; local
217 int p2; local
233 tchar *p2; local
279 tchar *p1, *p2; local
324 tchar *p1, *p2, *op; local
355 tchar *p1, *p2; local
391 tchar *p1, *p2; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_subr.c130 char *p1, *p2; local
169 p2 = host;
188 if (*p2 == '\0') {
192 *p1 = *p2;
194 p2++;
206 p2 = newpath;
214 if (*p2 == '\0') {
217 *p1 = *p2;
219 p2++;
226 p2
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utf8.c125 char *p1, *p2; local
129 p1 = p2 = NULL; wcs1 = wcs2 = NULL;
137 p2 = slp_fold_space(s2);
138 if (!p1 || !p2)
141 if ((diff = strcasecmp(p1, p2)) == 0)
156 if ((wcslen2 = mbstowcs(NULL, p2, 0)) == (size_t)-1)
165 if (mbstowcs(wcs2, p2, wcslen2 + 1) == (size_t)-1)
172 if (p2) free(p2);
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_compare.c150 u_int8_t *p1, *p2; local
165 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2)
166 if (*p1 != *p2)
167 return ((long)*p1 - (long)*p2);
182 u_int8_t *p1, *p2; local
186 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt)
187 if (*p1 != *p2)

Completed in 123 milliseconds

1234567891011>>