Home
last modified time | relevance | path

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

/external/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.java560 case FBT_BOOL: in writeAny()
666 return new Value(key, FBT_BOOL, WIDTH_8, b ? 1 : 0); in bool()
/external/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()
1389 ? FBT_BOOL in GetScalarType()
[all …]
/external/flatbuffers/tests/
DJavaTest.java684 TestEq(((FlexBuffers.TypedVector) bvec).getElemType(), FlexBuffers.FBT_BOOL); in testFlexBuffersTest()
Dtest.cpp2847 TEST_EQ(tvecb.ElementType(), flexbuffers::FBT_BOOL); in FlexBuffersTest()
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc1740 case flexbuffers::FBT_BOOL: in ReadOptions()