Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/titanic_44/usr/src/ucbcmd/sed/
H A Dsed1.c107 char *p1, *p2; in execute() local
141 p1 = ipc->r1.ad1; in execute()
144 if(p1) { in execute()
148 p1 = 0; in execute()
164 } else if(*p1 == CEND) { in execute()
172 } else if(*p1 == CLNUM) { in execute()
173 c = (unsigned char)p1[1]; in execute()
182 } else if(match(p1, 0)) { in execute()
214 for(p1 = linebuf; p1 < spend; p1++) in execute()
215 (void) putc(*p1, stdout); in execute()
[all …]
/titanic_44/usr/src/cmd/eqn/
H A Ddiacrit.c21 diacrit(int p1, int type) in diacrit() argument
31 nrwid(p1, ps, p1); in diacrit()
32 printf(".nr 10 %du\n", max(eht[p1]-ebase[p1]-VERT(2), 0)); in diacrit()
35 nrwid(p1, effps, p1); in diacrit()
38 printf(".nr 10 %du\n", VERT(max(eht[p1]-ebase[p1]-EM(1, ps), 0))); in diacrit()
90 c, effps, p1); in diacrit()
93 c, p1); in diacrit()
98 printf(".ds %d \\l'\\n(%du\\(ul'\n", c, p1); in diacrit()
100 printf(".nr 10 0-%d\n", ebase[p1]); in diacrit()
102 printf(".ds %d \\l'\\n(%du'\n", c, p1); in diacrit()
[all …]
H A Dover.c20 boverb(int p1, int p2) in boverb() argument
25 yyval = p1; in boverb()
28 h = eht[p1] + eht[p2] + d; in boverb()
31 h = eht[p1] + eht[p2]; in boverb()
36 yyval, p1, p2, b, h); in boverb()
37 nrwid(p1, ps, p1); in boverb()
39 printf(".nr %d \\n(%d\n", treg, p1); in boverb()
48 p2, p1, -(eht[p2]-ebase[p2]+d+ebase[p1]), p1); in boverb()
50 "(%du-.2m'\\h'.1m'\\v'%du'\n", treg, p1, ebase[p1]+d, treg, d); in boverb()
53 p2, p1, -eht[p2]+ebase[p2]-ebase[p1], p1); in boverb()
[all …]
H A Deqnbox.c20 eqnbox(int p1, int p2, int lu) in eqnbox() argument
25 yyval = p1; in eqnbox()
26 b = max(ebase[p1], ebase[p2]); in eqnbox()
27 eht[yyval] = h = b + max(eht[p1]-ebase[p1], eht[p2]-ebase[p2]); in eqnbox()
31 yyval, p1, p2, b, h); in eqnbox()
32 if (rfont[p1] == ITAL && lfont[p2] == ROM) in eqnbox()
37 printf(".nr %d \\w'\\s%d\\*(%d%s'\n", p1, ps, p1, sh); in eqnbox()
38 printf(".ds %d \\h'|\\n(97u-\\n(%du'\\*(%d\n", p1, p1, p1); in eqnbox()
41 rfont[p1] = rfont[p2]; in eqnbox()
H A Dfromto.c20 fromto(int p1, int p2, int p3) in fromto() argument
25 h1 = eht[yyval] = eht[p1]; in fromto()
26 b1 = ebase[p1]; in fromto()
30 nrwid(p1, ps, p1); in fromto()
31 printf(".nr %d \\n(%d\n", yyval, p1); in fromto()
54 yyval, p1, p1, yyval, p1); in fromto()
57 yyval, p1, p1, yyval, p1); in fromto()
69 yyval, p1, p2, p3, eht[yyval], ebase[yyval]); in fromto()
70 ofree(p1); in fromto()
H A Dmark.c20 mark(int p1) in mark() argument
23 printf(".ds %d \\k(97\\*(%d\n", p1, p1); in mark()
24 yyval = p1; in mark()
25 if (dbg) printf(".\tmark %d\n", p1); in mark()
29 lineup(int p1) in lineup() argument
32 if (p1 == 0) { in lineup()
36 if (dbg) printf(".\tlineup %d\n", p1); in lineup()
H A Dmatrix.c20 column(int type, int p1) in column() argument
24 lp[p1] = ct - p1 - 1; in column()
27 for (i = p1 + 1; i < ct; i++) in column()
29 printf(", rows=%d\n", lp[p1]); in column()
35 matrix(int p1) in matrix() argument
41 nrow = lp[p1]; /* disaster if rows inconsistent */ in matrix()
43 for (i = p1; i < ct; i += lp[i] + 2) { in matrix()
49 j = p1 + k; in matrix()
56 j = p1 + k; in matrix()
63 j = p1; in matrix()
[all …]
H A Dshift.c21 bshiftb(int p1, int dir, int p2) in bshiftb() argument
29 yyval = p1; in bshiftb()
30 h1 = eht[p1]; in bshiftb()
31 b1 = ebase[p1]; in bshiftb()
53 if (rfont[p1] == ITAL && lfont[p2] == ROM) in bshiftb()
76 if (rfont[p1] == ITAL) in bshiftb()
86 "b=%d, h=%d\n", yyval, p1, shval, p2, -shval, in bshiftb()
93 rfont[p1] = 0; in bshiftb()
95 rfont[p1] = rfont[p2]; in bshiftb()
104 shift(int p1) in shift() argument
[all …]
H A Dio.c139 putout(int p1) in putout() argument
144 printf(".\tanswer <- S%d, h=%d,b=%d\n", p1, eht[p1], ebase[p1]); in putout()
145 eqnht = eht[p1]; in putout()
146 printf(".ds %d \\x'0'", p1); in putout()
149 before = eht[p1] - ebase[p1] - VERT(EM(1.2, ps)); in putout()
151 before = eht[p1] - ebase[p1] - VERT(3); /* 3 = 1.5 lines */ in putout()
158 gfont, gsize, p1, rfont[p1] == ITAL ? "\\|" : ""); in putout()
160 after = ebase[p1] - VERT(EM(0.2, ps)); in putout()
162 after = ebase[p1] - VERT(1); in putout()
167 eqnreg = p1; in putout()
H A Dtext.c34 text(int t, char *p1) in text() argument
50 p = p1; in text()
57 else if ((tp = lookup(restbl, p1, NULL)) != NULL) in text()
61 for (csp = psp = 0; (c = p1[psp++]) != '\0'; ) { in text()
62 rf = trans(c, p1); in text()
67 "converted token %.25s... too long"), p1); in text()
82 trans(int c, char *p1) in trans() argument
119 if (p1[psp] == '=') { /* look ahead for == <= >= */ in trans()
129 if (p1[psp] == '>') { in trans()
147 cs[csp++] = c; cs[csp++] = c = p1[psp++]; cs[csp++] = p1[psp++]; in trans()
[all …]
H A Dintegral.c21 integral(int p, int p1, int p2) in integral() argument
24 if (p1 != 0) in integral()
25 printf(".ds %d \\h'-0.4m'\\v'0.4m'\\*(%d\\v'-0.4m'\n", p1, p1); in integral()
29 if (p1 != 0 && p2 != 0) in integral()
30 shift2(p, p1, p2); in integral()
31 else if (p1 != 0) in integral()
32 bshiftb(p, SUB, p1); in integral()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_sc.c117 rds_path_record_t *p1; in rdsv3_path_up() local
135 p1 = (rds_path_record_t *)kmem_alloc( in rdsv3_path_up()
141 p->downp = p1; in rdsv3_path_up()
144 p1->libd_ip = path->local.ipaddr; in rdsv3_path_up()
145 p1->ribd_ip = path->remote.ipaddr; in rdsv3_path_up()
146 p1->up = NULL; in rdsv3_path_up()
147 p1->downp = NULL; in rdsv3_path_up()
148 (void) strcpy(p1->lifname, path->local.ifname); in rdsv3_path_up()
149 (void) strcpy(p1->rifname, path->remote.ifname); in rdsv3_path_up()
161 p1 = (rds_path_record_t *)kmem_alloc( in rdsv3_path_up()
[all …]
/titanic_44/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_sc.c121 rds_path_record_t *p1; in rds_path_up() local
139 p1 = (rds_path_record_t *)kmem_alloc( in rds_path_up()
145 p->downp = p1; in rds_path_up()
148 p1->libd_ip = path->local.ipaddr; in rds_path_up()
149 p1->ribd_ip = path->remote.ipaddr; in rds_path_up()
150 p1->up = NULL; in rds_path_up()
151 p1->downp = NULL; in rds_path_up()
152 (void) strcpy(p1->lifname, path->local.ifname); in rds_path_up()
153 (void) strcpy(p1->rifname, path->remote.ifname); in rds_path_up()
165 p1 = (rds_path_record_t *)kmem_alloc( in rds_path_up()
[all …]
/titanic_44/usr/src/cmd/csh/
H A Dsh.parse.c64 asyntax(struct wordent *p1, struct wordent *p2) in asyntax() argument
70 while (p1 != p2) in asyntax()
72 if (p1->word[0] == ';' || in asyntax()
73 p1->word[0] == '&' || in asyntax()
74 p1->word[0] == '\n') in asyntax()
75 p1 = p1->next; in asyntax()
77 asyn0(p1, p2); in asyntax()
83 asyn0(struct wordent *p1, struct wordent *p2) in asyn0() argument
91 for (p = p1; p != p2; p = p->next) in asyn0()
115 asyn3(p1, p); in asyn0()
[all …]
H A Dsh.exp.c112 int p1 = exp1(vp, ignore); in exp0() local
118 etraci("exp0 p1", p1, vp); in exp0()
124 p2 = exp0(vp, (ignore&IGNORE) || p1); in exp0()
128 return (p1 || p2); in exp0()
130 return (p1); in exp0()
136 int p1 = exp2(vp, ignore); in exp1() local
142 etraci("exp1 p1", p1, vp); in exp1()
148 p2 = exp1(vp, (ignore&IGNORE) || !p1); in exp1()
152 return (p1 && p2); in exp1()
154 return (p1); in exp1()
[all …]
/titanic_44/usr/src/lib/libsqlite/test/
H A Dpager.test32 set ::p1 [pager_open ptf1.db 10]
36 pager_stats $::p1
39 pager_pagecount $::p1
42 pager_stats $::p1
45 pager_close $::p1
52 set ::p1 [pager_open ptf1.db 10]
57 # set ::g1 [page_get $::p1 0]
62 set ::gx [page_lookup $::p1 1]
65 pager_stats $::p1
69 set ::g1 [page_get $::p1 1]
[all …]
/titanic_44/usr/src/lib/libresolv2/common/isc/
H A Dtree.c187 tree *p1, *p2, *sub; in sprout() local
235 p1 = (*ppr)->left; in sprout()
236 if (p1->bal == -1) { /*%< LL */ in sprout()
238 (*ppr)->left = p1->right; in sprout()
239 p1->right = *ppr; in sprout()
241 *ppr = p1; in sprout()
245 p2 = p1->right; in sprout()
246 p1->right = p2->left; in sprout()
247 p2->left = p1; in sprout()
258 p1->bal = -1; in sprout()
[all …]
/titanic_44/usr/src/lib/pam_modules/dial_auth/
H A Ddial_auth.c61 char *p1 = NULL, *p2 = NULL; in pam_sm_authenticate() local
104 while ((p1 = fgets(line, sizeof (line), fp)) != NULL) { in pam_sm_authenticate()
105 while (*p1 != '\n' && *p1 != ' ' && *p1 != '\t') in pam_sm_authenticate()
106 p1++; in pam_sm_authenticate()
107 *p1 = '\0'; in pam_sm_authenticate()
122 if (p1 == NULL) { in pam_sm_authenticate()
130 while ((p1 = fgets(line, sizeof (line)-1, fp)) != NULL) { in pam_sm_authenticate()
131 while (*p1 && *p1 != ':') in pam_sm_authenticate()
132 p1++; in pam_sm_authenticate()
133 *p1++ = '\0'; in pam_sm_authenticate()
[all …]
/titanic_44/usr/src/cmd/expand/
H A Dexpand.c75 char *p1, *p2; local
137 p1 = p2 = ibuf;
139 if (p1 >= p2) {
140 p1 = ibuf;
141 if ((len = fread(p1, 1, BUFSIZ, stdin)) <= 0)
143 p2 = p1 + len;
146 c = *p1++;
198 p1--;
199 if ((len = (p2 - p1)) <
202 ibuf[n] = *p1++;
[all …]
/titanic_44/usr/src/ucbcmd/basename/
H A Dbasename.c24 char *p1, *p2, *p3; in main() local
30 p1 = argv[1]; in main()
31 p2 = p1; in main()
32 while (*p1) { in main()
33 if (*p1++ == '/') in main()
34 p2 = p1; in main()
42 if (p1 <= p2 || *--p3 != *--p1) in main()
44 *p1 = '\0'; in main()
/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_hca.c755 ibt_hca_portinfo_t *p1; /* dst */ in ibtl_query_one_port() local
789 p1 = kmem_zalloc(len, KM_SLEEP); in ibtl_query_one_port()
790 *port_info_p = p1; in ibtl_query_one_port()
791 bcopy(sp1, p1, sizeof (ibt_hca_portinfo_t)); in ibtl_query_one_port()
794 p2 = (caddr_t)(p1 + 1); /* pkeys follow the struct ibt_hca_portinfo_s */ in ibtl_query_one_port()
796 p1->p_pkey_tbl = (ib_pkey_t *)p2; in ibtl_query_one_port()
800 p1->p_sgid_tbl = (ib_gid_t *)p2; in ibtl_query_one_port()
814 ibt_hca_portinfo_t *p1; /* dst */ in ibtl_query_hca_ports() local
856 p1 = kmem_zalloc(len, KM_SLEEP); in ibtl_query_hca_ports()
857 *port_info_p = p1; in ibtl_query_hca_ports()
[all …]
/titanic_44/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_subr.c130 char *p1, *p2; in convert_special() local
168 p1 = p; in convert_special()
181 if (*p1 == '\0') { in convert_special()
192 *p1 = *p2; in convert_special()
193 p1++; in convert_special()
200 *p1 = ':'; in convert_special()
201 p1++; in convert_special()
208 if (*p1 == '\0') { in convert_special()
217 *p1 = *p2; in convert_special()
218 p1++; in convert_special()
[all …]
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/
H A Devnv.c66 nvpair_t *p1 = NULL; in evnv_cmpnvl() local
74 p1 = nvlist_next_nvpair(nvl1, p1); in evnv_cmpnvl()
76 if (p1 == NULL && p2 == NULL) { in evnv_cmpnvl()
81 if (p1 == NULL) in evnv_cmpnvl()
85 s1 = nvpair_name(p1); in evnv_cmpnvl()
91 t1 = nvpair_type(p1); in evnv_cmpnvl()
102 (void) nvpair_value_nvlist(p1, &l1); in evnv_cmpnvl()
108 (void) nvpair_value_nvlist_array(p1, &la1, &na1); in evnv_cmpnvl()
124 (void) nvpair_value_string(p1, &s1); in evnv_cmpnvl()
139 (void) nvpair_value_uint64(p1, &lv1); in evnv_cmpnvl()
[all …]
/titanic_44/usr/src/lib/libgen/common/
H A Dreg_step.c160 step(char *p1, char *p2) in step() argument
169 start = p1; in step()
171 loc1 = p1; in step()
172 ret = _advance(p1, p2); in step()
180 if (*p1 != c) in step()
182 if (_advance(p1, p2)) { in step()
183 loc1 = p1; in step()
187 } while (*p1++); in step()
190 if (_advance(p1, p2)) { in step()
191 loc1 = p1; in step()
[all …]
/titanic_44/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test_subr.c67 struct mtest_alloc_ent **p, *p1; in mtest_deallocate_buf() local
73 p1 = *p; in mtest_deallocate_buf()
75 free(p1->buf); in mtest_deallocate_buf()
76 free((void *)p1); in mtest_deallocate_buf()
82 struct mtest_alloc_ent *p1; in mtest_deallocate_buf_all() local
84 while ((p1 = handle->alloc_list) != NULL) { in mtest_deallocate_buf_all()
85 handle->alloc_list = p1->next; in mtest_deallocate_buf_all()
86 free(p1->buf); in mtest_deallocate_buf_all()
87 free((void *)p1); in mtest_deallocate_buf_all()

12345678910>>...14