Searched refs:pbType (Results 1 – 4 of 4) sorted by relevance
75 for (const pb::Type& pbType : pbPackage.types()) { in deserializeFromPb() local76 const ResourceType* resType = parseResourceType(util::utf8ToUtf16(pbType.name())); in deserializeFromPb()78 mDiag->error(DiagMessage(mSource) << "unknown type '" << pbType.name() << "'"); in deserializeFromPb()84 for (const pb::Entry& pbEntry : pbType.entries()) { in deserializeFromPb()111 if (pbType.has_id()) { in deserializeFromPb()112 type->id = static_cast<uint8_t>(pbType.id()); in deserializeFromPb()122 ResourceId resId(pbPackage.package_id(), pbType.id(), pbEntry.id()); in deserializeFromPb()
226 pb::Type* pbType = pbPackage->add_types(); in serializeTableToPb() local228 pbType->set_id(type->id.value()); in serializeTableToPb()230 pbType->set_name(util::utf16ToUtf8(toString(type->type))); in serializeTableToPb()233 pb::Entry* pbEntry = pbType->add_entries(); in serializeTableToPb()
104 Reference::Type deserializeReferenceTypeFromPb(pb::Reference_Type pbType) { in deserializeReferenceTypeFromPb() argument105 switch (pbType) { in deserializeReferenceTypeFromPb()
45 Reference::Type deserializeReferenceTypeFromPb(pb::Reference_Type pbType);