Home
last modified time | relevance | path

Searched refs:proto_type (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/network/netstress/
Dnetstress.c97 static uint proto_type; variable
139 if (proto_type == TYPE_DCCP) { in init_socket_opts()
318 if (proto_type == TYPE_UDP) in client_fn()
527 switch (proto_type) { in server_fn()
587 if (proto_type == TYPE_UDP) in server_init()
702 proto_type = TYPE_TCP; in set_protocol_type()
704 proto_type = TYPE_UDP; in set_protocol_type()
706 proto_type = TYPE_DCCP; in set_protocol_type()
708 proto_type = TYPE_SCTP; in set_protocol_type()
770 if (proto_type == TYPE_DCCP || proto_type == TYPE_UDP) { in setup()
[all …]
/external/perfetto/tools/proto_to_cpp/
Dproto_to_cpp.cc314 std::string proto_type = GetFwdDeclType(msg, true); in GenHeader() local
316 p->Print("void FromProto(const $p$&);\n", "n", msg->name(), "p", proto_type); in GenHeader()
317 p->Print("void ToProto($p$*) const;\n", "p", proto_type); in GenHeader()
388 std::string proto_type = GetFwdDeclType(msg, true); in GenCpp() local
392 proto_type); in GenCpp()
432 proto_type); in GenCpp()
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py67 proto_type = unittest_pb2.TestAllTypes
69 proto_type.NestedMessage.DESCRIPTOR,
70 proto_type.DESCRIPTOR.fields_by_name[field_name].message_type)
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py417 proto_type = ops.get_collection_proto_type(key)
425 assert isinstance(proto, proto_type)
759 proto_type = ops.get_collection_proto_type(key)
764 proto = proto_type()
772 proto = proto_type()
Dtest_util.py150 proto_type = ops.get_collection_proto_type(k)
151 if proto_type:
152 a_proto = proto_type()
153 b_proto = proto_type()
Dops.py5712 proto_type=None, argument
5735 _proto_function_registry.register((proto_type, to_proto, from_proto),
/external/nanopb-c/generator/google/protobuf/
Ddescriptor.py469 def ProtoTypeToCppProtoType(proto_type): argument
484 return FieldDescriptor._PYTHON_TO_CPP_PROTO_TYPE_MAP[proto_type]
486 raise TypeTransformationError('Unknown proto_type: %s' % proto_type)
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py1005 proto_type=variable_pb2.VariableDef,
1010 proto_type=variable_pb2.VariableDef,
1015 proto_type=variable_pb2.VariableDef,
1020 proto_type=variable_pb2.VariableDef,
1025 proto_type=variable_pb2.VariableDef,
Dcontrol_flow_ops.py3741 proto_type=control_flow_pb2.CondContextDef,
3747 proto_type=control_flow_pb2.WhileContextDef,
/external/protobuf/python/google/protobuf/
Ddescriptor.py550 def ProtoTypeToCppProtoType(proto_type): argument
565 return FieldDescriptor._PYTHON_TO_CPP_PROTO_TYPE_MAP[proto_type]
567 raise TypeTransformationError('Unknown proto_type: %s' % proto_type)
/external/tensorflow/tensorflow/core/protobuf/
Dmeta_graph.proto142 // proto_type,
148 // proto_type=variable_pb2.VariableDef,
/external/tensorflow/tensorflow/contrib/meta_graph_transform/
Dmeta_graph_transform.py616 proto_type = _ops.get_collection_proto_type(collection_key)
619 proto = proto_type()
/external/tensorflow/tensorflow/python/training/
Dqueue_runner_impl.py470 proto_type=queue_runner_pb2.QueueRunnerDef,
Dsaver.py2066 proto_type=saver_pb2.SaverDef,
/external/tensorflow/tensorflow/contrib/training/python/training/
Dhparam.py701 proto_type=hparam_pb2.HParamDef,
/external/tensorflow/tensorflow/docs_src/api_guides/python/
Dmeta_graph.md68 proto_type=variable_pb2.VariableDef,
/external/flatbuffers/src/
Didl_parser.cpp1952 struct type_lookup { const char *proto_type; BaseType fb_type, element; }; in ParseTypeFromProtoType() member
1971 for (auto tl = lookup; tl->proto_type; tl++) { in ParseTypeFromProtoType()
1972 if (attribute_ == tl->proto_type) { in ParseTypeFromProtoType()
/external/protobuf/php/ext/google/protobuf/
Dupb.h635 #define FUNCS(name, membername, type_t, converter, proto_type) \ argument
638 SET_TYPE(val->ctype, proto_type); \
646 assert(val.ctype == proto_type); \
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h846 #define FUNCS(name, membername, type_t, converter, proto_type) \
849 SET_TYPE(val->ctype, proto_type); \
857 assert(val.ctype == proto_type); \