Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/net/socket/
H A Dnext_proto.cc11 NextProto NextProtoFromString(std::string_view proto_string) { in NextProtoFromString() argument
12 if (proto_string == "http/1.1") { in NextProtoFromString()
15 if (proto_string == "h2") { in NextProtoFromString()
18 if (proto_string == "quic" || proto_string == "hq") { in NextProtoFromString()
H A Dnext_proto.h28 NET_EXPORT_PRIVATE NextProto NextProtoFromString(std::string_view proto_string);
H A Dssl_client_socket_impl.cc773 const char* proto_string = NextProtoToString(proto); in Init() local
775 ssl_.get(), reinterpret_cast<const uint8_t*>(proto_string), in Init()
776 strlen(proto_string), iter->second.data(), in Init()
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/
H A 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()
/aosp_15_r20/external/tensorflow/tensorflow/core/example/
H A 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()
/aosp_15_r20/external/tensorflow/tensorflow/python/debug/lib/
H A 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)
/aosp_15_r20/external/pytorch/torch/csrc/onnx/
H A Dinit.cpp251 ::torch::wrap_pybind_function([](const std::string& proto_string) { in initONNXBindings() argument
252 check_onnx_proto(proto_string); in initONNXBindings()
/aosp_15_r20/external/cronet/third_party/netty-tcnative/src/c/
H A Dsslcontext.c765 jstring proto_string; in initProtocols() local
789 proto_string = (jstring) (*e)->GetObjectArrayElement(e, protos, i); in initProtocols()
790 proto_chars = (*e)->GetStringUTFChars(e, proto_string, 0); in initProtocols()
804 (*e)->ReleaseStringUTFChars(e, proto_string, proto_chars); in initProtocols()
816 (*e)->ReleaseStringUTFChars(e, proto_string, proto_chars); in initProtocols()
/aosp_15_r20/external/protobuf/conformance/
H A 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()
/aosp_15_r20/external/cronet/third_party/protobuf/conformance/
H A 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()
/aosp_15_r20/external/pytorch/torch/csrc/jit/serialization/
H A Dexport.h67 TORCH_API void check_onnx_proto(const std::string& proto_string);
H A Dexport.cpp1445 void check_onnx_proto(const std::string& proto_string) { in check_onnx_proto() argument
1447 if (!ParseProtoFromBytes(&model, proto_string.c_str(), proto_string.size())) { in check_onnx_proto()