Lines Matching refs:Kind

37         flat::Type::Kind::kIdentifier,  in MessageHeader()
38 flat::Decl::Kind::kStruct, in MessageHeader()
50 .kind = flat::Type::Kind::kPrimitive, in EmptyStructMember()
109 case flat::Type::Kind::kArray: in EmitMethodInParamDecl()
115 case flat::Type::Kind::kVector: in EmitMethodInParamDecl()
119 case flat::Type::Kind::kString: in EmitMethodInParamDecl()
123 case flat::Type::Kind::kHandle: in EmitMethodInParamDecl()
124 case flat::Type::Kind::kRequestHandle: in EmitMethodInParamDecl()
125 case flat::Type::Kind::kPrimitive: in EmitMethodInParamDecl()
128 case flat::Type::Kind::kIdentifier: in EmitMethodInParamDecl()
130 case flat::Decl::Kind::kConst: in EmitMethodInParamDecl()
133 case flat::Decl::Kind::kEnum: in EmitMethodInParamDecl()
134 case flat::Decl::Kind::kInterface: in EmitMethodInParamDecl()
137 case flat::Decl::Kind::kStruct: in EmitMethodInParamDecl()
138 case flat::Decl::Kind::kTable: in EmitMethodInParamDecl()
139 case flat::Decl::Kind::kUnion: in EmitMethodInParamDecl()
156 case flat::Type::Kind::kArray: in EmitMethodOutParamDecl()
162 case flat::Type::Kind::kVector: in EmitMethodOutParamDecl()
167 case flat::Type::Kind::kString: in EmitMethodOutParamDecl()
172 case flat::Type::Kind::kHandle: in EmitMethodOutParamDecl()
173 case flat::Type::Kind::kRequestHandle: in EmitMethodOutParamDecl()
174 case flat::Type::Kind::kPrimitive: in EmitMethodOutParamDecl()
177 case flat::Type::Kind::kIdentifier: in EmitMethodOutParamDecl()
179 case flat::Decl::Kind::kConst: in EmitMethodOutParamDecl()
182 case flat::Decl::Kind::kEnum: in EmitMethodOutParamDecl()
183 case flat::Decl::Kind::kInterface: in EmitMethodOutParamDecl()
186 case flat::Decl::Kind::kStruct: in EmitMethodOutParamDecl()
187 case flat::Decl::Kind::kTable: in EmitMethodOutParamDecl()
188 case flat::Decl::Kind::kUnion: in EmitMethodOutParamDecl()
255 if (member.kind == flat::Type::Kind::kVector || in IsStoredOutOfLine()
256 member.kind == flat::Type::Kind::kString) in IsStoredOutOfLine()
258 if (member.kind == flat::Type::Kind::kIdentifier) { in IsStoredOutOfLine()
260 … (member.decl_kind == flat::Decl::Kind::kStruct || member.decl_kind == flat::Decl::Kind::kUnion); in IsStoredOutOfLine()
268 if (member.kind == flat::Type::Kind::kVector) in EmitMeasureInParams()
270 else if (member.kind == flat::Type::Kind::kString) in EmitMeasureInParams()
282 if (member.kind == flat::Type::Kind::kVector) { in EmitParameterSizeValidation()
284 } else if (member.kind == flat::Type::Kind::kString) { in EmitParameterSizeValidation()
299 if (member.kind == flat::Type::Kind::kVector) in EmitMeasureOutParams()
301 else if (member.kind == flat::Type::Kind::kString) in EmitMeasureOutParams()
339 case flat::Type::Kind::kArray: in EmitLinearizeMessage()
345 case flat::Type::Kind::kVector: in EmitLinearizeMessage()
351 case flat::Type::Kind::kString: in EmitLinearizeMessage()
366 case flat::Type::Kind::kHandle: in EmitLinearizeMessage()
367 case flat::Type::Kind::kRequestHandle: in EmitLinearizeMessage()
368 case flat::Type::Kind::kPrimitive: in EmitLinearizeMessage()
371 case flat::Type::Kind::kIdentifier: in EmitLinearizeMessage()
373 case flat::Decl::Kind::kConst: in EmitLinearizeMessage()
376 case flat::Decl::Kind::kEnum: in EmitLinearizeMessage()
377 case flat::Decl::Kind::kInterface: in EmitLinearizeMessage()
380 case flat::Decl::Kind::kTable: in EmitLinearizeMessage()
383 case flat::Decl::Kind::kStruct: in EmitLinearizeMessage()
384 case flat::Decl::Kind::kUnion: in EmitLinearizeMessage()
412 case flat::ConstantValue::Kind::kInt8: { in EnumValue()
417 case flat::ConstantValue::Kind::kInt16: { in EnumValue()
422 case flat::ConstantValue::Kind::kInt32: { in EnumValue()
427 case flat::ConstantValue::Kind::kInt64: { in EnumValue()
432 case flat::ConstantValue::Kind::kUint8: { in EnumValue()
437 case flat::ConstantValue::Kind::kUint16: { in EnumValue()
442 case flat::ConstantValue::Kind::kUint32: { in EnumValue()
447 case flat::ConstantValue::Kind::kUint64: { in EnumValue()
452 case flat::ConstantValue::Kind::kBool: in EnumValue()
453 case flat::ConstantValue::Kind::kFloat32: in EnumValue()
454 case flat::ConstantValue::Kind::kFloat64: in EnumValue()
455 case flat::ConstantValue::Kind::kString: in EnumValue()
463 flat::Decl::Kind GetDeclKind(const flat::Library* library, const flat::Type* type) { in GetDeclKind()
464 if (type->kind != flat::Type::Kind::kIdentifier) in GetDeclKind()
465 return flat::Decl::Kind::kConst; in GetDeclKind()
483 case flat::Type::Kind::kArray: { in ArrayCountsAndElementTypeName()
505 case flat::Type::Kind::kArray: { in CreateMember()
512 case flat::Type::Kind::kVector: { in CreateMember()
521 case flat::Type::Kind::kIdentifier: { in CreateMember()
527 case flat::Type::Kind::kString: { in CreateMember()
534 case flat::Type::Kind::kHandle: in CreateMember()
536 case flat::Type::Kind::kRequestHandle: in CreateMember()
538 case flat::Type::Kind::kPrimitive: in CreateMember()
870 if (ci.value->kind != flat::Constant::Kind::kLiteral) { in ProduceConstDeclaration()
875 case flat::Type::Kind::kPrimitive: in ProduceConstDeclaration()
880 case flat::Type::Kind::kString: in ProduceConstDeclaration()
1079 if (member.kind == flat::Type::Kind::kVector) { in ProduceInterfaceClientImplementation()
1083 } else if (member.kind == flat::Type::Kind::kString) { in ProduceInterfaceClientImplementation()
1131 case flat::Type::Kind::kArray: in ProduceInterfaceClientImplementation()
1136 case flat::Type::Kind::kVector: in ProduceInterfaceClientImplementation()
1140 case flat::Type::Kind::kString: in ProduceInterfaceClientImplementation()
1144 case flat::Type::Kind::kHandle: in ProduceInterfaceClientImplementation()
1145 case flat::Type::Kind::kRequestHandle: in ProduceInterfaceClientImplementation()
1146 case flat::Type::Kind::kPrimitive: in ProduceInterfaceClientImplementation()
1149 case flat::Type::Kind::kIdentifier: in ProduceInterfaceClientImplementation()
1151 case flat::Decl::Kind::kConst: in ProduceInterfaceClientImplementation()
1154 case flat::Decl::Kind::kEnum: in ProduceInterfaceClientImplementation()
1155 case flat::Decl::Kind::kInterface: in ProduceInterfaceClientImplementation()
1158 case flat::Decl::Kind::kTable: in ProduceInterfaceClientImplementation()
1161 case flat::Decl::Kind::kStruct: in ProduceInterfaceClientImplementation()
1162 case flat::Decl::Kind::kUnion: in ProduceInterfaceClientImplementation()
1250 case flat::Type::Kind::kArray: in ProduceInterfaceServerImplementation()
1251 case flat::Type::Kind::kHandle: in ProduceInterfaceServerImplementation()
1252 case flat::Type::Kind::kRequestHandle: in ProduceInterfaceServerImplementation()
1253 case flat::Type::Kind::kPrimitive: in ProduceInterfaceServerImplementation()
1256 case flat::Type::Kind::kVector: in ProduceInterfaceServerImplementation()
1260 case flat::Type::Kind::kString: in ProduceInterfaceServerImplementation()
1264 case flat::Type::Kind::kIdentifier: in ProduceInterfaceServerImplementation()
1266 case flat::Decl::Kind::kConst: in ProduceInterfaceServerImplementation()
1269 case flat::Decl::Kind::kEnum: in ProduceInterfaceServerImplementation()
1270 case flat::Decl::Kind::kInterface: in ProduceInterfaceServerImplementation()
1273 case flat::Decl::Kind::kTable: in ProduceInterfaceServerImplementation()
1276 case flat::Decl::Kind::kStruct: in ProduceInterfaceServerImplementation()
1277 case flat::Decl::Kind::kUnion: in ProduceInterfaceServerImplementation()
1388 case flat::Decl::Kind::kConst: { in ProduceHeader()
1395 case flat::Decl::Kind::kEnum: { in ProduceHeader()
1402 case flat::Decl::Kind::kInterface: { in ProduceHeader()
1409 case flat::Decl::Kind::kStruct: { in ProduceHeader()
1416 case flat::Decl::Kind::kTable: { in ProduceHeader()
1423 case flat::Decl::Kind::kUnion: { in ProduceHeader()
1439 case flat::Decl::Kind::kConst: in ProduceHeader()
1440 case flat::Decl::Kind::kEnum: in ProduceHeader()
1441 case flat::Decl::Kind::kStruct: in ProduceHeader()
1442 case flat::Decl::Kind::kTable: in ProduceHeader()
1443 case flat::Decl::Kind::kUnion: in ProduceHeader()
1446 case flat::Decl::Kind::kInterface: { in ProduceHeader()
1462 case flat::Decl::Kind::kConst: { in ProduceHeader()
1469 case flat::Decl::Kind::kEnum: in ProduceHeader()
1473 case flat::Decl::Kind::kInterface: { in ProduceHeader()
1480 case flat::Decl::Kind::kStruct: { in ProduceHeader()
1487 case flat::Decl::Kind::kTable: in ProduceHeader()
1491 case flat::Decl::Kind::kUnion: { in ProduceHeader()
1507 case flat::Decl::Kind::kConst: in ProduceHeader()
1508 case flat::Decl::Kind::kEnum: in ProduceHeader()
1509 case flat::Decl::Kind::kStruct: in ProduceHeader()
1510 case flat::Decl::Kind::kTable: in ProduceHeader()
1511 case flat::Decl::Kind::kUnion: in ProduceHeader()
1514 case flat::Decl::Kind::kInterface: { in ProduceHeader()
1548 case flat::Decl::Kind::kConst: in ProduceClient()
1549 case flat::Decl::Kind::kEnum: in ProduceClient()
1550 case flat::Decl::Kind::kStruct: in ProduceClient()
1551 case flat::Decl::Kind::kTable: in ProduceClient()
1552 case flat::Decl::Kind::kUnion: in ProduceClient()
1555 case flat::Decl::Kind::kInterface: { in ProduceClient()
1585 case flat::Decl::Kind::kConst: in ProduceServer()
1586 case flat::Decl::Kind::kEnum: in ProduceServer()
1587 case flat::Decl::Kind::kStruct: in ProduceServer()
1588 case flat::Decl::Kind::kTable: in ProduceServer()
1589 case flat::Decl::Kind::kUnion: in ProduceServer()
1592 case flat::Decl::Kind::kInterface: { in ProduceServer()