Searched refs:__len (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11-stable/contrib/gcclibs/include/
H A Dobjalloc.h90 unsigned long __len = (l); \
91 if (__len == 0) \
92 __len = 1; \
93 __len = (__len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1); \
94 (__len != 0 && __len <= __o->current_space \
95 ? (__o->current_ptr += __len, \
96 __o->current_space -= __len, \
97 (void *) (__o->current_ptr - __len)) \
[all...]
H A Dobstack.h325 int __len = (length); \
326 if (__o->chunk_limit - __o->next_free < __len) \
327 _obstack_newchunk (__o, __len); \
338 int __len = (length); \
339 if (__o->next_free + __len > __o->chunk_limit) \
340 _obstack_newchunk (__o, __len); \
341 _obstack_memcpy (__o->next_free, (where), __len); \
342 __o->next_free += __len; \
348 int __len = (length); \
349 if (__o->next_free + __len
[all...]
/freebsd-11-stable/contrib/binutils/include/
H A Dobjalloc.h90 unsigned long __len = (l); \
91 if (__len == 0) \
92 __len = 1; \
93 __len = (__len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1); \
94 (__len <= __o->current_space \
95 ? (__o->current_ptr += __len, \
96 __o->current_space -= __len, \
97 (void *) (__o->current_ptr - __len)) \
98 : _objalloc_alloc (__o, __len)); })
[all...]
H A Dobstack.h325 int __len = (length); \
326 if (__o->chunk_limit - __o->next_free < __len) \
327 _obstack_newchunk (__o, __len); \
338 int __len = (length); \
339 if (__o->next_free + __len > __o->chunk_limit) \
340 _obstack_newchunk (__o, __len); \
341 _obstack_memcpy (__o->next_free, (where), __len); \
342 __o->next_free += __len; \
348 int __len = (length); \
349 if (__o->next_free + __len
[all...]
/freebsd-11-stable/contrib/gdb/include/
H A Dobjalloc.h90 unsigned long __len = (l); \
91 if (__len == 0) \
92 __len = 1; \
93 __len = (__len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1); \
94 (__len <= __o->current_space \
95 ? (__o->current_ptr += __len, \
96 __o->current_space -= __len, \
97 (PTR) (__o->current_ptr - __len)) \
98 : _objalloc_alloc (__o, __len)); })
[all...]
H A Dobstack.h382 int __len = (length); \
383 if (__o->chunk_limit - __o->next_free < __len) \
384 _obstack_newchunk (__o, __len); \
395 int __len = (length); \
396 if (__o->next_free + __len > __o->chunk_limit) \
397 _obstack_newchunk (__o, __len); \
398 _obstack_memcpy (__o->next_free, (where), __len); \
399 __o->next_free += __len; \
405 int __len = (length); \
406 if (__o->next_free + __len
[all...]
/freebsd-11-stable/contrib/gcclibs/libssp/ssp/
H A Dstring.h62 size_t __len)
64 return __builtin___memcpy_chk (__dest, __src, __len, __ssp_bos0 (__dest));
73 __memmove_ichk (void *__dest, const void *__src, size_t __len) argument
75 return __builtin___memmove_chk (__dest, __src, __len, __ssp_bos0 (__dest));
85 size_t __len)
87 return __builtin___mempcpy_chk (__dest, __src, __len, __ssp_bos0 (__dest));
96 __memset_ichk (void *__dest, int __ch, size_t __len) argument
98 return __builtin___memset_chk (__dest, __ch, __len, __ssp_bos0 (__dest));
139 size_t __len)
141 return __builtin___strncpy_chk (__dest, __src, __len, __ssp_bo
61 __memcpy_ichk(void *__restrict__ __dest, const void *__restrict__ __src, size_t __len) argument
84 __mempcpy_ichk(void *__restrict__ __dest, const void *__restrict__ __src, size_t __len) argument
138 __strncpy_ichk(char *__restrict__ __dest, const char *__restrict__ __src, size_t __len) argument
161 __strncat_ichk(char *__restrict__ __dest, const char *__restrict__ __src, size_t __len) argument
[all...]
H A Dunistd.h61 char *__restrict__ __buf, size_t __len),
66 size_t __len)
68 if (__ssp_bos (__buf) != (size_t) -1 && __len > __ssp_bos (__buf))
70 return __readlink_alias (__path, __buf, __len);
65 readlink(const char *__restrict__ __path, char *__restrict__ __buf, size_t __len) argument
/freebsd-11-stable/contrib/libstdc++/include/std/
H A Dstd_memory.h74 __get_temporary_buffer(ptrdiff_t __len, _Tp*) argument
77 if (__len > __max)
78 __len = __max;
80 while (__len > 0)
82 _Tp* __tmp = static_cast<_Tp*>(::operator new(__len * sizeof(_Tp),
85 return pair<_Tp*, ptrdiff_t>(__tmp, __len);
86 __len /= 2;
110 get_temporary_buffer(ptrdiff_t __len) argument
111 { return std::__get_temporary_buffer(__len, static_cast<_Tp*>(0)); }
/freebsd-11-stable/contrib/libstdc++/config/locale/gnu/
H A Dmonetary_members.cc409 size_t __len = strlen(__cpossign); local
410 if (__len)
412 ++__len;
414 __wcs_ps = new wchar_t[__len];
415 mbsrtowcs(__wcs_ps, &__cpossign, __len, &__state);
422 __len = strlen(__cnegsign);
425 else if (__len)
427 ++__len;
429 __wcs_ns = new wchar_t[__len];
430 mbsrtowcs(__wcs_ns, &__cnegsign, __len,
551 size_t __len; local
[all...]
H A Dtime_members.h62 const size_t __len = std::strlen(__s) + 1; local
63 char* __tmp = new char[__len];
64 std::memcpy(__tmp, __s, __len);
H A Dmessages_members.h55 const size_t __len = std::strlen(__s) + 1; local
56 char* __tmp = new char[__len];
57 std::memcpy(__tmp, __s, __len);
H A Dtime_members.cc49 const size_t __len = __strftime_l(__s, __maxlen, __format, __tm, local
54 const size_t __len = strftime(__s, __maxlen, __format, __tm);
59 if (__len == 0)
202 const size_t __len = __wcsftime_l(__s, __maxlen, __format, __tm, local
207 const size_t __len = wcsftime(__s, __maxlen, __format, __tm);
212 if (__len == 0)
/freebsd-11-stable/contrib/libstdc++/config/locale/generic/
H A Dtime_members.h65 const size_t __len = std::strlen(__s) + 1; local
66 char* __tmp = new char[__len];
67 std::memcpy(__tmp, __s, __len);
H A Dtime_members.cc49 const size_t __len = strftime(__s, __maxlen, __format, __tm); local
53 if (__len == 0)
131 const size_t __len = wcsftime(__s, __maxlen, __format, __tm); local
135 if (__len == 0)
/freebsd-11-stable/contrib/libstdc++/src/
H A Dlocalename.cc200 const size_t __len = std::strlen(__s); local
201 if (!std::memchr(__s, ';', __len))
203 _M_names[0] = new char[__len + 1];
204 std::memcpy(_M_names[0], __s, __len + 1);
214 __end = __s + __len;
284 const size_t __len = std::strlen(_M_names[0]) + 1; local
287 _M_names[__i] = new char[__len];
288 std::memcpy(_M_names[__i], _M_names[0], __len);
303 const size_t __len = std::strlen(__src) + 1; local
304 char* __new = new char[__len];
[all...]
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
H A D__bsd_locale_fallbacks.h49 size_t __len, mbstate_t *__ps, locale_t __l)
52 return wcsnrtombs(__dest, __src, __nwc, __len, __ps);
64 size_t __len, mbstate_t *__ps, locale_t __l)
67 return mbsnrtowcs(__dest, __src, __nms, __len, __ps);
100 size_t __libcpp_mbsrtowcs_l(wchar_t *__dest, const char **__src, size_t __len, argument
104 return mbsrtowcs(__dest, __src, __len, __ps);
48 __libcpp_wcsnrtombs_l(char *__dest, const wchar_t **__src, size_t __nwc, size_t __len, mbstate_t *__ps, locale_t __l) argument
63 __libcpp_mbsnrtowcs_l(wchar_t * __dest, const char **__src, size_t __nms, size_t __len, mbstate_t *__ps, locale_t __l) argument
/freebsd-11-stable/contrib/libstdc++/include/bits/
H A Dstl_heap.h210 _Distance __len, _Tp __value)
214 while (__secondChild < __len)
222 if (__secondChild == __len)
273 _Distance __len, _Tp __value, _Compare __comp)
277 while (__secondChild < __len)
286 if (__secondChild == __len)
360 const _DistanceType __len = __last - __first; local
361 _DistanceType __parent = (__len - 2) / 2;
364 std::__adjust_heap(__first, __parent, __len,
400 const _DistanceType __len local
209 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __len, _Tp __value) argument
272 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __len, _Tp __value, _Compare __comp) argument
[all...]
H A Dstl_algo.h2121 _Predicate __pred, _Distance __len)
2123 if (__len == 1)
2126 std::advance(__middle, __len / 2);
2130 __len / 2);
2133 __len
2134 - __len / 2);
2150 _Predicate __pred, _Distance __len,
2154 if (__len <= __buffer_size)
2175 std::advance(__middle, __len / 2);
2178 __len /
2119 __inplace_stable_partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, _Distance __len) argument
2148 __stable_partition_adaptive(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, _Distance __len, _Pointer __buffer, _Distance __buffer_size) argument
2897 _DistanceType __len = std::distance(__first, __last); local
2948 _DistanceType __len = std::distance(__first, __last); local
2994 _DistanceType __len = std::distance(__first, __last); local
3045 _DistanceType __len = std::distance(__first, __last); local
3418 const _Distance __len = __last - __first; local
3442 const _Distance __len = __last - __first; local
3809 const _Distance __len = (__last - __first + 1) / 2; local
3837 const _Distance __len = (__last - __first + 1) / 2; local
4123 _DistanceType __len = std::distance(__first, __last); local
4187 _DistanceType __len = std::distance(__first, __last); local
[all...]
H A Dstl_bvector.h887 const size_type __len = std::distance(__first, __last); local
888 if (__len < size())
928 const size_type __len = size() + std::max(size(), __n); local
929 _Bit_type * __q = this->_M_allocate(__len);
936 this->_M_impl._M_end_of_storage = (__q + ((__len
973 const size_type __len = size() + std::max(size(), __n); local
974 _Bit_type * __q = this->_M_allocate(__len);
981 + ((__len
1001 const size_type __len = size() ? 2 * size() local
1003 _Bit_type * __q = this->_M_allocate(__len);
[all...]
H A Dstreambuf_iterator.h270 _M_put(const _CharT* __ws, streamsize __len) argument
273 && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len,
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dobstack.h376 int __len = (length); \
377 if (__o->chunk_limit - __o->next_free < __len) \
378 _obstack_newchunk (__o, __len); \
389 int __len = (length); \
390 if (__o->next_free + __len > __o->chunk_limit) \
391 _obstack_newchunk (__o, __len); \
392 _obstack_memcpy (__o->next_free, (char *) (where), __len); \
393 __o->next_free += __len; \
399 int __len = (length); \
400 if (__o->next_free + __len
[all...]
/freebsd-11-stable/contrib/libstdc++/include/ext/
H A Dropeimpl.h89 size_t __len = _S_iterator_buf_len; local
94 if (__buf_start_pos + __len <= __pos)
96 __buf_start_pos = __pos - __len / 4;
97 if (__buf_start_pos + __len > __leaf_end)
98 __buf_start_pos = __leaf_end - __len;
100 if (__buf_start_pos + __len > __leaf_end)
101 __len = __leaf_end - __buf_start_pos;
102 (*__fn)(__buf_start_pos - __leaf_pos, __len, __x._M_tmp_buf);
105 __x._M_buf_end = __x._M_tmp_buf + __len;
199 size_t __len local
432 _S_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len) argument
461 _S_destr_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len) argument
964 size_t __len = __end - __begin; local
1052 _S_flatten(_RopeRep* __r, size_t __start, size_t __len, _CharT* __buffer) argument
[all...]
H A Dsso_string_base.h364 size_type __len = 0; local
367 while (__beg != __end && __len < __capacity)
369 _M_data()[__len++] = *__beg;
377 if (__len == __capacity)
380 __capacity = __len + 1;
381 _CharT* __another = _M_create(__capacity, __len);
382 _S_copy(__another, _M_data(), __len);
387 _M_data()[__len++] = *__beg;
397 _M_set_length(__len);
H A Drc_string_base.h504 size_type __len = 0; local
505 while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT))
507 __buf[__len++] = *__beg;
510 _Rep* __r = _Rep::_S_create(__len, size_type(0), __a);
511 _S_copy(__r->_M_refdata(), __buf, __len);
516 if (__len == __r->_M_info._M_capacity)
519 _Rep* __another = _Rep::_S_create(__len + 1, __len, __a);
520 _S_copy(__another->_M_refdata(), __r->_M_refdata(), __len);
524 __r->_M_refdata()[__len
[all...]

Completed in 315 milliseconds

12