| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/ |
| H A D | templates.exp | 20 set ws "\[\r\n\t \]+" 48 global ws 52 …ws}public:${ws}static int X;${ws}int x;${ws}int val;${ws}T5<int> & operator=\\(T5<int> const ?&\\)… 55 …ws}public:${ws}static int X;${ws}int x;${ws}int val;${ws}T5\\(int\\);${ws}T5\\((T5<int> const|cons… 58 …ws}public:${ws}static int X;${ws}int x;${ws}int val;${ws}${ws}T5 \\(int\\);${ws}T5 \\(const class … 60 …ws}public:${ws}static int X;${ws}int x;${ws}int val;((${ws}T5<int> & operator=\\(T5<int> const ?&\… 63 …ws}public:${ws}static int X;${ws}int x;${ws}int val;${ws}void T5\\(int\\);${ws}void T5\\((T5<int> … 77 …ws}public:${ws}static int X;${ws}int x;${ws}int val;\r\n${ws}T5\\(int\\);${ws}T5\\(T5<int> const ?… 78 …ws}public:${ws}static int X;${ws}int x;${ws}int val;\r\n${ws}T5 \\(int\\);${ws}T5 \\(const class T… 79 …ws}public:${ws}static int X;${ws}int x;${ws}int val;\r\n${ws}T5 \\(int\\);${ws}T5 \\(const class T… [all …]
|
| H A D | overload.exp | 29 set ws "\[\r\n\t \]+" 65 set re_class "((struct|class) foo \{${ws}public:|struct foo \{)" 66 set re_fields "int ifoo;${ws}const char ?\\* ?ccpfoo;" 67 set XX_fields "int ifoo;${ws}char ?\\* ?ccpfoo;" 68 set re_ctor "foo\\(int\\);${ws}foo\\(int, (char const|const char) ?\\*\\);${ws}foo\\(foo ?&\\);" 72 set re_methods "${re_methods}${ws}void foofunc\\(int, signed char ?\\*\\);" 73 set re_methods "${re_methods}${ws}int overload1arg\\((void|)\\);" 74 set re_methods "${re_methods}${ws}int overload1arg\\(char\\);" 75 set re_methods "${re_methods}${ws}int overload1arg\\(signed char\\);" 76 set re_methods "${re_methods}${ws}int overload1arg\\(unsigned char\\);" [all …]
|
| H A D | exception.exp | 38 set ws "\[\r\n\t \]+" 83 set re_head "Num${ws}Type${ws}Disp${ws}Enb${ws}Address${ws}What" 84 set re_1_main "1${ws}breakpoint${ws}keep${ws}y${ws}$hex${ws}in main.*breakpoint already hit.*" 85 set re_2_catch "2${ws}catch catch${ws}keep${ws}y${ws}$hex${ws}exception catch" 86 set re_3_catch "3${ws}catch throw${ws}keep${ws}y${ws}$hex${ws}exception throw" 87 set re_2_bp "2${ws}breakpoint${ws}keep${ws}y${ws}$hex${ws}exception catch" 88 set re_3_bp "3${ws}breakpoint${ws}keep${ws}y${ws}$hex${ws}exception throw" 92 -re "$re_head${ws}$re_1_main${ws}$re_2_catch${ws}$re_3_catch\r\n$gdb_prompt $" { 95 -re "$re_head${ws}$re_1_main${ws}$re_2_bp${ws}$re_3_bp\r\n$gdb_prompt $" { 119 …-re "Continuing.${ws}Catchpoint \[0-9\]+ \\(exception thrown\\), throw location.*${srcfile}:30, ca… [all …]
|
| H A D | local.exp | 25 set ws "\[\r\n\t \]+" 90 set re_class "((struct|class) Local \{${ws}public:|struct Local \{)" 93 set re_synth_gcc_23 "Local & operator=\\(Local const ?&\\);${ws}Local\\(Local const ?&\\);${ws}Loca… 95 set XX_class "((struct|class) foobar__Fi.0::Local \{${ws}public:|struct foobar__Fi.0:Local \{)" 96 …ocal & operator=\\(foobar__Fi.0::Local const ?&\\);${ws}Local\\(foobar__Fi.0::Local const ?&\\);${… 97 set YY_methods "$re_methods${ws}$re_methods" 101 -re "type = $re_class${ws}$re_fields${ws}$re_methods$nl\}$nl$gdb_prompt $" { 107 … -re "type = $re_class${ws}$re_fields${ws}$re_synth_gcc_23${ws}$re_methods$nl\}$nl$gdb_prompt $" { 112 …-re "type = $re_class${ws}$re_fields${ws}$re_methods${ws}$re_synth_gcc_23${ws}$nl\}$nl$gdb_prompt … 117 -re "type = $XX_class${ws}$re_fields${ws}$re_methods$nl\}$nl$gdb_prompt $" { [all …]
|
| H A D | gdb1355.exp | 22 set ws "\[\r\n\t \]*" 66 set s_head "${ws}(struct|class) mystruct \{(${ws}public:|)" 69 set f_i "${ws}int m_int;" 70 set f_c "${ws}char m_char;" 71 set f_li "${ws}long int m_long_int;" 72 set f_ui "${ws}unsigned int m_unsigned_int;" 73 set f_lui "${ws}long unsigned int m_long_unsigned_int;" 74 set f_si "${ws}short int m_short_int;" 75 set f_sui "${ws}short unsigned int m_short_unsigned_int;" 76 set f_uc "${ws}unsigned char m_unsigned_char;" [all …]
|
| H A D | inherit.exp | 21 set ws "\[\r\n\t \]+" 45 global ws 89 set re_class "(class $re_tag \{${ws}public:|class \{${ws}public:|struct $re_tag \{|struct \{)" 90 set XX_class "(class $XX_tag \{${ws}public:|struct $XX_tag \{)" 91 set re_fields "int one;${ws}int two;" 92 …synth_gcc_23 "$re_tag & operator=\\($re_tag const ?&\\);${ws}$re_tag\\($re_tag const ?&\\);${ws}$r… 93 …23 "($re_tag|$XX_tag) & operator=\\($XX_tag const ?&\\);${ws}$XX_tag\\($XX_tag const ?&\\);${ws}$X… 97 -re "type = $XX_class${ws}$re_fields$nl\}$nl$gdb_prompt $" { 101 -re "type = $re_class${ws}$re_fields${ws}$XX_synth_gcc_23$nl\}$nl$gdb_prompt $" { 105 -re "type = $re_class${ws}$re_fields$nl\}$nl$gdb_prompt $" { [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
| H A D | cvexpr.exp | 56 set ws "\[ \t\]*" 194 "type = const volatile int${ws}\\*" \ 197 "type = const volatile int${ws}\\*" \ 200 "type = const volatile int${ws}\\*" \ 203 "type = const volatile int${ws}\\*" \ 206 "type = const volatile int${ws}\\*" \ 209 "type = const volatile int${ws}\\*" \ 212 "type = int${ws}\\*${ws}const volatile" \ 215 "type = int${ws}\\*${ws}const volatile" \ 415 "type = const int${ws}\\*" \ [all …]
|
| H A D | code-expr.exp | 56 set ws "\[ \t\]*" 300 "type = @code int${ws}\\*" \ 303 "type = @code int${ws}\\*" \ 306 "type = int \\*${ws}@code" \ 309 "type = @code int${ws}\\*${ws}@code" \ 312 "type = @code int${ws}\\*${ws}@code" \ 316 "type = @code int${ws}\\*${ws}\\*" \ 319 "type = @code int${ws}\\*${ws}\\*" \ 322 "type = int \\*${ws}\\*${ws}@code" \ 325 "type = @code int${ws}\\*${ws}@code${ws}\\*" \ [all …]
|
| H A D | info-proc.exp | 30 set ws "\[ \t\]+" 84 ".*Mapped address spaces:.*${hex}${ws}${hex}${ws}${hex}${ws}${hex}.*" \
|
| /openbsd-src/gnu/gcc/libgomp/ |
| H A D | iter.c | 45 struct gomp_work_share *ws = thr->ts.work_share; in gomp_iter_static_next() local 54 *pstart = ws->next; in gomp_iter_static_next() 55 *pend = ws->end; in gomp_iter_static_next() 57 return ws->next == ws->end; in gomp_iter_static_next() 63 if (ws->chunk_size == 0) in gomp_iter_static_next() 73 s = ws->incr + (ws->incr > 0 ? -1 : 1); in gomp_iter_static_next() 74 n = (ws->end - ws->next + s) / ws->incr; in gomp_iter_static_next() 94 s = (long)s0 * ws->incr + ws->next; in gomp_iter_static_next() 95 e = (long)e0 * ws->incr + ws->next; in gomp_iter_static_next() 110 s = ws->incr + (ws->incr > 0 ? -1 : 1); in gomp_iter_static_next() [all …]
|
| H A D | work.c | 41 struct gomp_work_share *ws; in gomp_new_work_share() local 44 size = sizeof (*ws); in gomp_new_work_share() 46 size += nthreads * sizeof (ws->ordered_team_ids[0]); in gomp_new_work_share() 48 ws = gomp_malloc_cleared (size); in gomp_new_work_share() 49 gomp_mutex_init (&ws->lock); in gomp_new_work_share() 50 ws->ordered_owner = -1; in gomp_new_work_share() 52 return ws; in gomp_new_work_share() 59 free_work_share (struct gomp_work_share *ws) in free_work_share() argument 61 gomp_mutex_destroy (&ws->lock); in free_work_share() 62 free (ws); in free_work_share() [all …]
|
| H A D | ordered.c | 42 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_first() local 49 index = ws->ordered_cur + ws->ordered_num_used; in gomp_ordered_first() 52 ws->ordered_team_ids[index] = thr->ts.team_id; in gomp_ordered_first() 57 if (ws->ordered_num_used++ == 0) in gomp_ordered_first() 73 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_last() local 81 ws->ordered_owner = -1; in gomp_ordered_last() 84 if (--ws->ordered_num_used > 0) in gomp_ordered_last() 86 unsigned next = ws->ordered_cur + 1; in gomp_ordered_last() 89 ws->ordered_cur = next; in gomp_ordered_last() 91 next_id = ws->ordered_team_ids[next]; in gomp_ordered_last() [all …]
|
| H A D | sections.c | 36 gomp_sections_init (struct gomp_work_share *ws, unsigned count) in gomp_sections_init() argument 38 ws->sched = GFS_DYNAMIC; in gomp_sections_init() 39 ws->chunk_size = 1; in gomp_sections_init() 40 ws->end = count + 1; in gomp_sections_init() 41 ws->incr = 1; in gomp_sections_init() 42 ws->next = 1; in gomp_sections_init() 106 struct gomp_work_share *ws; in GOMP_parallel_sections_start() local 112 ws = gomp_new_work_share (false, num_threads); in GOMP_parallel_sections_start() 113 gomp_sections_init (ws, count); in GOMP_parallel_sections_start() 114 gomp_team_start (fn, data, num_threads, ws); in GOMP_parallel_sections_start()
|
| /openbsd-src/regress/lib/libc/printf/ |
| H A D | string.c | 189 tls(const char *fmt, const wchar_t *ws, const char *want) in tls() argument 198 irc = snprintf(buf, sizeof(buf), fmt, ws); in tls() 202 charset, fmt, ws, irc); in tls() 208 charset, fmt, ws, irc, len); in tls() 215 charset, fmt, ws, buf, want); in tls() 221 charset, fmt, ws, buf, irc); in tls() 229 tls_expect_fail(const char *fmt, const wchar_t *ws) in tls_expect_fail() argument 237 irc = snprintf(buf, sizeof(buf), fmt, ws); in tls_expect_fail() 240 charset, fmt, (unsigned int)*ws, irc); in tls_expect_fail() 244 charset, fmt, (unsigned int)*ws, errno, EILSEQ); in tls_expect_fail() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.base-hp/ |
| H A D | reg.exp | 125 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}badcadee\r\n$gdb_prompt $" { 206 -re "r19${ws}0xdeadbeefbadcadee${ws}16045690984232431086\r\n$gdb_prompt $" { 210 -re "r19${ws}0xbadcadee${ws}3135024622\r\n$gdb_prompt $" {
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsMSAInstrFormats.td | 31 bits<5> ws; 38 let Inst{15-11} = ws; 44 bits<5> ws; 51 let Inst{15-11} = ws; 57 bits<5> ws; 64 let Inst{15-11} = ws; 70 bits<5> ws; 77 let Inst{15-11} = ws; 105 bits<5> ws; 110 let Inst{15-11} = ws; [all …]
|
| H A D | MipsMSAInstrInfo.td | 367 def vbclr_b : PatFrag<(ops node:$ws, node:$wt), 368 (and node:$ws, (vnot (shl vsplat_imm_eq_1, node:$wt)))>; 369 def vbclr_h : PatFrag<(ops node:$ws, node:$wt), 370 (and node:$ws, (vnot (shl vsplat_imm_eq_1, node:$wt)))>; 371 def vbclr_w : PatFrag<(ops node:$ws, node:$wt), 372 (and node:$ws, (vnot (shl vsplat_imm_eq_1, node:$wt)))>; 373 def vbclr_d : PatFrag<(ops node:$ws, node:$wt), 374 (and node:$ws, (vnot (shl (v2i64 vsplati64_imm_eq_1), 377 def vbneg_b : PatFrag<(ops node:$ws, node:$wt), 378 (xor node:$ws, (shl vsplat_imm_eq_1, node:$wt))>; [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| H A D | widechar-2.c | 3 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') in main()
|
| /openbsd-src/regress/lib/libssl/record/ |
| H A D | recordtest.c | 98 struct rw_state *ws = cb_arg; in write_cb() local 101 if (ws->eof) in write_cb() 104 if ((size_t)(n = buflen) > (ws->len - ws->offset)) in write_cb() 105 n = ws->len - ws->offset; in write_cb() 110 memcpy(&ws->buf[ws->offset], buf, n); in write_cb() 111 ws->offset += n; in write_cb() 466 struct rw_state ws; in test_record_send() local 471 if ((ws.buf = malloc(TLS13_RECORD_MAX_LEN)) == NULL) in test_record_send() 474 ws.offset = 0; in test_record_send() 491 ws.eof = rst->rt[i].eof; in test_record_send() [all …]
|
| /openbsd-src/sys/kern/ |
| H A D | exec_elf.c | 1161 struct writesegs_state ws; in coredump_elf() 1165 ws.p = p; in coredump_elf() 1166 ws.iocookie = cookie; in coredump_elf() 1167 ws.psections = NULL; in coredump_elf() 1174 coredump_walk_elf, &ws); in coredump_elf() 1178 error = coredump_write(cookie, UIO_SYSSPACE, ws.psections, in coredump_elf() 1179 ws.psectionslen, 0); in coredump_elf() 1189 if (notesize != ws.notesize) in coredump_elf() 1191 ws.notesize, notesize); in coredump_elf() 1192 offset = ws in coredump_elf() 1158 struct writesegs_state ws; coredump_elf() local 1273 struct writesegs_state *ws = cookie; coredump_setup_elf() local 1373 struct writesegs_state *ws = cookie; coredump_walk_elf() local [all...] |
| /openbsd-src/usr.bin/top/ |
| H A D | screen.c | 200 struct winsize ws; in get_screensize() local 202 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1) { in get_screensize() 203 if (ws.ws_row != 0) in get_screensize() 204 screen_length = ws.ws_row; in get_screensize() 205 if (ws.ws_col != 0) in get_screensize() 206 screen_width = ws.ws_col - 1; in get_screensize()
|
| /openbsd-src/usr.bin/mail/ |
| H A D | main.c | 313 struct winsize ws; in setscreensize() local 316 if (ioctl(1, TIOCGWINSZ, (char *) &ws) == -1) in setscreensize() 317 ws.ws_col = ws.ws_row = 0; in setscreensize() 326 else if (ws.ws_row != 0) in setscreensize() 327 screenheight = ws.ws_row; in setscreensize() 330 if ((realscreenheight = ws.ws_row) == 0) in setscreensize() 332 if ((screenwidth = ws.ws_col) == 0) in setscreensize()
|
| /openbsd-src/lib/libc/stdio/ |
| H A D | fgetws.c | 40 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) in fgetws() argument 53 wsp = ws; in fgetws() 59 if (wsp == ws) { in fgetws() 74 return (ws); in fgetws()
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | job.c | 85 struct winsize ws; in job_run() 115 memset(&ws, 0, sizeof ws); in job_run() 116 ws.ws_col = sx; in job_run() 117 ws.ws_row = sy; in job_run() 118 pid = fdforkpty(ptm_fd, &master, tty, NULL, &ws); in job_run() 280 struct winsize ws; in job_resize() 287 memset(&ws, 0, sizeof ws); 288 ws 84 struct winsize ws; job_run() local 273 struct winsize ws; job_resize() local [all...] |
| /openbsd-src/regress/bin/ksh/edit/ |
| H A D | edit.c | 47 struct winsize ws; in main() local 86 memset(&ws, 0, sizeof(ws)); in main() 87 ws.ws_col = 80; in main() 88 ws.ws_row = 24; in main() 90 pid = forkpty(&ptyfd, NULL, NULL, &ws); in main()
|