Home
last modified time | relevance | path

Searched refs:__size (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/libcxx/include/__format/
H A Dformatter_output.h66 size_t __fill = __width - __size; in __padding_size()
93 int __size = (__first - __begin) + // [sign][prefix] in __write_using_decimal_separators() local
102 if (__specs.__width_ > __size) { in __write_using_decimal_separators()
104 __padding.__before_ = __specs.__width_ - __size; in __write_using_decimal_separators()
108 if (__specs.__width_ > __size) { in __write_using_decimal_separators()
182 ptrdiff_t __size) -> decltype(__out_it) {
185 if (__size >= __specs.__width_)
211 ptrdiff_t __size = __last - __first; variable
212 if (__size >= __specs.__width_)
235 size_t __size,
[all …]
H A Dbuffer.h58 __flush_([](_CharT* __p, size_t __size, void* __o) { in __output_buffer()
59 static_cast<_Tp*>(__o)->flush(__p, __size); in __output_buffer()
136 _LIBCPP_HIDE_FROM_ABI void flush(_CharT*, size_t __size) { in flush() argument
139 __out_it_ += __size; in flush()
155 _LIBCPP_HIDE_FROM_ABI void flush(_CharT* __ptr, size_t __size) { in flush() argument
198 _LIBCPP_HIDE_FROM_ABI void flush(_CharT* __ptr, size_t __size) {
240 __writer_.flush(__ptr, __size);
263 _LIBCPP_HIDE_FROM_ABI void flush(const _CharT*, size_t __size) { __size_ += __size; }
289 __size_ += __size;
329 __writer_.flush(__ptr, __size);
[all …]
H A Dformatter_integral.h81 _LIBCPP_HIDE_FROM_ABI inline string __determine_grouping(ptrdiff_t __size, const string& __grouping… in __determine_grouping() argument
82 _LIBCPP_ASSERT(!__grouping.empty() && __size > __grouping[0], in __determine_grouping()
90 __size -= *__ptr; in __determine_grouping()
91 if (__size > 0) in __determine_grouping()
95 __r.push_back(*__ptr + __size); in __determine_grouping()
221 ptrdiff_t __size = __last - __first; variable
226 if (!__grouping.empty() && __size > __grouping[0])
232 __formatter::__determine_grouping(__size, __grouping),
249 int32_t __size = __first - __begin; variable
251 __specs.__width_ -= _VSTD::min(__size, __specs.__width_);
H A Dformatter_floating_point.h218 ptrdiff_t __size = __last - __first;
219 if (__size > 4) {
220 __first = __last - _VSTD::min(__size, ptrdiff_t(6));
511 ptrdiff_t __size =
519 if (__size < __specs.__width_) {
525 __padding = __formatter::__padding_size(__size, __specs.__width_, __specs.__alignment_);
649 ptrdiff_t __size = __result.__last - __buffer.begin();
651 if (__size + __num_trailing_zeros >= __specs.__width_) {
680 …__first, __result.__last, _VSTD::move(__out_it), __specs, __size, __result.__exponent, __num_trail…
682 return __formatter::__write(__first, __result.__last, _VSTD::move(__out_it), __specs, __size);
/llvm-project-15.0.7/clang/lib/Headers/
H A Dmm_malloc.h19 extern int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
25 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
33 _mm_malloc(size_t __size, size_t __align) { in _mm_malloc() argument
35 return malloc(__size); in _mm_malloc()
43 __mallocedMemory = __mingw_aligned_malloc(__size, __align); in _mm_malloc()
45 __mallocedMemory = _aligned_malloc(__size, __align); in _mm_malloc()
47 if (posix_memalign(&__mallocedMemory, __align, __size)) in _mm_malloc()
H A D__clang_hip_runtime_wrapper.h81 extern "C" __device__ unsigned long long __ockl_dm_alloc(unsigned long long __size);
83 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) { in malloc() argument
84 return (void *) __ockl_dm_alloc(__size); in malloc()
91 __device__ void *__hip_malloc(__hip_size_t __size);
93 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) {
94 return __hip_malloc(__size);
100 __attribute__((weak)) inline __device__ void *malloc(__hip_size_t __size) {
/llvm-project-15.0.7/pstl/include/pstl/internal/omp/
H A Dparallel_stable_sort.h38 std::size_t __size = __last1 - __first1; in __parallel_move_range() local
42 if (__size <= __default_chunk_size) in __parallel_move_range()
62 return __d_first + __size; in __parallel_move_range()
93 std::size_t __size = __xe - __xs; in __parallel_stable_sort_body() local
94 auto __mid = __xs + (__size / 2); in __parallel_stable_sort_body()
100 _VecType __output_data(__size); in __parallel_stable_sort_body()
103 __utils::__serial_move_merge __merge(__size); in __parallel_stable_sort_body()
H A Dutil.h86 auto __size = std::distance(__first, __last);
87 return __size <= static_cast<_difference_type>(__default_chunk_size);
95 auto __size = __last - __first; variable
96 return __size <= static_cast<_difference_type>(__default_chunk_size);
H A Dparallel_for_each.h27 auto __size = std::distance(__first, __last); in __parallel_for_each_body() local
30 for (DifferenceType __index = 0; __index < __size; ++__index) in __parallel_for_each_body()
H A Dparallel_transform_reduce.h36 const std::size_t __size = __last - __first; in __transform_reduce_body() local
42 if (__size <= __num_threads || __policy.__n_chunks < 2) in __transform_reduce_body()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_interceptors_memintrinsics.h54 uptr __size = (uptr)(size); \ in DECLARE_REAL()
56 if (__offset > __offset + __size) { \ in DECLARE_REAL()
58 ReportStringFunctionSizeOverflow(__offset, __size, &stack); \ in DECLARE_REAL()
60 if (!QuickCheckForUnpoisonedRegion(__offset, __size) && \ in DECLARE_REAL()
61 (__bad = __asan_region_is_poisoned(__offset, __size))) { \ in DECLARE_REAL()
73 ReportGenericError(pc, bp, sp, __bad, isWrite, __size, 0, false);\ in DECLARE_REAL()
H A Dasan_poisoning.cpp210 uptr __size = size; \
212 __asan::AddressIsPoisoned(__p + __size - 1))) { \
214 uptr __bad = __asan_region_is_poisoned(__p, __size); \
215 __asan_report_error(pc, bp, sp, __bad, isWrite, __size, 0);\
/llvm-project-15.0.7/libcxx/include/
H A Dnew263 void *__libcpp_allocate(size_t __size, size_t __align) {
267 return __libcpp_operator_new(__size, __align_val);
272 return __libcpp_operator_new(__size);
279 (void)__size;
282 return __libcpp_operator_delete(__ptr, __size, __args...);
287 void __libcpp_deallocate(void* __ptr, size_t __size, size_t __align) {
290 return __do_deallocate_handle_size(__ptr, __size);
294 return __do_deallocate_handle_size(__ptr, __size, __align_val);
296 return __do_deallocate_handle_size(__ptr, __size);
325 return ::_aligned_malloc(__size, __alignment);
[all …]
H A Dspan445 _LIBCPP_INLINE_VISIBILITY constexpr span() noexcept : __data{nullptr}, __size{0} {}
453 : __data{_VSTD::to_address(__first)}, __size{__count} {}
457 : __data(_VSTD::to_address(__first)), __size(__last - __first) {
463 …constexpr span(type_identity_t<element_type> (&__arr)[_Sz]) noexcept : __data{__arr}, __size{_Sz} …
467 …constexpr span(array<_OtherElementType, _Sz>& __arr) noexcept : __data{__arr.data()}, __size{_Sz} …
478 constexpr span(_Container& __c) : __data(std::data(__c)), __size{std::size(__c)} {}
482 constexpr span(const _Container& __c) : __data(std::data(__c)), __size{std::size(__c)} {}
486 constexpr span(_Range&& __r) : __data(ranges::data(__r)), __size{ranges::size(__r)} {}
492 : __data{__other.data()}, __size{__other.size()} {}
547 _LIBCPP_INLINE_VISIBILITY constexpr size_type size() const noexcept { return __size; }
[all …]
H A Dstring_view292 basic_string_view() _NOEXCEPT : __data (nullptr), __size(0) {}
302 : __data(__s), __size(__len)
373 size_type size() const _NOEXCEPT { return __size; }
376 size_type length() const _NOEXCEPT { return __size; }
382 bool empty() const _NOEXCEPT { return __size == 0; }
419 __size -= __n;
426 __size -= __n;
436 size_type __sz = __size;
437 __size = __other.__size;
438 __other.__size = __sz;
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.formatter/format.context/format.context/
H A Darg.pass.cpp33 LIBCPP_ASSERT(args.__size() == 4); in test()
35 for (size_t i = 0, e = args.__size(); i != e; ++i) { in test()
38 assert(!context.arg(args.__size())); in test()
H A Dctor.pass.cpp60 LIBCPP_ASSERT(args.__size() == 4); in test()
86 LIBCPP_ASSERT(args.__size() == 4); in test()
107 LIBCPP_ASSERT(args.__size() == 4); in test()
H A Dlocale.pass.cpp44 assert(args.__size() == 4); in test()
64 assert(args.__size() == 4); in test()
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/simulator/
H A Dmain.cpp219 basic_string(unsigned char __size, const value_type (&__data)[__N]) in basic_string() argument
223 __r_.first().__s.__size_ = __size << __short_shift;
225 __r_.first().__s.__size_ = __size;
231 basic_string(size_t __cap, size_type __size, pointer __data) : __r_({}, {}) { in basic_string() argument
238 __r_.first().__l.__size_ = __size;
/llvm-project-15.0.7/clang/lib/Headers/ppc_wrappers/
H A Dmm_malloc.h26 static __inline void *_mm_malloc(size_t __size, size_t __alignment) { in _mm_malloc() argument
33 if (posix_memalign(&__ptr, __alignment, __size) == 0) in _mm_malloc()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dranges_search_n.h48 auto __size = ranges::distance(__first, __last); in __ranges_search_n_impl() local
49 if (__size < __count) { in __ranges_search_n_impl()
60 __size); in __ranges_search_n_impl()
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Dtake_view.h80 auto __size = size(); in begin() local
81 return counted_iterator(ranges::begin(__base_), static_cast<_DifferenceT>(__size)); in begin()
95 auto __size = size(); in begin() local
96 return counted_iterator(ranges::begin(__base_), static_cast<_DifferenceT>(__size)); in begin()
H A Dsize.h38 namespace __size {
112 inline constexpr auto size = __size::__fn{};
/llvm-project-15.0.7/clang/test/SemaCXX/Inputs/
H A Dmalloc.h2 extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Daix_alloca_align.c8 extern void *alloca(size_t __size) __attribute__((__nothrow__));

12