Home
last modified time | relevance | path

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

/external/flatbuffers/samples/
Dsample_text.cpp28 std::string schemafile; in main() local
30 bool ok = flatbuffers::LoadFile("samples/monster.fbs", false, &schemafile) && in main()
40 ok = parser.Parse(schemafile.c_str(), include_directories) && in main()
/external/flatbuffers/tests/
Dtest.cpp565 std::string schemafile; in JsonDefaultTest() local
567 false, &schemafile), true); in JsonDefaultTest()
575 TEST_EQ(parser.Parse(schemafile.c_str(), include_directories), true); in JsonDefaultTest()
597 std::string schemafile; in ParseAndGenerateTextTest() local
602 binary, &schemafile), in ParseAndGenerateTextTest()
618 reinterpret_cast<const uint8_t *>(schemafile.c_str()), in ParseAndGenerateTextTest()
619 schemafile.size()); in ParseAndGenerateTextTest()
622 TEST_EQ(parser.Deserialize((const uint8_t *)schemafile.c_str(), schemafile.size()), true); in ParseAndGenerateTextTest()
624 TEST_EQ(parser.Parse(schemafile.c_str(), include_directories), true); in ParseAndGenerateTextTest()
2001 std::string schemafile; in InvalidNestedFlatbufferTest() local
[all …]