Home
last modified time | relevance | path

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

/external/flatbuffers/tests/fuzzer/
Dflatbuffers_monster_fuzzer.cc61 std::string schemafile; in LoadBinarySchema() local
63 flatbuffers::LoadFile(file_path.string().c_str(), true, &schemafile)); in LoadBinarySchema()
66 reinterpret_cast<const uint8_t *>(schemafile.c_str()), schemafile.size()); in LoadBinarySchema()
68 return schemafile; in LoadBinarySchema()
102 static const std::string schemafile = LoadBinarySchema("monster_test.bfbs"); in LLVMFuzzerInitialize() local
104 parser_.Deserialize(reinterpret_cast<const uint8_t *>(schemafile.c_str()), in LLVMFuzzerInitialize()
105 schemafile.size()); in LLVMFuzzerInitialize()
Dflatbuffers_annotator_fuzzer.cc28 std::string schemafile; in LoadBinarySchema() local
30 flatbuffers::LoadFile(file_path.string().c_str(), true, &schemafile)); in LoadBinarySchema()
33 reinterpret_cast<const uint8_t *>(schemafile.c_str()), schemafile.size()); in LoadBinarySchema()
35 return schemafile; in LoadBinarySchema()
/external/flatbuffers/samples/
Dsample_text.cpp27 std::string schemafile; in main() local
29 bool ok = flatbuffers::LoadFile("samples/monster.fbs", false, &schemafile) && in main()
39 ok = parser.Parse(schemafile.c_str(), include_directories) && in main()
/external/flatbuffers/tests/
Dtest.cpp659 std::string schemafile; in JsonDefaultTest() local
661 false, &schemafile), in JsonDefaultTest()
670 TEST_EQ(parser.Parse(schemafile.c_str(), include_directories), true); in JsonDefaultTest()
690 std::string schemafile; in JsonEnumsTest() local
692 false, &schemafile), in JsonEnumsTest()
701 TEST_EQ(parser.Parse(schemafile.c_str(), include_directories), true); in JsonEnumsTest()
729 std::string schemafile; in JsonOptionalTest() local
733 false, &schemafile), in JsonOptionalTest()
749 TEST_EQ(parser.Parse(schemafile.c_str(), include_directories), true); in JsonOptionalTest()
808 std::string schemafile; in TestMonsterExtraFloats() local
[all …]
/external/armnn/src/armnnDeserializer/test/
DParserFlatbuffersSerializeFixture.hpp93 std::string schemafile(&deserialize_schema_start, &deserialize_schema_end); in ReadStringToBinary() local
98 bool ok = parser.Parse(schemafile.c_str()); in ReadStringToBinary()
/external/armnn/src/armnnTfLiteParser/test/
DParserFlatbuffersFixture.hpp162 std::string schemafile(g_TfLiteSchemaText, g_TfLiteSchemaText + g_TfLiteSchemaText_len); in ReadStringToBinary() local
167 bool ok = parser.Parse(schemafile.c_str()); in ReadStringToBinary()