Home
last modified time | relevance | path

Searched refs:ref_stack (Results 1 – 2 of 2) sorted by relevance

/third_party/json/include/nlohmann/detail/input/
Djson_sax.hpp218 ref_stack.push_back(handle_value(BasicJsonType::value_t::object)); in start_object()
220 if (JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) && len > ref_stack.back()->max_size())) in start_object()
232 object_element = &(ref_stack.back()->m_value.object->operator[](val)); in key()
238 ref_stack.pop_back(); in end_object()
244 ref_stack.push_back(handle_value(BasicJsonType::value_t::array)); in start_array()
246 if (JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) && len > ref_stack.back()->max_size())) in start_array()
257 ref_stack.pop_back(); in end_array()
290 if (ref_stack.empty()) in handle_value()
296 JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object()); in handle_value()
298 if (ref_stack.back()->is_array()) in handle_value()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp5397 ref_stack.push_back(handle_value(BasicJsonType::value_t::object)); in start_object()
5399 if (JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) && len > ref_stack.back()->max_size())) in start_object()
5411 object_element = &(ref_stack.back()->m_value.object->operator[](val)); in key()
5417 ref_stack.pop_back(); in end_object()
5423 ref_stack.push_back(handle_value(BasicJsonType::value_t::array)); in start_array()
5425 if (JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) && len > ref_stack.back()->max_size())) in start_array()
5436 ref_stack.pop_back(); in end_array()
5469 if (ref_stack.empty()) in handle_value()
5475 JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object()); in handle_value()
5477 if (ref_stack.back()->is_array()) in handle_value()
[all …]