/titanic_51/usr/src/ucbcmd/sed/ |
H A D | sed1.c | 107 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 < spen in execute() 231 char *p1; match() local 331 char *p1, *p2, *p3; command() local 606 char *p1, *p2; global() local 735 char *p1; arout() local [all...] |
/titanic_51/usr/src/cmd/eqn/ |
H A D | diacrit.c | 21 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() [all...] |
H A D | over.c | 20 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]), p in boverb() [all...] |
H A D | eqnbox.c | 20 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, p in eqnbox() [all...] |
H A D | fromto.c | 20 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, p in fromto() [all...] |
H A D | mark.c | 20 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 D | matrix.c | 20 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 in matrix() [all...] |
H A D | shift.c | 21 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 112 shift2(int p1,int p2,int p3) shift2() argument [all...] |
H A D | io.c | 139 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] in putout() [all...] |
H A D | text.c | 34 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[ps in trans() [all...] |
H A D | integral.c | 21 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_51/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_sc.c | 117 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 in rdsv3_path_up() 184 rds_path_record_t *p1, *p1up, *p1downp; rdsv3_path_down() local 263 rds_path_record_t *p1, *p1downp; rdsv3_sc_path_lookup() local 334 rds_path_record_t *p1; rdsv3_if_lookup_by_addr() local 374 rds_path_record_t *p1; rdsv3_scaddr_to_ibaddr() local [all...] |
/titanic_51/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_sc.c | 121 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 in rds_path_up() 188 rds_path_record_t *p1, *p1up, *p1downp; rds_path_down() local 267 rds_path_record_t *p1, *p1downp; rds_sc_path_lookup() local 338 rds_path_record_t *p1; rds_if_lookup_by_addr() local [all...] |
/titanic_51/usr/src/cmd/csh/ |
H A D | sh.parse.c | 64 asyntax(struct wordent *p1, struct wordent *p2) in asyntax() argument 70 while (p1 != p2) in asyntax() 71 /* if (any(p1->word[0], ";&\n")) */ /* For char -> tchar */ 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, struc argument 124 asyn3(struct wordent * p1,struct wordent * p2) asyn3() argument 176 freenod(struct wordent * p1,struct wordent * p2) freenod() argument 204 syntax(struct wordent * p1,struct wordent * p2,int flags) syntax() argument 227 syn0(struct wordent * p1,struct wordent * p2,int flags) syn0() argument 295 syn1(struct wordent * p1,struct wordent * p2,int flags) syn1() argument 337 syn1a(struct wordent * p1,struct wordent * p2,int flags) syn1a() argument 379 syn1b(struct wordent * p1,struct wordent * p2,int flags) syn1b() argument 421 syn2(struct wordent * p1,struct wordent * p2,int flags) syn2() argument 473 syn3(struct wordent * p1,struct wordent * p2,int flags) syn3() argument [all...] |
H A D | sh.exp.c | 112 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() 160 int p1 = exp2a(vp, ignore); exp2() local 184 int p1 = exp2b(vp, ignore); exp2a() local 208 int p1 = exp2c(vp, ignore); exp2b() local 232 tchar *p1 = exp3(vp, ignore); exp2c() local 279 tchar *p1, *p2; exp3() local 324 tchar *p1, *p2, *op; exp3a() local 355 tchar *p1, *p2; exp4() local 391 tchar *p1, *p2; exp5() local [all...] |
/titanic_51/usr/src/lib/libsqlite/test/ |
H A D | pager.test | 32 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 [all...] |
/titanic_51/usr/src/lib/libresolv2/common/isc/ |
H A D | tree.c | 187 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 in sprout() 417 tree *p1, *p2; bal_L() local 477 tree *p1, *p2; bal_R() local [all...] |
/titanic_51/usr/src/lib/pam_modules/dial_auth/ |
H A D | dial_auth.c | 61 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 in pam_sm_authenticate() [all...] |
/titanic_51/usr/src/ucbcmd/basename/ |
H A D | basename.c | 24 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_51/usr/src/cmd/expand/ |
H A D | expand.c | 75 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_51/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_hca.c | 755 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() 877 ibtl_set_default_pkey_ix(ibt_hca_portinfo_t * p1) ibtl_set_default_pkey_ix() argument 909 ibt_hca_portinfo_t *p1, *sp1; ibtl_reinit_hca_portinfo() local 1013 ibt_hca_portinfo_t *p1; ibtl_init_hca_portinfo() local [all...] |
/titanic_51/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_subr.c | 130 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_51/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | evnv.c | 66 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, in evnv_cmpnvl() [all...] |
/titanic_51/usr/src/lib/libgen/common/ |
H A D | reg_step.c | 160 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() 533 char *p1, *p2; _advance() local 560 char *p1, *p2; _advance() local [all...] |
/titanic_51/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test_subr.c | 67 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()
|