Searched refs:proto_string (Results 1 – 8 of 8) sorted by relevance
| /external/cronet/net/socket/ |
| D | next_proto.cc | 9 NextProto NextProtoFromString(base::StringPiece proto_string) { in NextProtoFromString() argument 10 if (proto_string == "http/1.1") { in NextProtoFromString() 13 if (proto_string == "h2") { in NextProtoFromString() 16 if (proto_string == "quic" || proto_string == "hq") { in NextProtoFromString()
|
| D | next_proto.h | 29 NextProtoFromString(base::StringPiece proto_string);
|
| D | ssl_client_socket_impl.cc | 875 const char* proto_string = NextProtoToString(alps.first); in Init() local 878 ssl_.get(), reinterpret_cast<const uint8_t*>(proto_string), in Init() 879 strlen(proto_string), data.data(), data.size())) { in Init()
|
| /external/tensorflow/tensorflow/core/kernels/ |
| D | parse_tensor_op.cc | 82 Tensor* proto_string = nullptr; in Compute() local 84 context->allocate_output(0, TensorShape({}), &proto_string)); in Compute() 85 CHECK(SerializeToTString(proto, &proto_string->scalar<tstring>()())); in Compute()
|
| /external/tensorflow/tensorflow/core/example/ |
| D | example_parser_configuration_test.cc | 45 string proto_string; in SetUp() local 49 ReadFileToStringOrDie(Env::Default(), filename, &proto_string); in SetUp() 50 protobuf::TextFormat::ParseFromString(proto_string, &graph_def_); in SetUp()
|
| /external/tensorflow/tensorflow/python/debug/lib/ |
| D | debug_events_reader.py | 242 proto_string = self._get_reader(self._source_files_path).read(offset)[0] 243 return debug_event_pb2.DebugEvent.FromString(proto_string) 278 proto_string = self._get_reader(self._execution_path).read(offset)[0] 279 return debug_event_pb2.DebugEvent.FromString(proto_string) 304 proto_string = self._get_reader(graph_execution_traces_path).read( 306 return debug_event_pb2.DebugEvent.FromString(proto_string)
|
| /external/cronet/third_party/protobuf/conformance/ |
| D | binary_json_conformance_suite.cc | 245 const string proto_string = is_proto3 ? "Proto3" : "Proto2"; in GetFieldForType() local 254 << " for " << proto_string.c_str(); in GetFieldForType() 275 const string proto_string = is_proto3 ? "Proto3" : "Proto2"; in GetFieldForMapType() local 279 << proto_string.c_str(); in GetFieldForMapType() 295 const string proto_string = is_proto3 ? "Proto3" : "Proto2"; in GetFieldForOneofType() local 298 << proto_string.c_str(); in GetFieldForOneofType()
|
| /external/protobuf/conformance/ |
| D | binary_json_conformance_suite.cc | 245 const string proto_string = is_proto3 ? "Proto3" : "Proto2"; in GetFieldForType() local 254 << " for " << proto_string.c_str(); in GetFieldForType() 275 const string proto_string = is_proto3 ? "Proto3" : "Proto2"; in GetFieldForMapType() local 279 << proto_string.c_str(); in GetFieldForMapType() 295 const string proto_string = is_proto3 ? "Proto3" : "Proto2"; in GetFieldForOneofType() local 298 << proto_string.c_str(); in GetFieldForOneofType()
|