/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_image_util.cpp | 54 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 D | hiview_hievent.c | 78 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 D | netbuf_adapter.h | 144 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 D | netbuf_adapter.h | 144 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 D | devicestatus_dumper.cpp | 64 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 D | utility.cpp | 207 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 D | net_device_adapter.c | 88 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 D | netbuf_adapter.c | 627 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 D | net_device_adapter.c | 111 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 D | netbuf_adapter.c | 625 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 D | driver-peripherals-external-des.md | 113 - WLAN驱动模块提供给驱动开发人员可直接调用的能力接口,主要功能有:创建/释放WifiModule、关联/取消关联、申请/释放NetBuf、lwip的pbuf和NetBuf的相互转换等。 142 … struct NetDevice \*netdev, struct pbuf \*lwipBuf) | lwip的pbuf转换为Net… 143 …| struct pbuf \*NetBuf2Pbuf(const struct NetBuf \*nb) | NetBuf转换为lwip的pbu…
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/net/ |
H A D | hdf_netbuf_test.c | 407 struct pbuf *lwipBuf = NULL; 436 struct pbuf *lwipBuf = NULL;
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-peripherals-external-des.md | 113 … WLAN hotspot, request or release a **NetBuf**, and convert between the **pbuf** struct of Lightwe… 142 …;struct NetDevice \*netdev, struct pbuf \*lwipBuf) | Converts the **pbuf*… 143 …| struct pbuf \*NetBuf2Pbuf(const struct NetBuf \*nb) | Converts a **NetB…
|