Home
last modified time | relevance | path

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

/external/flatbuffers/samples/
Dsample_text.cpp29 std::string jsonfile; in main() local
31 flatbuffers::LoadFile("samples/monsterdata.json", false, &jsonfile); in main()
41 parser.Parse(jsonfile.c_str(), include_directories); in main()
54 if (jsongen != jsonfile) { in main()
55 printf("%s----------------\n%s", jsongen.c_str(), jsonfile.c_str()); in main()
/external/flatbuffers/tests/
Dtest.cpp598 std::string jsonfile; in ParseAndGenerateTextTest() local
606 &jsonfile), in ParseAndGenerateTextTest()
626 TEST_EQ(parser.Parse(jsonfile.c_str(), include_directories), true); in ParseAndGenerateTextTest()
644 TEST_EQ_STR(jsongen.c_str(), jsonfile.c_str()); in ParseAndGenerateTextTest()
657 auto buf = registry.TextToFlatBuffer(jsonfile.c_str(), MonsterIdentifier()); in ParseAndGenerateTextTest()
668 TEST_EQ_STR(text.c_str(), jsonfile.c_str()); in ParseAndGenerateTextTest()
1742 std::string jsonfile; in GenerateTableTextTest() local
1747 false, &jsonfile); in GenerateTableTextTest()
1757 parser.Parse(jsonfile.c_str(), include_directories); in GenerateTableTextTest()
2124 std::string schemafile, jsonfile; in UnionVectorTest() local
[all …]
/external/libchrome/build/android/gyp/util/
Dmd5_check.py70 with open(record_path, 'r') as jsonfile:
72 old_metadata = _Metadata.FromFile(jsonfile)