Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 25 of 68) sorted by relevance

123

/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnetbuf_adapter.c157 return nb; in NetBufQueueDequeue()
169 return nb; in NetBufQueueDequeue()
183 return nb; in NetBufQueueDequeueTail()
195 return nb; in NetBufQueueDequeueTail()
289 nb = (NetBuf *)LOS_MemAlloc(m_aucSysMem0, sizeof(*nb)); in NetBufAlloc()
310 nb->mem = data; in NetBufAlloc()
320 return nb; in NetBufAlloc()
485 return (nb->mem + nb->bufs[id].offset); in NetBufGetAddress()
576 nb->bufs[E_DATA_BUF].len = nb->dataLen; in NetBufResizeRoom()
606 uint8_t *dst = nb->mem + nb->bufs[E_TAIL_BUF].offset; in NetBufConcat()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnetbuf_adapter.c159 return nb; in NetBufQueueDequeue()
171 return nb; in NetBufQueueDequeue()
185 return nb; in NetBufQueueDequeueTail()
197 return nb; in NetBufQueueDequeueTail()
291 nb = (NetBuf *)LOS_MemAlloc(m_aucSysMem0, sizeof(*nb)); in NetBufAlloc()
312 nb->mem = data; in NetBufAlloc()
322 return nb; in NetBufAlloc()
487 return (nb->mem + nb->bufs[id].offset); in NetBufGetAddress()
578 nb->bufs[E_DATA_BUF].len = nb->dataLen; in NetBufResizeRoom()
608 uint8_t *dst = nb->mem + nb->bufs[E_TAIL_BUF].offset; in NetBufConcat()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/network/src/
H A Dnetbuf_adapter.c200 kfree_skb(nb); in NetBufFree()
214 if (nb == NULL) { in NetBufGetDataLen()
217 return nb->len; in NetBufGetDataLen()
261 if (nb == NULL) { in NetBufPush()
274 if (unlikely(len > nb->len) || unlikely(len > nb->tail)) { in NetBufPush()
285 return nb->data; in NetBufPush()
310 if (nb == NULL) { in NetBufPop()
337 return nb->data; in NetBufPop()
355 if (nb == NULL) { in NetBufGetAddress()
401 0 : (skb_tail_pointer(nb) - nb->data); in NetBufGetRoom()
[all …]
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/net/
H A Dhdf_netbuf_test.c34 if (nb == NULL) { in HdfNetBufTest001()
38 NetBufFree(nb); in HdfNetBufTest001()
51 if (nb == NULL) { in HdfNetBufTest002()
54 NetBufFree(nb); in HdfNetBufTest002()
68 if (nb == NULL) { in HdfNetBufTest003()
85 NetBufFree(nb); in HdfNetBufTest003()
127 NetBufFree(nb);
164 NetBufFree(nb);
200 NetBufFree(nb);
241 NetBufFree(nb);
[all …]
/ohos5.0/drivers/hdf_core/framework/include/net/
H A Dhdf_netbuf.h92 void NetBufQueueEnqueue(NetBufQueue *q, NetBuf *nb);
103 void NetBufQueueEnqueueHead(NetBufQueue *q, NetBuf *nb);
199 void NetBufFree(NetBuf *nb);
237 void *NetBufPush(NetBuf *nb, uint32_t id, uint32_t len);
260 void *NetBufPop(NetBuf *nb, uint32_t id, uint32_t len);
274 uint8_t *NetBufGetAddress(const NetBuf *nb, uint32_t id);
288 uint32_t NetBufGetRoom(const NetBuf *nb, uint32_t id);
300 uint32_t NetBufGetDataLen(const NetBuf *nb);
317 int32_t NetBufResizeRoom(NetBuf *nb, uint32_t head, uint32_t tail);
330 int32_t NetBufConcat(NetBuf *nb, NetBuf *cnb);
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/
H A Dgeometry_path_storage.h164 uint32_t nb = idx >> BLOCK_SCALE_SHIFT; in GenerateVertex() local
165 const float* pv = croodBlocks_[nb] + ((idx & BLOCK_SCALE_MASK) << 1); in GenerateVertex()
168 return cmdBlocks_[nb][idx & BLOCK_SCALE_MASK]; in GenerateVertex()
183 void AllocateBlock(uint32_t nb) in AllocateBlock() argument
185 if (nb >= maxBlocks_) { in AllocateBlock()
209 croodBlocks_[nb] = GeometryArrayAllocator<float>::Allocate( in AllocateBlock()
212 cmdBlocks_[nb] = (uint8_t*)(croodBlocks_[nb] + BLOCK_SCALE_SIZE * TWO_TIMES); in AllocateBlock()
218 uint32_t nb = totalVertices_ >> BLOCK_SCALE_SHIFT; in StoragePtrs() local
219 if (nb >= totalBlocks_) { in StoragePtrs()
220 AllocateBlock(nb); in StoragePtrs()
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_cells_antialias.cpp470 uint32_t nb = numCells_; in SortAllCells() local
472 while (nb) { in SortAllCells()
474 i = (nb > CELL_BLOCK_SIZE) ? uint32_t(CELL_BLOCK_SIZE) : nb; in SortAllCells()
475 nb -= i; in SortAllCells()
496 nb = numCells_; in SortAllCells()
497 while (nb) { in SortAllCells()
499 i = (nb > CELL_BLOCK_SIZE) ? uint32_t(CELL_BLOCK_SIZE) : nb; in SortAllCells()
500 nb -= i; in SortAllCells()
/ohos5.0/foundation/multimedia/image_effect/test/unittest/utils/
H A Dtest_native_buffer_utils.cpp46 std::shared_ptr<OH_NativeBuffer> pNativeBuffer(nativeBuffer, [](OH_NativeBuffer *nb) { in CreateNativeBuffer() argument
47 OH_NativeBuffer_Unreference(nb); in CreateNativeBuffer()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/manager/src/
H A Ddevmgr_pm_reg.c58 static int DevmgrPmNotifier(struct notifier_block *nb, unsigned long mode, void *data) in DevmgrPmNotifier() argument
61 (void)nb; in DevmgrPmNotifier()
H A Dhdf_kevent.c214 static int32_t KeventPmNotifierFn(struct notifier_block *nb, unsigned long action, void *dummy) in KeventPmNotifierFn() argument
222 keventModule = CONTAINER_OF(nb, struct HdfKeventModule, keventPmNotifier); in KeventPmNotifierFn()
246 static int32_t KeventFbNotifierFn(struct notifier_block *nb, unsigned long event, void *data) in KeventFbNotifierFn() argument
263 keventModule = CONTAINER_OF(nb, struct HdfKeventModule, fbNotifier); in KeventFbNotifierFn()
/ohos5.0/drivers/hdf_core/framework/model/network/common/netdevice/
H A Dnet_device.c593 NetBuf *nb = NULL; in NetBufDevAlloc() local
601 nb = NetBufAlloc(size); in NetBufDevAlloc()
602 if (nb == NULL) { in NetBufDevAlloc()
607 nb->dev = (void *)dev; in NetBufDevAlloc()
608 NetBufPop(nb, E_TAIL_BUF, dev->neededHeadRoom); in NetBufDevAlloc()
609 NetBufPop(nb, E_DATA_BUF, dev->neededHeadRoom); in NetBufDevAlloc()
612 return nb; in NetBufDevAlloc()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dunordered_map.h293 auto nb = allocate(b->data); variable
295 last = buckets_[ind] = nb;
297 nb->prev = last;
298 last = last->next = nb;
508 auto nb = allocate(b->data); variable
510 last = buckets_[ind] = nb;
512 nb->prev = last;
513 last = last->next = nb;
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Dinteger.rs176 ($fb: literal, $mask: literal $(, $nb: literal => $nb_res: expr)* $(,)?) => { in ut_integer_decode()
179 $(match int.next_byte($nb) { in ut_integer_decode()
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/include/
H A Dnetbuf_adapter.h156 struct pbuf *NetBuf2Pbuf(const NetBuf *nb);
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/include/
H A Dnetbuf_adapter.h156 struct pbuf *NetBuf2Pbuf(const NetBuf *nb);
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/resource/
H A Dlocales.txt340 nb
341 nb-NO
342 nb-SJ
H A Dplural.txt46 nb "", "= 1", "", "", "", ""
H A DdecimalPlurals.txt46 nb "", "", "", "", "", ""
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_status.c245 uint32_t nb = 0; in ReadFile() local
265 nb = CertManagerFileRead(CERT_STATUS_DIR, file, 0, buf, sz); in ReadFile()
266 if (nb != sz) { in ReadFile()
267 CM_LOG_W("Failed to read status file: %u bytes expected but only has %u\n", sz, nb); in ReadFile()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-external-des.md141 | void&nbsp;NetBufFree(struct&nbsp;NetBuf&nbsp;\*nb) | 释放NetBuf。 |
143 …| struct&nbsp;pbuf&nbsp;\*NetBuf2Pbuf(const&nbsp;struct&nbsp;NetBuf&nbsp;\*nb) | NetBuf转换为lwip的pbu…
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-external-des.md141 | void&nbsp;NetBufFree(struct&nbsp;NetBuf&nbsp;\*nb) | Releases a **NetBuf**.|
143 …| struct&nbsp;pbuf&nbsp;\*NetBuf2Pbuf(const&nbsp;struct&nbsp;NetBuf&nbsp;\*nb) | Converts a **NetB…
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_hls/
H A Dout001.ts240 �U���4�沒�q�ɡ�tE�s ��7�723g�0K3��I�nr<���*t�!��T�����N�'"}���M�Rm��T�nb:o*LZp++���
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/720_1M/
H A Dvideo_8.ts822 …��3��wV?[m$�nw.^�E���1��1�D���_)@v�R|"�;HF#-_l��O�u���$��}��O�P��f��ud�nb�1�R5ʳz\���d��q���_J…
1874 …��/�%yK����ݿ Ǔ|����8�;>���CnF�G��@�n1���:�^g�)H `r � �Խ��7f�j�4�nb��d��� t�k[����\�*�…
2330 …r*����o�Ee"S!~�S�Z�n�����UG�i1���c�Ή�,dȑ�#2�G�bHݼ�J0̌�?ݱ�<�GSC0���nb����=#�綾���Y��F�)��…
/ohos5.0/docs/zh-cn/application-dev/database/
H A Duniform-data-type-list.md431 …eneral.text | .nb
/ohos5.0/foundation/multimedia/image_framework/test/resource/image/images/
H A Dtest.raf Error!