/titanic_44/usr/src/man/man3sec/ |
H A D | Makefile | 19 MANSECT= 3sec 21 MANFILES= acl_check.3sec \ 22 acl_free.3sec \ 23 acl_get.3sec \ 24 acl_strip.3sec \ 25 acl_totext.3sec \ 26 acl_trivial.3sec \ 27 aclcheck.3sec \ 28 aclsort.3sec \ 29 acltomode.3sec \ [all …]
|
/titanic_44/usr/src/cmd/sgs/elfdump/common/ |
H A D | fake_shdr.c | 780 verdefneed_size(FSTATE *fstate, SINFO *sec) in verdefneed_size() argument 788 size_t num_main = sec->vercnt; in verdefneed_size() 797 if (sec->type == SINFO_T_VERDEF) { in verdefneed_size() 818 offset = highwater = map_addr_to_offset(fstate, sec->vaddr, in verdefneed_size() 822 sec->size = offset; in verdefneed_size() 849 sec->size = highwater - sec->size; in verdefneed_size() 873 get_data(FSTATE *fstate, SINFO *sec) in get_data() argument 884 if ((sec->type == SINFO_T_NULL) || (sec->shdr != NULL)) in get_data() 887 if (((sec->shdr = malloc(sizeof (*sec->shdr))) == NULL) || in get_data() 888 ((sec->data = malloc(sizeof (*sec->data))) == NULL)) { in get_data() [all …]
|
/titanic_44/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 42 uint32_t sec, nsec, tmp; in hrt2ts() local 45 sec = tmp - (tmp >> 2); in hrt2ts() 46 sec = tmp - (sec >> 5); in hrt2ts() 47 sec = tmp + (sec >> 1); in hrt2ts() 48 sec = tmp - (sec >> 6) + 7; in hrt2ts() 49 sec = tmp - (sec >> 3); in hrt2ts() 50 sec = tmp + (sec >> 1); in hrt2ts() 51 sec = tmp + (sec >> 3); in hrt2ts() 52 sec = tmp + (sec >> 4); in hrt2ts() 53 tmp = (sec << 7) - sec - sec - sec; in hrt2ts() [all …]
|
/titanic_44/usr/src/pkg/manifests/ |
H A D | system-library.man3sec.inc | 17 file path=usr/share/man/man3sec/acl_check.3sec 18 file path=usr/share/man/man3sec/acl_free.3sec 19 file path=usr/share/man/man3sec/acl_get.3sec 20 file path=usr/share/man/man3sec/acl_strip.3sec 21 file path=usr/share/man/man3sec/acl_totext.3sec 22 file path=usr/share/man/man3sec/acl_trivial.3sec 23 file path=usr/share/man/man3sec/aclcheck.3sec 24 file path=usr/share/man/man3sec/aclsort.3sec 25 file path=usr/share/man/man3sec/acltomode.3sec 26 file path=usr/share/man/man3sec/acltotext.3sec [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | timers.c | 90 time_t sec; in uniqtime() local 115 sec = ts.tv_sec; in uniqtime() 129 else if ((sec <= last.tv_sec) && /* same or lower seconds, and */ in uniqtime() 130 ((sec != last.tv_sec) || /* either different second or */ in uniqtime() 132 ((last.tv_sec - sec) <= 5)) { /* not way back in time */ in uniqtime() 133 sec = last.tv_sec; in uniqtime() 137 sec++; in uniqtime() 140 last.tv_sec = sec; in uniqtime() 144 tv->tv_sec = sec; in uniqtime() 898 time_t sec; in timespectohz() local [all …]
|
/titanic_44/usr/src/cmd/audio/utilities/ |
H A D | hdr_misc.c | 62 audio_secs_to_bytes(Audio_hdr *hp, double sec) in audio_secs_to_bytes() argument 66 offset = (unsigned)(0.5 + (sec * in audio_secs_to_bytes() 122 audio_secs_to_str(double sec, char *str, int precision) in audio_secs_to_str() argument 130 if (sec == HUGE_VAL) { in audio_secs_to_str() 141 if (sec < 0.) { in audio_secs_to_str() 142 sec = -sec; in audio_secs_to_str() 145 (void) sprintf(buf, "%.*f", precision, sec); in audio_secs_to_str() 146 (void) sscanf(buf, "%lf", &sec); in audio_secs_to_str() 147 if (sec > 0.) in audio_secs_to_str() 152 x = fmod(sec, 60.); in audio_secs_to_str() [all …]
|
/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_time.c | 119 uint32_t sec, nsec, tmp; in fmd_time_hrt2ftv() local 122 sec = tmp - (tmp >> 2); in fmd_time_hrt2ftv() 123 sec = tmp - (sec >> 5); in fmd_time_hrt2ftv() 124 sec = tmp + (sec >> 1); in fmd_time_hrt2ftv() 125 sec = tmp - (sec >> 6) + 7; in fmd_time_hrt2ftv() 126 sec = tmp - (sec >> 3); in fmd_time_hrt2ftv() 127 sec = tmp + (sec >> 1); in fmd_time_hrt2ftv() 128 sec = tmp + (sec >> 3); in fmd_time_hrt2ftv() 129 sec = tmp + (sec >> 4); in fmd_time_hrt2ftv() 130 tmp = (sec << 7) - sec - sec - sec; in fmd_time_hrt2ftv() [all …]
|
/titanic_44/usr/src/cmd/sgs/libconv/common/ |
H A D | time.c | 42 time_t sec; in conv_time() local 45 sec = newtime->tv_sec - oldtime->tv_sec; in conv_time() 50 sec -= 1; in conv_time() 57 if ((min = sec / 60) != 0) in conv_time() 58 sec = sec % 60; in conv_time() 64 MSG_ORIG(MSG_TIME_HMSF), hour, min, sec, usec); in conv_time() 67 MSG_ORIG(MSG_TIME_MSF), min, sec, usec); in conv_time() 70 MSG_ORIG(MSG_TIME_SF), sec, usec); in conv_time()
|
/titanic_44/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | sym.c | 152 elfedit_section_t *sec; member 157 elfedit_section_t *sec; member 161 elfedit_section_t *sec; member 167 elfedit_section_t *sec; member 206 if (symstate->str.sec != NULL) in symstate_add_str() 209 symstate->str.sec = elfedit_sec_getstr(argstate->obj_state, in symstate_add_str() 210 symstate->sym.sec->sec_shdr->sh_link, 0); in symstate_add_str() 215 if (symstate->versym.sec != NULL) in symstate_add_versym() 218 symstate->versym.sec = elfedit_sec_getversym(argstate->obj_state, in symstate_add_versym() 219 symstate->sym.sec, &symstate->versym.data, &symstate->versym.n); in symstate_add_versym() [all …]
|
H A D | syminfo.c | 116 elfedit_section_t *sec; member 121 elfedit_section_t *sec; member 126 elfedit_section_t *sec; member 129 elfedit_section_t *sec; member 189 argstate->syminfo.sec = elfedit_sec_getsyminfo(obj_state, in process_args() 219 if (argstate->sym.sec != NULL) in argstate_add_sym() 222 argstate->sym.sec = elfedit_sec_getsymtab(argstate->obj_state, in argstate_add_sym() 223 1, argstate->syminfo.sec->sec_shdr->sh_link, NULL, in argstate_add_sym() 229 if (argstate->str.sec != NULL) in argstate_add_str() 233 argstate->str.sec = elfedit_sec_getstr(argstate->obj_state, in argstate_add_str() [all …]
|
H A D | str.c | 119 elfedit_section_t *sec; member 123 elfedit_section_t *sec; member 330 argstate->str.sec = elfedit_sec_get(obj_state, ndx); in process_args() 345 argstate->str.sec = elfedit_sec_getstr(obj_state, ndx, 1); in process_args() 355 argstate->dyn.sec = NULL; in process_args() 362 (argstate->str.sec->sec_shndx == in process_args() 364 argstate->dyn.sec = elfedit_sec_getdyn(obj_state, in process_args() 375 argstate->str.sec->sec_data->d_size)) { in process_args() 379 EC_WORD(argstate->str.sec->sec_shndx), in process_args() 380 argstate->str.sec->sec_name, in process_args() [all …]
|
H A D | cap.c | 124 elfedit_section_t *sec; /* Capabilities section reference */ member 132 elfedit_section_t *sec; member 160 if (argstate->str.sec != NULL) in argstate_add_str() 167 if (argstate->cap.sec->sec_shdr->sh_info == 0) { in argstate_add_str() 171 EC_WORD(argstate->cap.sec->sec_shndx), in argstate_add_str() 172 argstate->cap.sec->sec_name); in argstate_add_str() 176 argstate->str.sec = elfedit_sec_getstr(argstate->obj_state, in argstate_add_str() 177 argstate->cap.sec->sec_shdr->sh_info, 0); in argstate_add_str() 229 return (elfedit_offset_to_str(argstate->str.sec, in cap_group_id() 261 EC_WORD(argstate->cap.sec->sec_shndx), argstate->cap.sec->sec_name, in argstate_cap_group() [all …]
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | c_ustime.c | 41 struct time_now { krb5_int32 sec, usec; }; member 57 n->sec = timeptr.time; in get_time_now() 82 n->sec = tv.tv_sec; in get_time_now() 112 if ((now.sec == last_time.sec) && (now.usec <= last_time.usec)) { in krb5_crypto_us_timeofday() 116 ++now.sec; in krb5_crypto_us_timeofday() 123 last_time.sec = now.sec; /* Remember for next time */ in krb5_crypto_us_timeofday() 127 *seconds = now.sec; in krb5_crypto_us_timeofday()
|
/titanic_44/usr/src/test/util-tests/tests/libsff/ |
H A D | libsff_compliance.out | 62 0 100 MBytes/sec 63 1 200 MBytes/sec 64 2 3200 MBytes/sec 65 3 400 MBytes/sec 66 4 1600 MBytes/sec 67 5 800 MBytes/sec 68 6 1200 MBytes/sec 118 0 100 MBytes/sec 119 1 200 MBytes/sec 120 2 3200 MBytes/sec [all …]
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | ustime.c | 40 krb5_int32 sec, usec; in krb5_us_timeofday() local 48 retval = krb5_crypto_us_timeofday(&sec, &usec); in krb5_us_timeofday() 55 sec++; in krb5_us_timeofday() 59 sec--; in krb5_us_timeofday() 61 sec += os_ctx->time_offset; in krb5_us_timeofday() 63 *seconds = sec; in krb5_us_timeofday()
|
/titanic_44/usr/src/cmd/srptadm/ |
H A D | srptadm.c | 61 #define SRPTADM_CHKAUTH(sec) {\ argument 62 if (!chkauthattr(sec, srptadm_uname)) {\ 65 sec);\ 349 char *sec = "solaris.smf.modify.stmf"; in set_default_state() local 351 SRPTADM_CHKAUTH(sec); in set_default_state() 362 char *sec = "solaris.smf.modify.stmf"; in enable_target() local 364 SRPTADM_CHKAUTH(sec); in enable_target() 375 char *sec = "solaris.smf.modify.stmf"; in disable_target() local 377 SRPTADM_CHKAUTH(sec); in disable_target() 388 char *sec = "solaris.smf.modify.stmf"; in reset_target() local [all …]
|
/titanic_44/usr/src/uts/common/fs/pcfs/ |
H A D | pc_subr.c | 121 uint_t year, month, day, hour, min, sec; in pc_tvtopct() local 160 sec = (int)unixtime; in pc_tvtopct() 163 PC_DPRINTF3(1, "ux2pc time: %dh%dm%ds\n", hour, min, sec); in pc_tvtopct() 171 ASSERT(sec < 60); in pc_tvtopct() 174 LE_16(hour << HOURSHIFT | min << MINSHIFT | (sec / 2) << SECSHIFT); in pc_tvtopct() 192 uint_t year, month, day, hour, min, sec; in pc_pcttotv() local 194 sec = 2 * ((LE_16(pctp->pct_time) >> SECSHIFT) & SECMASK); in pc_pcttotv() 213 hour > 23 || min > 59 || sec > 59) { in pc_pcttotv() 216 day, month, year, hour, min, sec); in pc_pcttotv() 222 PC_DPRINTF3(1, "pc2ux time: %dh%dm%ds\n", hour, min, sec); in pc_pcttotv() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_display.c | 572 time_t sec; in getxdr_date() local 580 sec = getxdr_long(); in getxdr_date() 582 if (sec == -1) in getxdr_date() 585 if (sec < 3600 * 24 * 365) { /* assume not a date */ in getxdr_date() 586 (void) sprintf(buff, "%d.%06d", sec, usec); in getxdr_date() 588 tmp = gmtime(&sec); in getxdr_date() 612 time_t sec, nsec; in getxdr_date_ns() local 614 sec = getxdr_long(); in getxdr_date_ns() 616 if (sec == -1) in getxdr_date_ns() 619 return (format_time(sec, nsec)); in getxdr_date_ns() [all …]
|
/titanic_44/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 121 elfedit_section_t *sec = obj_state->os_secarr; in elfedit_name_to_shndx() local 125 for (ndx = 0; ndx < shnum; ndx++, sec++) { in elfedit_name_to_shndx() 126 if (strcmp(shnam, sec->sec_name) == 0) { in elfedit_name_to_shndx() 129 EC_WORD(sec->sec_shndx), sec->sec_name, shnam); in elfedit_name_to_shndx() 157 elfedit_section_t *sec = obj_state->os_secarr; in elfedit_type_to_shndx() local 161 for (ndx = 0; ndx < shnum; ndx++, sec++) { in elfedit_type_to_shndx() 162 if (shtype == sec->sec_shdr->sh_type) { in elfedit_type_to_shndx() 165 EC_WORD(sec->sec_shndx), sec->sec_name, in elfedit_type_to_shndx() 300 elfedit_section_t *sec; in elfedit_sec_get() local 306 sec = &obj_state->os_secarr[shndx]; in elfedit_sec_get() [all …]
|
/titanic_44/usr/src/cmd/format/ |
H A D | defect.c | 74 int sec, status; in read_list() local 162 for (sec = 0; ((sec < BAD_LISTCNT * 2) && (sec < nsect)); sec += 2) { in read_list() 164 (diskaddr_t)chs2bn(ncyl + acyl - 1, nhead - 1, sec), 1, in read_list() 325 int sec; in write_deflist() local 384 for (sec = 0; ((sec < BAD_LISTCNT * 2) && (sec < nsect)); sec += 2) { in write_deflist() 386 (diskaddr_t)chs2bn(ncyl + acyl - 1, nhead - 1, sec), 1, in write_deflist()
|
/titanic_44/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 120 uint_t sec = startsec; in walk_partitions() local 121 uint_t lastsec = sec + 1; in walk_partitions() 128 while (sec != lastsec) { in walk_partitions() 129 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) { in walk_partitions() 132 lastsec = sec; in walk_partitions() 140 relsect = sec + ltohi(ipart[i].relsect); in walk_partitions() 145 if (is_dos_extended(systid) && (sec == lastsec)) { in walk_partitions() 146 sec = startsec + ltohi(ipart[i].relsect); in walk_partitions() 148 relsect = startsec = sec; in walk_partitions()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 350 int flags, sec; in smbfs_mount() local 530 sec = STRUCT_FGET(args, acregmin); in smbfs_mount() 531 if (sec < 0 || sec > SMBFS_ACMINMAX) in smbfs_mount() 532 sec = SMBFS_ACMINMAX; in smbfs_mount() 533 smi->smi_acregmin = SEC2HR(sec); in smbfs_mount() 536 sec = STRUCT_FGET(args, acregmax); in smbfs_mount() 537 if (sec < 0 || sec > SMBFS_ACMAXMAX) in smbfs_mount() 538 sec = SMBFS_ACMAXMAX; in smbfs_mount() 539 smi->smi_acregmax = SEC2HR(sec); in smbfs_mount() 542 sec = STRUCT_FGET(args, acdirmin); in smbfs_mount() [all …]
|
/titanic_44/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_filter.c | 84 uint64_t sec = ((struct timeval *)arg)->tv_sec; in fmd_log_filter_before() local 86 return (rp->rec_sec == sec ? rp->rec_nsec <= nsec : rp->rec_sec <= sec); in fmd_log_filter_before() 93 uint64_t sec = ((struct timeval *)arg)->tv_sec; in fmd_log_filter_after() local 95 return (rp->rec_sec == sec ? rp->rec_nsec >= nsec : rp->rec_sec >= sec); in fmd_log_filter_after()
|
/titanic_44/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 211 hr_min_sec(char *buf, long sec) in hr_min_sec() argument 213 if (sec >= 3600) in hr_min_sec() 215 sec / 3600, (sec % 3600) / 60, sec % 60); in hr_min_sec() 216 else if (sec >= 60) in hr_min_sec() 218 sec / 60, sec % 60); in hr_min_sec() 220 (void) sprintf(buf, "%ld", sec); in hr_min_sec()
|
/titanic_44/usr/src/lib/libast/common/tm/ |
H A D | tmxleap.c | 41 uint32_t sec; in tmxleap() local 46 sec = tmxsec(t); in tmxleap() 47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++); in tmxleap() 48 t = tmxsns(sec + lp->total, tmxnsec(t)); in tmxleap()
|