Lines Matching defs:base
34 #include "base/basictypes.h"
35 #include "base/logging.h"
42 // Converts one of the character types that represent a numerical base to the
43 // corresponding base.
123 // Figure out the base
124 SharedCharTypes base;
125 int base_prefix_len = 0; // Size of the prefix for this base.
129 base = CHAR_DEC;
132 base = CHAR_HEX;
135 base = CHAR_OCT;
139 base = CHAR_DEC;
147 // Put the component, minus any base prefix, into a NULL-terminated buffer so
159 // Validate that this character is OK for the given base.
160 if (!IsCharOfType(input, base))
173 uint64 num = _strtoui64(buf, NULL, BaseForType(base));