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

123

/haiku-buildtools/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')
H A Dpr56866.c9 unsigned short ws[256], rs[256]; local
15 __builtin_memset (ws, 0, sizeof ws);
19 ws[0] = 0x4567;
22 asm volatile ("" : : "g" (wq), "g" (wi), "g" (ws), "g" (wc) : "memory");
29 rs[t] = (ws[t] >> 9) | (ws[t] << (sizeof (ws[0]) * __CHAR_BIT__ - 9));
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dutf8-5byte-1.c9 __WCHAR_TYPE__ ws[] = L"�����"; variable
14 if (ws[0] != L'\U03FFFFFF' || ws[1] != 0)
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/basic_string/range_access/wchar_t/
H A D1.cc29 std::wstring ws(L"Hello, World!");
30 std::begin(ws);
31 std::end(ws);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/string_view/range_access/wchar_t/
H A D1.cc29 std::experimental::wstring_view ws(L"Hello, World!");
30 std::begin(ws);
31 std::end(ws);
/haiku-buildtools/gcc/libgomp/
H A Dwork.c41 struct gomp_work_share *ws; local
47 ws = team->work_share_list_alloc;
48 team->work_share_list_alloc = ws->next_free;
49 return ws;
53 ws = team->work_share_list_free;
56 __asm ("" : "+r" (ws));
58 if (ws && ws->next_free)
60 struct gomp_work_share *next = ws->next_free;
61 ws
93 gomp_init_work_share(struct gomp_work_share *ws, bool ordered, unsigned nthreads) argument
125 gomp_fini_work_share(struct gomp_work_share *ws) argument
137 free_work_share(struct gomp_team *team, struct gomp_work_share *ws) argument
173 struct gomp_work_share *ws; local
190 struct gomp_work_share *ws = alloc_work_share (team); local
269 struct gomp_work_share *ws = thr->ts.work_share; local
[all...]
H A Diter.c43 struct gomp_work_share *ws = thr->ts.work_share; local
52 *pstart = ws->next;
53 *pend = ws->end;
55 return ws->next == ws->end;
61 if (ws->chunk_size == 0)
71 s = ws->incr + (ws->incr > 0 ? -1 : 1);
72 n = (ws->end - ws
151 struct gomp_work_share *ws = thr->ts.work_share; local
187 struct gomp_work_share *ws = thr->ts.work_share; local
264 struct gomp_work_share *ws = thr->ts.work_share; local
298 struct gomp_work_share *ws = thr->ts.work_share; local
[all...]
H A Diter_ull.c44 struct gomp_work_share *ws = thr->ts.work_share; local
53 *pstart = ws->next_ull;
54 *pend = ws->end_ull;
56 return ws->next_ull == ws->end_ull;
62 if (ws->chunk_size_ull == 0)
70 if (__builtin_expect (ws->mode, 0) == 0)
71 n = (ws->end_ull - ws->next_ull + ws
153 struct gomp_work_share *ws = thr->ts.work_share; local
189 struct gomp_work_share *ws = thr->ts.work_share; local
265 struct gomp_work_share *ws = thr->ts.work_share; local
302 struct gomp_work_share *ws = thr->ts.work_share; local
[all...]
H A Dordered.c40 struct gomp_work_share *ws = thr->ts.work_share; local
47 index = ws->ordered_cur + ws->ordered_num_used;
50 ws->ordered_team_ids[index] = thr->ts.team_id;
55 if (ws->ordered_num_used++ == 0)
71 struct gomp_work_share *ws = thr->ts.work_share; local
79 ws->ordered_owner = -1;
82 if (--ws->ordered_num_used > 0)
84 unsigned next = ws->ordered_cur + 1;
87 ws
106 struct gomp_work_share *ws = thr->ts.work_share; local
172 struct gomp_work_share *ws = thr->ts.work_share; local
196 struct gomp_work_share *ws = thr->ts.work_share; local
[all...]
H A Dsections.c34 gomp_sections_init (struct gomp_work_share *ws, unsigned count) argument
36 ws->sched = GFS_DYNAMIC;
37 ws->chunk_size = 1;
38 ws->end = count + 1L;
39 ws->incr = 1;
40 ws->next = 1;
44 ws->mode = 1;
51 ws->mode = ((nthreads | ws->end)
55 ws
[all...]
/haiku-buildtools/gcc/gmp/mpn/generic/
H A Dsqr.c42 mp_limb_t ws[mpn_toom2_sqr_itch (SQR_TOOM3_THRESHOLD_LIMIT-1)]; local
44 mpn_toom2_sqr (p, a, n, ws);
48 mp_ptr ws; local
51 ws = TMP_SALLOC_LIMBS (mpn_toom3_sqr_itch (n));
52 mpn_toom3_sqr (p, a, n, ws);
57 mp_ptr ws; local
60 ws = TMP_SALLOC_LIMBS (mpn_toom4_sqr_itch (n));
61 mpn_toom4_sqr (p, a, n, ws);
66 mp_ptr ws; local
69 ws
75 mp_ptr ws; local
[all...]
H A Dmul_n.c39 mp_limb_t ws[mpn_toom22_mul_itch (MUL_TOOM33_THRESHOLD_LIMIT-1, local
42 mpn_toom22_mul (p, a, n, b, n, ws);
46 mp_ptr ws; local
49 ws = TMP_SALLOC_LIMBS (mpn_toom33_mul_itch (n, n));
50 mpn_toom33_mul (p, a, n, b, n, ws);
55 mp_ptr ws; local
58 ws = TMP_SALLOC_LIMBS (mpn_toom44_mul_itch (n, n));
59 mpn_toom44_mul (p, a, n, b, n, ws);
64 mp_ptr ws; local
67 ws
73 mp_ptr ws; local
[all...]
H A Dtoom_eval_pm2rexp.c31 #define DO_mpn_addlsh_n(dst,src,n,s,ws) mpn_addlsh_n(dst,dst,src,n,s)
34 DO_mpn_addlsh_n(mp_ptr dst, mp_srcptr src, mp_size_t n, unsigned int s, mp_ptr ws) argument
40 __cy = mpn_lshift(ws,src,n,s);
41 return __cy + mpn_add_n(dst,dst,ws,n);
50 unsigned int s, mp_ptr ws)
54 /* {ap,q*n+t} -> {rp,n+1} {rm,n+1} , with {ws, n+1}*/
60 ws[n] = mpn_lshift(ws, ap+n, n, s*(q-1));
62 ASSERT_NOCARRY(mpn_add(ws,ws,
48 mpn_toom_eval_pm2rexp(mp_ptr rp, mp_ptr rm, unsigned int q, mp_srcptr ap, mp_size_t n, mp_size_t t, unsigned int s, mp_ptr ws) argument
[all...]
H A Dmul.c177 mp_ptr ws; local
179 /* The maximum ws usage is for the mpn_mul result. */
180 ws = TMP_SALLOC_LIMBS (4 * vn);
189 mpn_toom42_mul (ws, up, 2 * vn, vp, vn, scratch);
192 cy = mpn_add_n (prodp, prodp, ws, vn);
193 MPN_COPY (prodp + vn, ws + vn, 2 * vn);
201 mpn_toom22_mul (ws, up, un, vp, vn, scratch);
203 mpn_toom32_mul (ws, up, un, vp, vn, scratch);
205 mpn_toom42_mul (ws, up, un, vp, vn, scratch);
207 cy = mpn_add_n (prodp, prodp, ws, v
240 mp_ptr ws; local
344 mp_ptr ws; local
[all...]
H A Dtoom63_mul.c77 #define TOOM_63_MUL_N_REC(p, a, b, n, ws) \
81 #define TOOM_63_MUL_REC(p, a, na, b, nb, ws) \
123 #define ws (scratch + 6 * n + 2) /* ??? */ macro
125 /* Alloc also 3n+1 limbs for ws... mpn_toom_interpolate_8pts may
140 TOOM_63_MUL_N_REC(pp, v0, v1, n + 1, ws); /* A(-4)*B(-4) */
141 TOOM_63_MUL_N_REC(r3, v2, v3, n + 1, ws); /* A(+4)*B(+4) */
147 cy = mpn_add (ws, b0, n, b2, t);
149 if (cy == 0 && mpn_cmp (ws, b1, n) < 0)
151 cy = mpn_add_n_sub_n (v3, v1, b1, ws, n);
159 cy2 = mpn_add_n_sub_n (v3, v1, ws, b
220 #undef ws macro
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/ext/vstring/
H A Drange_access.cc33 __gnu_cxx::__wvstring ws(L"Hello, World!");
34 std::begin(ws);
35 std::end(ws);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/assign/
H A Dassign.cc40 std::wstring ws(s.begin(), s.end());
42 p3 = ws;
45 p4 = ws.c_str();
71 std::wstring ws(s.begin(), s.end());
73 p5.assign(ws);
76 p6.assign( ws.begin(), ws.end() );
79 p7.assign( ws.c_str() );
82 p8.assign( ws.c_str(), ws
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/construct/
H A Drange.cc45 std::wstring ws(s.begin(), s.end());
46 path p5 = ws;
47 path p6( ws.begin(), ws.end() );
48 path p7( ws.c_str() );
49 path p8( ws.c_str(), ws.c_str() + ws.size() );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/
H A D09.cc38 (is>>std::ws) >> f1;
39 (is>>std::ws) >> c;
40 (is>>std::ws) >> f2;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
H A D09.cc36 (is >> std::ws) >> f1;
37 (is >> std::ws) >> c;
38 (is >> std::ws) >> f2;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/
H A D2.cc40 pos_type i_read, i_wrote, rs, ws; local
54 ws = out.tellp();
58 i_wrote = out.tellp() - ws;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/
H A D2.cc37 pos_type i_read, i_wrote, rs, ws; local
51 ws = out.tellp();
55 i_wrote = out.tellp() - ws;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/
H A Dfunctions.cc34 const wchar_t* ws = 0; local
52 ret = std::tr1::wcstoimax(ws, wendptr, base);
53 uret = std::tr1::wcstoumax(ws, wendptr, base);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dudlit-string-literal.C11 decltype(L"Hello, World!"s) ws;
/haiku-buildtools/legacy/gcc/libio/
H A Dstream.h56 inline istream& WS(istream& __str) { return ws(__str); }

Completed in 277 milliseconds

123