Home
last modified time | relevance | path

Searched refs:__buf (Results 1 – 25 of 40) sorted by relevance

12

/openbsd/gnu/gcc/libssp/ssp/
H A Dunistd.h48 extern ssize_t __SSP_REDIRECT (__read_alias, (int __fd, void *__buf,
52 read (int __fd, void *__buf, size_t __nbytes) in read() argument
54 if (__ssp_bos0 (__buf) != (size_t) -1 && __nbytes > __ssp_bos0 (__buf)) in read()
56 return __read_alias (__fd, __buf, __nbytes); in read()
61 char *__restrict__ __buf, size_t __len),
68 if (__ssp_bos (__buf) != (size_t) -1 && __len > __ssp_bos (__buf)) in readlink()
70 return __readlink_alias (__path, __buf, __len); in readlink()
74 (char *__buf, size_t __size), getcwd);
77 getcwd (char *__buf, size_t __size) in getcwd() argument
79 if (__ssp_bos (__buf) != (size_t) -1 && __size > __ssp_bos (__buf)) in getcwd()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/src/
H A Ddebug.cc282 char __buf[__bufsize]; in _M_print_field() local
395 char __buf[__bufsize]; in _M_print_description() local
479 char __buf[__bufsize]; in _M_error() local
487 _M_print_word(__buf); in _M_error()
488 _M_column += strlen(__buf); in _M_error()
494 _M_print_word(__buf); in _M_error()
592 char __buf[__bufsize]; in _M_print_string() local
610 __buf[__len] = '\0'; in _M_print_string()
611 _M_print_word(__buf); in _M_print_string()
643 __buf[0] = '\0'; in _M_print_string()
[all …]
/openbsd/gnu/gcc/libstdc++-v3/include/bits/
H A Dfstream.tcc246 char* __buf = new char[__blen]; in underflow() local
251 _M_ext_buf = __buf; in underflow()
469 __iend, __buf, __buf + __blen, __bend); in _M_convert_to_external()
472 __blen = __bend - __buf; in _M_convert_to_external()
483 __elen = _M_file.xsputn(__buf, __blen); in _M_convert_to_external()
492 __iresume + __rlen, __iend, __buf, in _M_convert_to_external()
493 __buf + __blen, __bend); in _M_convert_to_external()
496 __rlen = __bend - __buf; in _M_convert_to_external()
778 char __buf[__blen]; in _M_terminate_output() local
786 __buf + __blen, __next); in _M_terminate_output()
[all …]
H A Distream.tcc887 _CharT __buf[128]; in operator >>() local
901 if (__len == sizeof(__buf) / sizeof(_CharT)) in operator >>()
903 __str.append(__buf, sizeof(__buf) / sizeof(_CharT)); in operator >>()
906 __buf[__len++] = _Traits::to_char_type(__c); in operator >>()
910 __str.append(__buf, __len); in operator >>()
H A Dstl_algo.h2229 if (__buf.size() > 0) in stable_partition()
2232 _DistanceType(__buf.requested_size()), in stable_partition()
2233 __buf.begin(), __buf.size()); in stable_partition()
2237 _DistanceType(__buf.requested_size())); in stable_partition()
3737 if (__buf.begin() == 0) in inplace_merge()
3741 __buf.begin(), _DistanceType(__buf.size())); in inplace_merge()
3793 if (__buf.begin() == 0) in inplace_merge()
3798 __buf.begin(), _DistanceType(__buf.size()), in inplace_merge()
3891 if (__buf.begin() == 0) in stable_sort()
3895 _DistanceType(__buf.size())); in stable_sort()
[all …]
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dfstream.tcc298 char* __buf = static_cast<char*>(__builtin_alloca(__blen)); in _M_convert_to_external() local
303 __iend, __buf, __buf + __blen, __bend); in _M_convert_to_external()
306 __blen = __bend - __buf; in _M_convert_to_external()
310 __buf = reinterpret_cast<char*>(__ibuf); in _M_convert_to_external()
321 __elen += _M_file.xsputn(__buf, __blen); in _M_convert_to_external()
331 __iend, __buf, __buf + __blen, __bend); in _M_convert_to_external()
334 __rlen = __bend - __buf; in _M_convert_to_external()
335 __elen += _M_file.xsputn(__buf, __rlen); in _M_convert_to_external()
H A Dbasic_string.tcc83 _CharT __buf[100]; in _S_construct() local
85 while (__beg != __end && __i < sizeof(__buf) / sizeof(_CharT)) in _S_construct()
87 __buf[__i++] = *__beg; in _S_construct()
91 traits_type::copy(__r->_M_refdata(), __buf, __i); in _S_construct()
1048 _CharT* __buf, typename _Alloc::size_type __bufsiz) in _S_string_copy() argument
1053 _Traits::copy(__buf, __str.data(), __bytes); in _S_string_copy()
1054 __buf[__bytes] = _CharT(); in _S_string_copy()
/openbsd/gnu/lib/libstdc++/libstdc++/src/
H A Dfstream.cc160 char* __buf = static_cast<char*>(__builtin_alloca(_M_buf_size)); in _M_underflow_common() local
161 __elen = _M_file.xsgetn(__buf, _M_buf_size); in _M_underflow_common()
166 __r = __cvt.in(_M_state_cur, __buf, in _M_underflow_common()
167 __buf + __elen, __eend, _M_in_beg, in _M_underflow_common()
/openbsd/gnu/gcc/libstdc++-v3/include/ext/
H A Dvstring.tcc571 _CharT __buf[128]; in _GLIBCXX_BEGIN_NAMESPACE() local
585 if (__len == sizeof(__buf) / sizeof(_CharT)) in _GLIBCXX_BEGIN_NAMESPACE()
587 __str.append(__buf, sizeof(__buf) / sizeof(_CharT)); in _GLIBCXX_BEGIN_NAMESPACE()
590 __buf[__len++] = _Traits::to_char_type(__c); in _GLIBCXX_BEGIN_NAMESPACE()
594 __str.append(__buf, __len); in _GLIBCXX_BEGIN_NAMESPACE()
641 _CharT __buf[128]; in getline() local
652 if (__len == sizeof(__buf) / sizeof(_CharT)) in getline()
654 __str.append(__buf, sizeof(__buf) / sizeof(_CharT)); in getline()
657 __buf[__len++] = _Traits::to_char_type(__c); in getline()
661 __str.append(__buf, __len); in getline()
H A Drc_string_base.h503 _CharT __buf[128]; in _S_construct() local
505 while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT)) in _S_construct()
507 __buf[__len++] = *__beg; in _S_construct()
511 _S_copy(__r->_M_refdata(), __buf, __len); in _S_construct()
/openbsd/gnu/gcc/libstdc++-v3/config/locale/generic/
H A Dcodecvt_members.cc77 extern_type __buf[MB_LEN_MAX]; in _GLIBCXX_BEGIN_NAMESPACE() local
80 const size_t __conv = wcrtomb(__buf, *__from, &__tmp_state); in _GLIBCXX_BEGIN_NAMESPACE()
92 memcpy(__to, __buf, __conv); in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/gnu/gcc/gcc/config/bfin/
H A Dbfin.h1161 do { char __buf[256]; \
1163 ASM_GENERATE_INTERNAL_LABEL (__buf, "L", VALUE); \
1164 assemble_name (FILE, __buf); \
1174 char __buf[256]; \
1176 ASM_GENERATE_INTERNAL_LABEL (__buf, "L", VALUE); \
1177 assemble_name (FILE, __buf); \
1179 ASM_GENERATE_INTERNAL_LABEL (__buf, "L", REL); \
1180 assemble_name (FILE, __buf); \
/openbsd/gnu/llvm/libcxx/include/__format/
H A Dformatter_integral.h47 _LIBCPP_HIDE_FROM_ABI inline char* __insert_sign(char* __buf, bool __negative, __format_spec::__sig… in __insert_sign() argument
49 *__buf++ = '-'; in __insert_sign()
57 *__buf++ = '+'; in __insert_sign()
60 *__buf++ = ' '; in __insert_sign()
64 return __buf; in __insert_sign()
/openbsd/gnu/llvm/libcxx/include/__algorithm/
H A Dstable_sort.h220 pair<value_type*, ptrdiff_t> __buf(0, 0); in __stable_sort_impl()
225 __buf = std::get_temporary_buffer<value_type>(__len); in __stable_sort_impl() local
227 __h.reset(__buf.first); in __stable_sort_impl()
230 …_AlgPolicy, __comp_ref_type<_Compare> >(__first, __last, __comp, __len, __buf.first, __buf.second); in __stable_sort_impl()
H A Dinplace_merge.h230 pair<value_type*, ptrdiff_t> __buf = _VSTD::get_temporary_buffer<value_type>(__buf_size); in __inplace_merge() local
232 unique_ptr<value_type, __return_temporary_buffer> __h(__buf.first); in __inplace_merge()
234 …first), std::move(__middle), std::move(__last), __comp, __len1, __len2, __buf.first, __buf.second); in __inplace_merge()
/openbsd/gnu/llvm/libcxx/include/
H A Ddeque1613 __buf.__construct_at_end(__f, __l);
1615 return insert(__p, move_iterator<__bi>(__buf.begin()), move_iterator<__bi>(__buf.end()));
1626 __buf.__construct_at_end(__f, __l);
1628 return insert(__p, move_iterator<__fwd>(__buf.begin()), move_iterator<__fwd>(__buf.end()));
1813 __buf.push_back(__hold.get());
1818 __buf.push_back(*__i);
1900 __buf.push_back(__map_.back());
1905 __buf.push_back(*__i);
1956 __buf.push_back(__hold.get());
1961 __buf.push_front(*--__i);
[all …]
H A Dlocale932 __buf.resize(__buf.capacity());
943 __buf.resize(2*__buf.size());
944 __buf.resize(__buf.capacity());
989 __buf.resize(__buf.capacity());
1000 __buf.resize(2*__buf.size());
1001 __buf.resize(__buf.capacity());
1041 __buf.resize(__buf.capacity());
1054 __buf.resize(2*__buf.size());
1055 __buf.resize(__buf.capacity());
1093 __buf.resize(__buf.capacity());
[all …]
H A D__locale1559 char __buf[__sz];
1563 __buf, __buf+__sz, __bn);
1566 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1595 char __buf[__sz];
1599 __buf, __buf+__sz, __bn);
1602 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1653 char16_t __buf[__sz];
1657 __buf, __buf+__sz, __bn);
1660 for (const char16_t* __p = __buf; __p < __bn; ++__p, ++__s)
1689 char32_t __buf[__sz];
[all …]
H A Dany316 __any_imp::_Buffer __buf;
386 _Tp * __ret = static_cast<_Tp*>(static_cast<void*>(&__dest.__s_.__buf));
398 _Tp * __p = static_cast<_Tp *>(static_cast<void*>(&__this.__s_.__buf));
406 static_cast<void const *>(&__this.__s_.__buf)));
412 *static_cast<_Tp*>(static_cast<void*>(&__this.__s_.__buf))));
422 return static_cast<void*>(&__this.__s_.__buf);
H A D__split_buffer254 __split_buffer __buf(__new_cap, 0, __a);
255 for (pointer __p = __begin_; __p != __end_; ++__p, (void) ++__buf.__end_)
256 __alloc_traits::construct(__buf.__alloc(),
257 _VSTD::__to_address(__buf.__end_), _VSTD::move(*__p));
258 swap(__buf);
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20010328-1.c56 extern int __statfs (__const char *__file, struct statfs *__buf);
57 extern int __statfs64 (__const char *__file, struct statfs64 *__buf);
/openbsd/gnu/gcc/libstdc++-v3/config/locale/gnu/
H A Dcodecvt_members.cc96 extern_type __buf[MB_LEN_MAX]; in _GLIBCXX_BEGIN_NAMESPACE() local
98 const size_t __conv2 = wcrtomb(__buf, *__from_next, &__tmp_state); in _GLIBCXX_BEGIN_NAMESPACE()
103 memcpy(__to_next, __buf, __conv2); in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/noncompile/
H A D971104-1.c11 struct seminfo *__buf; member
/openbsd/gnu/gcc/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc220 char* __buf = NULL; in sys_open() local
223 setvbuf(_M_cfile, __buf, _IONBF, 0); in sys_open()
/openbsd/gnu/lib/libstdc++/libstdc++/libio/
H A Dlibio.h358 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
366 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,

12