Lines Matching refs:resId
154 bool ResourceTable::addResource(const ResourceNameRef& name, const ResourceId resId,
157 return addResourceImpl(name, resId, config, source, std::move(value), kValidNameChars);
168 bool ResourceTable::addResourceImpl(const ResourceNameRef& name, const ResourceId resId,
197 if (resId.isValid() && type->typeId != ResourceTableType::kUnsetTypeId &&
198 type->typeId != resId.typeId()) {
203 << resId
214 if (resId.isValid() && entry->entryId != ResourceEntry::kUnsetEntryId &&
215 entry->entryId != resId.entryId()) {
220 << resId
251 if (resId.isValid()) {
252 type->typeId = resId.typeId();
253 entry->entryId = resId.entryId();
258 bool ResourceTable::markPublic(const ResourceNameRef& name, const ResourceId resId,
260 return markPublicImpl(name, resId, source, kValidNameChars);
263 bool ResourceTable::markPublicAllowMangled(const ResourceNameRef& name, const ResourceId resId,
265 return markPublicImpl(name, resId, source, kValidNameMangledChars);
268 bool ResourceTable::markPublicImpl(const ResourceNameRef& name, const ResourceId resId,
296 if (resId.isValid() && type->typeId != ResourceTableType::kUnsetTypeId &&
297 type->typeId != resId.typeId()) {
302 << resId
313 if (resId.isValid() && entry->entryId != ResourceEntry::kUnsetEntryId &&
314 entry->entryId != resId.entryId()) {
319 << resId
331 if (resId.isValid()) {
332 type->typeId = resId.typeId();
333 entry->entryId = resId.entryId();