Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dtype_literal_extractor.h33 return !array_.empty(); in IsVaildTypeLiteral()
48 ASSERT(index < array_.size()); in GetIntValue()
49 auto t = array_[index]; in GetIntValue()
56 ASSERT(index < array_.size()); in GetStringValue()
57 const auto &t = array_[index]; in GetStringValue()
70 ASSERT(numIndex < array_.size()); in EnumerateElements()
71 uint32_t length = std::get<uint32_t>(array_[numIndex]); in EnumerateElements()
72 ASSERT(numIndex + length < array_.size()); in EnumerateElements()
82 ASSERT(numIndex < array_.size()); in EnumerateTypesWithIntKey()
84 uint32_t length = std::get<uint32_t>(array_[numIndex]); in EnumerateTypesWithIntKey()
[all …]
Dtype_literal_extractor.cpp96 array_.emplace_back(valueValue); in ProcessTypeLiteral()
100 array_.emplace_back(std::get<uint32_t>(value)); in ProcessTypeLiteral()
104 array_.emplace_back(static_cast<uint32_t>(std::get<uint8_t>(value))); in ProcessTypeLiteral()
110 array_.emplace_back(stringValue); in ProcessTypeLiteral()
128 uint32_t length = array_.size(); in Print()
131 if (std::holds_alternative<uint32_t>(array_[i])) { in Print()
132 log += std::to_string(std::get<uint32_t>(array_[i])); in Print()
133 } else if (std::holds_alternative<CString>(array_[i])) { in Print()
134 log += std::get<CString>(array_[i]); in Print()