/external/ltp/testcases/kernel/syscalls/socket/ |
socket01.c | 38 int proto; member in struct:test_case_t 59 TEST(fd = socket(tc->domain, tc->type, tc->proto));
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
socketpair01.c | 39 int proto; member in struct:test_case_t 63 TEST(socketpair(tc->domain, tc->type, tc->proto, tc->sv));
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/ |
rpc_clnt_create_stress.c | 50 char proto[8] = "tcp"; local 58 clnt = clnt_create(argc[1], progNum, VERSNUM, proto);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_destroy/ |
rpc_clnt_destroy_stress.c | 50 char *proto = "tcp"; local 58 clnt = clnt_create(argc[1], progNum, VERSNUM, proto);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/ |
rpc_clnt_call.c | 49 char proto[8] = "udp"; local 61 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); 66 printf("Proto : %s\n", proto);
|
rpc_clnt_call_stress.c | 50 char proto[8] = "udp"; local 65 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); 70 printf("Proto : %s\n", proto);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_freeres/ |
rpc_clnt_freeres.c | 49 char proto[8] = "udp"; local 60 clnt = clnt_create(argc[1], progNum, VERSNUM, proto); 65 printf("Proto : %s\n", proto);
|
/external/perf_data_converter/src/quipper/ |
perf_stat_parser_test.cc | 51 PerfStatProto proto; local 52 ASSERT_FALSE(ParsePerfStatOutputToProto(kInvalidInput, &proto)); 57 PerfStatProto proto; local 58 ASSERT_TRUE(ParsePerfStatOutputToProto(kSmallInput, &proto)); 60 ASSERT_EQ(proto.line_size(), 2); 62 const auto& line1 = proto.line(0); 67 const auto& line2 = proto.line(1); 93 PerfStatProto proto; local 94 ASSERT_TRUE(ParsePerfStatOutputToProto(kFullInput, &proto)); 96 ASSERT_EQ(proto.line_size(), 4) 120 PerfStatProto proto; local [all...] |
/external/perfetto/src/tracing/core/ |
trace_packet_unittest.cc | 51 protos::TracePacket proto; local 52 proto.mutable_for_testing()->set_str("string field"); 53 std::string ser_buf = proto.SerializeAsString(); 64 ASSERT_EQ(proto.for_testing().str(), decoded_packet.for_testing().str()); 68 protos::TracePacket proto; local 69 proto.mutable_for_testing()->set_str( 71 std::string ser_buf = proto.SerializeAsString(); 95 ASSERT_EQ(proto.for_testing().str(), decoded_packet.for_testing().str()); 99 protos::TracePacket proto; local 100 proto.mutable_for_testing()->set_str("string field") [all...] |
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
EnumDescriptor.cs | 39 /// Descriptor for an enum type in a .proto file. 43 private readonly EnumDescriptorProto proto; field in class:Google.Protobuf.Reflection.EnumDescriptor 48 internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int index, Type clrType) 49 : base(file, file.ComputeFullName(parent, proto.Name), index) 51 this.proto = proto; 55 if (proto.Value.Count == 0) 62 values = DescriptorUtil.ConvertAndMakeReadOnly(proto.Value, 68 internal EnumDescriptorProto Proto { get { return proto; } } [all...] |
MethodDescriptor.cs | 40 private readonly MethodDescriptorProto proto; field in class:Google.Protobuf.Reflection.MethodDescriptor 63 public bool IsClientStreaming { get { return proto.ClientStreaming; } } 68 public bool IsServerStreaming { get { return proto.ServerStreaming; } } 70 internal MethodDescriptor(MethodDescriptorProto proto, FileDescriptor file, 72 : base(file, parent.FullName + "." + proto.Name, index) 74 this.proto = proto; 79 internal MethodDescriptorProto Proto { get { return proto; } } 84 public override string Name { get { return proto.Name; } [all...] |
ServiceDescriptor.cs | 43 private readonly ServiceDescriptorProto proto; field in class:Google.Protobuf.Reflection.ServiceDescriptor 46 internal ServiceDescriptor(ServiceDescriptorProto proto, FileDescriptor file, int index) 47 : base(file, file.ComputeFullName(null, proto.Name), index) 49 this.proto = proto; 50 methods = DescriptorUtil.ConvertAndMakeReadOnly(proto.Method, 59 public override string Name { get { return proto.Name; } } 61 internal ServiceDescriptorProto Proto { get { return proto; } }
|
/external/python/cpython2/Modules/_sqlite/ |
microprotocols.c | 55 pysqlite_microprotocols_add(PyTypeObject *type, PyObject *proto, PyObject *cast) 60 if (proto == NULL) proto = (PyObject*)&pysqlite_PrepareProtocolType; 62 key = Py_BuildValue("(OO)", (PyObject*)type, proto); 76 pysqlite_microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt) 85 key = Py_BuildValue("(OO)", (PyObject*)obj->ob_type, proto); 97 if (PyObject_HasAttrString(proto, "__adapt__")) { 98 PyObject *adapted = PyObject_CallMethod(proto, "__adapt__", "O", obj); 113 PyObject *adapted = PyObject_CallMethod(obj, "__conform__","O", proto); 138 PyObject *proto = (PyObject*)&pysqlite_PrepareProtocolType local [all...] |
/external/python/cpython3/Modules/_sqlite/ |
microprotocols.c | 55 pysqlite_microprotocols_add(PyTypeObject *type, PyObject *proto, PyObject *cast) 60 if (proto == NULL) proto = (PyObject*)&pysqlite_PrepareProtocolType; 62 key = Py_BuildValue("(OO)", (PyObject*)type, proto); 76 pysqlite_microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt) 85 key = Py_BuildValue("(OO)", (PyObject*)obj->ob_type, proto); 97 if (PyObject_HasAttrString(proto, "__adapt__")) { 99 PyObject *adapted = _PyObject_CallMethodId(proto, &PyId___adapt__, "O", obj); 116 PyObject *adapted = _PyObject_CallMethodId(obj, &PyId___conform__,"O", proto); 142 PyObject *proto = (PyObject*)&pysqlite_PrepareProtocolType local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderMethodReference.java | 42 @Nonnull final BuilderMethodProtoReference proto; field in class:BuilderMethodReference 47 @Nonnull BuilderMethodProtoReference proto) { 50 this.proto = proto; 62 return proto.parameterTypes; 66 return proto.returnType.getType();
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter5/ |
ast.ml | 25 (* proto - This type represents the "prototype" for a function, which captures 28 type proto = Prototype of string * string array type 31 type func = Function of proto * expr
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter6/ |
ast.ml | 28 (* proto - This type represents the "prototype" for a function, which captures 31 type proto = type 36 type func = Function of proto * expr
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/ |
ast.ml | 31 (* proto - This type represents the "prototype" for a function, which captures 34 type proto = type 39 type func = Function of proto * expr
|
/external/syslinux/gpxe/src/include/gpxe/ |
ipoib.h | 34 uint16_t proto; member in struct:ipoib_hdr
|
/external/tcpdump/ |
print-mobile.c | 54 uint16_t proto; member in struct:mobile_ip 70 u_short proto,crc; local 81 proto = EXTRACT_16BITS(&mob->proto); 83 if (proto & OSRC_PRES) { 96 ND_PRINT((ndo, "(oproto=%d)", proto>>8));
|
/external/tensorflow/tensorflow/compiler/aot/ |
compile.cc | 104 string proto; local 105 TF_RET_CHECK(SerializeToStringDeterministic(*module, &proto)); 107 WriteStringToFile(Env::Default(), flags.out_session_module, proto)); local
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_sharding_test.cc | 150 OpSharding proto; local 151 proto.set_type(OpSharding::Type::OpSharding_Type_TUPLE); 152 *proto.add_tuple_shardings() = HloSharding::Replicate().ToProto(); 153 *proto.add_tuple_shardings() = HloSharding::AssignDevice(0).ToProto(); 154 *proto.add_tuple_shardings() = tiled_sharding.ToProto(); 156 HloSharding::FromProto(proto).ConsumeValueOrDie();
|
/external/tensorflow/tensorflow/core/framework/ |
resource_handle.cc | 24 ResourceHandle::ResourceHandle(const ResourceHandleProto& proto) { 25 FromProto(proto); 30 void ResourceHandle::AsProto(ResourceHandleProto* proto) const { 31 proto->set_device(device()); 32 proto->set_container(container()); 33 proto->set_name(name()); 34 proto->set_hash_code(hash_code()); 35 proto->set_maybe_type_name(maybe_type_name()); 38 void ResourceHandle::FromProto(const ResourceHandleProto& proto) { 39 set_device(proto.device()) 47 ResourceHandleProto proto; local 53 ResourceHandleProto proto; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
parse_tensor_op.cc | 44 TensorProto proto; variable 45 OP_REQUIRES(ctx, ParseProtoUnlimited(&proto, serialized_t()), 52 proto, ctx->output_alloc_attr(0), &output)); 76 TensorProto proto; variable 78 tensor.AsProtoField(&proto); 80 tensor.AsProtoTensorContent(&proto); 85 CHECK(proto.SerializeToString(&proto_string->scalar<string>()()));
|
/external/tensorflow/tensorflow/core/platform/ |
tensor_coding.cc | 72 ResourceHandleProto proto; local 74 p[i].AsProto(&proto); 75 core::PutVarint32(out, proto.ByteSize()); 76 proto.AppendToString(&rest); 92 ResourceHandleProto proto; local 94 if (!proto.ParseFromArray(reader.data(), sizes[i])) { 97 ps[i].FromProto(proto);
|