Home
last modified time | relevance | path

Searched refs:IPC_IO_ALIGN (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/src/
H A Dserializer.c26 #define IPC_IO_ALIGN(sz) (((sz) + ALIGN_SZ - 1) & (~(ALIGN_SZ - 1))) macro
75 size = IPC_IO_ALIGN(size); in IoPush()
92 size = IPC_IO_ALIGN(size); in IoPop()
143 … if (memset_s(ptr, IPC_IO_ALIGN(srcUsedBufferSize), 0, IPC_IO_ALIGN(srcUsedBufferSize)) != EOK) { in IpcIoAppend()
147 … if (memcpy_s(ptr, IPC_IO_ALIGN(srcUsedBufferSize), src->bufferBase, srcUsedBufferSize) != EOK) { in IpcIoAppend()
395 if (memset_s(ptr, IPC_IO_ALIGN(len + 1), 0, IPC_IO_ALIGN(len + 1)) != EOK) { in WriteString()
399 if (memcpy_s(ptr, IPC_IO_ALIGN(len + 1), str, len + 1) != EOK) { in WriteString()
694 size_t desireCapacity = IPC_IO_ALIGN(size); in WriteBufferAddTerminator()
749 size_t desireCapacity = IPC_IO_ALIGN(size); in WriteBuffer()
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/linux/
H A Dipc_invoker.c40 #define IPC_IO_ALIGN(sz) (((sz) + ALIGN_SZ - 1) & (~(ALIGN_SZ - 1))) macro
152 buf->btd.offsets_size = IPC_IO_ALIGN(buf->btd.offsets_size); in ToTransData()