Home
last modified time | relevance | path

Searched refs:proto_string (Results 1 – 8 of 8) sorted by relevance

/external/cronet/net/socket/
Dnext_proto.cc9 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()
Dnext_proto.h29 NextProtoFromString(base::StringPiece proto_string);
Dssl_client_socket_impl.cc875 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/
Dparse_tensor_op.cc82 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/
Dexample_parser_configuration_test.cc45 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/
Ddebug_events_reader.py242 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/
Dbinary_json_conformance_suite.cc245 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/
Dbinary_json_conformance_suite.cc245 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()