Home
last modified time | relevance | path

Searched refs:dataTable (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/core/manager/test/unittest/common/
H A Dhdf_sbuf_test.cpp37 dataTable.clear(); in TearDown()
52 dataTable[STRING]->data[dataTable[STRING]->size - 1] = '\0'; in GenDataTable()
123 … EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
130 … EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
137 … EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
144 … EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
152 ret = DataCompare(&val, dataTable[type]->data, dataTable[type]->size); in PullDataSequence()
159 … EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
166 … EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
181 EXPECT_EQ(true, DataCompare(buf, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dlf_ring.c131 FillpErrorType FillpLfRingMpEnqueue(struct FillpLfRing *ring, void **dataTable, FILLP_UINT count) in FillpLfRingMpEnqueue() argument
140 if ((ring == FILLP_NULL_PTR) || (dataTable == FILLP_NULL_PTR) || (count == 0)) { in FillpLfRingMpEnqueue()
151 ring->ringCache[(prodHead + j) % ring->size] = dataTable[i]; in FillpLfRingMpEnqueue()
214 FILLP_INT FillpLfRingMcDequeue(struct FillpLfRing *ring, void **dataTable, FILLP_UINT count) in FillpLfRingMcDequeue() argument
223 if ((ring == FILLP_NULL_PTR) || (dataTable == FILLP_NULL_PTR) || (count == 0)) { in FillpLfRingMcDequeue()
234 dataTable[i] = ring->ringCache[(consHead + j) % ring->size]; in FillpLfRingMcDequeue()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dlf_ring.h99 FillpErrorType FillpLfRingMpEnqueue(struct FillpLfRing *ring, void **dataTable, FILLP_UINT count);
116 FILLP_INT FillpLfRingMcDequeue(struct FillpLfRing *ring, void **dataTable, FILLP_UINT count);