Searched defs:__len (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-head/contrib/libstdc++/config/locale/generic/
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)
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);
/freebsd-head/contrib/libstdc++/config/locale/gnu/
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)
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 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...]
/freebsd-head/contrib/gcclibs/libssp/ssp/
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
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...]
/freebsd-head/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...]
H A Ddebug.cc607 const ptrdiff_t __len = __finish - __start; local
608 assert(__len < __bufsize);
609 memcpy(__buf, __start, __len);
610 __buf[__len] = '\0';
H A Dlocale.cc277 const size_t __len = std::strlen(__imp._M_names[__l]) + 1; local
278 _M_names[__l] = new char[__len];
279 std::memcpy(_M_names[__l], __imp._M_names[__l], __len);
/freebsd-head/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 Dstreambuf_iterator.h270 _M_put(const _CharT* __ws, streamsize __len) argument
273 && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len,
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 Dstl_deque.h901 const size_type __len = size(); local
902 if (__new_size < __len)
905 insert(this->_M_impl._M_finish, __new_size - __len, __x);
1331 const size_type __len = std::distance(__first, __last); local
1332 if (__len > size())
H A Dbasic_string.h871 const size_type __len = 1 + this->size(); local
872 if (__len > this->capacity() || _M_rep()->_M_is_shared())
873 this->reserve(__len);
875 _M_rep()->_M_set_length_and_sharable(__len);
1943 const size_type __len = std::min(__size, __osize); local
1945 int __r = traits_type::compare(_M_data(), __str.data(), __len);
H A Dstl_tree.h1546 unsigned int __len = _Rb_tree_black_count(_M_leftmost(), _M_root()); local
1563 if (!__L && !__R && _Rb_tree_black_count(__x, _M_root()) != __len)
/freebsd-head/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)); }
H A Dstd_sstream.h165 __size_type __len = 0; local
167 __len = _M_string.size();
168 _M_sync(const_cast<char_type*>(_M_string.data()), 0, __len); local
/freebsd-head/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-head/contrib/libstdc++/include/ext/
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...]
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 Dvstring.h1674 const size_type __len = std::min(__size, __osize); local
1676 int __r = traits_type::compare(this->_M_data(), __str.data(), __len);
H A Dbitmap_allocator.h262 _DistanceType __len = __last - __first; local
266 while (__len > 0)
268 __half = __len >> 1;
275 __len = __len - __half - 1;
278 __len = __half;
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...]

Completed in 372 milliseconds

12