Lines Matching refs:input

126 //  - a typedef for iterator_type, the iterator type used as input.
130 // - constant kBase, the base in which to interpret the input
292 bool StringToIntImpl(std::string_view input, VALUE* output) {
294 input.begin(), input.end(), output);
304 bool String16ToIntImpl(std::u16string_view input, VALUE* output) {
306 input.begin(), input.end(), output);
359 bool StringToInt(std::string_view input, int* output) {
360 return StringToIntImpl(input, output);
363 bool StringToInt(std::u16string_view input, int* output) {
364 return String16ToIntImpl(input, output);
367 bool StringToUint(std::string_view input, unsigned* output) {
368 return StringToIntImpl(input, output);
371 bool StringToUint(std::u16string_view input, unsigned* output) {
372 return String16ToIntImpl(input, output);
375 bool StringToInt64(std::string_view input, int64_t* output) {
376 return StringToIntImpl(input, output);
379 bool StringToInt64(std::u16string_view input, int64_t* output) {
380 return String16ToIntImpl(input, output);
383 bool StringToUint64(std::string_view input, uint64_t* output) {
384 return StringToIntImpl(input, output);
387 bool StringToUint64(std::u16string_view input, uint64_t* output) {
388 return String16ToIntImpl(input, output);
391 bool StringToSizeT(std::string_view input, size_t* output) {
392 return StringToIntImpl(input, output);
395 bool StringToSizeT(std::u16string_view input, size_t* output) {
396 return String16ToIntImpl(input, output);
410 // Each input byte creates two output hex characters.
421 bool HexStringToInt(std::string_view input, int* output) {
423 input.begin(), input.end(), output);
426 bool HexStringToUInt(std::string_view input, uint32_t* output) {
428 input.begin(), input.end(), output);
431 bool HexStringToInt64(std::string_view input, int64_t* output) {
433 input.begin(), input.end(), output);
436 bool HexStringToUInt64(std::string_view input, uint64_t* output) {
438 input.begin(), input.end(), output);
441 bool HexStringToBytes(std::string_view input, std::vector<uint8_t>* output) {
443 size_t count = input.size();
449 if (!CharToDigit<16>(input[i * 2], &msb) ||
450 !CharToDigit<16>(input[i * 2 + 1], &lsb)) {