/haiku/headers/cpp/ |
H A D | stl_hash_fun.h | 40 inline size_t __stl_hash_string(const char* __s) argument 43 for ( ; *__s; ++__s) 44 __h = 5*__h + *__s; 51 size_t operator()(const char* __s) const { return __stl_hash_string(__s); } 56 size_t operator()(const char* __s) const { return __stl_hash_string(__s); }
|
H A D | stl_rope.h | 134 sequence_buffer(_Sequence& __s) : _M_prefix(&__s), _M_buf_count(0) {} argument 158 void append(value_type* __s, size_t __len) argument 164 _M_buffer[__i] = __s[__j]; 168 _M_prefix->append(__s, __s + __len); 171 append(__s, __len); 174 sequence_buffer& write(value_type* __s, size_t __len) argument 176 append(__s, __len); 487 # define __STL_FREE_STRING(__s, __ 684 __GC_CONST _CharT* __s = local 695 _Rope_RopeSubstring(_Rope_RopeRep<_CharT,_Alloc>* __b, size_t __s, size_t __l, allocator_type __a) argument 1427 _S_new_RopeLeaf(__GC_CONST _CharT *__s, size_t __size, allocator_type __a) argument 1461 _S_new_RopeSubstring( _Rope_RopeRep<_CharT,_Alloc>* __b, size_t __s, size_t __l, allocator_type __a) argument 1475 _S_RopeLeaf_from_unowned_char_ptr(const _CharT *__s, size_t __size, allocator_type __a) argument 1614 rope(const _CharT* __s, const allocator_type& __a = allocator_type()) argument 1619 rope(const _CharT* __s, size_t __len, const allocator_type& __a = allocator_type()) argument 1627 rope(const _CharT *__s, const _CharT *__e, const allocator_type& __a = allocator_type()) argument 1632 rope(const const_iterator& __s, const const_iterator& __e, const allocator_type& __a = allocator_type()) argument 1638 rope(const iterator& __s, const iterator& __e, const allocator_type& __a = allocator_type()) argument 1893 append(const _CharT* __s, const _CharT* __e) argument 1901 append(const_iterator __s, const_iterator __e) argument 2222 find(_CharT* __s, size_type __pos = 0) const argument [all...] |
H A D | stl_stack.h | 55 explicit stack(const _Sequence& __s) : _M_c(__s) {} argument
|
H A D | ropeimpl.h | 273 rope<_CharT,_Alloc>::_S_char_ptr_len(const _CharT* __s) argument 275 const _CharT* __p = __s; 278 return (__p - __s); 298 inline void _Rope_RopeRep<_CharT,_Alloc>::_S_free_string(_CharT* __s, argument 302 inline void _Rope_RopeRep<_CharT,_Alloc>::_S_free_string(_CharT* __s, 307 destroy(__s, __s + __n); 312 __s, _Rope_RopeLeaf<_CharT,_Alloc>::_S_rounded_up_size(__n)); 315 __s, _Rope_RopeLeaf<_CharT,_Alloc>::_S_rounded_up_size(__n)); 480 (_RopeRep* __r, const _CharT*__s, size_ 533 _S_destr_concat_char_iter( _RopeRep* __r, const _CharT* __s, size_t __slen) argument 1139 size_t __s = __r->_M_size; local 1481 size_t __s = size(); local [all...] |
H A D | stl_queue.h | 133 priority_queue(const _Compare& __x, const _Sequence& __s) argument 134 : c(__s), comp(__x) 150 const _Compare& __x, const _Sequence& __s) 151 : c(__s), comp(__x) 149 priority_queue(_InputIterator __first, _InputIterator __last, const _Compare& __x, const _Sequence& __s) argument
|
H A D | bitset | 630 explicit bitset(const basic_string<_CharT,_Traits,_Alloc>& __s, 635 if (__pos > __s.size()) 637 _M_copy_from_string(__s, __pos, __n); 770 void _M_copy_from_string(const basic_string<_CharT,_Traits,_Alloc>& __s, 827 ::_M_copy_from_string(const basic_string<_CharT,_Traits,_Alloc>& __s, 832 const size_t __nbits = min(_Nb, min(__n, __s.size() - __pos)); 834 switch(__s[__pos + __nbits - __i - 1]) { 849 ::_M_copy_to_string(basic_string<_CharT, _Traits, _Alloc>& __s) const 851 __s.assign(_Nb, '0'); 855 __s[_N [all...] |
H A D | pthread_alloc | 179 _Pthread_alloc_per_thread_state<_Max_size>* __s = 181 __s -> __next = _S_free_per_thread_states; 182 _S_free_per_thread_states = __s;
|
H A D | stl_iterator.h | 831 istream_iterator(istream& __s) : _M_stream(&__s) { _M_read(); } argument 886 ostream_iterator(ostream& __s) : _M_stream(&__s), _M_string(0) {} argument 887 ostream_iterator(ostream& __s, const char* __c) argument 888 : _M_stream(&__s), _M_string(__c) {}
|
/haiku/headers/cpp/std/ |
H A D | slice.h | 55 inline slice::slice (size_t __o, size_t __d, size_t __s) argument 56 : _M_off (__o), _M_sz (__d), _M_st (__s) {}
|
H A D | valarray_array.h | 50 // fill strided array __a[<__n-1 : __s>] with __t 54 size_t __s, const _Tp& __t) 55 { for (size_t __i=0; __i<__n; ++__i, __a+=__s) *__a = __t; } 71 // copy strided array __a[<__n : __s>] in plain __b[<__n>] 74 __valarray_copy (const _Tp* __restrict__ __a, size_t __n, size_t __s, argument 76 { for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b = *__a; } 78 // copy plain __a[<__n>] in strided __b[<__n : __s>] 82 size_t __n, size_t __s) 83 { for (size_t __i=0; __i<__n; ++__i, ++__a, __b+=__s) *__b = *__a; } 126 __valarray_fill (_Array<_Tp> __a, size_t __n, size_t __s, cons argument 53 __valarray_fill(_Tp* __restrict__ __a, size_t __n, size_t __s, const _Tp& __t) argument 81 __valarray_copy(const _Tp* __restrict__ __a, _Tp* __restrict__ __b, size_t __n, size_t __s) argument 142 __valarray_copy(_Array<_Tp> __a, size_t __n, size_t __s, _Array<_Tp> __b) argument 147 __valarray_copy(_Array<_Tp> __a, _Array<_Tp> __b, size_t __n, size_t __s) argument 176 _Array(const _Tp* __restrict__ __b, size_t __s) argument [all...] |
H A D | slice_array.h | 96 inline slice_array<_T>::slice_array (_Array<_T> __a, const slice& __s) argument 97 : _M_sz (__s.size ()), _M_stride (__s.stride ()), 98 _M_array (__a.begin () + __s.start ()) {}
|
H A D | gslice.h | 84 const valarray<size_t>& __s) 85 : _M_index(new _Indexer(__o, __l, __s)) {} 83 gslice(size_t __o, const valarray<size_t>& __l, const valarray<size_t>& __s) argument
|
H A D | indirect_array.h | 101 indirect_array<_Tp>::indirect_array (_Array<_Tp> __a, size_t __s, argument 103 : _M_sz (__s), _M_index (__i), _M_array (__a) {}
|
H A D | mask_array.h | 99 mask_array<_T>::mask_array (_Array<_T> __a, size_t __s, _Array<bool> __m) argument 100 : _M_sz (__s), _M_mask (__m), _M_array (__a) {}
|
H A D | valarray_meta.h | 504 _SBase (const _Dom& __e, const slice& __s) argument 505 : _M_expr (__e), _M_slice (__s) {} 519 _SBase (_Array<_Tp> __a, const slice& __s) argument 520 : _M_array (__a._M_data+__s.start()), _M_size (__s.size()), 521 _M_stride (__s.stride()) {} 536 _SClos (const _Dom& __e, const slice& __s) : _Base (__e, __s) {} argument 544 _SClos (_Array<_Tp> __a, const slice& __s) : _Base (__a, __s) {} argument [all...] |
H A D | std_valarray.h | 400 valarray<_Tp>::operator[] (slice __s) const 403 return _Expr<_Closure, _Tp> (_Closure (_Array<_Tp>(_M_data), __s)); 408 valarray<_Tp>::operator[] (slice __s) argument 410 return slice_array<_Tp> (_Array<_Tp>(_M_data), __s); 434 size_t __s (0); 437 if (__m[__i]) ++__s; 438 return valarray<_Tp> (mask_array<_Tp> (_Array<_Tp>(_M_data), __s, 446 size_t __s (0); 449 if (__m[__i]) ++__s; 450 return mask_array<_Tp> (_Array<_Tp>(_M_data), __s, _Arra [all...] |
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | wchar.h | 12 extern size_t __wcslen (__const wchar_t *__s) __attribute_pure__; 13 extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen) 19 __const char *__restrict __s, size_t __n, 21 extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc, 46 extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc) 49 extern int __vfwscanf (__FILE *__restrict __s, 53 extern int __vswprintf (wchar_t *__restrict __s, size_t __n, 57 extern int __fwprintf (__FILE *__restrict __s, 60 extern int __vfwprintf (__FILE *__restrict __s,
|
H A D | stdio_private.h | 9 extern int __snprintf (char *__restrict __s, size_t __maxlen, 12 extern int __vsnprintf (char *__restrict __s, size_t __maxlen, 15 extern int __vfscanf (FILE *__restrict __s, 25 extern int __vsscanf (__const char *__restrict __s,
|
/haiku/src/system/libroot/posix/glibc/stdlib/ |
H A D | monetary.h | 39 extern ssize_t strfmon (char *__restrict __s, size_t __maxsize, 47 extern ssize_t strfmon_l (char *__restrict __s, size_t __maxsize,
|
H A D | stdlib.h | 412 extern long int a64l (__const char *__s) __THROW __attribute_pure__; 825 extern int mblen (__const char *__s, size_t __n) __THROW; 829 __const char *__restrict __s, size_t __n) __THROW; 832 extern int wctomb (char *__s, wchar_t __wchar) __THROW; 837 __const char *__restrict __s, size_t __n) __THROW; 839 extern size_t wcstombs (char *__restrict __s,
|
/haiku/src/libs/stdc++/legacy/ |
H A D | valarray.cc | 22 const valarray<size_t>& __s, 32 __i[__j] += __s[__k]*__t[__k]; 44 const valarray<size_t>& __s) 45 : _M_count(1), _M_start(__o), _M_size(__l), _M_stride(__s), 47 { __gslice_to_index(__o, __l, __s, _M_index); } 21 __gslice_to_index(size_t __o, const valarray<size_t>& __l, const valarray<size_t>& __s, valarray<size_t>& __i) argument 43 _Indexer(size_t __o, const valarray<size_t>& __l, const valarray<size_t>& __s) argument
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | stdio.h | 183 extern char *tmpnam (char *__s) __THROW; 193 extern char *tmpnam_r (char *__s) __THROW; 273 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __THROW; 312 extern int sprintf (char *__restrict __s, 316 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, 322 extern int vsprintf (char *__restrict __s, __const char *__restrict __format, 329 extern int snprintf (char *__restrict __s, size_t __maxlen, 333 extern int vsnprintf (char *__restrict __s, size_t __maxlen, 368 extern int sscanf (__const char *__restrict __s, 375 extern int vfscanf (FILE *__restrict __s, __cons [all...] |
H A D | libioP.h | 379 #define _IO_sputn(__fp, __s, __n) _IO_XSPUTN (__fp, __s, __n)
|
/haiku/src/system/libroot/posix/glibc/wcsmbs/ |
H A D | wchar.h | 118 extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n) 134 extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW; 160 __const char *__restrict __s, size_t __n, 164 extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, 168 extern size_t __mbrlen (__const char *__restrict __s, size_t __n, 170 extern size_t mbrlen (__const char *__restrict __s, size_t __n, 344 extern int swprintf (wchar_t *__restrict __s, size_t __n, 349 extern int vfwprintf (__FILE *__restrict __s, 359 extern int vswprintf (wchar_t *__restrict __s, size_t __n, 373 extern int swscanf (__const wchar_t *__restrict __s, [all...] |