Home
last modified time | relevance | path

Searched refs:element_stack (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/json/
Djson-parser.cc661 const std::vector<Handle<Object>>& element_stack) { in BuildJsonArray() argument
663 int length = static_cast<int>(element_stack.size() - start); in BuildJsonArray()
666 for (size_t i = start; i < element_stack.size(); i++) { in BuildJsonArray()
667 Object value = *element_stack[i]; in BuildJsonArray()
683 elements.set(i, element_stack[start + i]->Number()); in BuildJsonArray()
692 elements.set(i, *element_stack[start + i], mode); in BuildJsonArray()
703 std::vector<Handle<Object>> element_stack; in ParseJsonValue() local
707 element_stack.reserve(16); in ParseJsonValue()
765 element_stack.size()); in ParseJsonValue()
836 cont_stack.back().index < element_stack.size() && in ParseJsonValue()
[all …]
Djson-parser.h293 const std::vector<Handle<Object>>& element_stack);
/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc396 std::stack<const ProtoWriter::ProtoElement*> element_stack; in ToString() local
398 element_stack.push(now); in ToString()
403 while (!element_stack.empty()) { in ToString()
404 now = element_stack.top(); in ToString()
405 element_stack.pop(); in ToString()