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

123456

/freebsd-11-stable/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-11-stable/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-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_acl_text.c238 wchar_t *ws = NULL; local
242 ws = malloc(len * sizeof(wchar_t));
243 assert(mbstowcs(ws, s, len) != (size_t)-1);
246 return (ws);
254 wchar_t *ws; local
257 ws = convert_s_to_ws(s);
264 assertEqualWString(wtext, ws);
270 free(ws);
276 wchar_t *ws = NULL; local
301 ws
[all...]
/freebsd-11-stable/lib/libc/sys/
H A Dpselect.c44 pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t, argument
50 __libc_interposing[INTERPOS_pselect])(n, rs, ws, es, t, s));
H A Dselect.c44 select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t) argument
48 __libc_interposing[INTERPOS_select])(n, rs, ws, es, t));
/freebsd-11-stable/sbin/routed/
H A Doutput.c68 } ws; variable in typeref:struct:__anon7082
315 naddr_ntoa(ws.to.sin_addr.s_addr));
320 if (ws.a != NULL && 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 != NULL)
325 if_sick(ws.ifp);
326 ws
[all...]
/freebsd-11-stable/lib/libc/stdio/
H A Dfgetws.c46 fgetws_l(wchar_t * __restrict ws, int n, FILE * __restrict fp, locale_t locale) argument
65 wsp = ws;
100 } while ((wsp == ws || wsp[-1] != L'\n') && n > 1 && (fp->_r > 0 ||
111 if (wsp == ws)
116 ret = ws;
127 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) argument
129 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
66 wsp = ws;
83 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) argument
85 return fputws_l(ws, fp, __get_locale());
/freebsd-11-stable/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-11-stable/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.cpp26 winsize *ws = va_arg(vl, winsize *); local
32 ws->ws_col = info.dwMaximumWindowSize.X;
/freebsd-11-stable/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-11-stable/lib/libc/tests/stdio/
H A Dprintbasic_test.c73 wchar_t ws[BUF], wfmt[BUF], wresult[BUF]; local
86 mbstowcs(ws, s, BUF - 1);
89 vswprintf(ws, sizeof(ws) / sizeof(ws[0]), wfmt, ap2);
90 ATF_CHECK_MSG(wcscmp(wresult, ws) == 0,
92 wfmt, argstr, ws, wresult); local
/freebsd-11-stable/contrib/tcsh/
H A Dtc.nls.c40 wchar_t ws[2]; local
49 ws[0] = 0xd800 | (wchar >> 10);
50 ws[1] = 0xdc00 | (wchar & 0x3ff);
51 return wcswidth (ws, 2);
/freebsd-11-stable/lib/libc/net/
H A Dnscache.c332 cached_mp_write_session ws; local
345 ws = cache_info->get_mp_ws_func();
346 if (ws == INVALID_CACHED_MP_WRITE_SESSION) {
350 ws = __open_cached_mp_write_session(&params,
352 if (ws == INVALID_CACHED_MP_WRITE_SESSION)
355 cache_info->set_mp_ws_func(ws);
386 res = __cached_mp_write(ws, buffer, buffer_size);
395 cached_mp_write_session ws; local
403 ws = cache_info->get_mp_ws_func();
404 if (ws !
415 cached_mp_write_session ws; local
[all...]
/freebsd-11-stable/contrib/telnet/telnetd/
H A Dtermstat.c519 struct winsize ws; local
536 ws.ws_col = parm1;
537 ws.ws_row = parm2;
538 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws);
601 struct winsize ws; local
603 memset((char *)&ws, 0, sizeof(ws));
604 ws.ws_col = def_col;
605 ws.ws_row = def_row;
606 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws);
[all...]
/freebsd-11-stable/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 123 milliseconds

123456