Home
last modified time | relevance | path

Searched refs:OH_UdsArrayBuffer (Results 1 - 7 of 7) sorted by relevance

/foundation/distributeddatamgr/udmf/interfaces/ndk/data/
H A Duds.h108 typedef struct OH_UdsArrayBuffer OH_UdsArrayBuffer; typedef
630 * @brief Creation a pointer to the instance of the {@link OH_UdsArrayBuffer}.
632 * @return If the operation is successful, a pointer to the instance of the {@link OH_UdsArrayBuffer}
634 * @see OH_UdsArrayBuffer
637 OH_UdsArrayBuffer* OH_UdsArrayBuffer_Create();
640 * @brief Destroy a pointer that points to the {@link OH_UdsArrayBuffer} instance.
642 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
646 * @see OH_UdsArrayBuffer Udmf_ErrCode
649 int OH_UdsArrayBuffer_Destroy(OH_UdsArrayBuffer* buffe
[all...]
H A Dudmf.h416 * @brief Add one {@link OH_UdsArrayBuffer} data to the {@link OH_UdmfRecord} record.
420 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
424 * @see OH_UdmfRecord OH_UdsArrayBuffer Udmf_ErrCode.
427 int OH_UdmfRecord_AddArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer);
549 * @brief Get one {@link OH_UdsArrayBuffer} data from the {@link OH_UdmfRecord} record.
553 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
557 * @see OH_UdmfRecord OH_UdsArrayBuffer Udmf_ErrCode.
560 int OH_UdmfRecord_GetArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer);
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dudmf_capi_common.h84 struct OH_UdsArrayBuffer : public UdsObject { struct
85 OH_UdsArrayBuffer();
H A Duds.cpp104 OH_UdsArrayBuffer::OH_UdsArrayBuffer() : UdsObject(NdkStructId::UDS_ARRAY_BUFFER_STRUCT_ID) {} in OH_UdsArrayBuffer() function in OH_UdsArrayBuffer
500 OH_UdsArrayBuffer* OH_UdsArrayBuffer_Create() in OH_UdsArrayBuffer_Create()
502 auto *buffer = new (std::nothrow) OH_UdsArrayBuffer(); in OH_UdsArrayBuffer_Create()
514 int OH_UdsArrayBuffer_Destroy(OH_UdsArrayBuffer* buffer) in OH_UdsArrayBuffer_Destroy()
524 int OH_UdsArrayBuffer_SetData(OH_UdsArrayBuffer* buffer, unsigned char* data, unsigned int len) in OH_UdsArrayBuffer_SetData()
541 int OH_UdsArrayBuffer_GetData(OH_UdsArrayBuffer* buffer, unsigned char** data, unsigned int* len) in OH_UdsArrayBuffer_GetData()
H A Dudmf.cpp614 int OH_UdmfRecord_AddArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer) in OH_UdmfRecord_AddArrayBuffer()
699 int OH_UdmfRecord_GetArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer) in OH_UdmfRecord_GetArrayBuffer()
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Dudmf_test.cpp1404 OH_UdsArrayBuffer buffer; in HWTEST_F()
1408 OH_UdsArrayBuffer *buffer2 = OH_UdsArrayBuffer_Create(); in HWTEST_F()
1442 OH_UdsArrayBuffer buffer; in HWTEST_F()
1446 OH_UdsArrayBuffer *buffer2 = OH_UdsArrayBuffer_Create(); in HWTEST_F()
1471 OH_UdsArrayBuffer *buffer1 = OH_UdsArrayBuffer_Create(); in HWTEST_F()
1480 OH_UdsArrayBuffer *buffer2 = OH_UdsArrayBuffer_Create(); in HWTEST_F()
H A Duds_test.cpp1037 OH_UdsArrayBuffer* bufferNullptr = nullptr; in HWTEST_F()
1041 bufferNullptr = new OH_UdsArrayBuffer; in HWTEST_F()

Completed in 11 milliseconds