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

12345

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dwidechar-2.c3 const wchar_t ws[] = L"foo"; variable
8 if (ws[0] != L'f' || ws[1] != L'o' || ws[2] != L'o' || ws[3] != L'\0')
/openbsd-current/gnu/gcc/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...]
/openbsd-current/lib/libc/stdio/
H A Dfputws.c40 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) argument
45 while (*ws != '\0') {
46 if (__fputwc_unlock(*ws++, fp) == WEOF) {
H A Dfgetws.c40 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) argument
53 wsp = ws;
59 if (wsp == ws) {
74 return (ws);
/openbsd-current/regress/lib/libc/printf/
H A Dstring.c184 * Print the wide character string ws with the format fmt,
189 tls(const char *fmt, const wchar_t *ws, const char *want) argument
198 irc = snprintf(buf, sizeof(buf), fmt, ws);
202 charset, fmt, ws, irc);
208 charset, fmt, ws, irc, len);
215 charset, fmt, ws, buf, want);
221 charset, fmt, ws, buf, irc);
225 * Try to print the invalid wide character string ws with the format fmt,
229 tls_expect_fail(const char *fmt, const wchar_t *ws) argument
237 irc = snprintf(buf, sizeof(buf), fmt, ws);
255 const wchar_t ws[] = { 0x0421, 0x043e, 0x0444, 0x044f, 0 }; local
[all...]
/openbsd-current/usr.bin/top/
H A Dscreen.c200 struct winsize ws; local
202 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1) {
203 if (ws.ws_row != 0)
204 screen_length = ws.ws_row;
205 if (ws.ws_col != 0)
206 screen_width = ws.ws_col - 1;
/openbsd-current/gnu/llvm/lldb/tools/driver/
H A DPlatform.cpp26 winsize *ws = va_arg(vl, winsize *); local
32 ws->ws_col = info.dwMaximumWindowSize.X;
/openbsd-current/gnu/lib/libstdc++/libstdc++/src/
H A Distream-inst.cc42 template istream& ws(istream&);
59 template wistream& ws(wistream&);
/openbsd-current/usr.bin/mail/
H A Dmain.c313 struct winsize ws; local
316 if (ioctl(1, TIOCGWINSZ, (char *) &ws) == -1)
317 ws.ws_col = ws.ws_row = 0;
326 else if (ws.ws_row != 0)
327 screenheight = ws.ws_row;
330 if ((realscreenheight = ws.ws_row) == 0)
332 if ((screenwidth = ws.ws_col) == 0)
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/27_io/istream_extractor_arith/
H A D09.cc55 (is>>std::ws) >> f1;
56 (is>>std::ws) >> c;
57 (is>>std::ws) >> f2;
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
H A Distream_manip.cc40 // basic_istream<_CharT, _Traits>& ws(basic_istream<_Char, _Traits>& is)
48 iss02 >> std::ws; member in class:std
58 iss02 >> std::ws; member in class:std
72 iss01 >> std::ws; member in class:std
H A Dinstantiations.cc50 >> ws;
/openbsd-current/regress/lib/libssl/record/
H A Drecordtest.c98 struct rw_state *ws = cb_arg; local
101 if (ws->eof)
104 if ((size_t)(n = buflen) > (ws->len - ws->offset))
105 n = ws->len - ws->offset;
110 memcpy(&ws->buf[ws->offset], buf, n);
111 ws->offset += n;
466 struct rw_state ws; local
[all...]
/openbsd-current/usr.bin/talk/
H A Dinit_disp.c168 struct winsize ws; local
170 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == -1 ||
171 (ws.ws_row == LINES && ws.ws_col == COLS))
175 resizeterm(ws.ws_row, ws.ws_col);
/openbsd-current/regress/bin/ksh/edit/
H A Dedit.c47 struct winsize ws; local
86 memset(&ws, 0, sizeof(ws));
87 ws.ws_col = 80;
88 ws.ws_row = 24;
90 pid = forkpty(&ptyfd, NULL, NULL, &ws);
/openbsd-current/gnu/gcc/libstdc++-v3/include/backward/
H A Diostream.h51 using std::ws;
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/backward/
H A Diostream.h51 using std::ws;
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.base-hp/
H A Dreg.exp125 set ws "\[\r\n\t \]+"
128 global ws
129 set value_611 "$regname${ws}$vhex"
130 set value_new "$regname${ws}0x$vhex${ws}$vdec"
158 -re "r1${ws}1\r\n$gdb_prompt $" {
161 -re "r1${ws}0x1${ws}1\r\n$gdb_prompt $" {
198 -re "r19${ws}deadbeefbadcadee\r\n$gdb_prompt $" {
202 -re "r19${ws}badcade
[all...]
/openbsd-current/sys/arch/hppa/hppa/
H A Dwscons_machdep.c46 cons_decl(ws); variable
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dinfo-proc.exp30 set ws "\[ \t\]+"
84 ".*Mapped address spaces:.*${hex}${ws}${hex}${ws}${hex}${ws}${hex}.*" \
/openbsd-current/regress/sys/kern/pledge/generic/
H A Dtest_tty.c35 struct winsize ws; /* sys/ttycom.h */ local
61 if (ioctl(fd, TIOCGWINSZ, &ws) == -1)
/openbsd-current/regress/sys/kern/kqueue/
H A Dkqueue-pty.c20 pty_check(int kq, struct kevent *ev, int n, int rm, int rs, int wm, int ws) argument
42 ASSX(ev->ident != -ws);
45 if (ev->ident == ws)
46 ws = 0;
53 ASSX(ws <= 0);

Completed in 170 milliseconds

12345