Searched refs:res_builder (Results 1 – 2 of 2) sorted by relevance
396 NewResourceBuilder res_builder(name); in ParseType() local397 res_builder.SetValue(std::move(resource_value), config) in ParseType()410 res_builder.SetVisibility(visibility); in ParseType()423 if (!table_->AddResource(res_builder.Build(), diag_)) { in ParseType()
128 NewResourceBuilder res_builder(res->name); in AddResourcesToTable() local135 res_builder.SetVisibility(visibility); in AddResourcesToTable()139 res_builder.SetId(res->id); in AddResourcesToTable()146 res_builder.SetAllowNew(allow_new); in AddResourcesToTable()150 res_builder.SetOverlayable(res->overlayable_item.value()); in AddResourcesToTable()157 res_builder.SetValue(std::move(res->value), res->config, res->product); in AddResourcesToTable()161 res_builder.SetStagedId(res->staged_alias.value()); in AddResourcesToTable()166 if (!table->AddResource(res_builder.Build(), diag)) { in AddResourcesToTable()