Home
last modified time | relevance | path

Searched refs:json_options (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/platform/default/
Dhuman_readable_json.cc28 protobuf::util::JsonPrintOptions json_options; in ProtoToHumanReadableJson() local
29 json_options.preserve_proto_field_names = true; in ProtoToHumanReadableJson()
30 json_options.always_print_primitive_fields = true; in ProtoToHumanReadableJson()
32 protobuf::util::MessageToJsonString(proto, result, json_options); in ProtoToHumanReadableJson()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_proto_to_json.cc47 tensorflow::protobuf::util::JsonPrintOptions json_options; in ToJson() local
48 json_options.add_whitespace = true; in ToJson()
49 json_options.always_print_primitive_fields = true; in ToJson()
51 message, &json_output, json_options); in ToJson()
/external/tensorflow/tensorflow/compiler/mlir/tfjs/translate/
Djson_translate.cc82 tensorflow::protobuf::util::JsonPrintOptions json_options; in MlirToJSONTranslateFunction() local
83 json_options.add_whitespace = true; in MlirToJSONTranslateFunction()
85 *graphdef, &json_output, json_options); in MlirToJSONTranslateFunction()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzz_test_util.cpp148 auto json_options = google::protobuf::util::JsonOptions(); in DumpTransformationsJson() local
149 json_options.add_whitespace = true; in DumpTransformationsJson()
151 transformations, &json_string, json_options); in DumpTransformationsJson()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dfuzz_test_util.cpp148 auto json_options = google::protobuf::util::JsonOptions(); in DumpTransformationsJson() local
149 json_options.add_whitespace = true; in DumpTransformationsJson()
151 transformations, &json_string, json_options); in DumpTransformationsJson()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dfuzz_test_util.cpp148 auto json_options = google::protobuf::util::JsonOptions(); in DumpTransformationsJson() local
149 json_options.add_whitespace = true; in DumpTransformationsJson()
151 transformations, &json_string, json_options); in DumpTransformationsJson()
/external/deqp-deps/SPIRV-Tools/tools/fuzz/
Dfuzz.cpp638 auto json_options = google::protobuf::util::JsonOptions(); in DumpTransformationsJson() local
639 json_options.add_whitespace = true; in DumpTransformationsJson()
641 transformations, &json_string, json_options); in DumpTransformationsJson()
769 auto json_options = google::protobuf::util::JsonOptions(); in main() local
770 json_options.add_whitespace = true; in main()
772 transformations_applied, &json_string, json_options); in main()
/external/swiftshader/third_party/SPIRV-Tools/tools/fuzz/
Dfuzz.cpp638 auto json_options = google::protobuf::util::JsonOptions(); in DumpTransformationsJson() local
639 json_options.add_whitespace = true; in DumpTransformationsJson()
641 transformations, &json_string, json_options); in DumpTransformationsJson()
769 auto json_options = google::protobuf::util::JsonOptions(); in main() local
770 json_options.add_whitespace = true; in main()
772 transformations_applied, &json_string, json_options); in main()
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/fuzz/
Dfuzz.cpp695 auto json_options = google::protobuf::util::JsonOptions(); in DumpTransformationsJson() local
696 json_options.add_whitespace = true; in DumpTransformationsJson()
698 transformations, &json_string, json_options); in DumpTransformationsJson()
827 auto json_options = google::protobuf::util::JsonOptions(); in main() local
828 json_options.add_whitespace = true; in main()
830 transformations_applied, &json_string, json_options); in main()
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_memory_profile.cc519 protobuf::util::JsonPrintOptions json_options; in ConvertProtoToJson() local
520 json_options.always_print_primitive_fields = true; in ConvertProtoToJson()
522 json_options); in ConvertProtoToJson()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc89 tensorflow::protobuf::util::JsonPrintOptions json_options; in PrepareChunkEventProto() local
90 json_options.always_print_primitive_fields = true; in PrepareChunkEventProto()
92 metadata, &json_output, json_options); in PrepareChunkEventProto()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc417 base::JSONParserOptions json_options = base::JSON_PARSE_RFC; in IsValidSchema() local
419 schema, json_options, nullptr, error); in IsValidSchema()
/external/protobuf/conformance/
Dconformance.proto69 // https://developers.google.com/protocol-buffers/docs/proto3#json_options