/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | gmt_mktime.c | 41 time_t accum; in krb5int_gmt_mktime() local 71 accum = t->tm_year - 70; in krb5int_gmt_mktime() 72 accum *= 365; /* 365 days/normal year */ in krb5int_gmt_mktime() 76 accum += (t->tm_year - 69) / 4; in krb5int_gmt_mktime() 78 accum -= (72 - t->tm_year) / 4; in krb5int_gmt_mktime() 81 if(hasleapday((t->tm_year + 1900))) accum += 1; in krb5int_gmt_mktime() 83 accum += days_in_month[t->tm_mon]; in krb5int_gmt_mktime() 84 accum += t->tm_mday-1; /* days of month are the only 1-based field */ in krb5int_gmt_mktime() 85 accum *= 24; /* 24 hour/day */ in krb5int_gmt_mktime() 86 accum += t->tm_hour; in krb5int_gmt_mktime() [all …]
|
/titanic_41/usr/src/cmd/mandoc/ |
H A D | preconv.c | 125 unsigned int accum; in conv_utf_8() local 133 accum = 0U; in conv_utf_8() 156 accum |= (cu & 63) << --state * 6; in conv_utf_8() 166 accum = (accum >> 24) | in conv_utf_8() 167 ((accum << 8) & 0x00FF0000) | in conv_utf_8() 168 ((accum >> 8) & 0x0000FF00) | in conv_utf_8() 169 (accum << 24); in conv_utf_8() 172 accum < 128U ? putchar(accum) : in conv_utf_8() 173 printf("\\[u%.4X]", accum); in conv_utf_8() 174 accum = 0U; in conv_utf_8() [all …]
|
/titanic_41/usr/src/cmd/cpc/common/ |
H A D | cputrack.c | 319 cpc_setgrp_t *accum; member 425 cpc_setgrp_accum(state->accum, sgrp); in pfini_lwp() 507 cpc_setgrp_reset(state->accum); in pexec() 508 start = cpc_setgrp_getset(state->accum); in pexec() 510 nreq = cpc_setgrp_getbufs(state->accum, &data1, &data2, in pexec() 516 *data1, nreq, cpc_setgrp_getname(state->accum)); in pexec() 519 } while (cpc_setgrp_nextset(state->accum) != start); in pexec() 523 if (state->accum != NULL) { in pexec() 524 cpc_setgrp_free(state->accum); in pexec() 525 state->accum = NULL; in pexec() [all …]
|
H A D | cpustat.c | 609 cpc_setgrp_t *accum; in cpustat() local 744 if ((accum = cpc_setgrp_clone(opts->master)) == NULL) { in cpustat() 756 cpc_setgrp_accum(accum, this->sgrp); in cpustat() 763 cpc_setgrp_reset(accum); in cpustat() 764 start = cpc_setgrp_getset(accum); in cpustat() 766 nreqs = cpc_setgrp_getbufs(accum, &data1, &data2, &scratch); in cpustat() 767 print_total(lwps, *data1, nreqs, cpc_setgrp_getname(accum)); in cpustat() 768 } while (cpc_setgrp_nextset(accum) != start); in cpustat() 770 cpc_setgrp_free(accum); in cpustat() 771 accum = NULL; in cpustat()
|
H A D | setgrp.c | 346 cpc_setgrp_accum(cpc_setgrp_t *accum, cpc_setgrp_t *sgrp) in cpc_setgrp_accum() argument 350 cpc_setgrp_reset(accum); in cpc_setgrp_accum() 352 if (accum->nelem != sgrp->nelem) in cpc_setgrp_accum() 356 if (accum->sets[i].nreqs != sgrp->sets[i].nreqs) in cpc_setgrp_accum() 358 cpc_buf_add(sgrp->cpc, accum->sets[i].data1, in cpc_setgrp_accum() 359 accum->sets[i].data1, sgrp->sets[i].data1); in cpc_setgrp_accum()
|
H A D | cpucmds.h | 68 extern void cpc_setgrp_accum(cpc_setgrp_t *accum, cpc_setgrp_t *sgrp);
|
/titanic_41/usr/src/uts/common/io/audio/impl/ |
H A D | audio_grc3.c | 101 int32_t accum = 0; \ in DEFINE_FILTER() 106 accum += _filt31_##T(*history, filter); \ in DEFINE_FILTER() 111 return (accum); \ in DEFINE_FILTER() 124 int32_t accum = 0; local 127 accum += _filt31_##p(*history, filter); \ 132 return (accum); 139 int32_t accum = 0; in _conv31_M() local 143 return (accum); in _conv31_M() 149 int32_t accum = 0; in _conv31_H() local 155 return (accum); in _conv31_H() [all …]
|
/titanic_41/usr/src/lib/libcpc/sparc/ |
H A D | event_ultra.c | 426 cpc_event_accum(cpc_event_t *accum, cpc_event_t *event) in cpc_event_accum() argument 428 if (accum->ce_hrt < event->ce_hrt) in cpc_event_accum() 429 accum->ce_hrt = event->ce_hrt; in cpc_event_accum() 430 accum->ce_tick += event->ce_tick; in cpc_event_accum() 431 accum->ce_pic[0] += event->ce_pic[0]; in cpc_event_accum() 432 accum->ce_pic[1] += event->ce_pic[1]; in cpc_event_accum()
|
/titanic_41/usr/src/lib/libadm/common/ |
H A D | cktime.c | 74 int accum = 0; in p_ndig() local 82 accum = (10 * accum) + (*ptr - '0'); in p_ndig() 86 *value = accum; in p_ndig()
|
H A D | ckdate.c | 85 int accum = 0; in p_ndigit() local 92 accum = (10 * accum) + (*ptr - '0'); in p_ndigit() 96 *value = accum; in p_ndigit()
|
/titanic_41/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 666 cpc_event_accum(cpc_event_t *accum, cpc_event_t *event) in cpc_event_accum() argument 668 if (accum->ce_hrt < event->ce_hrt) in cpc_event_accum() 669 accum->ce_hrt = event->ce_hrt; in cpc_event_accum() 670 accum->ce_tsc += event->ce_tsc; in cpc_event_accum() 671 accum->ce_pic[0] += event->ce_pic[0]; in cpc_event_accum() 672 accum->ce_pic[1] += event->ce_pic[1]; in cpc_event_accum()
|
/titanic_41/usr/src/lib/libcpc/common/ |
H A D | libcpc.h | 190 extern void cpc_event_accum(cpc_event_t *accum, cpc_event_t *event);
|
/titanic_41/usr/src/cmd/sa/ |
H A D | sar.c | 1169 ulong_delta(uint64_t *new, uint64_t *old, uint64_t *delta, uint64_t *accum, in ulong_delta() argument 1183 *accum++ += *delta++ = d; in ulong_delta()
|
/titanic_41/usr/src/uts/sun/io/ |
H A D | socal.c | 4964 uint_t accum, harda; in socal_fix_harda() local 4967 accum = xrp[SOCAL_XRAM_PORTA_HRDA/4]; in socal_fix_harda() 4969 accum &= 0x00FFFFFF; in socal_fix_harda() 4970 accum |= ((harda & 0xFF) << 24); in socal_fix_harda() 4972 accum &= 0xFF00FFFF; in socal_fix_harda() 4973 accum |= ((harda & 0xFF) << 16); in socal_fix_harda() 4975 xrp[SOCAL_XRAM_PORTA_HRDA/4] = accum; in socal_fix_harda()
|