Home
last modified time | relevance | path

Searched refs:AsBool (Results 1 – 3 of 3) sorted by relevance

/external/flatbuffers/tests/
Dtest.cpp1715 TEST_EQ(vec[4].AsBool(), false); // Check if value is false in FlexBuffersTest()
1722 TEST_EQ(map["bool"].AsBool(), true); in FlexBuffersTest()
1740 TEST_EQ(vec[4].AsBool(), false); // Is false before change in FlexBuffersTest()
1742 TEST_EQ(vec[4].AsBool(), true); // Changed bool is now true in FlexBuffersTest()
1757 TEST_EQ(jmap["c"].AsBool(), true); // Parsed correctly to true in FlexBuffersTest()
1759 TEST_EQ(jmap["d"].AsBool(), false); // Parsed correctly to false in FlexBuffersTest()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h369 bool AsBool() const { in AsBool() function
509 s += AsBool() ? "true" : "false"; in ToString()
694 template<> inline bool Reference::As<bool>() { return AsBool(); }
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
Doperator.cc754 (*attr)[key].set_b(value.AsBool()); in ReadOptions()