Lines Matching full:const
45 _LIBCPP_HIDE_FROM_ABI bool has_facet(const locale&) _NOEXCEPT;
48 _LIBCPP_HIDE_FROM_ABI const _Facet& use_facet(const locale&);
61 static const category // values assigned here are for exposition only
69 locale(const locale&) _NOEXCEPT;
70 explicit locale(const char*);
71 explicit locale(const string&);
72 locale(const locale&, const char*, category);
73 locale(const locale&, const string&, category);
75 _LIBCPP_HIDE_FROM_ABI locale(const locale&, _Facet*);
76 locale(const locale&, const locale&, category);
80 const locale& operator=(const locale&) _NOEXCEPT;
83 _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS locale combine(const locale&) const;
86 string name() const;
87 bool operator==(const locale&) const;
89 _LIBCPP_HIDE_FROM_ABI bool operator!=(const locale& __y) const { return !(*this == __y); }
93 operator()(const basic_string<_CharT, _Traits, _Allocator>&, const basic_string<_CharT, _Traits, _Allocator>&) const;
96 static locale global(const locale&);
97 static const locale& classic();
107 void __install_ctor(const locale&, facet*, long);
109 bool has_facet(id&) const;
110 const facet* use_facet(id&) const;
113 friend bool has_facet(const locale&) _NOEXCEPT;
115 friend const _Facet& use_facet(const locale&);
124 // facet(const facet&) = delete; // effectively done in __shared_count
125 // void operator=(const facet&) = delete;
139 void operator=(const id&) = delete;
140 id(const id&) = delete;
150 inline _LIBCPP_HIDE_FROM_ABI locale::locale(const locale& __other, _Facet* __f) {
155 locale locale::combine(const locale& __other) const {
163 inline _LIBCPP_HIDE_FROM_ABI bool has_facet(const locale& __l) _NOEXCEPT {
168 inline _LIBCPP_HIDE_FROM_ABI const _Facet& use_facet(const locale& __l) {
169 return static_cast<const _Facet&>(*__l.use_facet(_Facet::id));
183 compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) const {
190 transform(const char_type* __lo, const char_type* __hi) const {
194 _LIBCPP_HIDE_FROM_ABI long hash(const char_type* __lo, const char_type* __hi) const { return do_hash(__lo, __hi); }
201 do_compare(const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) const;
202 virtual string_type do_transform(const char_type* __lo, const char_type* __hi) const {
205 virtual long do_hash(const char_type* __lo, const char_type* __hi) const;
216 const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) const {
227 long collate<_CharT>::do_hash(const char_type* __lo, const char_type* __hi) const {
229 const size_t __sr = __CHAR_BIT__ * sizeof(size_t) - 8;
230 const size_t __mask = size_t(0xF) << (__sr + 4);
231 for (const char_type* __p = __lo; __p != __hi; ++__p) {
257 explicit collate_byname(const char* __n, size_t __refs = 0);
258 explicit collate_byname(const string& __n, size_t __refs = 0);
263 const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) const override;
264 string_type do_transform(const char_type* __lo, const char_type* __hi) const override;
276 explicit collate_byname(const char* __n, size_t __refs = 0);
277 explicit collate_byname(const string& __n, size_t __refs = 0);
283 const char_type* __lo1, const char_type* __hi1, const char_type* __lo2, const char_type* __hi2) const override;
284 string_type do_transform(const char_type* __lo, const char_type* __hi) const override;
289 bool locale::operator()(const basic_string<_CharT, _Traits, _Allocator>& __x,
290 const basic_string<_CharT, _Traits, _Allocator>& __y) const {
301 static const mask space = 1 << 0;
302 static const mask print = 1 << 1;
303 static const mask cntrl = 1 << 2;
304 static const mask upper = 1 << 3;
305 static const mask lower = 1 << 4;
306 static const mask alpha = 1 << 5;
307 static const mask digit = 1 << 6;
308 static const mask punct = 1 << 7;
309 static const mask xdigit = 1 << 8;
310 static const mask blank = 1 << 9;
314 static const mask __regex_word = 0x8000;
316 static const mask __regex_word = 1 << 10;
320 static const mask space = _ISspace;
321 static const mask print = _ISprint;
322 static const mask cntrl = _IScntrl;
323 static const mask upper = _ISupper;
324 static const mask lower = _ISlower;
325 static const mask alpha = _ISalpha;
326 static const mask digit = _ISdigit;
327 static const mask punct = _ISpunct;
328 static const mask xdigit = _ISxdigit;
329 static const mask blank = _ISblank;
331 static const mask __regex_word = static_cast<mask>(_ISbit(15));
333 static const mask __regex_word = 0x80;
337 static const mask space = _SPACE;
338 static const mask print = _BLANK | _PUNCT | _ALPHA | _DIGIT;
339 static const mask cntrl = _CONTROL;
340 static const mask upper = _UPPER;
341 static const mask lower = _LOWER;
342 static const mask alpha = _ALPHA;
343 static const mask digit = _DIGIT;
344 static const mask punct = _PUNCT;
345 static const mask xdigit = _HEX;
346 static const mask blank = _BLANK;
347 static const mask __regex_word = 0x4000; // 0x8000 and 0x0100 and 0x00ff are used
358 static const mask space = _CTYPE_S;
359 static const mask print = _CTYPE_R;
360 static const mask cntrl = _CTYPE_C;
361 static const mask upper = _CTYPE_U;
362 static const mask lower = _CTYPE_L;
363 static const mask alpha = _CTYPE_A;
364 static const mask digit = _CTYPE_D;
365 static const mask punct = _CTYPE_P;
366 static const mask xdigit = _CTYPE_X;
369 static const mask blank = _CTYPE_BL;
372 static const mask __regex_word = 0x8000;
374 static const mask blank = _CTYPE_B;
375 static const mask __regex_word = 0x80;
379 static const mask space = _ISSPACE;
380 static const mask print = _ISPRINT;
381 static const mask cntrl = _ISCNTRL;
382 static const mask upper = _ISUPPER;
383 static const mask lower = _ISLOWER;
384 static const mask alpha = _ISALPHA;
385 static const mask digit = _ISDIGIT;
386 static const mask punct = _ISPUNCT;
387 static const mask xdigit = _ISXDIGIT;
388 static const mask blank = _ISBLANK;
389 static const mask __regex_word = 0x8000;
395 static const mask space = static_cast<mask>(_S);
396 static const mask print = static_cast<mask>(_P | _U | _L | _N | _B);
397 static const mask cntrl = static_cast<mask>(_C);
398 static const mask upper = static_cast<mask>(_U);
399 static const mask lower = static_cast<mask>(_L);
400 static const mask alpha = static_cast<mask>(_U | _L);
401 static const mask digit = static_cast<mask>(_N);
402 static const mask punct = static_cast<mask>(_P);
403 static const mask xdigit = static_cast<mask>(_X | _N);
404 static const mask blank = static_cast<mask>(_B);
406 static const unsigned short __regex_word = 0x100;
413 static const mask space = _ISSPACE_A;
414 static const mask print = _ISPRINT_A;
415 static const mask cntrl = _ISCNTRL_A;
416 static const mask upper = _ISUPPER_A;
417 static const mask lower = _ISLOWER_A;
418 static const mask alpha = _ISALPHA_A;
419 static const mask digit = _ISDIGIT_A;
420 static const mask punct = _ISPUNCT_A;
421 static const mask xdigit = _ISXDIGIT_A;
422 static const mask blank = _ISBLANK_A;
425 static const mask space = __ISSPACE;
426 static const mask print = __ISPRINT;
427 static const mask cntrl = __ISCNTRL;
428 static const mask upper = __ISUPPER;
429 static const mask lower = __ISLOWER;
430 static const mask alpha = __ISALPHA;
431 static const mask digit = __ISDIGIT;
432 static const mask punct = __ISPUNCT;
433 static const mask xdigit = __ISXDIGIT;
434 static const mask blank = __ISBLANK;
436 static const mask __regex_word = 0x8000;
440 static const mask alnum = alpha | digit;
441 static const mask graph = alnum | punct;
461 _LIBCPP_HIDE_FROM_ABI bool is(mask __m, char_type __c) const { return do_is(__m, __c); }
463 _LIBCPP_HIDE_FROM_ABI const char_type* is(const char_type* __low, const char_type* __high, mask* __vec) const {
467 _LIBCPP_HIDE_FROM_ABI const char_type* scan_is(mask __m, const char_type* __low, const char_type* __high) const {
471 _LIBCPP_HIDE_FROM_ABI const char_type* scan_not(mask __m, const char_type* __low, const char_type* __high) const {
475 _LIBCPP_HIDE_FROM_ABI char_type toupper(char_type __c) const { return do_toupper(__c); }
477 _LIBCPP_HIDE_FROM_ABI const char_type* toupper(char_type* __low, const char_type* __high) const {
481 _LIBCPP_HIDE_FROM_ABI char_type tolower(char_type __c) const { return do_tolower(__c); }
483 _LIBCPP_HIDE_FROM_ABI const char_type* tolower(char_type* __low, const char_type* __high) const {
487 _LIBCPP_HIDE_FROM_ABI char_type widen(char __c) const { return do_widen(__c); }
489 _LIBCPP_HIDE_FROM_ABI const char* widen(const char* __low, const char* __high, char_type* __to) const {
493 _LIBCPP_HIDE_FROM_ABI char narrow(char_type __c, char __dfault) const { return do_narrow(__c, __dfault); }
495 _LIBCPP_HIDE_FROM_ABI const char_type*
496 narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) const {
504 virtual bool do_is(mask __m, char_type __c) const;
505 virtual const char_type* do_is(const char_type* __low, const char_type* __high, mask* __vec) const;
506 virtual const char_type* do_scan_is(mask __m, const char_type* __low, const char_type* __high) const;
507 virtual const char_type* do_scan_not(mask __m, const char_type* __low, const char_type* __high) const;
508 virtual char_type do_toupper(char_type) const;
509 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
510 virtual char_type do_tolower(char_type) const;
511 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
512 virtual char_type do_widen(char) const;
513 virtual const char* do_widen(const char* __low, const char* __high, char_type* __dest) const;
514 virtual char do_narrow(char_type, char __dfault) const;
515 virtual const char_type*
516 do_narrow(const char_type* __low, const char_type* __high, char __dfault, char* __dest) const;
524 const mask* __tab_;
530 explicit ctype(const mask* __tab = nullptr, bool __del = false, size_t __refs = 0);
532 _LIBCPP_HIDE_FROM_ABI bool is(mask __m, char_type __c) const {
536 _LIBCPP_HIDE_FROM_ABI const char_type* is(const char_type* __low, const char_type* __high, mask* __vec) const {
542 _LIBCPP_HIDE_FROM_ABI const char_type* scan_is(mask __m, const char_type* __low, const char_type* __high) const {
549 _LIBCPP_HIDE_FROM_ABI const char_type* scan_not(mask __m, const char_type* __low, const char_type* __high) const {
556 _LIBCPP_HIDE_FROM_ABI char_type toupper(char_type __c) const { return do_toupper(__c); }
558 _LIBCPP_HIDE_FROM_ABI const char_type* toupper(char_type* __low, const char_type* __high) const {
562 _LIBCPP_HIDE_FROM_ABI char_type tolower(char_type __c) const { return do_tolower(__c); }
564 _LIBCPP_HIDE_FROM_ABI const char_type* tolower(char_type* __low, const char_type* __high) const {
568 _LIBCPP_HIDE_FROM_ABI char_type widen(char __c) const { return do_widen(__c); }
570 _LIBCPP_HIDE_FROM_ABI const char* widen(const char* __low, const char* __high, char_type* __to) const {
574 _LIBCPP_HIDE_FROM_ABI char narrow(char_type __c, char __dfault) const { return do_narrow(__c, __dfault); }
576 _LIBCPP_HIDE_FROM_ABI const char*
577 narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) const {
584 static const size_t table_size = _CACHED_RUNES;
586 static const size_t table_size = 256; // FIXME: Don't hardcode this.
588 _LIBCPP_HIDE_FROM_ABI const mask* table() const _NOEXCEPT { return __tab_; }
589 static const mask* classic_table() _NOEXCEPT;
591 static const int* __classic_upper_table() _NOEXCEPT;
592 static const int* __classic_lower_table() _NOEXCEPT;
595 static const short* __classic_upper_table() _NOEXCEPT;
596 static const short* __classic_lower_table() _NOEXCEPT;
599 static const unsigned short* __classic_upper_table() _NOEXCEPT;
600 static const unsigned short* __classic_lower_table() _NOEXCEPT;
605 virtual char_type do_toupper(char_type __c) const;
606 virtual const char_type* do_toupper(char_type* __low, const char_type* __high) const;
607 virtual char_type do_tolower(char_type __c) const;
608 virtual const char_type* do_tolower(char_type* __low, const char_type* __high) const;
609 virtual char_type do_widen(char __c) const;
610 virtual const char* do_widen(const char* __low, const char* __high, char_type* __to) const;
611 virtual char do_narrow(char_type __c, char __dfault) const;
612 virtual const char* do_narrow(const char_type* __low, const char_type* __high, char __dfault, char* __to) const;
625 explicit ctype_byname(const char*, size_t = 0);
626 explicit ctype_byname(const string&, size_t = 0);
630 char_type do_toupper(char_type) const override;
631 const char_type* do_toupper(char_type* __low, const char_type* __high) const override;
632 char_type do_tolower(char_type) const override;
633 const char_type* do_tolower(char_type* __low, const char_type* __high) const override;
642 explicit ctype_byname(const char*, size_t = 0);
643 explicit ctype_byname(const string&, size_t = 0);
647 bool do_is(mask __m, char_type __c) const override;
648 const char_type* do_is(const char_type* __low, const char_type* __high, mask* __vec) const override;
649 const char_type* do_scan_is(mask __m, const char_type* __low, const char_type* __high) const override;
650 const char_type* do_scan_not(mask __m, const char_type* __low, const char_type* __high) const override;
651 char_type do_toupper(char_type) const override;
652 const char_type* do_toupper(char_type* __low, const char_type* __high) const override;
653 char_type do_tolower(char_type) const override;
654 const char_type* do_tolower(char_type* __low, const char_type* __high) const override;
655 char_type do_widen(char) const override;
656 const char* do_widen(const char* __low, const char* __high, char_type* __dest) const override;
657 char do_narrow(char_type, char __dfault) const override;
658 const char_type*
659 do_narrow(const char_type* __low, const char_type* __high, char __dfault, char* __dest) const override;
664 inline _LIBCPP_HIDE_FROM_ABI bool isspace(_CharT __c, const locale& __loc) {
669 inline _LIBCPP_HIDE_FROM_ABI bool isprint(_CharT __c, const locale& __loc) {
674 inline _LIBCPP_HIDE_FROM_ABI bool iscntrl(_CharT __c, const locale& __loc) {
679 inline _LIBCPP_HIDE_FROM_ABI bool isupper(_CharT __c, const locale& __loc) {
684 inline _LIBCPP_HIDE_FROM_ABI bool islower(_CharT __c, const locale& __loc) {
689 inline _LIBCPP_HIDE_FROM_ABI bool isalpha(_CharT __c, const locale& __loc) {
694 inline _LIBCPP_HIDE_FROM_ABI bool isdigit(_CharT __c, const locale& __loc) {
699 inline _LIBCPP_HIDE_FROM_ABI bool ispunct(_CharT __c, const locale& __loc) {
704 inline _LIBCPP_HIDE_FROM_ABI bool isxdigit(_CharT __c, const locale& __loc) {
709 inline _LIBCPP_HIDE_FROM_ABI bool isalnum(_CharT __c, const locale& __loc) {
714 inline _LIBCPP_HIDE_FROM_ABI bool isgraph(_CharT __c, const locale& __loc) {
719 _LIBCPP_HIDE_FROM_ABI bool isblank(_CharT __c, const locale& __loc) {
724 inline _LIBCPP_HIDE_FROM_ABI _CharT toupper(_CharT __c, const locale& __loc) {
729 inline _LIBCPP_HIDE_FROM_ABI _CharT tolower(_CharT __c, const locale& __loc) {
759 const intern_type* __frm,
760 const intern_type* __frm_end,
761 const intern_type*& __frm_nxt,
764 extern_type*& __to_nxt) const {
769 unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const {
775 const extern_type* __frm,
776 const extern_type* __frm_end,
777 const extern_type*& __frm_nxt,
780 intern_type*& __to_nxt) const {
784 _LIBCPP_HIDE_FROM_ABI int encoding() const _NOEXCEPT { return do_encoding(); }
786 _LIBCPP_HIDE_FROM_ABI bool always_noconv() const _NOEXCEPT { return do_always_noconv(); }
789 length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
793 _LIBCPP_HIDE_FROM_ABI int max_length() const _NOEXCEPT { return do_max_length(); }
798 _LIBCPP_HIDE_FROM_ABI explicit codecvt(const char*, size_t __refs = 0) : locale::facet(__refs) {}
804 const intern_type* __frm,
805 const intern_type* __frm_end,
806 const intern_type*& __frm_nxt,
809 extern_type*& __to_nxt) const;
812 const extern_type* __frm,
813 const extern_type* __frm_end,
814 const extern_type*& __frm_nxt,
817 intern_type*& __to_nxt) const;
818 virtual result do_unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
819 virtual int do_encoding() const _NOEXCEPT;
820 virtual bool do_always_noconv() const _NOEXCEPT;
821 virtual int do_length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
822 virtual int do_max_length() const _NOEXCEPT;
841 const intern_type* __frm,
842 const intern_type* __frm_end,
843 const intern_type*& __frm_nxt,
846 extern_type*& __to_nxt) const {
851 unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const {
857 const extern_type* __frm,
858 const extern_type* __frm_end,
859 const extern_type*& __frm_nxt,
862 intern_type*& __to_nxt) const {
866 _LIBCPP_HIDE_FROM_ABI int encoding() const _NOEXCEPT { return do_encoding(); }
868 _LIBCPP_HIDE_FROM_ABI bool always_noconv() const _NOEXCEPT { return do_always_noconv(); }
871 length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
875 _LIBCPP_HIDE_FROM_ABI int max_length() const _NOEXCEPT { return do_max_length(); }
880 explicit codecvt(const char*, size_t __refs = 0);
886 const intern_type* __frm,
887 const intern_type* __frm_end,
888 const intern_type*& __frm_nxt,
891 extern_type*& __to_nxt) const;
894 const extern_type* __frm,
895 const extern_type* __frm_end,
896 const extern_type*& __frm_nxt,
899 intern_type*& __to_nxt) const;
900 virtual result do_unshift(state_type& __st, 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&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
904 virtual int do_max_length() const _NOEXCEPT;
922 const intern_type* __frm,
923 const intern_type* __frm_end,
924 const intern_type*& __frm_nxt,
927 extern_type*& __to_nxt) const {
932 unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const {
938 const extern_type* __frm,
939 const extern_type* __frm_end,
940 const extern_type*& __frm_nxt,
943 intern_type*& __to_nxt) const {
947 _LIBCPP_HIDE_FROM_ABI int encoding() const _NOEXCEPT { return do_encoding(); }
949 _LIBCPP_HIDE_FROM_ABI bool always_noconv() const _NOEXCEPT { return do_always_noconv(); }
952 length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
956 _LIBCPP_HIDE_FROM_ABI int max_length() const _NOEXCEPT { return do_max_length(); }
961 _LIBCPP_HIDE_FROM_ABI explicit codecvt(const char*, size_t __refs = 0) : locale::facet(__refs) {}
967 const intern_type* __frm,
968 const intern_type* __frm_end,
969 const intern_type*& __frm_nxt,
972 extern_type*& __to_nxt) const;
975 const extern_type* __frm,
976 const extern_type* __frm_end,
977 const extern_type*& __frm_nxt,
980 intern_type*& __to_nxt) const;
981 virtual result do_unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
982 virtual int do_encoding() const _NOEXCEPT;
983 virtual bool do_always_noconv() const _NOEXCEPT;
984 virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
985 virtual int do_max_length() const _NOEXCEPT;
1003 const intern_type* __frm,
1004 const intern_type* __frm_end,
1005 const intern_type*& __frm_nxt,
1008 extern_type*& __to_nxt) const {
1013 unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const {
1019 const extern_type* __frm,
1020 const extern_type* __frm_end,
1021 const extern_type*& __frm_nxt,
1024 intern_type*& __to_nxt) const {
1028 _LIBCPP_HIDE_FROM_ABI int encoding() const _NOEXCEPT { return do_encoding(); }
1030 _LIBCPP_HIDE_FROM_ABI bool always_noconv() const _NOEXCEPT { return do_always_noconv(); }
1033 length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
1037 _LIBCPP_HIDE_FROM_ABI int max_length() const _NOEXCEPT { return do_max_length(); }
1042 _LIBCPP_HIDE_FROM_ABI explicit codecvt(const char*, size_t __refs = 0) : locale::facet(__refs) {}
1048 const intern_type* __frm,
1049 const intern_type* __frm_end,
1050 const intern_type*& __frm_nxt,
1053 extern_type*& __to_nxt) const;
1056 const extern_type* __frm,
1057 const extern_type* __frm_end,
1058 const extern_type*& __frm_nxt,
1061 intern_type*& __to_nxt) const;
1062 virtual result do_unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1063 virtual int do_encoding() const _NOEXCEPT;
1064 virtual bool do_always_noconv() const _NOEXCEPT;
1065 virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
1066 virtual int do_max_length() const _NOEXCEPT;
1085 const intern_type* __frm,
1086 const intern_type* __frm_end,
1087 const intern_type*& __frm_nxt,
1090 extern_type*& __to_nxt) const {
1095 unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const {
1101 const extern_type* __frm,
1102 const extern_type* __frm_end,
1103 const extern_type*& __frm_nxt,
1106 intern_type*& __to_nxt) const {
1110 _LIBCPP_HIDE_FROM_ABI int encoding() const _NOEXCEPT { return do_encoding(); }
1112 _LIBCPP_HIDE_FROM_ABI bool always_noconv() const _NOEXCEPT { return do_always_noconv(); }
1115 length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
1119 _LIBCPP_HIDE_FROM_ABI int max_length() const _NOEXCEPT { return do_max_length(); }
1124 _LIBCPP_HIDE_FROM_ABI explicit codecvt(const char*, size_t __refs = 0) : locale::facet(__refs) {}
1130 const intern_type* __frm,
1131 const intern_type* __frm_end,
1132 const intern_type*& __frm_nxt,
1135 extern_type*& __to_nxt) const;
1138 const extern_type* __frm,
1139 const extern_type* __frm_end,
1140 const extern_type*& __frm_nxt,
1143 intern_type*& __to_nxt) const;
1144 virtual result do_unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1145 virtual int do_encoding() const _NOEXCEPT;
1146 virtual bool do_always_noconv() const _NOEXCEPT;
1147 virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
1148 virtual int do_max_length() const _NOEXCEPT;
1166 const intern_type* __frm,
1167 const intern_type* __frm_end,
1168 const intern_type*& __frm_nxt,
1171 extern_type*& __to_nxt) const {
1176 unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const {
1182 const extern_type* __frm,
1183 const extern_type* __frm_end,
1184 const extern_type*& __frm_nxt,
1187 intern_type*& __to_nxt) const {
1191 _LIBCPP_HIDE_FROM_ABI int encoding() const _NOEXCEPT { return do_encoding(); }
1193 _LIBCPP_HIDE_FROM_ABI bool always_noconv() const _NOEXCEPT { return do_always_noconv(); }
1196 length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
1200 _LIBCPP_HIDE_FROM_ABI int max_length() const _NOEXCEPT { return do_max_length(); }
1205 _LIBCPP_HIDE_FROM_ABI explicit codecvt(const char*, size_t __refs = 0) : locale::facet(__refs) {}
1211 const intern_type* __frm,
1212 const intern_type* __frm_end,
1213 const intern_type*& __frm_nxt,
1216 extern_type*& __to_nxt) const;
1219 const extern_type* __frm,
1220 const extern_type* __frm_end,
1221 const extern_type*& __frm_nxt,
1224 intern_type*& __to_nxt) const;
1225 virtual result do_unshift(state_type& __st, extern_type* __to, extern_type* __to_end, extern_type*& __to_nxt) const;
1226 virtual int do_encoding() const _NOEXCEPT;
1227 virtual bool do_always_noconv() const _NOEXCEPT;
1228 virtual int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const;
1229 virtual int do_max_length() const _NOEXCEPT;
1239 _LIBCPP_HIDE_FROM_ABI explicit codecvt_byname(const char* __nm, size_t __refs = 0)
1241 _LIBCPP_HIDE_FROM_ABI explicit codecvt_byname(const string& __nm, size_t __refs = 0)
1269 _OutputIterator operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const;
1275 _LIBCPP_HIDE_FROM_ABI _OutputIterator operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const {
1291 _LIBCPP_HIDE_FROM_ABI _OutputIterator operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const {
1295 const int __sz = 32;
1298 const char16_t* __wn = (const char16_t*)__wb;
1299 __r = do_out(__mb, (const char16_t*)__wb, (const char16_t*)__we, __wn, __buf, __buf + __sz, __bn);
1300 if (__r == codecvt_base::error || __wn == (const char16_t*)__wb)
1302 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1304 __wb = (const _CharT*)__wn;
1319 _LIBCPP_HIDE_FROM_ABI _OutputIterator operator()(_OutputIterator __s, const _CharT* __wb, const _CharT* __we) const {
1323 const int __sz = 32;
1326 const char32_t* __wn = (const char32_t*)__wb;
1327 __r = do_out(__mb, (const char32_t*)__wb, (const char32_t*)__we, __wn, __buf, __buf + __sz, __bn);
1328 if (__r == codecvt_base::error || __wn == (const char32_t*)__wb)
1330 for (const char* __p = __buf; __p < __bn; ++__p, ++__s)
1332 __wb = (const _CharT*)__wn;
1341 _OutputIterator operator()(_OutputIterator __s, const char* __nb, const char* __ne) const;
1347 _LIBCPP_HIDE_FROM_ABI _OutputIterator operator()(_OutputIterator __s, const char* __nb, const char* __ne) const {
1363 _LIBCPP_HIDE_FROM_ABI _OutputIterator operator()(_OutputIterator __s, const char* __nb, const char* __ne) const {
1367 const int __sz = 32;
1370 const char* __nn = __nb;
1374 for (const char16_t* __p = __buf; __p < __bn; ++__p, ++__s)
1391 _LIBCPP_HIDE_FROM_ABI _OutputIterator operator()(_OutputIterator __s, const char* __nb, const char* __ne) const {
1395 const int __sz = 32;
1398 const char* __nn = __nb;
1402 for (const char32_t* __p = __buf; __p < __bn; ++__p, ++__s)
1423 _LIBCPP_HIDE_FROM_ABI char_type decimal_point() const { return do_decimal_point(); }
1424 _LIBCPP_HIDE_FROM_ABI char_type thousands_sep() const { return do_thousands_sep(); }
1425 _LIBCPP_HIDE_FROM_ABI string grouping() const { return do_grouping(); }
1426 _LIBCPP_HIDE_FROM_ABI string_type truename() const { return do_truename(); }
1427 _LIBCPP_HIDE_FROM_ABI string_type falsename() const { return do_falsename(); }
1433 virtual char_type do_decimal_point() const;
1434 virtual char_type do_thousands_sep() const;
1435 virtual string do_grouping() const;
1436 virtual string_type do_truename() const;
1437 virtual string_type do_falsename() const;
1453 _LIBCPP_HIDE_FROM_ABI char_type decimal_point() const { return do_decimal_point(); }
1454 _LIBCPP_HIDE_FROM_ABI char_type thousands_sep() const { return do_thousands_sep(); }
1455 _LIBCPP_HIDE_FROM_ABI string grouping() const { return do_grouping(); }
1456 _LIBCPP_HIDE_FROM_ABI string_type truename() const { return do_truename(); }
1457 _LIBCPP_HIDE_FROM_ABI string_type falsename() const { return do_falsename(); }
1463 virtual char_type do_decimal_point() const;
1464 virtual char_type do_thousands_sep() const;
1465 virtual string do_grouping() const;
1466 virtual string_type do_truename() const;
1467 virtual string_type do_falsename() const;
1486 explicit numpunct_byname(const char* __nm, size_t __refs = 0);
1487 explicit numpunct_byname(const string& __nm, size_t __refs = 0);
1493 void __init(const char*);
1503 explicit numpunct_byname(const char* __nm, size_t __refs = 0);
1504 explicit numpunct_byname(const string& __nm, size_t __refs = 0);
1510 void __init(const char*);