Home
last modified time | relevance | path

Searched refs:frag (Results 1 – 4 of 4) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
Dl2cap_cmn.c80 L2capFragmentationPacket *frag = NULL; in L2capRecombineStart() local
91 frag = ListGetNodeData(node); in L2capRecombineStart()
92 if (frag->handle == handle) { in L2capRecombineStart()
93 ListRemoveNode(g_fragmentationList, frag); in L2capRecombineStart()
94 PacketFree(frag->pkt); in L2capRecombineStart()
95 L2capFree(frag); in L2capRecombineStart()
103 frag = L2capAlloc(sizeof(L2capFragmentationPacket)); in L2capRecombineStart()
104 if (frag == NULL) { in L2capRecombineStart()
109 frag->handle = handle; in L2capRecombineStart()
110 frag->length = length; in L2capRecombineStart()
[all …]
Dl2cap_le.c604 Packet *frag = NULL; in L2capLeSegmentPacketWithCredit() local
613 frag = PacketMalloc(0, 0, 0); in L2capLeSegmentPacketWithCredit()
614 int remainLength = PacketFragment(pkt, frag, chan->rcfg.mps); in L2capLeSegmentPacketWithCredit()
616 fragPkt = PacketInheritMalloc(frag, headerLength, 0); in L2capLeSegmentPacketWithCredit()
617 PacketFree(frag); in L2capLeSegmentPacketWithCredit()
Dl2cap_core.c952 Packet *frag = NULL; in L2capSendIFrame() local
955 frag = PacketMalloc(0, 0, 0); in L2capSendIFrame()
956 int remainLength = PacketFragment(pkt, frag, chan->rcfg.rfc.mps); in L2capSendIFrame()
958 ipkt = L2capBuildIFrame(chan, frag, sar, length); in L2capSendIFrame()
959 PacketFree(frag); in L2capSendIFrame()
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/
Dopengl_wrapper_native_test.cpp108 static GLuint CreateAndLinkProgram(GLuint vert, GLuint frag) in CreateAndLinkProgram() argument
114 glAttachShader(program, frag); in CreateAndLinkProgram()
129 GLuint frag = CreateShader(gFragShaderText, GL_FRAGMENT_SHADER); in SetUpGl() local
131 gProgram = CreateAndLinkProgram(vert, frag); in SetUpGl()
134 glDeleteShader(frag); in SetUpGl()