Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/man/man3sec/
H A DMakefile19 MANSECT= 3sec
23 acl_get.3sec \
30 acltotext.3sec
33 acl_set.3sec \
37 facl_set.3sec
39 acl_set.3sec := LINKSRC = acl_get.3sec
40 facl_get.3sec := LINKSRC = acl_get.3sec
41 facl_set.3sec := LINKSRC = acl_get.3sec
43 acl_fromtext.3sec := LINKSRC = acl_totext.3sec
45 aclfrommode.3sec := LINKSRC = acltomode.3sec
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c849 sec->size = highwater - sec->size; in verdefneed_size()
915 sec->shdr->sh_addr = sec->vaddr; in get_data()
916 sec->shdr->sh_offset = sec->offset; in get_data()
926 sec->shdr->sh_offset = sec->offset; in get_data()
932 sec->shdr->sh_addr = sec->vaddr; in get_data()
946 sec->shdr->sh_size = sec->size; in get_data()
985 sec->shdr->sh_info = sec->vercnt; in get_data()
1003 sec->data->d_size = sec->size; in get_data()
1033 (elf_xlatetom(sec->data, sec->data, in get_data()
1417 if (sec.ldynsym.size > sec.dynsym.size) in fake_shdr_cache()
[all …]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dtime_util.c45 uint32_t sec, nsec, tmp; in hrt2ts()
48 sec = tmp - (tmp >> 2); in hrt2ts()
49 sec = tmp - (sec >> 5); in hrt2ts()
50 sec = tmp + (sec >> 1); in hrt2ts()
51 sec = tmp - (sec >> 6) + 7; in hrt2ts()
52 sec = tmp - (sec >> 3); in hrt2ts()
53 sec = tmp + (sec >> 1); in hrt2ts()
54 sec = tmp + (sec >> 3); in hrt2ts()
55 sec = tmp + (sec >> 4); in hrt2ts()
56 tmp = (sec << 7) - sec - sec - sec; in hrt2ts()
[all …]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dclock.c96 uint32_t sec, nsec, tmp; in hrt2ts() local
99 sec = tmp - (tmp >> 2); in hrt2ts()
100 sec = tmp - (sec >> 5); in hrt2ts()
101 sec = tmp + (sec >> 1); in hrt2ts()
102 sec = tmp - (sec >> 6) + 7; in hrt2ts()
103 sec = tmp - (sec >> 3); in hrt2ts()
104 sec = tmp + (sec >> 1); in hrt2ts()
105 sec = tmp + (sec >> 3); in hrt2ts()
106 sec = tmp + (sec >> 4); in hrt2ts()
107 tmp = (sec << 7) - sec - sec - sec; in hrt2ts()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3sec.inc17 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
23 file path=usr/share/man/man3sec/aclcheck.3sec
24 file path=usr/share/man/man3sec/aclsort.3sec
27 link path=usr/share/man/man3sec/acl_fromtext.3sec target=acl_totext.3sec
28 link path=usr/share/man/man3sec/acl_set.3sec target=acl_get.3sec
29 link path=usr/share/man/man3sec/aclfrommode.3sec target=acltomode.3sec
30 link path=usr/share/man/man3sec/aclfromtext.3sec target=acltotext.3sec
31 link path=usr/share/man/man3sec/facl_get.3sec target=acl_get.3sec
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dtime.h25 ulong_t sec; /* seconds */ member
35 (bt)->sec = 0; \
50 (((a)->sec == (b)->sec) ? \
52 ((a)->sec cmp (b)->sec))
81 bt->sec++; in bintime_add()
82 bt->sec += bt2->sec; in bintime_add()
93 bt->sec--; in bintime_sub()
94 bt->sec -= bt2->sec; in bintime_sub()
104 bt->sec *= x; in bintime_mul()
105 bt->sec += (p2 >> 32); in bintime_mul()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c1188 sec = tmp - (sec >> 5); in hrt2ts()
1189 sec = tmp + (sec >> 1); in hrt2ts()
1191 sec = tmp - (sec >> 3); in hrt2ts()
1192 sec = tmp + (sec >> 1); in hrt2ts()
1193 sec = tmp + (sec >> 3); in hrt2ts()
1194 sec = tmp + (sec >> 4); in hrt2ts()
1195 tmp = (sec << 7) - sec - sec - sec; in hrt2ts()
1279 sec = tmp - (sec >> 5); in hrt2tv()
1280 sec = tmp + (sec >> 1); in hrt2tv()
1282 sec = tmp - (sec >> 3); in hrt2tv()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dhdr_misc.c66 offset = (unsigned)(0.5 + (sec * in audio_secs_to_bytes()
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()
147 if (sec > 0.) in audio_secs_to_str()
152 x = fmod(sec, 60.); in audio_secs_to_str()
153 sec -= x; in audio_secs_to_str()
156 sec += x; in audio_secs_to_str()
158 if (sec >= 60.) { in audio_secs_to_str()
161 sec -= (double)(ovflow * 60); in audio_secs_to_str()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_time.c122 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()
137 sec++; in fmd_time_hrt2ftv()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dsym.c152 elfedit_section_t *sec; member
703 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_bind()
727 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_bind()
764 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_name()
780 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_name()
896 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_shndx()
905 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_shndx()
957 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_type()
963 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_type()
996 symstate->sym.sec->sec_shndx, symstate->sym.sec->sec_name, in cmd_body_set_st_visibility()
[all …]
H A Dsyminfo.c116 elfedit_section_t *sec; member
121 elfedit_section_t *sec; member
126 elfedit_section_t *sec; member
129 elfedit_section_t *sec; member
219 if (argstate->sym.sec != NULL) in argstate_add_sym()
229 if (argstate->str.sec != NULL) in argstate_add_str()
239 if (argstate->dynamic.sec != NULL) in argstate_add_dynamic()
380 argstate->str.sec, in print_syminfo()
475 dynsec = argstate->dynamic.sec; in needed_to_boundto()
627 argstate.syminfo.sec->sec_shndx, in cmd_body()
[all …]
H A Dstr.c119 elfedit_section_t *sec; member
123 elfedit_section_t *sec; member
355 argstate->dyn.sec = NULL; in process_args()
380 argstate->str.sec->sec_name, in process_args()
439 argstate->str.sec->sec_name); in print_strtab()
692 argstate.str.sec, argstate.dyn.sec, argstate.argv[0]); in cmd_body()
752 elfedit_section_t *sec; in cpl_sh_opt() local
787 sec = obj_state->os_secarr; in cpl_sh_opt()
789 Shdr *shdr = sec->sec_shdr; in cpl_sh_opt()
822 elfedit_section_t *sec; in cpl_sec_str() local
[all …]
H A Dcap.c132 elfedit_section_t *sec; member
160 if (argstate->str.sec != NULL) in argstate_add_str()
172 argstate->cap.sec->sec_name); in argstate_add_str()
261 EC_WORD(argstate->cap.sec->sec_shndx), argstate->cap.sec->sec_name, in argstate_cap_group()
416 if (argstate->str.sec == NULL) { in print_cap()
444 if (argstate->str.sec == NULL) in print_cap()
782 cap_name = argstate.cap.sec->sec_name; in cmd_body()
905 argstate.cap.sec->sec_shndx, in cmd_body()
906 argstate.cap.sec->sec_name, in cmd_body()
911 argstate.cap.sec->sec_shndx, in cmd_body()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h54 time_t sec; member
66 _bt->sec++; in bintime_addx()
77 _bt->sec++; in bintime_add()
78 _bt->sec += _bt2->sec; in bintime_add()
89 _bt->sec--; in bintime_sub()
90 _bt->sec -= _bt2->sec; in bintime_sub()
100 _bt->sec *= _x; in bintime_mul()
110 _bt->sec <<= _exp; in bintime_shift()
116 _bt->sec >>= -_exp; in bintime_shift()
123 (((a)->sec == (b)->sec) ? \
[all …]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtime.c42 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()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dc_ustime.c41 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()
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_compliance.out62 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
121 3 400 MBytes/sec
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dustime.c40 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()
/illumos-gate/usr/src/cmd/srptadm/
H A Dsrptadm.c61 #define SRPTADM_CHKAUTH(sec) {\ argument
62 if (!chkauthattr(sec, srptadm_uname)) {\
65 sec);\
351 SRPTADM_CHKAUTH(sec); in set_default_state()
364 SRPTADM_CHKAUTH(sec); in enable_target()
377 SRPTADM_CHKAUTH(sec); in disable_target()
390 SRPTADM_CHKAUTH(sec); in reset_target()
401 char *sec = "solaris.smf.read.stmf"; in list_defaults() local
404 SRPTADM_CHKAUTH(sec); in list_defaults()
430 char *sec = "solaris.smf.read.stmf"; in list_target() local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c572 time_t sec; in getxdr_date() local
580 sec = getxdr_long(); in getxdr_date()
582 if (sec == -1) 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()
670 time_t sec; in getxdr_time() local
676 sec = getxdr_long(); in getxdr_time()
677 if (sec == -1) in getxdr_time()
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_subr.c121 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 …]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c129 EC_WORD(sec->sec_shndx), sec->sec_name, shnam); in elfedit_name_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()
309 EC_WORD(shndx), sec->sec_name); in elfedit_sec_get()
310 return (sec); in elfedit_sec_get()
509 switch (sec->sec_shdr->sh_type) { in elfedit_sec_issymtab()
530 EC_WORD(sec->sec_shndx), sec->sec_name); in elfedit_sec_issymtab()
828 s = (char *)sec->sec_data->d_buf; in elfedit_sec_findstr()
835 EC_WORD(sec->sec_shndx), sec->sec_name, in elfedit_sec_findstr()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Ddefect.c74 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()
/illumos-gate/usr/src/cmd/sleep/
H A Dsleep.c65 long double d, sec, frac; in main() local
134 frac = modfl(d, &sec); in main()
140 while (sec > 0 || frac != 0) { in main()
155 if (sec > (float)INT_MAX) { in main()
158 ts.tv_sec = (time_t)sec; in main()
160 sec -= ts.tv_sec; in main()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c120 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()

12345678910>>...18