/illumos-gate/usr/src/cmd/eqn/ |
H A D | pile.c | 18 lpile(int type, int p1, int p2) in lpile() argument 28 nlist = p2 - p1; in lpile() 30 mid = p1 + nlist2 -1; in lpile() 32 for (i = p1; i < p2; i++) in lpile() 47 for (i = p1; i < p2; i++) in lpile() 51 nrwid(lp[p1], ps, lp[p1]); in lpile() 52 printf(".nr %d \\n(%d\n", yyval, lp[p1]); in lpile() 53 for (i = p1+1; i < p2; i++) { in lpile() 60 for (i = p2-1; i >= p1; i--) { in lpile() 84 for (i = p1; i < p2; i++) in lpile()
|
H A D | integral.c | 19 integral(int p, int p1, int p2) in integral() argument 22 if (p1 != 0) in integral() 23 printf(".ds %d \\h'-0.4m'\\v'0.4m'\\*(%d\\v'-0.4m'\n", p1, p1); in integral() 27 if (p1 != 0 && p2 != 0) in integral() 28 shift2(p, p1, p2); in integral() 29 else if (p1 != 0) in integral() 30 bshiftb(p, SUB, p1); in integral()
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcms.c | 538 p1->tcm_pc += p2->tcm_pc; in tcmadd() 539 p1->tcm_cpu = p1->tcm_cpu + p2->tcm_cpu; in tcmadd() 540 p1->tcm_real = p1->tcm_real + p2->tcm_real; in tcmadd() 541 p1->tcm_kcore = p1->tcm_kcore + p2->tcm_kcore; in tcmadd() 542 p1->tcm_io += p2->tcm_io; in tcmadd() 543 p1->tcm_rw += p2->tcm_rw; in tcmadd() 610 if (p1->tcm_cpu == p2->tcm_cpu) in tccmp() 621 if (p1->pcm_cpu[PRIME] + p1->pcm_cpu[NONPRIME] == p2->pcm_cpu[PRIME] + p2->pcm_cpu[NONPRIME]) in ccmp() 634 if (p1->tcm_kcore == p2->tcm_kcore) in tkcmp() 658 if (p1->tcm_pc == p2->tcm_pc) in tncmp() [all …]
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | iconv_list.c | 198 char *p2, *p1; in scan_dir() local 217 p1 = strchr(namebuf, sep); in scan_dir() 218 if (p1 == NULL) in scan_dir() 220 *p1++ = '\0'; in scan_dir() 232 cs_insert(p1); in scan_dir() 240 char *p1, *p2; in scan_aliases() local 245 p1 = strchr(linebuf, ' '); in scan_aliases() 246 if (p1 == NULL) in scan_aliases() 248 *p1++ = '\0'; in scan_aliases() 249 p2 = strchr(p1, '\n'); in scan_aliases() [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_utf8.c | 123 char *p1, *p2; in slp_strcasecmp() local 127 p1 = p2 = NULL; wcs1 = wcs2 = NULL; in slp_strcasecmp() 134 p1 = slp_fold_space(s1); in slp_strcasecmp() 136 if (!p1 || !p2) in slp_strcasecmp() 139 if ((diff = strcasecmp(p1, p2)) == 0) in slp_strcasecmp() 146 if ((wcslen1 = mbstowcs(NULL, p1, 0)) == (size_t)-1) in slp_strcasecmp() 161 if (mbstowcs(wcs1, p1, wcslen1 + 1) == (size_t)-1) in slp_strcasecmp() 169 if (p1) free(p1); in slp_strcasecmp()
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_compare.c | 150 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)
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | test.c | 79 int p1; in exp() local 82 p1 = e1(); in exp() 87 return(p1 | exp()); in exp() 93 return(p1); in exp() 99 int p1; in e1() local 102 p1 = e2(); in e1() 106 return(p1 & e1()); in e1() 108 return(p1); in e1() 123 int p1; in e3() local 131 p1 = exp(); in e3() [all …]
|
/illumos-gate/usr/src/cmd/cat/ |
H A D | cat.c | 520 p1 = p2 = buf; 522 if (p1 >= p2) { 523 p1 = buf; 526 p2 = p1 + len; 528 c = *p1++; 587 p1--; 590 buf[n] = *p1++; 591 p1 = buf; 592 p2 = p1 + n; 603 p1 += len; [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | princ_comp.c | 66 register const krb5_data *p1 = krb5_princ_component(context, princ1, i); in krb5_principal_compare() local 68 if (p1->length != p2->length || in krb5_principal_compare() 69 memcmp(p1->data, p2->data, p1->length)) in krb5_principal_compare() 95 register const krb5_data *p1 = krb5_princ_component(context, princ1, i); in __krb5_principal_compare_case_ins() local 97 if (p1->length != p2->length || in __krb5_principal_compare_case_ins() 98 strncasecmp(p1->data, p2->data, p1->length)) in __krb5_principal_compare_case_ins()
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | regex.c | 86 char *p1, *p2; in libform_regex() local 98 while (p1 < __braelist[in]) *p2++ = *p1++; in libform_regex() 111 char *p1, *p2, c; in __execute() local 114 p1 = addrl; in __execute() 119 __loc1 = p1; in __execute() 126 if (*p1 != c) in __execute() 131 __loc1 = p1; in __execute() 134 } while (*p1++); in __execute() 141 if (i = __advance(p1, p2)) { in __execute() 142 __loc1 = p1; in __execute() [all …]
|
/illumos-gate/usr/src/ucbcmd/test/ |
H A D | test.c | 79 int p1; in exp() local 82 p1 = e1(); in exp() 86 return (p1 | exp()); in exp() 91 return (p1); in exp() 97 int p1; in e1() local 100 p1 = e2(); in e1() 103 return (p1 & e1()); in e1() 105 return (p1); in e1() 120 int p1; in e3() local 127 p1 = exp(); in e3() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.dir.c | 506 tchar *p1, /* general purpose */ in dcanon() local 535 for (p1 = sp, p2 = p; *p1++ = *p2++; ) in dcanon() 560 for (p1 = sp, p2 = p + 1; *p1++ = *p2++; ) in dcanon() 631 for (p1 = p; *p1++; ) in dcanon() 662 for (p2 = cp; *p1++ = *p2++; ) in dcanon() 664 for (p1--, p2 = link; *p1++ = *p2++; ) in dcanon() 666 for (p1--, p2 = p; *p1++ = *p2++; ) in dcanon() 678 (cc + (p1 - p))*sizeof (tchar)); in dcanon() 682 for (p2 = link; *p1++ = *p2++; ) in dcanon() 684 for (p1--, p2 = p; *p1++ = *p2++; ) in dcanon() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/common/ |
H A D | ucs2.h | 37 #define room_for_ucs2_cnv(p1,p2) (((p1)+sizeof(ucs2_t))<=(p2)) argument 38 #define no_room_for_ucs2_cnv(p1,p2) (((p1)+sizeof(ucs2_t))>(p2)) argument 39 #define incomplete_ucs2_seq(p1,p2) (((p1)+sizeof(ucs2_t))>(p2)) argument
|
H A D | ucs4.h | 38 #define room_for_ucs4_cnv(p1,p2) (((p1)+sizeof(ucs4_t))<=(p2)) argument 39 #define no_room_for_ucs4_cnv(p1,p2) (((p1)+sizeof(ucs4_t))>(p2)) argument 40 #define incomplete_ucs4_seq(p1,p2) (((p1)+sizeof(ucs4_t))>(p2)) argument
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | mouse.c | 156 int p1, p2; in drawscrollbar() local 160 p1 = 16 + (top - 1) * 100 / total; in drawscrollbar() 165 if (p1 < 16) { in drawscrollbar() 166 p1 = 16; in drawscrollbar() 172 if (p1 == ctrl('Q') || p1 == ctrl('S')) { in drawscrollbar() 173 ++p1; in drawscrollbar() 179 p1 = p2 = 16; in drawscrollbar() 181 (void) printf("\033W%c%c", p1, p2); in drawscrollbar()
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | terminfo.src | 431 # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 432 # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 720 …p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%… 721 …p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%… 722 …p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%… 723 …p1%{0}%=%t1%e%p1%{1}%=%t2%e%p1%{2}%=%t3%e%p1%{3}%=%t>%e%p1%{4}%=%t4%e%p1%{5}%=%t7%e%p1%{6}%=%t5%e%… 1643 setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 1644 setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 3505 setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, 3506 setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cmp.c | 153 register unsigned char* p1 = 0; in cmp() local 165 if ((c1 = e1 - p1) <= 0) in cmp() 169 if (!(p1 = (unsigned char*)sfreserve(f1, SF_UNBOUND, 0)) || (c1 = sfvalue(f1)) <= 0) in cmp() 189 e1 = p1 + c1; in cmp() 211 if (memcmp(p1, p2, c1)) in cmp() 213 p1 += c1; in cmp() 218 last = p1 + c1; in cmp() 219 while (p1 < last) in cmp() 221 if ((c1 = *p1++) != *p2++) in cmp() 234 sfprintf(sfstdout, "%6I*d", sizeof(pos), pos - (last - p1)); in cmp() [all …]
|
/illumos-gate/usr/src/lib/libeti/panel/inc/ |
H A D | private.h | 43 #define _panels_intersect(p1, p2) (!((p1)->wstarty > (p2)->wendy || \ argument 44 (p1)->wendy < (p2)->wstarty || \ 45 (p1)->wstartx > (p2)->wendx || \ 46 (p1)->wendx < (p2)->wstartx))
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/ |
H A D | err.D_PROTO_ARG.DupStructAssoc.d | 50 struct pirate p1; variable 61 p1.position = 1; 62 p1.content = 'a'; 69 assoc_array[p1] = 3333; 74 printf("assoc_array[p1]: %d\n", assoc_array[p1]);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/union/ |
H A D | err.D_PROTO_ARG.DupUnionAssoc.d | 50 union pirate p1; variable 61 p1.position = 1; 62 p1.content = 'a'; 69 assoc_array[p1] = 3333; 74 printf("assoc_array[p1]: %d\n", assoc_array[p1]);
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba_devdb.c | 333 (void *)p1, (void *)p2); in usb_devdb_compare_pathnames() 335 if (p1 && p2) { in usb_devdb_compare_pathnames() 338 rval = strcmp(p1, p2); in usb_devdb_compare_pathnames() 360 hstr = strrchr(p1, '/'); in usb_devdb_compare_pathnames() 361 rval = strncmp(p1, p2, in usb_devdb_compare_pathnames() 363 _PTRDIFF(hstr, p1))); in usb_devdb_compare_pathnames() 372 hstr = p1 + strlen(p1) -1; in usb_devdb_compare_pathnames() 388 } else if ((p1 == NULL) && (p2 == NULL)) { in usb_devdb_compare_pathnames() 392 if (p1 == NULL) { in usb_devdb_compare_pathnames() 416 u1 = ((usba_devdb_info_t *)p1)->usb_dev; in usba_devdb_compare() [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | var.c | 85 char c, *s, *p1, *p2, *p3, *newstring, *value; local 120 p1 = malloc(len + 1); 121 if (p1 == NULL) 125 strcpy(p1, newstring); 126 strcat(p1, p2); 128 strcat(p1, p3); 130 s = p1 + len - strlen(p3) - 1; 133 newstring = p1;
|
H A D | portnum.c | 25 u_short p1 = 0; local 47 p1 = sp->s_port; 54 if (p1 != sp2->s_port) { 56 linenum, name, p1); 60 *port = ntohs(p1);
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | atq.c | 462 char *p1, *p2; in creation() local 471 p1++; in creation() 473 if ((i = *p1++ - *p2++) != 0) in creation() 486 p1++; in creation() 488 seq1 = atoi(p1); in creation() 499 char *p1, *p2; in execution() local 507 if ((p1 = strchr(name1, '.')) == NULL) in execution() 511 p1++; in execution() 513 if ((i = *p1++ - *p2++) != 0) in execution() 523 p1++; in execution() [all …]
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 701 while (p1) { in insert_message() 710 prev_node = p1; in insert_message() 711 p1 = p1->next; in insert_message() 716 node->next = p1; in insert_message() 774 p1 = first_domain; in find_domain_node() 779 p1 = first_domain; in find_domain_node() 783 while (p1) { in find_domain_node() 788 return (p1); in find_domain_node() 791 prev_node = p1; in find_domain_node() 792 p1 = p1->next; in find_domain_node() [all …]
|