/external/stlport/stlport/stl/ |
D | _construct.h | 90 inline void _Construct_aux (_T1* __p, const __false_type&) { in _Construct_aux() argument 91 new(__p) _T1(); in _Construct_aux() 95 inline void _Construct_aux (_T1* __p, const __true_type&) { in _Construct_aux() argument 97 *__p = _T1(0); in _Construct_aux() 101 *__p = _T1(); in _Construct_aux() 106 inline void _Construct(_T1* __p) { in _Construct() argument 108 memset((char*)__p, _STLP_SHRED_BYTE, sizeof(_T1)); in _Construct() 111 _Construct_aux (__p, _HasDefaultZeroValue(__p)._Answer()); in _Construct() 113 _Construct_aux (__p, _Is_POD(__p)._Answer()); in _Construct() 118 inline void _Copy_Construct_aux(_Tp* __p, const _Tp& __val, const __false_type&) { in _Copy_Construct_aux() argument [all …]
|
D | _threads.h | 71 # define _STLP_ATOMIC_EXCHANGE(__p, __q) test_and_set(__p, __q) argument 73 # define _STLP_ATOMIC_EXCHANGE(__p, __q) __test_and_set((unsigned long*)__p, (unsigned long)__… argument 507 static __stl_atomic_t _S_swap(_STLP_VOLATILE __stl_atomic_t* __p, __stl_atomic_t __q) { in _S_swap() argument 510 return _STLP_ATOMIC_EXCHANGE(__p, __q); in _S_swap() 513 __stl_atomic_t __result = *__p; in _S_swap() 514 *__p = __q; in _S_swap() 522 __stl_atomic_t __result = *__p; in _S_swap() 523 *__p = __q; in _S_swap() 528 static void* _S_swap_ptr(void* _STLP_VOLATILE* __p, void* __q) { in _S_swap_ptr() argument 531 return _STLP_ATOMIC_EXCHANGE_PTR(__p, __q); in _S_swap_ptr() [all …]
|
D | _rope.h | 140 inline void _S_construct_null_aux(_CharT *__p, const __true_type&) 141 { *__p = 0; } 144 inline void _S_construct_null_aux(_CharT *__p, const __false_type&) 145 { _STLP_STD::_Construct(__p); } 148 inline void _S_construct_null(_CharT *__p) { 150 _S_construct_null_aux(__p, _Char_Is_Integral()); 634 _Rope_self_destruct_ptr(_Rope_RopeRep<_CharT,_Alloc>* __p) : _M_ptr(__p) {} 664 _Rope_char_ref_proxy(_My_rope* __r, size_t __p) : 665 _M_pos(__p), _M_current_valid(false), _M_root(__r) {} 672 _Rope_char_ref_proxy(_My_rope* __r, size_t __p, _CharT __c) [all …]
|
D | _alloc.h | 80 static void _STLP_CALL deallocate(void* __p, size_t /* __n */) { free((char*)__p); } in deallocate() argument 93 static void _STLP_CALL deallocate(void* __p, size_t) { __stl_delete(__p); } in deallocate() argument 151 static void _STLP_CALL _M_deallocate(void *__p, size_t __n); 160 static void _STLP_CALL deallocate(void *__p, size_t __n) in deallocate() argument 161 { if (__n > (size_t)_MAX_BYTES) __stl_delete(__p); else _M_deallocate(__p, __n); } in deallocate() 317 void deallocate(pointer __p, size_type __n) { in deallocate() argument 318 _STLP_ASSERT( (__p == 0) == (__n == 0) ) in deallocate() 319 if (__p != 0) { in deallocate() 321 memset((char*)__p, _STLP_SHRED_BYTE, __n * sizeof(value_type)); in deallocate() 323 __sgi_alloc::deallocate((void*)__p, __n * sizeof(value_type)); in deallocate() [all …]
|
D | _function_adaptors.h | 71 _Result operator ()(_Tp* __p) const { return (__p->*_M_f)(); } in operator() 84 _Result operator ()(_Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } in operator() 97 _Result operator ()(const _Tp* __p) const { return (__p->*_M_f)(); } in operator() 110 _Result operator ()(const _Tp* __p, _Arg __x) const { in operator() 111 return (__p->*_M_f)(__x); } in operator() 124 _Result operator ()(_Tp& __p) const { return (__p.*_M_f)(); } in operator() 137 _Result operator ()(_Tp& __p, _Arg __x) const { return (__p.*_M_f)(__x); } in operator() 150 _Result operator ()(const _Tp& __p) const { return (__p.*_M_f)(); } in operator() 163 _Result operator ()(const _Tp& __p, _Arg __x) const { return (__p.*_M_f)(__x); } in operator() 233 void operator ()(_Tp* __p) const { (__p->*_M_f)(); } in operator() [all …]
|
D | _pthread_alloc.h | 79 static void _STLP_CALL deallocate(void *__p, size_t __n); 86 static void _STLP_CALL deallocate(void *__p, size_t __n, __state_type* __a); 88 static void * _STLP_CALL reallocate(void *__p, size_t __old_sz, size_t& __new_sz); 145 void deallocate(pointer __p, size_type __n) { in deallocate() argument 146 _STLP_ASSERT( (__p == 0) == (__n == 0) ) in deallocate() 147 if (__p != 0) { in deallocate() 149 memset((char*)__p, _STLP_SHRED_BYTE, __n * sizeof(value_type)); in deallocate() 151 _S_Alloc::deallocate(__p, __n * sizeof(value_type)); in deallocate() 158 void construct(pointer __p, const _Tp& __val) { new(__p) _Tp(__val); } in construct() argument 328 void deallocate(pointer __p, size_type __n) { [all …]
|
D | _tree.h | 377 _Base_ptr _M_copy(_Base_ptr __x, _Base_ptr __p); 503 pair<iterator,iterator> __p = equal_range(__x); 504 size_type __n = _STLP_STD::distance(__p.first, __p.second); 505 erase(__p.first, __p.second); 597 pair<const_iterator, const_iterator> __p = equal_range(__x); 598 return _STLP_STD::distance(__p.first, __p.second); 616 pair<iterator, iterator> __p; 617 __p.second = lower_bound(__x); 618 if (__p.second._M_node != &this->_M_header._M_data && 619 !_M_key_compare(__x, _S_key(__p.second._M_node))) { [all …]
|
D | _alloc.c | 55 __debug_alloc<_Alloc>::deallocate(void *__p, size_t __n) { in deallocate() argument 56 __alloc_header * __real_p = (__alloc_header*)((char *)__p -(long)__extra_before); in deallocate() 64 for (__tmp = (unsigned char*)(__real_p + 1); __tmp < (unsigned char*)__p; ++__tmp) { in deallocate() 70 for (__tmp= ((unsigned char*)__p) + __n * sizeof(value_type); in deallocate() 77 memset((char*)__p, __shred_byte, __n * sizeof(value_type)); in deallocate()
|
/external/tcpdump/ |
D | cpack.h | 49 #define cpack_int8(__s, __p) cpack_uint8((__s), (u_int8_t*)(__p)) argument 50 #define cpack_int16(__s, __p) cpack_uint16((__s), (u_int16_t*)(__p)) argument 51 #define cpack_int32(__s, __p) cpack_uint32((__s), (u_int32_t*)(__p)) argument 52 #define cpack_int64(__s, __p) cpack_uint64((__s), (u_int64_t*)(__p)) argument
|
/external/libcxx/include/ |
D | list | 248 explicit __list_iterator(__node_pointer __p, const void* __c) _NOEXCEPT 249 : __ptr_(__p) 255 explicit __list_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {} 287 __list_iterator(const __list_iterator& __p) 288 : __ptr_(__p.__ptr_) 290 __get_db()->__iterator_copy(this, &__p); 300 __list_iterator& operator=(const __list_iterator& __p) 302 if (this != &__p) 304 __get_db()->__iterator_copy(this, &__p); 305 __ptr_ = __p.__ptr_; [all …]
|
D | sstream | 263 char_type* __p = const_cast<char_type*>(__rhs.__str_.data()); 269 __binp = __rhs.eback() - __p; 270 __ninp = __rhs.gptr() - __p; 271 __einp = __rhs.egptr() - __p; 278 __bout = __rhs.pbase() - __p; 279 __nout = __rhs.pptr() - __p; 280 __eout = __rhs.epptr() - __p; 282 ptrdiff_t __hm = __rhs.__hm_ == nullptr ? -1 : __rhs.__hm_ - __p; 284 __p = const_cast<char_type*>(__str_.data()); 286 this->setg(__p + __binp, __p + __ninp, __p + __einp); [all …]
|
D | utility | 267 pair(const pair<_U1, _U2>& __p 273 : first(__p.first), second(__p.second) {} 277 pair(const pair& __p) = default; 280 pair(const pair& __p) 283 : first(__p.first), 284 second(__p.second) 290 pair& operator=(const pair& __p) 294 first = __p.first; 295 second = __p.second; 312 pair(pair<_U1, _U2>&& __p, [all …]
|
D | forward_list | 232 explicit __forward_list_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {} 292 explicit __forward_list_const_iterator(__node_const_pointer __p) _NOEXCEPT 293 : __ptr_(__p) {} 326 __forward_list_const_iterator(__forward_list_iterator<__node_pointer> __p) _NOEXCEPT 327 : __ptr_(__p.__ptr_) {} 540 for (__node_pointer __p = __before_begin()->__next_; __p != nullptr;) 542 __node_pointer __next = __p->__next_; 543 __node_traits::destroy(__a, _VSTD::addressof(__p->__value_)); 544 __node_traits::deallocate(__a, __p, 1); 545 __p = __next; [all …]
|
D | memory | 1041 __to_raw_pointer(_Tp* __p) _NOEXCEPT 1043 return __p; 1049 __to_raw_pointer(_Pointer __p) _NOEXCEPT 1051 return _VSTD::__to_raw_pointer(__p.operator->()); 1243 __has_allocate_hint_test(_Alloc&& __a, _SizeType&& __sz, _ConstVoidPtr&& __p) 1244 -> decltype(__a.allocate(__sz, __p), true_type()); 1248 __has_allocate_hint_test(const _Alloc& __a, _SizeType&& __sz, _ConstVoidPtr&& __p) 1278 __has_construct_test(_Alloc&& __a, _Tp* __p, _Args&& ...__args); 1282 __has_construct_test(const _Alloc& __a, _Pointer&& __p, _Args&& ...__args); 1297 __has_destroy_test(_Alloc&& __a, _Pointer&& __p) [all …]
|
D | string | 994 _SizeT _LIBCPP_INLINE_VISIBILITY __find_first_of(const _CharT *__p, _SizeT __sz, 1000 (__p + __pos, __p + __sz, __s, __s + __n, _Traits::eq ); 1001 if (__r == __p + __sz) 1003 return static_cast<_SizeT>(__r - __p); 1007 _SizeT _LIBCPP_INLINE_VISIBILITY __find_last_of(const _CharT *__p, _SizeT __sz, 1016 for (const _CharT* __ps = __p + __pos; __ps != __p;) 1020 return static_cast<_SizeT>(__ps - __p); 1028 _SizeT _LIBCPP_INLINE_VISIBILITY __find_first_not_of(const _CharT *__p, _SizeT __sz, 1033 const _CharT* __pe = __p + __sz; 1034 for (const _CharT* __ps = __p + __pos; __ps != __pe; ++__ps) [all …]
|
D | thread | 133 void reset(pointer __p = nullptr); 138 __thread_specific_ptr<_Tp>::__at_thread_exit(void* __p) 140 delete static_cast<pointer>(__p); 164 pointer __p = get(); 166 return __p; 171 __thread_specific_ptr<_Tp>::reset(pointer __p) 174 pthread_setspecific(__key_, __p); 340 std::unique_ptr<_Fp> __p(static_cast<_Fp*>(__vp)); 342 __thread_execute(*__p, _Index()); 352 _VSTD::unique_ptr<_Gp> __p(new _Gp(__decay_copy(_VSTD::forward<_Fp>(__f)), [all …]
|
/external/stlport/src/ |
D | allocators.cpp | 64 inline void __stlp_delete_chunck(void* __p) { ::operator delete(__p, __FILE__, __LINE__); } in __stlp_delete_chunck() argument 76 inline void __stlp_delete_chunck(void* __p) { _STLP_VENDOR_CSTD::free(__p); } in __stlp_delete_chunck() argument 80 inline void __stlp_delete_chunck(void* __p) { _STLP_STD::__stl_delete(__p); } in __stlp_delete_chunck() argument 314 static void _M_deallocate(void *__p, size_t __n); 340 void __node_alloc_impl::_M_deallocate(void *__p, size_t __n) { in _M_deallocate() argument 342 _Obj * __pobj = __STATIC_CAST(_Obj*, __p); in _M_deallocate() 400 _Obj* __p; in _S_chunk_alloc() local 406 __p = *__my_free_list; in _S_chunk_alloc() 407 if (0 != __p) { in _S_chunk_alloc() 408 *__my_free_list = __p -> _M_next; in _S_chunk_alloc() [all …]
|
/external/clang/lib/Headers/ |
D | rdseedintrin.h | 33 _rdseed16_step(unsigned short *__p) in _rdseed16_step() argument 35 return __builtin_ia32_rdseed16_step(__p); in _rdseed16_step() 39 _rdseed32_step(unsigned int *__p) in _rdseed32_step() argument 41 return __builtin_ia32_rdseed32_step(__p); in _rdseed32_step() 46 _rdseed64_step(unsigned long long *__p) in _rdseed64_step() argument 48 return __builtin_ia32_rdseed64_step(__p); in _rdseed64_step()
|
D | immintrin.h | 81 _rdrand16_step(unsigned short *__p) in _rdrand16_step() argument 83 return __builtin_ia32_rdrand16_step(__p); in _rdrand16_step() 87 _rdrand32_step(unsigned int *__p) in _rdrand32_step() argument 89 return __builtin_ia32_rdrand32_step(__p); in _rdrand32_step() 94 _rdrand64_step(unsigned long long *__p) in _rdrand64_step() argument 96 return __builtin_ia32_rdrand64_step(__p); in _rdrand64_step()
|
D | xmmintrin.h | 513 _mm_loadh_pi(__m128 __a, const __m64 *__p) in _mm_loadh_pi() argument 519 __mm_loadh_pi_v2f32 __b = ((struct __mm_loadh_pi_struct*)__p)->__u; in _mm_loadh_pi() 525 _mm_loadl_pi(__m128 __a, const __m64 *__p) in _mm_loadl_pi() argument 531 __mm_loadl_pi_v2f32 __b = ((struct __mm_loadl_pi_struct*)__p)->__u; in _mm_loadl_pi() 537 _mm_load_ss(const float *__p) in _mm_load_ss() argument 542 float __u = ((struct __mm_load_ss_struct*)__p)->__u; in _mm_load_ss() 547 _mm_load1_ps(const float *__p) in _mm_load1_ps() argument 552 float __u = ((struct __mm_load1_ps_struct*)__p)->__u; in _mm_load1_ps() 559 _mm_load_ps(const float *__p) in _mm_load_ps() argument 561 return *(__m128*)__p; in _mm_load_ps() [all …]
|
D | avxintrin.h | 772 _mm256_load_pd(double const *__p) in _mm256_load_pd() argument 774 return *(__m256d *)__p; in _mm256_load_pd() 778 _mm256_load_ps(float const *__p) in _mm256_load_ps() argument 780 return *(__m256 *)__p; in _mm256_load_ps() 784 _mm256_loadu_pd(double const *__p) in _mm256_loadu_pd() argument 789 return ((struct __loadu_pd*)__p)->__v; in _mm256_loadu_pd() 793 _mm256_loadu_ps(float const *__p) in _mm256_loadu_ps() argument 798 return ((struct __loadu_ps*)__p)->__v; in _mm256_loadu_ps() 802 _mm256_load_si256(__m256i const *__p) in _mm256_load_si256() argument 804 return *__p; in _mm256_load_si256() [all …]
|
D | ammintrin.h | 55 _mm_stream_sd(double *__p, __m128d __a) in _mm_stream_sd() argument 57 __builtin_ia32_movntsd(__p, (__v2df)__a); in _mm_stream_sd() 61 _mm_stream_ss(float *__p, __m128 __a) in _mm_stream_ss() argument 63 __builtin_ia32_movntss(__p, (__v4sf)__a); in _mm_stream_ss()
|
/external/stlport/test/eh/ |
D | Prefix.h | 149 void deallocate(pointer __p, size_type __n) const { in deallocate() argument 150 _STLP_ASSERT( (__p == 0) == (__n == 0) ) in deallocate() 151 if (__p != 0) EH_STD::__new_alloc::deallocate((void*)__p, __n * sizeof(value_type)); in deallocate() 154 …void deallocate(pointer __p) const { if (__p != 0) EH_STD::__new_alloc::deallocate((void*)__p, si… in deallocate() argument 156 void construct(pointer __p, const _Tp& __val) const { stlport::construct(__p, __val); } in construct() argument 157 void destroy(pointer __p) const { stlport::destroy(__p); } in destroy() argument
|
/external/stlport/stlport/stl/debug/ |
D | _tree.h | 211 _STLP_STD::pair<_Base_iterator, _Base_iterator> __p; in equal_range_unique() local 212 __p = _M_non_dbg_impl.equal_range_unique(__x); in equal_range_unique() 213 …return pair<iterator, iterator>(iterator(&_M_iter_list, __p.first), iterator(&_M_iter_list, __p.se… in equal_range_unique() 217 _STLP_STD::pair<_Base_const_iterator, _Base_const_iterator> __p; in equal_range_unique() local 218 __p = _M_non_dbg_impl.equal_range_unique(__x); in equal_range_unique() 219 return pair<const_iterator, const_iterator>(const_iterator(&_M_iter_list, __p.first), in equal_range_unique() 220 const_iterator(&_M_iter_list, __p.second)); in equal_range_unique() 276 pair<iterator, iterator> __p = equal_range(__x); in erase() local 277 size_type __n = _STLP_STD::distance(__p.first._M_iterator, __p.second._M_iterator); in erase() 278 _Invalidate_iterators(__p.first, __p.second); in erase() [all …]
|
/external/libcxx/src/ |
D | future.cpp | 114 __assoc_sub_state::set_exception(exception_ptr __p) in set_exception() argument 121 __exception_ = __p; in set_exception() 128 __assoc_sub_state::set_exception_at_thread_exit(exception_ptr __p) in set_exception_at_thread_exit() argument 135 __exception_ = __p; in set_exception_at_thread_exit() 254 promise<void>::set_exception(exception_ptr __p) in set_exception() argument 260 __state_->set_exception(__p); in set_exception() 274 promise<void>::set_exception_at_thread_exit(exception_ptr __p) in set_exception_at_thread_exit() argument 280 __state_->set_exception_at_thread_exit(__p); in set_exception_at_thread_exit()
|