• Home
  • Raw
  • Download

Lines Matching refs:const

55 has_facet(const locale&) _NOEXCEPT;
59 const _Facet&
60 use_facet(const locale&);
70 static const category // values assigned here are for exposition only
82 locale(const locale&) _NOEXCEPT;
83 explicit locale(const char*);
84 explicit locale(const string&);
85 locale(const locale&, const char*, category);
86 locale(const locale&, const string&, category);
88 _LIBCPP_INLINE_VISIBILITY locale(const locale&, _Facet*);
89 locale(const locale&, const locale&, category);
93 const locale& operator=(const locale&) _NOEXCEPT;
97 locale combine(const locale&) const;
100 string name() const;
101 bool operator==(const locale&) const;
102 bool operator!=(const locale& __y) const {return !(*this == __y);}
105 bool operator()(const basic_string<_CharT, _Traits, _Allocator>&,
106 const basic_string<_CharT, _Traits, _Allocator>&) const;
109 static locale global(const locale&);
110 static const locale& classic();
116 void __install_ctor(const locale&, facet*, long);
118 bool has_facet(id&) const;
119 const facet* use_facet(id&) const;
121 template <class _Facet> friend bool has_facet(const locale&) _NOEXCEPT;
122 template <class _Facet> friend const _Facet& use_facet(const locale&);
135 // facet(const facet&) = delete; // effectively done in __shared_count
136 // void operator=(const facet&) = delete;
151 void operator=(const id&); // = delete;
152 id(const id&); // = delete;
162 locale::locale(const locale& __other, _Facet* __f)
169 locale::combine(const locale& __other) const
180 has_facet(const locale& __l) _NOEXCEPT
187 const _Facet&
188 use_facet(const locale& __l)
190 return static_cast<const _Facet&>(*__l.use_facet(_Facet::id));
208 int compare(const char_type* __lo1, const char_type* __hi1,
209 const char_type* __lo2, const char_type* __hi2) const
215 string_type transform(const char_type* __lo, const char_type* __hi) const
221 long hash(const char_type* __lo, const char_type* __hi) const
230 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
231 const char_type* __lo2, const char_type* __hi2) const;
232 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const
234 virtual long do_hash(const char_type* __lo, const char_type* __hi) const;
246 collate<_CharT>::do_compare(const char_type* __lo1, const char_type* __hi1,
247 const char_type* __lo2, const char_type* __hi2) const
261 collate<_CharT>::do_hash(const char_type* __lo, const char_type* __hi) const
264 const size_t __sr = __CHAR_BIT__ * sizeof(size_t) - 8;
265 const size_t __mask = size_t(0xF) << (__sr + 4);
266 for(const char_type* __p = __lo; __p != __hi; ++__p)
291 explicit collate_byname(const char* __n, size_t __refs = 0);
292 explicit collate_byname(const string& __n, size_t __refs = 0);
296 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
297 const char_type* __lo2, const char_type* __hi2) const;
298 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const;
310 explicit collate_byname(const char* __n, size_t __refs = 0);
311 explicit collate_byname(const string& __n, size_t __refs = 0);
316 virtual int do_compare(const char_type* __lo1, const char_type* __hi1,
317 const char_type* __lo2, const char_type* __hi2) const;
318 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const;
323 locale::operator()(const basic_string<_CharT, _Traits, _Allocator>& __x,
324 const basic_string<_CharT, _Traits, _Allocator>& __y) const
338 static const mask space = _ISspace;
339 static const mask print = _ISprint;
340 static const mask cntrl = _IScntrl;
341 static const mask upper = _ISupper;
342 static const mask lower = _ISlower;
343 static const mask alpha = _ISalpha;
344 static const mask digit = _ISdigit;
345 static const mask punct = _ISpunct;
346 static const mask xdigit = _ISxdigit;
347 static const mask blank = _ISblank;
350 static const mask space = _SPACE;
351 static const mask print = _BLANK|_PUNCT|_ALPHA|_DIGIT;
352 static const mask cntrl = _CONTROL;
353 static const mask upper = _UPPER;
354 static const mask lower = _LOWER;
355 static const mask alpha = _ALPHA;
356 static const mask digit = _DIGIT;
357 static const mask punct = _PUNCT;
358 static const mask xdigit = _HEX;
359 static const mask blank = _BLANK;
369 static const mask space = _CTYPE_S;
370 static const mask print = _CTYPE_R;
371 static const mask cntrl = _CTYPE_C;
372 static const mask upper = _CTYPE_U;
373 static const mask lower = _CTYPE_L;
374 static const mask alpha = _CTYPE_A;
375 static const mask digit = _CTYPE_D;
376 static const mask punct = _CTYPE_P;
377 static const mask xdigit = _CTYPE_X;
380 static const mask blank = _CTYPE_BL;
382 static const mask blank = _CTYPE_B;
386 static const mask space = _ISSPACE;
387 static const mask print = _ISPRINT;
388 static const mask cntrl = _ISCNTRL;
389 static const mask upper = _ISUPPER;
390 static const mask lower = _ISLOWER;
391 static const mask alpha = _ISALPHA;
392 static const mask digit = _ISDIGIT;
393 static const mask punct = _ISPUNCT;
394 static const mask xdigit = _ISXDIGIT;
395 static const mask blank = _ISBLANK;
399 static const mask space = _S;
400 static const mask print = _P | _U | _L | _N | _B;
401 static const mask cntrl = _C;
402 static const mask upper = _U;
403 static const mask lower = _L;
404 static const mask alpha = _U | _L;
405 static const mask digit = _N;
406 static const mask punct = _P;
407 static const mask xdigit = _X | _N;
408 static const mask blank = _B;
414 static const mask space = 1<<0;
415 static const mask print = 1<<1;
416 static const mask cntrl = 1<<2;
417 static const mask upper = 1<<3;
418 static const mask lower = 1<<4;
419 static const mask alpha = 1<<5;
420 static const mask digit = 1<<6;
421 static const mask punct = 1<<7;
422 static const mask xdigit = 1<<8;
423 static const mask blank = 1<<9;
425 static const mask alnum = alpha | digit;
426 static const mask graph = alnum | punct;
446 bool is(mask __m, char_type __c) const
452 const char_type* is(const char_type* __low, const char_type* __high, mask* __vec) const
458 const char_type* scan_is(mask __m, const char_type* __low, const char_type* __high) const
464 const char_type* scan_not(mask __m, const char_type* __low, const char_type* __high) const
470 char_type toupper(char_type __c) const
476 const char_type* toupper(char_type* __low, const char_type* __high) const
482 char_type tolower(char_type __c) const
488 const char_type* tolower(char_type* __low, const char_type* __high) const
494 char_type widen(char __c) const
500 const char* widen(const char* __low, const char* __high, char_type* __to) const
506 char narrow(char_type __c, char __dfault) const
512const char_type* narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to…
521 virtual bool do_is(mask __m, char_type __c) const;
522 …virtual const char_type* do_is(const char_type* __low, const char_type* __high, mask* __vec) const;
523 …virtual const char_type* do_scan_is(mask __m, const char_type* __low, const char_type* __high) con…
524 …virtual const char_type* do_scan_not(mask __m, const char_type* __low, const char_type* __high) co…
525 virtual char_type do_toupper(char_type) const;
526 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
527 virtual char_type do_tolower(char_type) const;
528 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
529 virtual char_type do_widen(char) const;
530 virtual const char* do_widen(const char* __low, const char* __high, char_type* __dest) const;
531 virtual char do_narrow(char_type, char __dfault) const;
532 …virtual const char_type* do_narrow(const char_type* __low, const char_type* __high, char __dfault,…
539 const mask* __tab_;
544 explicit ctype(const mask* __tab = 0, bool __del = false, size_t __refs = 0);
547 bool is(mask __m, char_type __c) const
553 const char_type* is(const char_type* __low, const char_type* __high, mask* __vec) const
561 const char_type* scan_is (mask __m, const char_type* __low, const char_type* __high) const
570 const char_type* scan_not(mask __m, const char_type* __low, const char_type* __high) const
579 char_type toupper(char_type __c) const
585 const char_type* toupper(char_type* __low, const char_type* __high) const
591 char_type tolower(char_type __c) const
597 const char_type* tolower(char_type* __low, const char_type* __high) const
603 char_type widen(char __c) const
609 const char* widen(const char* __low, const char* __high, char_type* __to) const
615 char narrow(char_type __c, char __dfault) const
621const char* narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) con…
629 static const size_t table_size = _CACHED_RUNES;
631 static const size_t table_size = 256; // FIXME: Don't hardcode this.
633 _LIBCPP_ALWAYS_INLINE const mask* table() const _NOEXCEPT {return __tab_;}
634 static const mask* classic_table() _NOEXCEPT;
636 static const int* __classic_upper_table() _NOEXCEPT;
637 static const int* __classic_lower_table() _NOEXCEPT;
640 static const short* __classic_upper_table() _NOEXCEPT;
641 static const short* __classic_lower_table() _NOEXCEPT;
646 virtual char_type do_toupper(char_type __c) const;
647 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
648 virtual char_type do_tolower(char_type __c) const;
649 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
650 virtual char_type do_widen(char __c) const;
651 virtual const char* do_widen(const char* __low, const char* __high, char_type* __to) const;
652 virtual char do_narrow(char_type __c, char __dfault) const;
653 …virtual const char* do_narrow(const char_type* __low, const char_type* __high, char __dfault, char…
667 explicit ctype_byname(const char*, size_t = 0);
668 explicit ctype_byname(const string&, size_t = 0);
672 virtual char_type do_toupper(char_type) const;
673 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
674 virtual char_type do_tolower(char_type) const;
675 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
685 explicit ctype_byname(const char*, size_t = 0);
686 explicit ctype_byname(const string&, size_t = 0);
690 virtual bool do_is(mask __m, char_type __c) const;
691 …virtual const char_type* do_is(const char_type* __low, const char_type* __high, mask* __vec) const;
692 …virtual const char_type* do_scan_is(mask __m, const char_type* __low, const char_type* __high) con…
693 …virtual const char_type* do_scan_not(mask __m, const char_type* __low, const char_type* __high) co…
694 virtual char_type do_toupper(char_type) const;
695 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
696 virtual char_type do_tolower(char_type) const;
697 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
698 virtual char_type do_widen(char) const;
699 virtual const char* do_widen(const char* __low, const char* __high, char_type* __dest) const;
700 virtual char do_narrow(char_type, char __dfault) const;
701 …virtual const char_type* do_narrow(const char_type* __low, const char_type* __high, char __dfault,…
707 isspace(_CharT __c, const locale& __loc)
715 isprint(_CharT __c, const locale& __loc)
723 iscntrl(_CharT __c, const locale& __loc)
731 isupper(_CharT __c, const locale& __loc)
739 islower(_CharT __c, const locale& __loc)
747 isalpha(_CharT __c, const locale& __loc)
755 isdigit(_CharT __c, const locale& __loc)
763 ispunct(_CharT __c, const locale& __loc)
771 isxdigit(_CharT __c, const locale& __loc)
779 isalnum(_CharT __c, const locale& __loc)
787 isgraph(_CharT __c, const locale& __loc)
795 toupper(_CharT __c, const locale& __loc)
803 tolower(_CharT __c, const locale& __loc)
839const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
840 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
847 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
854 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
855 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
861 int encoding() const _NOEXCEPT
867 bool always_noconv() const _NOEXCEPT
873 …int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
879 int max_length() const _NOEXCEPT
888 explicit codecvt(const char*, size_t __refs = 0)
894const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
895 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
897const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
898 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
900 … extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
901 virtual int do_encoding() const _NOEXCEPT;
902 virtual bool do_always_noconv() const _NOEXCEPT;
903 …virtual int do_length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t…
904 virtual int do_max_length() const _NOEXCEPT;
924const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
925 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
932 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
939 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
940 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
946 int encoding() const _NOEXCEPT
952 bool always_noconv() const _NOEXCEPT
958 …int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
964 int max_length() const _NOEXCEPT
972 explicit codecvt(const char*, size_t __refs = 0);
977const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
978 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
980const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
981 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
983 … extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
984 virtual int do_encoding() const _NOEXCEPT;
985 virtual bool do_always_noconv() const _NOEXCEPT;
986 …virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx…
987 virtual int do_max_length() const _NOEXCEPT;
1008const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1009 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1016 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1023 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1024 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
1030 int encoding() const _NOEXCEPT
1036 bool always_noconv() const _NOEXCEPT
1042 …int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
1048 int max_length() const _NOEXCEPT
1057 explicit codecvt(const char*, size_t __refs = 0)
1063const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1064 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1066const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1067 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
1069 … extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1070 virtual int do_encoding() const _NOEXCEPT;
1071 virtual bool do_always_noconv() const _NOEXCEPT;
1072 …virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx…
1073 virtual int do_max_length() const _NOEXCEPT;
1094const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1095 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1102 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const
1109 const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1110 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const
1116 int encoding() const _NOEXCEPT
1122 bool always_noconv() const _NOEXCEPT
1128 …int length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const
1134 int max_length() const _NOEXCEPT
1143 explicit codecvt(const char*, size_t __refs = 0)
1149const intern_type* __frm, const intern_type* __frm_end, const intern_type*& __frm_nxt,
1150 extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1152const extern_type* __frm, const extern_type* __frm_end, const extern_type*& __frm_nxt,
1153 intern_type* __to, intern_type* __to_end, intern_type*& __to_nxt) const;
1155 … extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1156 virtual int do_encoding() const _NOEXCEPT;
1157 virtual bool do_always_noconv() const _NOEXCEPT;
1158 …virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx…
1159 virtual int do_max_length() const _NOEXCEPT;
1170 explicit codecvt_byname(const char* __nm, size_t __refs = 0)
1173 explicit codecvt_byname(const string& __nm, size_t __refs = 0)
1189 _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const char*);
1196 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const;
1205 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const
1225 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const
1231 const int __sz = 32;
1234 const char16_t* __wn = (const char16_t*)__wb;
1235 __r = do_out(__mb, (const char16_t*)__wb, (const char16_t*)__we, __wn,
1237 if (__r == codecvt_base::error || __wn == (const char16_t*)__wb)
1239 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1241 __wb = (const _CharT*)__wn;
1259 operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const
1265 const int __sz = 32;
1268 const char32_t* __wn = (const char32_t*)__wb;
1269 __r = do_out(__mb, (const char32_t*)__wb, (const char32_t*)__we, __wn,
1271 if (__r == codecvt_base::error || __wn == (const char32_t*)__wb)
1273 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1275 __wb = (const _CharT*)__wn;
1286 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const;
1295 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1315 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1321 const int __sz = 32;
1324 const char* __nn = __nb;
1329 for (const char16_t* __p = __buf; __p < __bn; ++__p, ++__s)
1349 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1355 const int __sz = 32;
1358 const char* __nn = __nb;
1363 for (const char32_t* __p = __buf; __p < __bn; ++__p, ++__s)
1385 _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
1386 _LIBCPP_ALWAYS_INLINE char_type thousands_sep() const {return do_thousands_sep();}
1387 _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
1388 _LIBCPP_ALWAYS_INLINE string_type truename() const {return do_truename();}
1389 _LIBCPP_ALWAYS_INLINE string_type falsename() const {return do_falsename();}
1395 virtual char_type do_decimal_point() const;
1396 virtual char_type do_thousands_sep() const;
1397 virtual string do_grouping() const;
1398 virtual string_type do_truename() const;
1399 virtual string_type do_falsename() const;
1416 _LIBCPP_ALWAYS_INLINE char_type decimal_point() const {return do_decimal_point();}
1417 _LIBCPP_ALWAYS_INLINE char_type thousands_sep() const {return do_thousands_sep();}
1418 _LIBCPP_ALWAYS_INLINE string grouping() const {return do_grouping();}
1419 _LIBCPP_ALWAYS_INLINE string_type truename() const {return do_truename();}
1420 _LIBCPP_ALWAYS_INLINE string_type falsename() const {return do_falsename();}
1426 virtual char_type do_decimal_point() const;
1427 virtual char_type do_thousands_sep() const;
1428 virtual string do_grouping() const;
1429 virtual string_type do_truename() const;
1430 virtual string_type do_falsename() const;
1449 explicit numpunct_byname(const char* __nm, size_t __refs = 0);
1450 explicit numpunct_byname(const string& __nm, size_t __refs = 0);
1456 void __init(const char*);
1467 explicit numpunct_byname(const char* __nm, size_t __refs = 0);
1468 explicit numpunct_byname(const string& __nm, size_t __refs = 0);
1474 void __init(const char*);