Searched refs:jsongen (Results 1 – 3 of 3) sorted by relevance
/external/flatbuffers/samples/ |
D | sample_text.cpp | 47 std::string jsongen; in main() local 48 if (!GenerateText(parser, parser.builder_.GetBufferPointer(), &jsongen)) { in main() 53 if (jsongen != jsonfile) { in main() 54 printf("%s----------------\n%s", jsongen.c_str(), jsonfile.c_str()); in main()
|
/external/flatbuffers/tests/fuzzer/ |
D | flatbuffers_monster_fuzzer.cc | 76 std::string jsongen; in do_test() local 82 GenerateText(parser_, parser_.builder_.GetBufferPointer(), &jsongen)); in do_test() 88 return jsongen; in do_test()
|
/external/flatbuffers/tests/ |
D | test.cpp | 679 std::string jsongen; in JsonDefaultTest() local 680 auto result = GenerateText(parser, builder.GetBufferPointer(), &jsongen); in JsonDefaultTest() 683 TEST_EQ(std::string::npos != jsongen.find("color: \"Blue\""), true); in JsonDefaultTest() 685 TEST_EQ(std::string::npos != jsongen.find("testf: 3.14159"), true); in JsonDefaultTest() 708 std::string jsongen; in JsonEnumsTest() local 709 auto result = GenerateText(parser, builder.GetBufferPointer(), &jsongen); in JsonEnumsTest() 711 TEST_EQ(std::string::npos != jsongen.find("color: \"Red Blue\""), true); in JsonEnumsTest() 761 std::string jsongen; in JsonOptionalTest() local 763 GenerateText(parser, parser.builder_.GetBufferPointer(), &jsongen); in JsonOptionalTest() 765 TEST_EQ_STR(jsongen.c_str(), jsonfile.c_str()); in JsonOptionalTest() [all …]
|