Home | History | Annotate | Download | only in include

Lines Matching full:const

53 has_facet(const locale&) _NOEXCEPT;
57 const _Facet&
58 use_facet(const locale&);
68 static const category // values assigned here are for exposition only
80 locale(const locale&) _NOEXCEPT;
81 explicit locale(const char*);
82 explicit locale(const string&);
83 locale(const locale&, const char*, category);
84 locale(const locale&, const string&, category);
86 _LIBCPP_INLINE_VISIBILITY locale(const locale&, _Facet*);
87 locale(const locale&, const locale&, category);
91 const locale& operator=(const locale&) _NOEXCEPT;
93 template <class _Facet> locale combine(const locale&) const;
96 string name() const;
97 bool operator==(const locale&) const;
98 bool operator!=(const locale& __y) const {return !(*this == __y);}
100 bool operator()(const basic_string<_CharT, _Traits, _Allocator>&,
101 const basic_string<_CharT, _Traits, _Allocator>&) const;
104 static locale global(const locale&);
105 static const locale& classic();
111 void __install_ctor(const locale&, facet*, long);
113 bool has_facet(id&) const;
114 const facet* use_facet(id&) const;
116 template <class _Facet> friend bool has_facet(const locale&) _NOEXCEPT;
117 template <class _Facet> friend const _Facet& use_facet(const locale&);
130 // facet(const facet&) = delete; // effectively done in __shared_count
131 // void operator=(const facet&) = delete;
146 void operator=(const id&); // = delete;
147 id(const id&); // = delete;
157 locale::locale(const locale& __other, _Facet* __f)
164 locale::combine(const locale& __other) const
176 has_facet(const locale& __l) _NOEXCEPT
183 const _Facet&
184 use_facet(const locale& __l)
186 return static_cast<const _Facet&>(*__l.use_facet(_Facet::id));
204 int compare(const char_type* __lo1, const char_type* __hi1,
205 const char_type* __lo2, const char_type* __hi2) const
211 string_type transform(const char_type* __lo, const char_type* __hi) const
217 long hash(const char_type* __lo, const char_type* __hi) const
226 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
227 const char_type* __lo2, const char_type* __hi2) const;
228 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const
230 virtual long do_hash(const char_type* __lo, const char_type* __hi) const;
242 collate<_CharT>::do_compare(const char_type* __lo1, const char_type* __hi1,
243 const char_type* __lo2, const char_type* __hi2) const
257 collate<_CharT>::do_hash(const char_type* __lo, const char_type* __hi) const
260 const size_t __sr = __CHAR_BIT__ * sizeof(size_t) - 8;
261 const size_t __mask = size_t(0xF) << (__sr + 4);
262 for(const char_type* __p = __lo; __p != __hi; ++__p)
287 explicit collate_byname(const char* __n, size_t __refs = 0);
288 explicit collate_byname(const string& __n, size_t __refs = 0);
292 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
293 const char_type* __lo2, const char_type* __hi2) const;
294 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const;
306 explicit collate_byname(const char* __n, size_t __refs = 0);
307 explicit collate_byname(const string& __n, size_t __refs = 0);
312 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
313 const char_type* __lo2, const char_type* __hi2) const;
314 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const;
319 locale::operator()(const basic_string<_CharT, _Traits, _Allocator>& __x,
320 const basic_string<_CharT, _Traits, _Allocator>& __y) const
334 static const mask space = _ISspace;
335 static const mask print = _ISprint;
336 static const mask cntrl = _IScntrl;
337 static const mask upper = _ISupper;
338 static const mask lower = _ISlower;
339 static const mask alpha = _ISalpha;
340 static const mask digit = _ISdigit;
341 static const mask punct = _ISpunct;
342 static const mask xdigit = _ISxdigit;
343 static const mask blank = _ISblank;
346 static const mask space = _SPACE;
347 static const mask print = _BLANK|_PUNCT|_ALPHA|_DIGIT;
348 static const mask cntrl = _CONTROL;
349 static const mask upper = _UPPER;
350 static const mask lower = _LOWER;
351 static const mask alpha = _ALPHA;
352 static const mask digit = _DIGIT;
353 static const mask punct = _PUNCT;
354 static const mask xdigit = _HEX;
355 static const mask blank = _BLANK;
365 static const mask space = _CTYPE_S;
366 static const mask print = _CTYPE_R;
367 static const mask cntrl = _CTYPE_C;
368 static const mask upper = _CTYPE_U;
369 static const mask lower = _CTYPE_L;
370 static const mask alpha = _CTYPE_A;
371 static const mask digit = _CTYPE_D;
372 static const mask punct = _CTYPE_P;
373 static const mask xdigit = _CTYPE_X;
376 static const mask blank = _CTYPE_BL;
378 static const mask blank = _CTYPE_B;
382 static const mask space = _ISSPACE;
383 static const mask print = _ISPRINT;
384 static const mask cntrl = _ISCNTRL;
385 static const mask upper = _ISUPPER;
386 static const mask lower = _ISLOWER;
387 static const mask alpha = _ISALPHA;
388 static const mask digit = _ISDIGIT;
389 static const mask punct = _ISPUNCT;
390 static const mask xdigit = _ISXDIGIT;
391 static const mask blank = _ISBLANK;
395 static const mask space = _S;
396 static const mask print = _P | _U | _L | _N | _B;
397 static const mask cntrl = _C;
398 static const mask upper = _U;
399 static const mask lower = _L;
400 static const mask alpha = _U | _L;
401 static const mask digit = _N;
402 static const mask punct = _P;
403 static const mask xdigit = _X | _N;
404 static const mask blank = _B;
410 static const mask space = 1<<0;
411 static const mask print = 1<<1;
412 static const mask cntrl = 1<<2;
413 static const mask upper = 1<<3;
414 static const mask lower = 1<<4;
415 static const mask alpha = 1<<5;
416 static const mask digit = 1<<6;
417 static const mask punct = 1<<7;
418 static const mask xdigit = 1<<8;
419 static const mask blank = 1<<9;
421 static const mask alnum = alpha | digit;
422 static const mask graph = alnum | punct;
442 bool is(mask __m, char_type __c) const
448 const char_type* is(const char_type* __low, const char_type* __high, mask* __vec) const
454 const char_type* scan_is(mask __m, const char_type* __low, const char_type* __high) const
460 const char_type* scan_not(mask __m, const char_type* __low, const char_type* __high) const
466 char_type toupper(char_type __c) const
472 const char_type* toupper(char_type* __low, const char_type* __high) const
478 char_type tolower(char_type __c) const
484 const char_type* tolower(char_type* __low, const char_type* __high) const
490 char_type widen(char __c) const
496 const char* widen(const char* __low, const char* __high, char_type* __to) const
502 char narrow(char_type __c, char __dfault) const
508 const char_type* narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) const
517 virtual bool do_is(mask __m, char_type __c) const;
518 virtual const char_type* do_is(const char_type* __low, const char_type* __high, mask* __vec) const;
519 virtual const char_type* do_scan_is(mask __m, const char_type* __low, const char_type* __high) const;
520 virtual const char_type* do_scan_not(mask __m, const char_type* __low, const char_type* __high) const;
521 virtual char_type do_toupper(char_type) const;
522 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
523 virtual char_type do_tolower(char_type) const;
524 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
525 virtual char_type do_widen(char) const;
526 virtual const char* do_widen(const char* __low, const char* __high, char_type* __dest) const;
527 virtual char do_narrow(char_type, char __dfault) const;
528 virtual const char_type* do_narrow(const char_type* __low, const char_type* __high, char __dfault, char* __dest) const;
535 const mask* __tab_;
540 explicit ctype(const mask* __tab = 0, bool __del = false, size_t __refs = 0);
543 bool is(mask __m, char_type __c) const
549 const char_type* is(const char_type* __low, const char_type* __high, mask* __vec) const
557 const char_type* scan_is (mask __m, const char_type* __low, const char_type* __high) const
566 const char_type* scan_not(mask __m, const char_type* __low, const char_type* __high) const
575 char_type toupper(char_type __c) const
581 const char_type* toupper(char_type* __low, const char_type* __high) const
587 char_type tolower(char_type __c) const
593 const char_type* tolower(char_type* __low, const char_type* __high) const
599 char_type widen(char __c) const
605 const char* widen(const char* __low, const char* __high, char_type* __to) const
611 char narrow(char_type __c, char __dfault) const
617 const char* narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) const
625 static const size_t table_size = _CACHED_RUNES;
627 static const size_t table_size = 256; // FIXME: Don't hardcode this.
629 _LIBCPP_ALWAYS_INLINE const mask* table() const _NOEXCEPT {return __tab_;}
630 static const mask* classic_table() _NOEXCEPT;
632 static const int* __classic_upper_table() _NOEXCEPT;
633 static const int* __classic_lower_table() _NOEXCEPT;
636 static const short* __classic_upper_table() _NOEXCEPT;
637 static const short* __classic_lower_table() _NOEXCEPT;
642 virtual char_type do_toupper(char_type __c) const;
643 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
644 virtual char_type do_tolower(char_type __c) const;
645 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
646 virtual char_type do_widen(char __c) const;
647 virtual const char* do_widen(const char* __low, const char* __high, char_type* __to) const;
648 virtual char do_narrow(char_type __c, char __dfault) const;
649 virtual const char* do_narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) const;
663 explicit ctype_byname(const char*, size_t = 0);
664 explicit ctype_byname(const string&, size_t = 0);
668 virtual char_type do_toupper(char_type) const;
669 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
670 virtual char_type do_tolower(char_type) const;
671 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
681 explicit ctype_byname(const char*, size_t = 0);
682 explicit ctype_byname(const string&, size_t = 0);
686 virtual bool do_is(mask __m, char_type __c) const;
687 virtual const char_type* do_is(const char_type* __low, const char_type* __high, mask* __vec) const;
688 virtual const char_type* do_scan_is(mask __m, const char_type* __low, const char_type* __high) const;
689 virtual const char_type* do_scan_not(mask __m, const char_type* __low, const char_type* __high) const;
690 virtual char_type do_toupper(char_type) const;
691 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
692 virtual char_type do_tolower(char_type) const;
693 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
694 virtual char_type do_widen(char) const;
695 virtual const char* do_widen(const char* __low, const char* __high, char_type* __dest) const;
696 virtual char do_narrow(char_type, char __dfault) const;
697 virtual const char_type* do_narrow(const char_type* __low, const char_type* __high, char __dfault, char* __dest) const;
703 isspace(_CharT __c, const locale& __loc)
711 isprint(_CharT __c, const locale& __loc)
719 iscntrl(_CharT __c, const locale& __loc)
727 isupper(_CharT __c, const locale& __loc)
735 islower(_CharT __c, const locale& __loc)
743 isalpha(_CharT __c, const locale& __loc)
751 isdigit(_CharT __c, const locale& __loc)
759 ispunct(_CharT __c, const locale& __loc)
767 isxdigit(_CharT __c, const locale& __loc)
775 isalnum(_CharT __c, const locale& __loc)
783 isgraph(_CharT __c, const locale& __loc)
791 toupper(_CharT __c, const locale& __loc)
799 tolower(_CharT __c, const locale& __loc)
835 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
836 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
843 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
850 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
851 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
857 int encoding() const _NOEXCEPT
863 bool always_noconv() const _NOEXCEPT
869 int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
875 int max_length() const _NOEXCEPT
884 explicit codecvt(const char*, size_t __refs = 0)
890 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
891 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
893 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
894 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
896 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
897 virtual int do_encoding() const _NOEXCEPT;
898 virtual bool do_always_noconv() const _NOEXCEPT;
899 virtual int do_length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
900 virtual int do_max_length() const _NOEXCEPT;
920 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
921 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
928 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
935 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
936 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
942 int encoding() const _NOEXCEPT
948 bool always_noconv() const _NOEXCEPT
954 int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
960 int max_length() const _NOEXCEPT
968 explicit codecvt(const char*, size_t __refs = 0);
973 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
974 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
976 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
977 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
979 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
980 virtual int do_encoding() const _NOEXCEPT;
981 virtual bool do_always_noconv() const _NOEXCEPT;
982 virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
983 virtual int do_max_length() const _NOEXCEPT;
1004 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1005 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1012 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1019 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1020 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
1026 int encoding() const _NOEXCEPT
1032 bool always_noconv() const _NOEXCEPT
1038 int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
1044 int max_length() const _NOEXCEPT
1053 explicit codecvt(const char*, size_t __refs = 0)
1059 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1060 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1062 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1063 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
1065 const;
1066 virtual int do_encoding() const _NOEXCEPT;
1067 virtual bool do_always_noconv() const _NOEXCEPT;
1068 virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
1069 virtual int do_max_length() const _NOEXCEPT;
1090 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1091 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1098 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1105 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1106 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
1112 int encoding() const _NOEXCEPT
1118 bool always_noconv() const _NOEXCEPT
1124 int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
1130 int max_length() const _NOEXCEPT
1139 explicit codecvt(const char*, size_t __refs = 0)
1145 const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1146 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1148 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1149 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
1151 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1152 virtual int do_encoding() const _NOEXCEPT;
1153 virtual bool do_always_noconv() const _NOEXCEPT;
1154 virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
1155 virtual int do_max_length() const _NOEXCEPT;
1166 explicit codecvt_byname(const char* __nm, size_t __refs = 0)
1169 explicit codecvt_byname(const string& __nm, size_t __refs = 0)
1185 _LIBCPP_FUNC_VIS void __throw_runtime_error(const char*);
1192 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const;
1201 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const
1221 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const
1227 const int __sz = 32;
1230 const char16_t* __wn = (const char16_t*)__wb;
1231 __r = do_out(__mb, (const char16_t*)__wb, (const char16_t*)__we, __wn,
1233 if (__r == codecvt_base::error || __wn == (const char16_t*)__wb)
1235 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1237 __wb = (const _CharT*)__wn;
1255 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const
1261 const int __sz = 32;
1264 const char32_t* __wn = (const char32_t*)__wb;
1265 __r = do_out(__mb, (const char32_t*)__wb, (const char32_t*)__we, __wn,
1267 if (__r == codecvt_base::error || __wn == (const char32_t*)__wb)
1269 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1271 __wb = (const _CharT*)__wn;
1282 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const;
1291 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1311 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1317 const int __sz = 32;
1320 const char* __nn = __nb;
1325 for (const char16_t* __p = __buf; __p < __bn; ++__p, ++__s)
1345 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1351 const int __sz = 32;
1354 const char* __nn = __nb;
1359 for (const char32_t* __p = __buf; __p < __bn; ++__p, ++__s)
1381 _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
1382 _LIBCPP_ALWAYS_INLINE char_type thousands_sep() const {return do_thousands_sep();}
1383 _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
1384 _LIBCPP_ALWAYS_INLINE string_type truename() const {return do_truename();}
1385 _LIBCPP_ALWAYS_INLINE string_type falsename() const {return do_falsename();}
1391 virtual char_type do_decimal_point() const;
1392 virtual char_type do_thousands_sep() const;
1393 virtual string do_grouping() const;
1394 virtual string_type do_truename() const;
1395 virtual string_type do_falsename() const;
1412 _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
1413 _LIBCPP_ALWAYS_INLINE char_type thousands_sep() const {return do_thousands_sep();}
1414 _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
1415 _LIBCPP_ALWAYS_INLINE string_type truename() const {return do_truename();}
1416 _LIBCPP_ALWAYS_INLINE string_type falsename() const {return do_falsename();}
1422 virtual char_type do_decimal_point() const;
1423 virtual char_type do_thousands_sep() const;
1424 virtual string do_grouping() const;
1425 virtual string_type do_truename() const;
1426 virtual string_type do_falsename() const;
1445 explicit numpunct_byname(const char* __nm, size_t __refs = 0);
1446 explicit numpunct_byname(const string& __nm, size_t __refs = 0);
1452 void __init(const char*);
1463 explicit numpunct_byname(const char* __nm, size_t __refs = 0);
1464 explicit numpunct_byname(const string& __nm, size_t __refs = 0);
1470 void __init(const char*);