Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/base/
Ddispatch_config.cpp71 int jsonSize = static_cast<int>(jsonTypeArray.size()); in HiviewRuleParser() local
72 for (int i = 0; i < jsonSize; ++i) { in HiviewRuleParser()
93 int jsonSize = static_cast<int>(jsonTagArray.size()); in HiviewRuleParser() local
94 for (int i = 0; i < jsonSize; i++) { in HiviewRuleParser()
112 int jsonSize = static_cast<int>(jsonEventArray.size()); in HiviewRuleParser() local
113 for (int i = 0; i < jsonSize; i++) { in HiviewRuleParser()
131 int jsonSize = static_cast<int>(jsonDomainArray.size()); in HiviewRuleParser() local
132 for (int i = 0; i < jsonSize; i++) { in HiviewRuleParser()
158 int jsonSize = static_cast<int>(jsonArray.size()); in HiviewRuleParser() local
159 for (int i = 0; i < jsonSize; i++) { in HiviewRuleParser()
/base/security/security_component_manager/frameworks/security_component/src/
Dsec_comp_base.cpp151 auto jsonSize = json.at(tag); in ParseSize() local
152 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_FONT_SIZE_TAG, fontSize_)) { in ParseSize()
156 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_ICON_SIZE_TAG, iconSize_)) { in ParseSize()
160 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_TEXT_ICON_PADDING_TAG, textIconSpace_)) { in ParseSize()
164 if (!ParsePadding(jsonSize, JsonTagConstants::JSON_PADDING_SIZE_TAG, padding_)) { in ParseSize()
188 auto jsonSize = json.at(tag); in ParseRect() local
189 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_RECT_X, rect.x_)) { in ParseRect()
193 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_RECT_Y, rect.y_)) { in ParseRect()
197 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_RECT_WIDTH, rect.width_)) { in ParseRect()
201 if (!ParseDimension(jsonSize, JsonTagConstants::JSON_RECT_HEIGHT, rect.height_)) { in ParseRect()
/base/hiviewdfx/hiview/utility/smart_parser/rule/
Dextract_rule.cpp140 int jsonSize = static_cast<int>(json[param].size()); in GetJsonArray() local
141 if (jsonSize > JSON_ARRAY_THRESHOLD) { in GetJsonArray()
142 jsonSize = JSON_ARRAY_THRESHOLD; in GetJsonArray()
146 for (int i = 0; i < jsonSize; i++) { in GetJsonArray()