Lines Matching refs:flat

286 const coded::Type* TablesGenerator::CompileType(const flat::Type* type) {  in CompileType()
288 case flat::Type::Kind::kArray: { in CompileType()
289 auto array_type = static_cast<const flat::ArrayType*>(type); in CompileType()
303 case flat::Type::Kind::kVector: { in CompileType()
304 auto vector_type = static_cast<const flat::VectorType*>(type); in CompileType()
319 case flat::Type::Kind::kString: { in CompileType()
320 auto string_type = static_cast<const flat::StringType*>(type); in CompileType()
332 case flat::Type::Kind::kHandle: { in CompileType()
333 auto handle_type = static_cast<const flat::HandleType*>(type); in CompileType()
344 case flat::Type::Kind::kRequestHandle: { in CompileType()
345 auto request_type = static_cast<const flat::RequestHandleType*>(type); in CompileType()
356 case flat::Type::Kind::kPrimitive: { in CompileType()
357 auto primitive_type = static_cast<const flat::PrimitiveType*>(type); in CompileType()
364 flat::PrimitiveType::SubtypeSize(primitive_type->subtype)); in CompileType()
369 case flat::Type::Kind::kIdentifier: { in CompileType()
370 auto identifier_type = static_cast<const flat::IdentifierType*>(type); in CompileType()
432 void TablesGenerator::CompileFields(const flat::Decl* decl) { in CompileFields()
434 case flat::Decl::Kind::kInterface: { in CompileFields()
435 auto interface_decl = static_cast<const flat::Interface*>(decl); in CompileFields()
442 auto CompileMessage = [&](const flat::Interface::Method::Message& message) -> void { in CompileFields()
467 case flat::Decl::Kind::kStruct: { in CompileFields()
468 auto struct_decl = static_cast<const flat::Struct*>(decl); in CompileFields()
481 case flat::Decl::Kind::kUnion: { in CompileFields()
482 auto union_decl = static_cast<const flat::Union*>(decl); in CompileFields()
504 void TablesGenerator::Compile(const flat::Decl* decl) { in Compile()
506 case flat::Decl::Kind::kConst: in Compile()
509 case flat::Decl::Kind::kEnum: { in Compile()
510 auto enum_decl = static_cast<const flat::Enum*>(decl); in Compile()
515 flat::PrimitiveType::SubtypeSize(enum_decl->type))); in Compile()
518 case flat::Decl::Kind::kInterface: { in Compile()
519 auto interface_decl = static_cast<const flat::Interface*>(decl); in Compile()
528 auto CreateMessage = [&](const flat::Interface::Method::Message& message, in Compile()
549 case flat::Decl::Kind::kStruct: { in Compile()
550 auto struct_decl = static_cast<const flat::Struct*>(decl); in Compile()
560 case flat::Decl::Kind::kUnion: { in Compile()
561 auto union_decl = static_cast<const flat::Union*>(decl); in Compile()