Home
last modified time | relevance | path

Searched refs:readSize (Results 1 – 18 of 18) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/full/
DIt_los_queue_098.c47 UINT32 readSize; in Testcase() local
52 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
53 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
55 … ICUNIT_GOTO_EQUAL(readSize, 8, readSize, EXIT); // 8, Here, assert that g_testCount is equal to 8. in Testcase()
61 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
62 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
64 … ICUNIT_GOTO_EQUAL(readSize, 8, readSize, EXIT); // 8, Here, assert that g_testCount is equal to 8. in Testcase()
69 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
70 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
72 … ICUNIT_GOTO_EQUAL(readSize, 8, readSize, EXIT); // 8, Here, assert that g_testCount is equal to 8. in Testcase()
[all …]
DIt_los_queue_116.c46 UINT32 readSize; in Testcase() local
54 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
55 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in Testcase()
61 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
62 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in Testcase()
66 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
67 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 1); in Testcase()
71 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
72 …ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 2); // 2, Read the setting size of que… in Testcase()
DIt_los_queue_102.c47 UINT32 readSize; in Testcase() local
57 readSize = sizeof(buff1); in Testcase()
58 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0xffffffff); in Testcase()
66 readSize = sizeof(buff1); in Testcase()
67 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0xffffffff + 1); in Testcase()
75 readSize = sizeof(buff1); in Testcase()
76 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0xffffffff - 1); in Testcase()
DIt_los_queue_112.c45 UINT32 readSize; in TaskF01() local
54 readSize = QUEUE_SHORT_BUFFER_LENGTH; in TaskF01()
55 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in TaskF01()
75 UINT32 readSize; in Testcase() local
95 readSize = QUEUE_SHORT_BUFFER_LENGTH; in Testcase()
96 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in Testcase()
DIt_los_queue_111.c45 UINT32 readSize; in HwiF01() local
54 readSize = QUEUE_SHORT_BUFFER_LENGTH; in HwiF01()
55 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in HwiF01()
71 UINT32 readSize; in Testcase() local
90 readSize = QUEUE_SHORT_BUFFER_LENGTH; in Testcase()
91 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in Testcase()
DIt_los_queue_113.c45 UINT32 readSize; in SwtmrF01() local
52 readSize = QUEUE_SHORT_BUFFER_LENGTH; in SwtmrF01()
53 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in SwtmrF01()
70 UINT32 readSize; in Testcase() local
89 readSize = QUEUE_SHORT_BUFFER_LENGTH; in Testcase()
90 ret = LOS_QueueReadCopy(g_testQueueID01, &buff2, &readSize, 0); in Testcase()
DIt_los_queue_101.c47 UINT32 readSize; in Testcase() local
57 readSize = sizeof(buff1); in Testcase()
58 ret = LOS_QueueReadCopy(queueID, NULL, &readSize, 0); in Testcase()
63 readSize = sizeof(buff1); in Testcase()
64 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
DIt_los_queue_099.c47 UINT32 readSize; in Testcase() local
60 readSize = 8; // 8, Read the setting size of queue buffer. in Testcase()
61 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/smoke/
DIt_los_queue_100.c46 UINT32 readSize; in Testcase() local
56 readSize = sizeof(buff1); in Testcase()
57 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
65 readSize = sizeof(buff1) + 1; in Testcase()
66 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
74 readSize = sizeof(buff1); in Testcase()
75 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
83 readSize = 0; in Testcase()
84 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
DIt_los_queue_105.c47 UINT32 readSize; in Testcase() local
86 readSize = 0; in Testcase()
87 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
/kernel/uniproton/src/include/uapi/
Dprt_fs.h37 S32 readSize; /* size of a block read */ member
/kernel/liteos_m/components/fs/vfs/
Dlos_fs.h73 int readSize; /* size of a block read */ member
/kernel/liteos_m/kernel/src/
Dlos_swtmr.c78 UINT32 readSize; in OsSwtmrTask() local
83 readSize = sizeof(SwtmrHandlerItem); in OsSwtmrTask()
84 ret = LOS_QueueReadCopy(g_swtmrHandlerQueue, &swtmrHandle, &readSize, LOS_WAIT_FOREVER); in OsSwtmrTask()
85 if ((ret == LOS_OK) && (readSize == sizeof(SwtmrHandlerItem))) { in OsSwtmrTask()
/kernel/linux/linux-5.10/lib/zstd/
Dhuf_compress.c209 size_t readSize; in HUF_readCTable_wksp() local
223readSize = HUF_readStats_wksp(huffWeight, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog,… in HUF_readCTable_wksp()
224 if (ERR_isError(readSize)) in HUF_readCTable_wksp()
225 return readSize; in HUF_readCTable_wksp()
280 return readSize; in HUF_readCTable_wksp()
/kernel/liteos_m/components/dynlink/
Dlos_dynlink.c129 STATIC INT32 OsReadELFInfo(INT32 fd, UINT8 *buffer, size_t readSize, off_t offset) in OsReadELFInfo() argument
134 if (readSize > 0) { in OsReadELFInfo()
141 byteNum = read(fd, buffer, readSize); in OsReadELFInfo()
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c124 STATIC INT32 OsReadELFInfo(INT32 procfd, UINT8 *buffer, size_t readSize, off_t offset) in OsReadELFInfo() argument
134 if (readSize > 0) { in OsReadELFInfo()
141 byteNum = read(fd, buffer, readSize); in OsReadELFInfo()
/kernel/liteos_m/components/fs/littlefs/
Dlfs_adapter.c155 lfsCfg->read_size = pCfg->readSize; in LfsConfigAdapter()
/kernel/uniproton/src/fs/littlefs/
Dlfs_adapter.c133 lfsCfg->read_size = pCfg->readSize; in OsLfsConfigAdapter()