Home
last modified time | relevance | path

Searched refs:FBT_BOOL (Results 1 – 2 of 2) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h79 FBT_BOOL = 26, enumerator
84 inline bool IsInline(Type t) { return t <= FBT_FLOAT || t == FBT_BOOL; } in IsInline()
87 return (t >= FBT_INT && t <= FBT_STRING) || t == FBT_BOOL; in IsTypedVectorElementType()
368 bool IsBool() const { return type_ == FBT_BOOL; } in IsBool()
388 return (type_ == FBT_BOOL ? ReadUInt64(data_, parent_width_) in AsBool()
411 case FBT_BOOL: return ReadInt64(data_, parent_width_); in AsInt64()
440 case FBT_BOOL: return ReadUInt64(data_, parent_width_); in AsUInt64()
469 case FBT_BOOL: in AsDouble()
630 return type_ == FBT_BOOL && Mutate(data_, b, parent_width_, BIT_WIDTH_8); in MutateBool()
1317 ? FBT_BOOL in GetScalarType()
[all …]
/external/flatbuffers/tests/
Dtest.cpp2289 TEST_EQ(tvecb.ElementType(), flexbuffers::FBT_BOOL); in FlexBuffersTest()