MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __get_base

Method __get_base

system/lib/libcxx/src/locale.cpp:4023–4032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4021// num_get helpers
4022
4023int __num_get_base::__get_base(ios_base& iob) {
4024 ios_base::fmtflags __basefield = iob.flags() & ios_base::basefield;
4025 if (__basefield == ios_base::oct)
4026 return 8;
4027 else if (__basefield == ios_base::hex)
4028 return 16;
4029 else if (__basefield == 0)
4030 return 0;
4031 return 10;
4032}
4033
4034const char __num_get_base::__src[33] = "0123456789abcdefABCDEFxX+-pPiInN";
4035

Callers 2

__do_get_signedMethod · 0.80
__do_get_unsignedMethod · 0.80

Calls 1

flagsMethod · 0.80

Tested by

no test coverage detected