Searched defs:ms (Results 1 - 25 of 81) sorted by relevance

1234

/illumos-gate/usr/src/lib/libcurses/screen/
H A Ddelay_out.c55 * Delay the output for ms milliseconds.
68 delay_output(int ms) argument
72 return (_delay(ms * 10, _outchar));
H A Dnapms.c50 * napms. Sleep for ms milliseconds. We don't expect a particularly good
52 * but the rest of the program thinks in ms because the unit of resolution
77 napms(int ms) argument
81 if (poll(&pollfd, 0L, ms) == -1)
H A Ddraino.c58 * ms more milliseconds to drain completely.
63 draino(int ms) argument
67 /* number of chars = that many ms */
70 /* 10 bits/char, 1000 ms/sec, baudrate in bits/sec */
71 ncneeded = SP->baud * ms / (10 * 1000);
97 * Unfortunately this only works if ms is zero.
99 if (ms <= 0) {
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnapms.c52 napms(int ms) argument
55 if (0 < ms) {
57 if (1000000L < ms)
60 (void) usleep((usecond_t) ms);
62 (void) sleep((unsigned) (0 < ms / 1000 ? ms / 1000 : 1));
H A Ddelay.c54 delay_output(int ms) argument
64 number = (baud / 10 * ms) / 1000;
/illumos-gate/usr/src/lib/efcode/engine/
H A Dalarm.c68 fstack_t ms, xt; local
71 ms = POP(DS);
73 if (ms == 0) {
82 alarm_ms = ms;
84 alarm((ms + 999)/1000);
/illumos-gate/usr/src/uts/common/syscall/
H A Drusagesys.c191 struct mstate *ms; local
196 ms = &lwp->lwp_mstate;
197 unsecs = ms->ms_acct[LMS_USER];
198 snsecs = ms->ms_acct[LMS_SYSTEM] + ms->ms_acct[LMS_TRAP];
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dmskanji.c88 _MSKanjiState *ms; local
91 ms = (_MSKanjiState *)ps;
93 if ((ms->ch & ~0xFF) != 0) {
109 if (ms->ch != 0) {
114 wc = (ms->ch << 8) | (*s & 0xFF);
117 ms->ch = 0;
124 ms->ch = wc;
146 _MSKanjiState *ms; local
149 ms = (_MSKanjiState *)ps;
151 if (ms
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlp.c240 magic_t ms = NULL; local
242 if ((ms = magic_open(MAGIC_MIME)) != NULL) {
243 document_format = magic_file(ms, av[optind]);
244 magic_close(ms);
H A Dlpr.c212 magic_t ms; local
214 if ((ms = magic_open(MAGIC_MIME)) != NULL) {
215 document_format = magic_file(ms, av[optind]);
216 magic_close(ms);
/illumos-gate/usr/src/cmd/mailx/
H A Dedit.c98 long ms, lines; local
223 ms = 0L;
234 ms++;
238 ms++;
241 mp->m_size = ms;
H A Dcmd4.c196 long ms; local
235 ms = 0L;
246 ms++;
250 ms++;
253 mp->m_size = ms;
259 printf(gettext("[Loaded] %d/%ld\n"), lines, ms);
/illumos-gate/usr/src/lib/libinetutil/common/
H A Dtq.c193 iu_schedule_timer_ms(iu_tq_t *tq, uint64_t ms, iu_tq_callback_t *callback, argument
209 insert_timer(tq, node, ms);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.time.c135 int ms = local
164 psecs_int(ms / 100);
169 ((ms ? ms : 1))));
/illumos-gate/usr/src/cmd/cdrw/
H A Dutil.c279 * This will busy delay in ms milliseconds. Needed for cases
284 ms_delay(uint_t ms) argument
290 req = start + ((hrtime_t)ms * 1000000);
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/
H A Dwcsrtombs_test.c85 mbstate_t ms; local
102 (void) memset(&ms, 0, sizeof (ms));
104 cnt = wcsrtombs(mbs, &wcs, sizeof (mbs), &ms);
126 mbstate_t ms; local
148 (void) memset(&ms, 0, sizeof (ms));
150 cnt = wcsrtombs_l(mbs, &wcs, sizeof (mbs), &ms, loc);
171 mbstate_t ms; local
183 (void) memset(&ms,
227 mbstate_t ms; local
274 mbstate_t ms; local
307 mbstate_t ms; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sqlite.h90 sqlite_busy_timeout(sqlite *db, int ms) argument
/illumos-gate/usr/src/cmd/make/bin/
H A Dpmake.cc97 wchar_t *ms; local
204 for (ms = make_machines_list;
205 (ms) && (*ms );
211 pskip_till_next_word(&ms);
217 if (*ms) {
222 mp = ms;
223 SKIPWORD(ms);
224 c = *ms;
225 *ms
389 wchar_t *ms = *ms_address; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DPlatformCommon.c161 int ms = ((t < 0) ? -t : t) % 1000; local
168 fprintf(stderr,"%8d.%03d: %s\n", (int)(t/1000), ms, buffer);
195 syslog(syslog_level, "%8d.%03d: %s", (int)(t/1000), ms, buffer);
/illumos-gate/usr/src/cmd/mdb/common/modules/md/
H A Dmetastat.c53 ms_unit_t ms; local
63 if (mdb_vread(&ms, sizeof (ms_unit_t),
85 mdb_printf("Rows: %u\n", ms.un_nrows);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap.c959 ld_map_sym_t ms; local
982 (void) memset(&ms, 0, sizeof (ms));
983 ms.ms_name = tkv.tkv_str;
1005 ld_map_sym_scope(mf, ms.ms_name, &mv);
1031 ld_map_sym_filtee(mf, &mv, &ms,
1054 if (ms.ms_value) {
1062 ms.ms_value = (Addr)number;
1063 ms.ms_value_set = TRUE;
1068 if (ms
[all...]
/illumos-gate/usr/src/cmd/chmod/
H A Dcommon.c92 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path,
100 newmode(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path) argument
104 return (newmode_common(ms, new_mode, umsk, file, path, &tmp1, &tmp2));
115 newmode_common(char *ms, mode_t new_mode, mode_t umsk, char *file, char *path, argument
120 * expression pointed to by ms
143 msp = ms;
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_macro.c111 static void _dwarf_reset_index_macro_stack(struct macro_stack_s *ms);
113 free_macro_stack(Dwarf_Debug dbg, struct macro_stack_s *ms) argument
115 dwarf_dealloc(dbg,ms->st_base,DW_DLA_STRING);
116 _dwarf_reset_index_macro_stack(ms);
121 _dwarf_reset_index_macro_stack(struct macro_stack_s *ms) argument
123 ms->st_base = 0;
124 ms->max = 0;
125 ms->next_to_use = 0;
126 ms->was_fault = 0;
130 struct macro_stack_s *ms)
129 _dwarf_macro_stack_push_index(Dwarf_Debug dbg, Dwarf_Signed indx, struct macro_stack_s *ms) argument
163 _dwarf_macro_stack_pop_index(struct macro_stack_s *ms) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_timers.c647 clock_t ms; local
928 if ((ms = tcp->tcp_ms_we_have_waited) > second_threshold) {
998 } else if (ms > first_threshold) {
1025 if ((ms = (tcp->tcp_rtt_sa >> 3) + tcp->tcp_rtt_sd +
1033 ms = tcp->tcp_rto_min << tcp->tcp_timer_backoff;
1035 ms <<= tcp->tcp_timer_backoff;
1037 if (ms > tcp->tcp_rto_max) {
1038 ms = tcp->tcp_rto_max;
1040 * ms is at max, decrement tcp_timer_backoff to avoid
1045 tcp->tcp_ms_we_have_waited += ms;
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dlc.h76 const char* ms; member in struct:Lc_charset_s

Completed in 117 milliseconds

1234