Home
last modified time | relevance | path

Searched refs:token_buffer (Results 1 – 4 of 4) sorted by relevance

/third_party/json/include/nlohmann/detail/input/
Dlexer.hpp1245 const auto x = std::strtoull(token_buffer.data(), &endptr, 10); in scan_number()
1248 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1261 const auto x = std::strtoll(token_buffer.data(), &endptr, 10); in scan_number()
1264 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1278 strtof(value_float, token_buffer.data(), &endptr); in scan_number()
1281 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
1314 token_buffer.clear(); in reset()
1395 token_buffer.push_back(static_cast<typename string_t::value_type>(c)); in add()
1424 return token_buffer; in get_string()
1609 string_t token_buffer {}; member in nlohmann::detail::lexer
/third_party/alsa-lib/src/alisp/
Dalisp.c518 if ((instance->token_buffer = (char *)malloc(instance->token_buffer_max)) == NULL) { in init_lex()
528 free(instance->token_buffer); in done_lex()
533 int off = p - instance->token_buffer; in extend_buf()
536 instance->token_buffer = (char *)realloc(instance->token_buffer, instance->token_buffer_max); in extend_buf()
537 if (instance->token_buffer == NULL) { in extend_buf()
542 return instance->token_buffer + off; in extend_buf()
571 sprintf(instance->token_buffer, "%d", c); in gettoken()
591 p = instance->token_buffer; in gettoken()
595 if (p - instance->token_buffer >= instance->token_buffer_max - 1) { in gettoken()
638 p = instance->token_buffer; in gettoken()
[all …]
Dalisp_local.h140 char *token_buffer; member
/third_party/json/single_include/nlohmann/
Djson.hpp7124 const auto x = std::strtoull(token_buffer.data(), &endptr, 10); in scan_number()
7127 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
7140 const auto x = std::strtoll(token_buffer.data(), &endptr, 10); in scan_number()
7143 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
7157 strtof(value_float, token_buffer.data(), &endptr); in scan_number()
7160 JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size()); in scan_number()
7193 token_buffer.clear(); in reset()
7274 token_buffer.push_back(static_cast<typename string_t::value_type>(c)); in add()
7303 return token_buffer; in get_string()
7488 string_t token_buffer {}; member in nlohmann::detail::lexer