Lines Matching refs:count
57 const uint32_t count = 2; // encoder and decoder
58 const static std::array<std::string, count> codecGroupsNodeName = {
62 for (uint32_t index = 0; index < count; index++) {
147 int32_t count = sizeof(nodeAttrs) / sizeof(ConfigUintNodeAttr);
148 for (int32_t i = 0; i < count; i++) {
169 int32_t count = iface.GetElemNum(&node, attr.attrName.c_str());
170 CHECK_AND_RETURN_RET_LOG(count >= 0, HDF_FAILURE, "%{public}s table size: count[%{public}d] < 0!",
171 attr.attrName.c_str(), count);
173 if (count > 0) {
174 std::unique_ptr<int32_t[]> array = std::make_unique<int32_t[]>(count);
175 iface.GetUint32Array(&node, attr.attrName.c_str(), reinterpret_cast<uint32_t *>(array.get()), count, 0);
176 attr.vec.assign(array.get(), array.get() + count);