Home
last modified time | relevance | path

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

/haiku/headers/cpp/
H A Dstl_hash_fun.h40 inline size_t __stl_hash_string(const char* __s) in __stl_hash_string() argument
43 for ( ; *__s; ++__s) in __stl_hash_string()
44 __h = 5*__h + *__s; in __stl_hash_string()
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 Dstl_rope.h134 sequence_buffer(_Sequence& __s) : _M_prefix(&__s), _M_buf_count(0) {} in sequence_buffer() argument
158 void append(value_type* __s, size_t __len) in append() argument
164 _M_buffer[__i] = __s[__j]; in append()
168 _M_prefix->append(__s, __s + __len); in append()
171 append(__s, __len); in append()
174 sequence_buffer& write(value_type* __s, size_t __len) in write() argument
176 append(__s, __len); in write()
487 # define __STL_FREE_STRING(__s, __l, __a) _S_free_string(__s, __l, __a); argument
490 # define __STL_FREE_STRING(__s, __l, __a) _S_free_string(__s, __l); argument
684 __GC_CONST _CharT* __s = in operator() local
[all …]
H A Dropeimpl.h273 rope<_CharT,_Alloc>::_S_char_ptr_len(const _CharT* __s) in _S_char_ptr_len() argument
275 const _CharT* __p = __s; in _S_char_ptr_len()
278 return (__p - __s); in _S_char_ptr_len()
298 inline void _Rope_RopeRep<_CharT,_Alloc>::_S_free_string(_CharT* __s, in _S_free_string() argument
302 inline void _Rope_RopeRep<_CharT,_Alloc>::_S_free_string(_CharT* __s, in _S_free_string()
307 destroy(__s, __s + __n); in _S_free_string()
312 __s, _Rope_RopeLeaf<_CharT,_Alloc>::_S_rounded_up_size(__n)); in _S_free_string()
315 __s, _Rope_RopeLeaf<_CharT,_Alloc>::_S_rounded_up_size(__n)); in _S_free_string()
480 (_RopeRep* __r, const _CharT*__s, size_t __slen) in _S_concat_char_iter() argument
488 return __STL_ROPE_FROM_UNOWNED_CHAR_PTR(__s, __slen, in _S_concat_char_iter()
[all …]
H A Dstl_queue.h133 priority_queue(const _Compare& __x, const _Sequence& __s) in priority_queue() argument
134 : c(__s), comp(__x) in priority_queue()
150 const _Compare& __x, const _Sequence& __s) in priority_queue() argument
151 : c(__s), comp(__x) in priority_queue()
H A Dstl_stack.h55 explicit stack(const _Sequence& __s) : _M_c(__s) {} in stack() argument
H A Dstl_iterator.h831 istream_iterator(istream& __s) : _M_stream(&__s) { _M_read(); }
886 ostream_iterator(ostream& __s) : _M_stream(&__s), _M_string(0) {}
887 ostream_iterator(ostream& __s, const char* __c)
888 : _M_stream(&__s), _M_string(__c) {}
H A Dbitset630 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[_Nb - 1 - __i] = '1';
H A Dpthread_alloc179 _Pthread_alloc_per_thread_state<_Max_size>* __s =
181 __s -> __next = _S_free_per_thread_states;
182 _S_free_per_thread_states = __s;
/haiku/src/system/libroot/posix/glibc/include/
H A Dwchar.h12 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 Dstdio_private.h9 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/headers/cpp/std/
H A Dvalarray_array.h54 size_t __s, const _Tp& __t) in __valarray_fill() argument
55 { for (size_t __i=0; __i<__n; ++__i, __a+=__s) *__a = __t; } in __valarray_fill()
74 __valarray_copy (const _Tp* __restrict__ __a, size_t __n, size_t __s, in __valarray_copy() argument
76 { for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b = *__a; } in __valarray_copy()
82 size_t __n, size_t __s) in __valarray_copy() argument
83 { for (size_t __i=0; __i<__n; ++__i, ++__a, __b+=__s) *__b = *__a; } in __valarray_copy()
126 __valarray_fill (_Array<_Tp> __a, size_t __n, size_t __s, const _Tp& __t) in __valarray_fill() argument
127 { __valarray_fill (__a._M_data, __n, __s, __t); } in __valarray_fill()
142 __valarray_copy (_Array<_Tp> __a, size_t __n, size_t __s, _Array<_Tp> __b) in __valarray_copy() argument
143 { __valarray_copy(__a._M_data, __n, __s, __b._M_data); } in __valarray_copy()
[all …]
H A Dslice.h55 inline slice::slice (size_t __o, size_t __d, size_t __s) in slice() argument
56 : _M_off (__o), _M_sz (__d), _M_st (__s) {} in slice()
H A Dslice_array.h96 inline slice_array<_T>::slice_array (_Array<_T> __a, const slice& __s) in slice_array() argument
97 : _M_sz (__s.size ()), _M_stride (__s.stride ()), in slice_array()
98 _M_array (__a.begin () + __s.start ()) {} in slice_array()
H A Dgslice.h84 const valarray<size_t>& __s) in gslice() argument
85 : _M_index(new _Indexer(__o, __l, __s)) {} in gslice()
H A Dvalarray_meta.h504 _SBase (const _Dom& __e, const slice& __s)
505 : _M_expr (__e), _M_slice (__s) {}
519 _SBase (_Array<_Tp> __a, const slice& __s)
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) {}
544 _SClos (_Array<_Tp> __a, const slice& __s) : _Base (__a, __s) {}
692 _Expr<_Clos,_Tp>::operator[] (slice __s) const
693 { return _M_closure[__s]; }
719 _Tp __s(_Tp());
[all …]
H A Dvalarray_array.tcc93 _Array<_Tp> __a, size_t __s) in __valarray_copy() argument
96 for (size_t __i=0; __i<__n; ++__i, __p+=__s) *__p = __e[__i]; in __valarray_copy()
H A Dstd_valarray.h400 valarray<_Tp>::operator[] (slice __s) const
403 return _Expr<_Closure, _Tp> (_Closure (_Array<_Tp>(_M_data), __s));
408 valarray<_Tp>::operator[] (slice __s)
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, _Array<bool> (__m));
H A Dindirect_array.h101 indirect_array<_Tp>::indirect_array (_Array<_Tp> __a, size_t __s, in indirect_array() argument
103 : _M_sz (__s), _M_index (__i), _M_array (__a) {} in indirect_array()
H A Dmask_array.h99 mask_array<_T>::mask_array (_Array<_T> __a, size_t __s, _Array<bool> __m) in mask_array() argument
100 : _M_sz (__s), _M_mask (__m), _M_array (__a) {} in mask_array()
/haiku/src/system/libroot/posix/glibc/libio/
H A Dstdio.h183 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, __const char *__restrict __format,
[all …]
H A DlibioP.h379 #define _IO_sputn(__fp, __s, __n) _IO_XSPUTN (__fp, __s, __n) argument
/haiku/src/libs/stdc++/legacy/
H A Dvalarray.cc22 const valarray<size_t>& __s, in __gslice_to_index() argument
32 __i[__j] += __s[__k]*__t[__k]; in __gslice_to_index()
44 const valarray<size_t>& __s) in _Indexer() argument
45 : _M_count(1), _M_start(__o), _M_size(__l), _M_stride(__s), in _Indexer()
47 { __gslice_to_index(__o, __l, __s, _M_index); } in _Indexer()
/haiku/src/system/libroot/posix/glibc/wcsmbs/
H A Dwchar.h118 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 …]
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dmonetary.h39 extern ssize_t strfmon (char *__restrict __s, size_t __maxsize,
47 extern ssize_t strfmon_l (char *__restrict __s, size_t __maxsize,
H A Dstdlib.h412 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,