Searched refs:ws (Results 1 - 25 of 116) sorted by relevance

12345

/freebsd-10.0-release/contrib/gcclibs/libgomp/
H A Diter.c45 struct gomp_work_share *ws = thr->ts.work_share; local
54 *pstart = ws->next;
55 *pend = ws->end;
57 return ws->next == ws->end;
63 if (ws->chunk_size == 0)
73 s = ws->incr + (ws->incr > 0 ? -1 : 1);
74 n = (ws->end - ws
150 struct gomp_work_share *ws = thr->ts.work_share; local
186 struct gomp_work_share *ws = thr->ts.work_share; local
236 struct gomp_work_share *ws = thr->ts.work_share; local
270 struct gomp_work_share *ws = thr->ts.work_share; local
[all...]
H A Dwork.c41 struct gomp_work_share *ws; local
44 size = sizeof (*ws);
46 size += nthreads * sizeof (ws->ordered_team_ids[0]);
48 ws = gomp_malloc_cleared (size);
49 gomp_mutex_init (&ws->lock);
50 ws->ordered_owner = -1;
52 return ws;
59 free_work_share (struct gomp_work_share *ws) argument
61 gomp_mutex_destroy (&ws->lock);
62 free (ws);
76 struct gomp_work_share *ws; local
150 struct gomp_work_share *ws = thr->ts.work_share; local
188 struct gomp_work_share *ws = thr->ts.work_share; local
[all...]
H A Dordered.c42 struct gomp_work_share *ws = thr->ts.work_share; local
49 index = ws->ordered_cur + ws->ordered_num_used;
52 ws->ordered_team_ids[index] = thr->ts.team_id;
57 if (ws->ordered_num_used++ == 0)
73 struct gomp_work_share *ws = thr->ts.work_share; local
81 ws->ordered_owner = -1;
84 if (--ws->ordered_num_used > 0)
86 unsigned next = ws->ordered_cur + 1;
89 ws
108 struct gomp_work_share *ws = thr->ts.work_share; local
174 struct gomp_work_share *ws = thr->ts.work_share; local
198 struct gomp_work_share *ws = thr->ts.work_share; local
[all...]
H A Dsections.c36 gomp_sections_init (struct gomp_work_share *ws, unsigned count) argument
38 ws->sched = GFS_DYNAMIC;
39 ws->chunk_size = 1;
40 ws->end = count + 1;
41 ws->incr = 1;
42 ws->next = 1;
106 struct gomp_work_share *ws; local
112 ws = gomp_new_work_share (false, num_threads);
113 gomp_sections_init (ws, count);
114 gomp_team_start (fn, data, num_threads, ws);
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DLocaleXlocale.inc27 llvm::SmallVector<wchar_t,200> ws(size);
28 size = mbstowcs_l(&ws[0],s.c_str(),ws.size(),l);
29 assert(ws.size()==size);
30 return wcswidth_l(&ws[0],ws.size(),l);
/freebsd-10.0-release/crypto/heimdal/appl/telnet/telnetd/
H A Dtermstat.c96 struct winsize ws; local
105 ws.ws_col = parm1;
106 ws.ws_row = parm2;
107 ioctl(ourpty, TIOCSWINSZ, (char *)&ws);
/freebsd-10.0-release/sbin/routed/
H A Doutput.c68 } ws; variable in typeref:struct:__anon5835
315 naddr_ntoa(ws.to.sin_addr.s_addr));
320 if (ws.a != 0 && ws.a->type == RIP_AUTH_MD5)
321 end_md5_auth(wb,ws.a);
322 if (output(wb->type, &ws.to, ws.ifp, wb->buf,
324 && ws.ifp != 0)
325 if_sick(ws.ifp);
326 ws
[all...]
/freebsd-10.0-release/lib/libc/stdio/
H A Dfgetws.c46 fgetws_l(wchar_t * __restrict ws, int n, FILE * __restrict fp, locale_t locale) argument
66 wsp = ws;
93 if (wsp == ws)
102 return (ws);
109 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) argument
111 return fgetws_l(ws, n, fp, __get_locale());
H A Dfputws.c47 fputws_l(const wchar_t * __restrict ws, FILE * __restrict fp, locale_t locale) argument
64 wsp = ws;
83 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) argument
85 return fputws_l(ws, fp, __get_locale());
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_ACT_SPEC.SpeculateWithBreakPoint.d1 #!/usr/sbin/dtrace -ws
H A Derr.D_ACT_SPEC.SpeculateWithChill.d1 #!/usr/sbin/dtrace -ws
H A Derr.D_ACT_SPEC.SpeculateWithCopyOut.d1 #!/usr/sbin/dtrace -ws
H A Derr.D_ACT_SPEC.SpeculateWithCopyOutStr.d1 #!/usr/sbin/dtrace -ws
H A Derr.D_ACT_SPEC.SpeculateWithPanic.d1 #!/usr/sbin/dtrace -ws
H A Derr.D_ACT_SPEC.SpeculateWithRaise.d1 #!/usr/sbin/dtrace -ws
H A Derr.D_ACT_SPEC.SpeculateWithStop.d1 #!/usr/sbin/dtrace -ws
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dget_window_size.c67 struct winsize ws; local
69 ret = ioctl(fd, TIOCGWINSZ, &ws);
72 *lines = ws.ws_row;
74 *columns = ws.ws_col;
/freebsd-10.0-release/tools/regression/lib/libc/stdio/
H A Dtest-printbasic.c130 wchar_t ws[BUF], wfmt[BUF], wresult[BUF]; local
146 mbstowcs(ws, s, BUF - 1);
149 vswprintf(ws, sizeof(ws) / sizeof(ws[0]), wfmt, ap2);
150 if (wcscmp(wresult, ws) != 0) {
153 line, wfmt, argstr, ws, wresult);
/freebsd-10.0-release/usr.bin/mail/
H A Dmain.c326 struct winsize ws; local
329 if (ioctl(1, TIOCGWINSZ, (char *)&ws) < 0)
330 ws.ws_col = ws.ws_row = 0;
339 else if (ws.ws_row != 0)
340 screenheight = ws.ws_row;
343 if ((realscreenheight = ws.ws_row) == 0)
345 if ((screenwidth = ws.ws_col) == 0)
/freebsd-10.0-release/contrib/tcsh/
H A Dtc.nls.c44 wchar_t ws[2]; local
53 ws[0] = 0xd800 | (wchar >> 10);
54 ws[1] = 0xdc00 | (wchar & 0x3ff);
55 return wcswidth (ws, 2);
/freebsd-10.0-release/lib/libc/string/
H A Dwcscoll.c94 __mbsdup(const wchar_t *ws) argument
102 wcp = ws;
109 wcsrtombs(mbs, &ws, len + 1, &st);
H A Dwcsxfrm.c111 __mbsdup(const wchar_t *ws) argument
119 wcp = ws;
126 wcsrtombs(mbs, &ws, len + 1, &st);
/freebsd-10.0-release/lib/libc/net/
H A Dnscache.c331 cached_mp_write_session ws; local
344 ws = cache_info->get_mp_ws_func();
345 if (ws == INVALID_CACHED_MP_WRITE_SESSION) {
349 ws = __open_cached_mp_write_session(&params,
351 if (ws == INVALID_CACHED_MP_WRITE_SESSION)
354 cache_info->set_mp_ws_func(ws);
385 res = __cached_mp_write(ws, buffer, buffer_size);
394 cached_mp_write_session ws; local
402 ws = cache_info->get_mp_ws_func();
403 if (ws !
414 cached_mp_write_session ws; local
[all...]
/freebsd-10.0-release/contrib/telnet/telnetd/
H A Dtermstat.c523 struct winsize ws; local
540 ws.ws_col = parm1;
541 ws.ws_row = parm2;
542 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws);
605 struct winsize ws; local
607 memset((char *)&ws, 0, sizeof(ws));
608 ws.ws_col = def_col;
609 ws.ws_row = def_row;
610 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws);
[all...]
/freebsd-10.0-release/usr.bin/talk/
H A Dinit_disp.c195 struct winsize ws; local
197 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) < 0 ||
198 (ws.ws_row == LINES && ws.ws_col == COLS))
202 resizeterm(ws.ws_row, ws.ws_col);

Completed in 285 milliseconds

12345