• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/bits/

Lines Matching defs:__b

81       _S_do_it(_Tp* __restrict__ __b, _Tp* __restrict__ __e)
83 while (__b != __e)
84 new(__b++) _Tp();
93 _S_do_it(_Tp* __restrict__ __b, _Tp* __restrict__ __e)
94 { std::memset(__b, 0, (__e - __b) * sizeof(_Tp)); }
99 __valarray_default_construct(_Tp* __restrict__ __b, _Tp* __restrict__ __e)
101 _Array_default_ctor<_Tp, __is_pod<_Tp>::__value>::_S_do_it(__b, __e);
113 _S_do_it(_Tp* __restrict__ __b, _Tp* __restrict__ __e, const _Tp __t)
115 while (__b != __e)
116 new(__b++) _Tp(__t);
124 _S_do_it(_Tp* __restrict__ __b, _Tp* __restrict__ __e, const _Tp __t)
126 while (__b != __e)
127 *__b++ = __t;
133 __valarray_fill_construct(_Tp* __restrict__ __b, _Tp* __restrict__ __e,
136 _Array_init_ctor<_Tp, __is_pod<_Tp>::__value>::_S_do_it(__b, __e, __t);
140 // copy-construct raw array [__o, *) from plain array [__b, __e)
149 _S_do_it(const _Tp* __restrict__ __b, const _Tp* __restrict__ __e,
152 while (__b != __e)
153 new(__o++) _Tp(*__b++);
161 _S_do_it(const _Tp* __restrict__ __b, const _Tp* __restrict__ __e,
163 { std::memcpy(__o, __b, (__e - __b)*sizeof(_Tp)); }
168 __valarray_copy_construct(const _Tp* __restrict__ __b,
172 _Array_copy_ctor<_Tp, __is_pod<_Tp>::__value>::_S_do_it(__b, __e, __o);
213 __valarray_destroy_elements(_Tp* __restrict__ __b, _Tp* __restrict__ __e)
216 while (__b != __e)
218 __b->~_Tp();
219 ++__b;
252 // copy plain array __a[<__n>] in __b[<__n>]
258 _S_do_it(const _Tp* __restrict__ __a, size_t __n, _Tp* __restrict__ __b)
261 *__b++ = *__a++;
269 _S_do_it(const _Tp* __restrict__ __a, size_t __n, _Tp* __restrict__ __b)
270 { std::memcpy (__b, __a, __n * sizeof (_Tp)); }
273 // Copy a plain array __a[<__n>] into a play array __b[<>]
277 _Tp* __restrict__ __b)
279 _Array_copier<_Tp, __is_pod<_Tp>::__value>::_S_do_it(__a, __n, __b);
282 // Copy strided array __a[<__n : __s>] in plain __b[<__n>]
286 _Tp* __restrict__ __b)
288 for (size_t __i = 0; __i < __n; ++__i, ++__b, __a += __s)
289 *__b = *__a;
292 // Copy a plain array __a[<__n>] into a strided array __b[<__n : __s>]
295 __valarray_copy(const _Tp* __restrict__ __a, _Tp* __restrict__ __b,
298 for (size_t __i = 0; __i < __n; ++__i, ++__a, __b += __s)
299 *__b = *__a;
313 // Copy an indexed array __a[__i[<__n>]] in plain array __b[<__n>]
318 _Tp* __restrict__ __b, size_t __n)
320 for (size_t __j = 0; __j < __n; ++__j, ++__b, ++__i)
321 *__b = __a[*__i];
324 // Copy a plain array __a[<__n>] in an indexed array __b[__i[<__n>]]
328 _Tp* __restrict__ __b, const size_t* __restrict__ __i)
331 __b[*__i] = *__a;
428 // Copy-construct plain array __b[<__n>] from indexed array __a[__i[<__n>]]
432 _Array<_Tp> __b, size_t __n)
434 __b._M_data, __n); }
436 // Copy-construct plain array __b[<__n>] from strided array __a[<__n : __s>]
440 _Array<_Tp> __b)
441 { std::__valarray_copy_construct(__a._M_data, __n, __s, __b._M_data); }
459 // Copy a plain array __a[<__n>] into a play array __b[<>]
462 __valarray_copy(_Array<_Tp> __a, size_t __n, _Array<_Tp> __b)
463 { std::__valarray_copy(__a._M_data, __n, __b._M_data); }
465 // Copy strided array __a[<__n : __s>] in plain __b[<__n>]
468 __valarray_copy(_Array<_Tp> __a, size_t __n, size_t __s, _Array<_Tp> __b)
469 { std::__valarray_copy(__a._M_data, __n, __s, __b._M_data); }
471 // Copy a plain array __a[<__n>] into a strided array __b[<__n : __s>]
474 __valarray_copy(_Array<_Tp> __a, _Array<_Tp> __b, size_t __n, size_t __s)
475 { __valarray_copy(__a._M_data, __b._M_data, __n, __s); }
482 _Array<_Tp> __b, size_t __s2)
483 { std::__valarray_copy(__a._M_data, __n, __s1, __b._M_data, __s2); }
485 // Copy an indexed array __a[__i[<__n>]] in plain array __b[<__n>]
489 _Array<_Tp> __b, size_t __n)
490 { std::__valarray_copy(__a._M_data, __i._M_data, __b._M_data, __n); }
492 // Copy a plain array __a[<__n>] in an indexed array __b[__i[<__n>]]
495 __valarray_copy(_Array<_Tp> __a, size_t __n, _Array<_Tp> __b,
497 { std::__valarray_copy(__a._M_data, __n, __b._M_data, __i._M_data); }
528 _Array<_Tp>::_Array(const _Tp* __restrict__ __b, size_t __s)
530 { std::__valarray_copy_construct(__b, __s, _M_data); }
548 _Array_augmented_##_Name(_Array<_Tp> __a, size_t __n, _Array<_Tp> __b) \
551 for (_Tp* __q = __b._M_data; __q < __b._M_data + __n; ++__p, ++__q) \
568 _Array<_Tp> __b) \
570 _Tp* __q(__b._M_data); \
578 _Array_augmented_##_Name(_Array<_Tp> __a, _Array<_Tp> __b, \
581 _Tp* __q(__b._M_data); \
600 _Array<_Tp> __b, size_t __n) \
602 _Tp* __q(__b._M_data); \
611 _Array<_Tp> __b, _Array<size_t> __i) \
616 *__p _Op##= __b._M_data[*__j]; \
632 _Array<_Tp> __b, size_t __n) \
636 for (_Tp* __q = __b._M_data; __q < __b._M_data + __n; \
651 _Array<_Tp> __b, _Array<bool> __m) \
654 _Tp* __q(__b._M_data); \