Lines Matching refs:C2Param

156                     C2Param::CoreIndex(it->type()).coreIndex());  in addParamStructDesc()
226 void ReflectedParamUpdater::supportWholeParam(std::string name, C2Param::CoreIndex index) { in supportWholeParam()
230 std::string ReflectedParamUpdater::getParamName(C2Param::Index index) const { in getParamName()
243 std::vector<C2Param::Index> *vec /* nonnull */) const { in getParamIndicesFromMessage()
246 std::set<C2Param::Index> indices; in getParamIndicesFromMessage()
252 for (const C2Param::Index &index : indices) { in getParamIndicesFromMessage()
259 std::vector<C2Param::Index> *vec /* nonnull */) const { in getParamIndicesForKeys()
262 std::set<C2Param::Index> indices; in getParamIndicesForKeys()
277 for (const C2Param::Index &index : indices) { in getParamIndicesForKeys()
284 std::vector<std::unique_ptr<C2Param>> *vec /* nonnull */) const { in updateParamsFromMessage()
287 std::map<C2Param::Index, std::unique_ptr<C2Param>*> paramsMap; in updateParamsFromMessage()
288 for (std::unique_ptr<C2Param> &param : *vec) { in updateParamsFromMessage()
297 std::unique_ptr<C2Param> *param = nullptr; in updateParamsFromMessage()
306 struct _C2Param : public C2Param { in updateParamsFromMessage()
307 using C2Param::C2Param; in updateParamsFromMessage()
308 _C2Param(uint32_t size, uint32_t index) : C2Param(size, index) { } in updateParamsFromMessage()
319 minOffset = sizeof(C2Param); in updateParamsFromMessage()
320 offset = sizeof(C2Param) + desc.offset in updateParamsFromMessage()
332 C2Param *newParam = (C2Param *)::operator new(offset + size); in updateParamsFromMessage()
334 if (offset > sizeof(C2Param)) { in updateParamsFromMessage()
335 memcpy(newParam + 1, param->get() + 1, offset - sizeof(C2Param)); in updateParamsFromMessage()
369 C2Param *tmpAsParam = C2Param::From(tmp->data(), tmp->size()); in parseMessageAndDoWork()
468 ReflectedParamUpdater::getParams(const std::vector<std::unique_ptr<C2Param>> &params_) const { in getParams()
469 std::vector<C2Param*> params; in getParams()
472 [](const std::unique_ptr<C2Param>& p) -> C2Param* { return p.get(); }); in getParams()
477 ReflectedParamUpdater::getParams(const std::vector<C2Param*> &params) const { in getParams()
481 std::map<C2Param::Index, C2Param *> paramsMap; in getParams()
482 for (C2Param *param : params) { in getParams()
494 C2Param *param = paramsMap[desc.paramDesc->index()]; in getParams()
505 size_t offset = sizeof(C2Param) + desc.offset in getParams()