Home
last modified time | relevance | path

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

/third_party/flatbuffers/java/com/google/flatbuffers/
DFlexBuffers.java99 public static final int FBT_BOOL = 26; field in FlexBuffers
122 return type <= FBT_FLOAT || type == FBT_BOOL; in isTypeInline()
150 return (type >= FBT_INT && type <= FBT_KEY) || type == FBT_BOOL; in isTypedVectorElementType()
266 return type == FBT_BOOL; in isBoolean()
379 case FBT_BOOL: return readInt(bb, end, parentWidth); in asInt()
408 case FBT_BOOL: return readInt(bb, end, parentWidth); in asUInt()
443 case FBT_BOOL: return readInt(bb, end, parentWidth); in asLong()
465 case FBT_BOOL: in asFloat()
602 case FBT_BOOL: in toString()
DFlexBuffersBuilder.java571 case FBT_BOOL: in writeAny()
677 return new Value(key, FBT_BOOL, WIDTH_8, b ? 1 : 0); in bool()
/third_party/flatbuffers/include/flatbuffers/
Dflexbuffers.h81 FBT_BOOL = 26, enumerator
86 inline bool IsInline(Type t) { return t <= FBT_FLOAT || t == FBT_BOOL; } in IsInline()
89 return (t >= FBT_INT && t <= FBT_STRING) || t == FBT_BOOL; in IsTypedVectorElementType()
392 bool IsBool() const { return type_ == FBT_BOOL; } in IsBool()
416 return (type_ == FBT_BOOL ? ReadUInt64(data_, parent_width_) in AsBool()
439 case FBT_BOOL: return ReadInt64(data_, parent_width_); in AsInt64()
468 case FBT_BOOL: return ReadUInt64(data_, parent_width_); in AsUInt64()
501 case FBT_BOOL: in AsDouble()
678 return type_ == FBT_BOOL && Mutate(data_, b, parent_width_, BIT_WIDTH_8); in MutateBool()
1403 ? FBT_BOOL in GetScalarType()
[all …]
/third_party/flatbuffers/tests/
DJavaTest.java704 TestEq(((FlexBuffers.TypedVector) bvec).getElemType(), FlexBuffers.FBT_BOOL); in testFlexBuffersTest()
Dtest.cpp2972 TEST_EQ(tvecb.ElementType(), flexbuffers::FBT_BOOL); in FlexBuffersTest()