Home
last modified time | relevance | path

Searched refs:rcv (Results 1 – 25 of 48) sorted by relevance

12

/external/flatbuffers/tests/optional_scalars/
DScalarStuff.go114 func (rcv *ScalarStuff) UnPackTo(t *ScalarStuffT) {
115 t.JustI8 = rcv.JustI8()
116 t.MaybeI8 = rcv.MaybeI8()
117 t.DefaultI8 = rcv.DefaultI8()
118 t.JustU8 = rcv.JustU8()
119 t.MaybeU8 = rcv.MaybeU8()
120 t.DefaultU8 = rcv.DefaultU8()
121 t.JustI16 = rcv.JustI16()
122 t.MaybeI16 = rcv.MaybeI16()
123 t.DefaultI16 = rcv.DefaultI16()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DMonster.go326 func (rcv *Monster) UnPackTo(t *MonsterT) {
327 t.Pos = rcv.Pos(nil).UnPack()
328 t.Mana = rcv.Mana()
329 t.Hp = rcv.Hp()
330 t.Name = string(rcv.Name())
331 t.Inventory = rcv.InventoryBytes()
332 t.Color = rcv.Color()
334 if rcv.Test(&testTable) {
335 t.Test = rcv.TestType().UnPack(testTable)
337 test4Length := rcv.Test4Length()
[all …]
DTypeAliases.go60 func (rcv *TypeAliases) UnPackTo(t *TypeAliasesT) {
61 t.I8 = rcv.I8()
62 t.U8 = rcv.U8()
63 t.I16 = rcv.I16()
64 t.U16 = rcv.U16()
65 t.I32 = rcv.I32()
66 t.U32 = rcv.U32()
67 t.I64 = rcv.I64()
68 t.U64 = rcv.U64()
69 t.F32 = rcv.F32()
[all …]
DVec3.go22 func (rcv *Vec3) UnPackTo(t *Vec3T) {
23 t.X = rcv.X()
24 t.Y = rcv.Y()
25 t.Z = rcv.Z()
26 t.Test1 = rcv.Test1()
27 t.Test2 = rcv.Test2()
28 t.Test3 = rcv.Test3(nil).UnPack()
31 func (rcv *Vec3) UnPack() *Vec3T {
32 if rcv == nil { return nil }
34 rcv.UnPackTo(t)
[all …]
DAbility.go18 func (rcv *Ability) UnPackTo(t *AbilityT) {
19 t.Id = rcv.Id()
20 t.Distance = rcv.Distance()
23 func (rcv *Ability) UnPack() *AbilityT {
24 if rcv == nil { return nil }
26 rcv.UnPackTo(t)
34 func (rcv *Ability) Init(buf []byte, i flatbuffers.UOffsetT) {
35 rcv._tab.Bytes = buf
36 rcv._tab.Pos = i
39 func (rcv *Ability) Table() flatbuffers.Table {
[all …]
DTest.go18 func (rcv *Test) UnPackTo(t *TestT) {
19 t.A = rcv.A()
20 t.B = rcv.B()
23 func (rcv *Test) UnPack() *TestT {
24 if rcv == nil { return nil }
26 rcv.UnPackTo(t)
34 func (rcv *Test) Init(buf []byte, i flatbuffers.UOffsetT) {
35 rcv._tab.Bytes = buf
36 rcv._tab.Pos = i
39 func (rcv *Test) Table() flatbuffers.Table {
[all …]
DStat.go25 func (rcv *Stat) UnPackTo(t *StatT) {
26 t.Id = string(rcv.Id())
27 t.Val = rcv.Val()
28 t.Count = rcv.Count()
31 func (rcv *Stat) UnPack() *StatT {
32 if rcv == nil { return nil }
34 rcv.UnPackTo(t)
56 func (rcv *Stat) Init(buf []byte, i flatbuffers.UOffsetT) {
57 rcv._tab.Bytes = buf
58 rcv._tab.Pos = i
[all …]
DStructOfStructs.go19 func (rcv *StructOfStructs) UnPackTo(t *StructOfStructsT) {
20 t.A = rcv.A(nil).UnPack()
21 t.B = rcv.B(nil).UnPack()
22 t.C = rcv.C(nil).UnPack()
25 func (rcv *StructOfStructs) UnPack() *StructOfStructsT {
26 if rcv == nil { return nil }
28 rcv.UnPackTo(t)
36 func (rcv *StructOfStructs) Init(buf []byte, i flatbuffers.UOffsetT) {
37 rcv._tab.Bytes = buf
38 rcv._tab.Pos = i
[all …]
DReferrable.go20 func (rcv *Referrable) UnPackTo(t *ReferrableT) {
21 t.Id = rcv.Id()
24 func (rcv *Referrable) UnPack() *ReferrableT {
25 if rcv == nil { return nil }
27 rcv.UnPackTo(t)
49 func (rcv *Referrable) Init(buf []byte, i flatbuffers.UOffsetT) {
50 rcv._tab.Bytes = buf
51 rcv._tab.Pos = i
54 func (rcv *Referrable) Table() flatbuffers.Table {
55 return rcv._tab
[all …]
DTestSimpleTableWithEnum.go20 func (rcv *TestSimpleTableWithEnum) UnPackTo(t *TestSimpleTableWithEnumT) {
21 t.Color = rcv.Color()
24 func (rcv *TestSimpleTableWithEnum) UnPack() *TestSimpleTableWithEnumT {
25 if rcv == nil { return nil }
27 rcv.UnPackTo(t)
49 func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT) {
50 rcv._tab.Bytes = buf
51 rcv._tab.Pos = i
54 func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table {
55 return rcv._tab
[all …]
DStructOfStructsOfStructs.go17 func (rcv *StructOfStructsOfStructs) UnPackTo(t *StructOfStructsOfStructsT) {
18 t.A = rcv.A(nil).UnPack()
21 func (rcv *StructOfStructsOfStructs) UnPack() *StructOfStructsOfStructsT {
22 if rcv == nil { return nil }
24 rcv.UnPackTo(t)
32 func (rcv *StructOfStructsOfStructs) Init(buf []byte, i flatbuffers.UOffsetT) {
33 rcv._tab.Bytes = buf
34 rcv._tab.Pos = i
37 func (rcv *StructOfStructsOfStructs) Table() flatbuffers.Table {
38 return rcv._tab.Table
[all …]
/external/flatbuffers/tests/namespace_test/NamespaceA/
DTableInFirstNS.go35 func (rcv *TableInFirstNS) UnPackTo(t *TableInFirstNST) {
36 t.FooTable = rcv.FooTable(nil).UnPack()
37 t.FooEnum = rcv.FooEnum()
39 if rcv.FooUnion(&fooUnionTable) {
40 t.FooUnion = rcv.FooUnionType().UnPack(fooUnionTable)
42 t.FooStruct = rcv.FooStruct(nil).UnPack()
45 func (rcv *TableInFirstNS) UnPack() *TableInFirstNST {
46 if rcv == nil { return nil }
48 rcv.UnPackTo(t)
70 func (rcv *TableInFirstNS) Init(buf []byte, i flatbuffers.UOffsetT) {
[all …]
DSecondTableInA.go23 func (rcv *SecondTableInA) UnPackTo(t *SecondTableInAT) {
24 t.ReferToC = rcv.ReferToC(nil).UnPack()
27 func (rcv *SecondTableInA) UnPack() *SecondTableInAT {
28 if rcv == nil { return nil }
30 rcv.UnPackTo(t)
52 func (rcv *SecondTableInA) Init(buf []byte, i flatbuffers.UOffsetT) {
53 rcv._tab.Bytes = buf
54 rcv._tab.Pos = i
57 func (rcv *SecondTableInA) Table() flatbuffers.Table {
58 return rcv._tab
[all …]
DTableInC.go12 func (rcv *TableInC) Init(buf []byte, i flatbuffers.UOffsetT) {
13 rcv._tab.Bytes = buf
14 rcv._tab.Pos = i
17 func (rcv *TableInC) ReferToA1(obj *TableInFirstNS) *TableInFirstNS {
18 o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
20 x := rcv._tab.Indirect(o + rcv._tab.Pos)
24 obj.Init(rcv._tab.Bytes, x)
30 func (rcv *TableInC) ReferToA2(obj *SecondTableInA) *SecondTableInA {
31 o := flatbuffers.UOffsetT(rcv._tab.Offset(6))
33 x := rcv._tab.Indirect(o + rcv._tab.Pos)
[all …]
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.go18 func (rcv *StructInNestedNS) UnPackTo(t *StructInNestedNST) {
19 t.A = rcv.A()
20 t.B = rcv.B()
23 func (rcv *StructInNestedNS) UnPack() *StructInNestedNST {
24 if rcv == nil { return nil }
26 rcv.UnPackTo(t)
34 func (rcv *StructInNestedNS) Init(buf []byte, i flatbuffers.UOffsetT) {
35 rcv._tab.Bytes = buf
36 rcv._tab.Pos = i
39 func (rcv *StructInNestedNS) Table() flatbuffers.Table {
[all …]
DTableInNestedNS.go20 func (rcv *TableInNestedNS) UnPackTo(t *TableInNestedNST) {
21 t.Foo = rcv.Foo()
24 func (rcv *TableInNestedNS) UnPack() *TableInNestedNST {
25 if rcv == nil { return nil }
27 rcv.UnPackTo(t)
49 func (rcv *TableInNestedNS) Init(buf []byte, i flatbuffers.UOffsetT) {
50 rcv._tab.Bytes = buf
51 rcv._tab.Pos = i
54 func (rcv *TableInNestedNS) Table() flatbuffers.Table {
55 return rcv._tab
[all …]
/external/flatbuffers/tests/namespace_test/NamespaceC/
DTableInC.go26 func (rcv *TableInC) UnPackTo(t *TableInCT) {
27 t.ReferToA1 = rcv.ReferToA1(nil).UnPack()
28 t.ReferToA2 = rcv.ReferToA2(nil).UnPack()
31 func (rcv *TableInC) UnPack() *TableInCT {
32 if rcv == nil { return nil }
34 rcv.UnPackTo(t)
56 func (rcv *TableInC) Init(buf []byte, i flatbuffers.UOffsetT) {
57 rcv._tab.Bytes = buf
58 rcv._tab.Pos = i
61 func (rcv *TableInC) Table() flatbuffers.Table {
[all …]
/external/bazelbuild-rules_android/src/tools/ak/res/respipe/
Dstreams_test.go38 var rcv []*res.PathInfo
40 rcv = append(rcv, p)
42 if len(rcv) != 2 {
43 t.Errorf("got: %v on merged stream, wanted only 2 elements", rcv)
58 var rcv []*rdpb.Resource
60 rcv = append(rcv, r)
62 if len(rcv) != 2 {
63 t.Errorf("got: %v on merged stream, wanted only 2 elements", rcv)
78 var rcv []error
80 rcv = append(rcv, r)
[all …]
/external/scapy/scapy/modules/
Dnmap.py107 def nmap_udppacket_sig(snd, rcv): argument
109 if rcv is None:
112 res["DF"] = "Y" if rcv.flags.DF else "N"
113 res["TOS"] = "%X" % rcv.tos
114 res["IPLEN"] = "%X" % rcv.len
115 res["RIPTL"] = "%X" % rcv.payload.payload.len
116 res["RID"] = "E" if snd.id == rcv[IPerror].id else "F"
117 res["RIPCK"] = "E" if snd.chksum == rcv[IPerror].chksum else (
118 "0" if rcv[IPerror].chksum == 0 else "F"
120 res["UCK"] = "E" if snd.payload.chksum == rcv[UDPerror].chksum else (
[all …]
/external/flatbuffers/grpc/examples/go/greeter/models/
DHelloRequest.go27 func (rcv *HelloRequest) Init(buf []byte, i flatbuffers.UOffsetT) {
28 rcv._tab.Bytes = buf
29 rcv._tab.Pos = i
32 func (rcv *HelloRequest) Table() flatbuffers.Table {
33 return rcv._tab
36 func (rcv *HelloRequest) Name() []byte {
37 o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
39 return rcv._tab.ByteVector(o + rcv._tab.Pos)
DHelloReply.go27 func (rcv *HelloReply) Init(buf []byte, i flatbuffers.UOffsetT) {
28 rcv._tab.Bytes = buf
29 rcv._tab.Pos = i
32 func (rcv *HelloReply) Table() flatbuffers.Table {
33 return rcv._tab
36 func (rcv *HelloReply) Message() []byte {
37 o := flatbuffers.UOffsetT(rcv._tab.Offset(4))
39 return rcv._tab.ByteVector(o + rcv._tab.Pos)
/external/flatbuffers/tests/MyGame/
DInParentNamespace.go18 func (rcv *InParentNamespace) UnPackTo(t *InParentNamespaceT) {
21 func (rcv *InParentNamespace) UnPack() *InParentNamespaceT {
22 if rcv == nil { return nil }
24 rcv.UnPackTo(t)
46 func (rcv *InParentNamespace) Init(buf []byte, i flatbuffers.UOffsetT) {
47 rcv._tab.Bytes = buf
48 rcv._tab.Pos = i
51 func (rcv *InParentNamespace) Table() flatbuffers.Table {
52 return rcv._tab
/external/flatbuffers/tests/MyGame/Example2/
DMonster.go18 func (rcv *Monster) UnPackTo(t *MonsterT) {
21 func (rcv *Monster) UnPack() *MonsterT {
22 if rcv == nil { return nil }
24 rcv.UnPackTo(t)
46 func (rcv *Monster) Init(buf []byte, i flatbuffers.UOffsetT) {
47 rcv._tab.Bytes = buf
48 rcv._tab.Pos = i
51 func (rcv *Monster) Table() flatbuffers.Table {
52 return rcv._tab
/external/linux-kselftest/tools/testing/selftests/net/
Drxtimestamp.c175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv() argument
198 r = recvmsg(rcv, &hdr, flags); in do_recv()
254 void config_so_flags(int rcv, struct options o) in config_so_flags() argument
258 if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) in config_so_flags()
262 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMP, in config_so_flags()
267 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPNS, in config_so_flags()
272 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPING, in config_so_flags()
286 int src, dst, rcv, port; in run_test_case() local
326 rcv = accept(dst, NULL, NULL); in run_test_case()
327 if (rcv < 0) in run_test_case()
[all …]
/external/python/pyee/tests/
Dtest_trio.py68 send, rcv = trio.open_memory_channel(1)
83 async with rcv:
84 result = await rcv.__anext__()
94 send, rcv = trio.open_memory_channel(1)
109 async with rcv:
110 result = await rcv.__anext__()

12