Home
last modified time | relevance | path

Searched refs:pbuf (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_image_util.cpp54 auto pbuf = new (std::nothrow) uint8_t [size]; in PackImage() local
55 if (pbuf == nullptr) { in PackImage()
60 imagePacker.StartPacking(pbuf, size, option); in PackImage()
66 std::string pixelMapStr(reinterpret_cast<char*>(pbuf), static_cast<size_t>(packedSize)); in PackImage()
67 delete [] pbuf; in PackImage()
68 pbuf = nullptr; in PackImage()
/ohos5.0/drivers/liteos/hievent/src/
H A Dhiview_hievent.c78 static int HiviewHieventConvertString(struct HiviewHievent *event, char **pbuf);
384 static int HiviewHieventFillPayload(struct HiviewHievent *event, char **pbuf, in HiviewHieventFillPayload() argument
430 static int HiviewHieventConvertString(struct HiviewHievent *event, char **pbuf) in HiviewHieventConvertString() argument
439 *pbuf = NULL; in HiviewHieventConvertString()
467 len = HiviewHieventFillPayload(event, pbuf, tmp, len); in HiviewHieventConvertString()
468 *pbuf = buf; in HiviewHieventConvertString()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/include/
H A Dnetbuf_adapter.h144 NetBuf *Pbuf2NetBuf(const struct NetDevice *netdev, struct pbuf *lwipBuf);
156 struct pbuf *NetBuf2Pbuf(const NetBuf *nb);
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/include/
H A Dnetbuf_adapter.h144 NetBuf *Pbuf2NetBuf(const struct NetDevice *netdev, struct pbuf *lwipBuf);
156 struct pbuf *NetBuf2Pbuf(const NetBuf *nb);
/ohos5.0/base/msdp/device_status/services/native/src/
H A Ddevicestatus_dumper.cpp64 char *pbuf = buf + len; in ParseCommand() local
73 args[index].copy(pbuf, args[index].size()); in ParseCommand()
74 pbuf[args[index].size()] = '\0'; in ParseCommand()
76 argv[index + 1] = pbuf; in ParseCommand()
77 pbuf += len; in ParseCommand()
/ohos5.0/base/msdp/device_status/utils/common/src/
H A Dutility.cpp207 struct passwd *pbuf = nullptr; in ShowUserAndGroup() local
213 if (getpwuid_r(uid, &buf, buffer, sizeof(buffer), &pbuf) != 0) { in ShowUserAndGroup()
227 if (getpwuid_r(uid, &buf, buffer, sizeof(buffer), &pbuf) != 0) { in ShowUserAndGroup()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnet_device_adapter.c88 static struct NetBuf *ConverPbuffToNetBuf(const NetDevice *netDev, struct pbuf *lwipBuf) in ConverPbuffToNetBuf()
97 static struct pbuf *ConverNetBufToPBuf(const struct NetBuf *netBuff) in ConverNetBufToPBuf()
106 static int32_t LwipSendCheck(struct netif *netif, const struct pbuf *lwipBuf) in LwipSendCheck()
120 static void LwipSend(struct netif *netif, struct pbuf *lwipBuf) in LwipSend()
416 struct pbuf *pBuff = ConverNetBufToPBuf(buff); in LiteNetDevDataReceive()
H A Dnetbuf_adapter.c627 struct pbuf *NetBuf2Pbuf(const NetBuf *nb) in NetBuf2Pbuf()
629 struct pbuf *p = NULL; in NetBuf2Pbuf()
657 NetBuf *Pbuf2NetBuf(const NetDevice *netdev, struct pbuf *lwipBuf) in Pbuf2NetBuf()
660 struct pbuf *tmp = NULL; in Pbuf2NetBuf()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnet_device_adapter.c111 static struct NetBuf *ConverPbuffToNetBuf(const NetDevice *netDev, struct pbuf *lwipBuf) in ConverPbuffToNetBuf()
120 static struct pbuf *ConverNetBufToPBuf(const struct NetBuf *netBuff) in ConverNetBufToPBuf()
129 static int32_t LwipSendCheck(struct netif *netif, const struct pbuf *lwipBuf) in LwipSendCheck()
143 static void LwipSend(struct netif *netif, struct pbuf *lwipBuf) in LwipSend()
455 struct pbuf *pBuff = ConverNetBufToPBuf(buff); in LiteNetDevDataReceive()
H A Dnetbuf_adapter.c625 struct pbuf *NetBuf2Pbuf(const NetBuf *nb) in NetBuf2Pbuf()
627 struct pbuf *p = NULL; in NetBuf2Pbuf()
657 NetBuf *Pbuf2NetBuf(const NetDevice *netdev, struct pbuf *lwipBuf) in Pbuf2NetBuf()
660 struct pbuf *tmp = NULL; in Pbuf2NetBuf()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-external-des.md113 - WLAN驱动模块提供给驱动开发人员可直接调用的能力接口,主要功能有:创建/释放WifiModule、关联/取消关联、申请/释放NetBuf、lwip的pbuf和NetBuf的相互转换等。
142 …&nbsp;struct&nbsp;NetDevice&nbsp;\*netdev,&nbsp;struct&nbsp;pbuf&nbsp;\*lwipBuf) | lwip的pbuf转换为Net…
143 …| struct&nbsp;pbuf&nbsp;\*NetBuf2Pbuf(const&nbsp;struct&nbsp;NetBuf&nbsp;\*nb) | NetBuf转换为lwip的pbu…
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/net/
H A Dhdf_netbuf_test.c407 struct pbuf *lwipBuf = NULL;
436 struct pbuf *lwipBuf = NULL;
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-external-des.md113 … WLAN hotspot, request or release a **NetBuf**, and convert between the **pbuf** struct of Lightwe…
142 …;struct&nbsp;NetDevice&nbsp;\*netdev,&nbsp;struct&nbsp;pbuf&nbsp;\*lwipBuf) | Converts the **pbuf*…
143 …| struct&nbsp;pbuf&nbsp;\*NetBuf2Pbuf(const&nbsp;struct&nbsp;NetBuf&nbsp;\*nb) | Converts a **NetB…