Functions | Variables
absl::numbers_internal Namespace Reference

Functions

size_t FastHexToBufferZeroPad16 (uint64_t val, char *out)
 
char * FastIntToBuffer (int32_t, char *)
 
char * FastIntToBuffer (int64_t, char *)
 
template<typename int_type >
char * FastIntToBuffer (int_type i, char *buffer)
 
char * FastIntToBuffer (uint32_t, char *)
 
char * FastIntToBuffer (uint64_t, char *)
 
void PutTwoDigits (size_t i, char *buf)
 
bool safe_strto128_base (absl::string_view text, int128 *value, int base)
 
bool safe_strto32_base (absl::string_view text, int32_t *value, int base)
 
bool safe_strto64_base (absl::string_view text, int64_t *value, int base)
 
template<typename int_type >
ABSL_MUST_USE_RESULT bool safe_strtoi_base (absl::string_view s, int_type *out, int base)
 
bool safe_strtou128_base (absl::string_view text, uint128 *value, int base)
 
bool safe_strtou32_base (absl::string_view text, uint32_t *value, int base)
 
bool safe_strtou64_base (absl::string_view text, uint64_t *value, int base)
 
size_t SixDigitsToBuffer (double d, char *buffer)
 

Variables

static const int kFastToBufferSize = 32
 
static const int kFastToBufferSize = 32
 
ABSL_CONST_INIT const ABSL_DLL char kHexChar []
 
ABSL_CONST_INIT const ABSL_DLL char kHexTable [513]
 
static const int kSixDigitsToBufferSize = 16
 
static const int kSixDigitsToBufferSize = 16
 
ABSL_CONST_INIT const ABSL_DLL char two_ASCII_digits [100][2]
 

Function Documentation

◆ FastHexToBufferZeroPad16()

size_t absl::numbers_internal::FastHexToBufferZeroPad16 ( uint64_t  val,
char *  out 
)
inline

Definition at line 245 of file abseil-cpp/absl/strings/numbers.h.

◆ FastIntToBuffer() [1/5]

char * absl::numbers_internal::FastIntToBuffer ( int32_t  ,
char *   
)

Definition at line 217 of file abseil-cpp/absl/strings/numbers.cc.

◆ FastIntToBuffer() [2/5]

char * absl::numbers_internal::FastIntToBuffer ( int64_t  ,
char *   
)

Definition at line 270 of file abseil-cpp/absl/strings/numbers.cc.

◆ FastIntToBuffer() [3/5]

template<typename int_type >
char * absl::numbers_internal::FastIntToBuffer ( int_type  i,
char *  buffer 
)

Definition at line 175 of file abseil-cpp/absl/strings/numbers.h.

◆ FastIntToBuffer() [4/5]

char * absl::numbers_internal::FastIntToBuffer ( uint32_t  ,
char *   
)

Definition at line 147 of file abseil-cpp/absl/strings/numbers.cc.

◆ FastIntToBuffer() [5/5]

char * absl::numbers_internal::FastIntToBuffer ( uint64_t  ,
char *   
)

Definition at line 229 of file abseil-cpp/absl/strings/numbers.cc.

◆ PutTwoDigits()

void absl::numbers_internal::PutTwoDigits ( size_t  i,
char *  buf 
)
inline

Definition at line 137 of file abseil-cpp/absl/strings/numbers.h.

◆ safe_strto128_base()

bool absl::numbers_internal::safe_strto128_base ( absl::string_view  text,
int128 value,
int  base 
)

Definition at line 1075 of file abseil-cpp/absl/strings/numbers.cc.

◆ safe_strto32_base()

bool absl::numbers_internal::safe_strto32_base ( absl::string_view  text,
int32_t value,
int  base 
)

Definition at line 1067 of file abseil-cpp/absl/strings/numbers.cc.

◆ safe_strto64_base()

bool absl::numbers_internal::safe_strto64_base ( absl::string_view  text,
int64_t value,
int  base 
)

Definition at line 1071 of file abseil-cpp/absl/strings/numbers.cc.

◆ safe_strtoi_base()

template<typename int_type >
ABSL_MUST_USE_RESULT bool absl::numbers_internal::safe_strtoi_base ( absl::string_view  s,
int_type *  out,
int  base 
)

Definition at line 202 of file abseil-cpp/absl/strings/numbers.h.

◆ safe_strtou128_base()

bool absl::numbers_internal::safe_strtou128_base ( absl::string_view  text,
uint128 value,
int  base 
)

Definition at line 1087 of file abseil-cpp/absl/strings/numbers.cc.

◆ safe_strtou32_base()

bool absl::numbers_internal::safe_strtou32_base ( absl::string_view  text,
uint32_t value,
int  base 
)

Definition at line 1079 of file abseil-cpp/absl/strings/numbers.cc.

◆ safe_strtou64_base()

bool absl::numbers_internal::safe_strtou64_base ( absl::string_view  text,
uint64_t value,
int  base 
)

Definition at line 1083 of file abseil-cpp/absl/strings/numbers.cc.

◆ SixDigitsToBuffer()

size_t absl::numbers_internal::SixDigitsToBuffer ( double  d,
char *  buffer 
)

Definition at line 486 of file abseil-cpp/absl/strings/numbers.cc.

Variable Documentation

◆ kFastToBufferSize [1/2]

const int absl::numbers_internal::kFastToBufferSize = 32
static

◆ kFastToBufferSize [2/2]

const int absl::numbers_internal::kFastToBufferSize = 32
static

Definition at line 153 of file abseil-cpp/absl/strings/numbers.h.

◆ kHexChar

const ABSL_DLL char absl::numbers_internal::kHexChar
Initial value:
=
"0123456789abcdef"

Definition at line 1027 of file abseil-cpp/absl/strings/numbers.cc.

◆ kHexTable

const ABSL_DLL char absl::numbers_internal::kHexTable
Initial value:
=
"000102030405060708090a0b0c0d0e0f"
"101112131415161718191a1b1c1d1e1f"
"202122232425262728292a2b2c2d2e2f"
"303132333435363738393a3b3c3d3e3f"
"404142434445464748494a4b4c4d4e4f"
"505152535455565758595a5b5c5d5e5f"
"606162636465666768696a6b6c6d6e6f"
"707172737475767778797a7b7c7d7e7f"
"808182838485868788898a8b8c8d8e8f"
"909192939495969798999a9b9c9d9e9f"
"a0a1a2a3a4a5a6a7a8a9aaabacadaeaf"
"b0b1b2b3b4b5b6b7b8b9babbbcbdbebf"
"c0c1c2c3c4c5c6c7c8c9cacbcccdcecf"
"d0d1d2d3d4d5d6d7d8d9dadbdcdddedf"
"e0e1e2e3e4e5e6e7e8e9eaebecedeeef"
"f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff"

Definition at line 1030 of file abseil-cpp/absl/strings/numbers.cc.

◆ kSixDigitsToBufferSize [1/2]

const int absl::numbers_internal::kSixDigitsToBufferSize = 16
static

◆ kSixDigitsToBufferSize [2/2]

const int absl::numbers_internal::kSixDigitsToBufferSize = 16
static

Definition at line 154 of file abseil-cpp/absl/strings/numbers.h.

◆ two_ASCII_digits

const ABSL_DLL char absl::numbers_internal::two_ASCII_digits
Initial value:
= {
{'0', '0'}, {'0', '1'}, {'0', '2'}, {'0', '3'}, {'0', '4'}, {'0', '5'},
{'0', '6'}, {'0', '7'}, {'0', '8'}, {'0', '9'}, {'1', '0'}, {'1', '1'},
{'1', '2'}, {'1', '3'}, {'1', '4'}, {'1', '5'}, {'1', '6'}, {'1', '7'},
{'1', '8'}, {'1', '9'}, {'2', '0'}, {'2', '1'}, {'2', '2'}, {'2', '3'},
{'2', '4'}, {'2', '5'}, {'2', '6'}, {'2', '7'}, {'2', '8'}, {'2', '9'},
{'3', '0'}, {'3', '1'}, {'3', '2'}, {'3', '3'}, {'3', '4'}, {'3', '5'},
{'3', '6'}, {'3', '7'}, {'3', '8'}, {'3', '9'}, {'4', '0'}, {'4', '1'},
{'4', '2'}, {'4', '3'}, {'4', '4'}, {'4', '5'}, {'4', '6'}, {'4', '7'},
{'4', '8'}, {'4', '9'}, {'5', '0'}, {'5', '1'}, {'5', '2'}, {'5', '3'},
{'5', '4'}, {'5', '5'}, {'5', '6'}, {'5', '7'}, {'5', '8'}, {'5', '9'},
{'6', '0'}, {'6', '1'}, {'6', '2'}, {'6', '3'}, {'6', '4'}, {'6', '5'},
{'6', '6'}, {'6', '7'}, {'6', '8'}, {'6', '9'}, {'7', '0'}, {'7', '1'},
{'7', '2'}, {'7', '3'}, {'7', '4'}, {'7', '5'}, {'7', '6'}, {'7', '7'},
{'7', '8'}, {'7', '9'}, {'8', '0'}, {'8', '1'}, {'8', '2'}, {'8', '3'},
{'8', '4'}, {'8', '5'}, {'8', '6'}, {'8', '7'}, {'8', '8'}, {'8', '9'},
{'9', '0'}, {'9', '1'}, {'9', '2'}, {'9', '3'}, {'9', '4'}, {'9', '5'},
{'9', '6'}, {'9', '7'}, {'9', '8'}, {'9', '9'}}

Definition at line 1048 of file abseil-cpp/absl/strings/numbers.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:54