/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/full/ |
H A D | It_los_queue_098.c | 47 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 in Testcase() [all...] |
H A D | It_los_queue_116.c | 46 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 queue buffer. in Testcase()
|
H A D | It_los_queue_102.c | 47 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()
|
H A D | It_los_queue_111.c | 45 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()
|
H A D | It_los_queue_101.c | 47 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()
|
H A D | It_los_queue_112.c | 45 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()
|
H A D | It_los_queue_113.c | 45 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()
|
H A D | It_los_queue_099.c | 47 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/ |
H A D | It_los_queue_100.c | 46 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()
|
H A D | It_los_queue_105.c | 47 UINT32 readSize; in Testcase() local 86 readSize = 0; in Testcase() 87 ret = LOS_QueueReadCopy(queueID, &buff2, &readSize, 0); in Testcase()
|
/third_party/lz4/examples/ |
H A D | frameCompress.c | 99 size_t const readSize = fread(inBuff, 1, inSize, f_unc); in compress_file_internal() local 100 if (readSize == 0) { in compress_file_internal() 104 count_in += readSize; in compress_file_internal() 107 inBuff, readSize, in compress_file_internal() 110 size_t const readSize = fread(inBuff, 1, inSize, f_in); in compress_file_internal() local 111 if (readSize == 0) break; /* nothing left to read from input file */ in compress_file_internal() 112 count_in += readSize; in compress_file_internal() 115 inBuff, readSize, in compress_file_internal() 217 size_t readSize = firstChunk ? filled : fread(src, 1, srcCapacity, f_in); firstChunk=0; in decompress_file_internal() local 219 const void* const srcEnd = (const char*)srcPtr + readSize; in decompress_file_internal() 260 { size_t const readSize = fread(src, 1, 1, f_in); decompress_file_internal() local 282 size_t const readSize = fread(src, 1, srcCapacity, f_in); decompress_file_allocDst() local [all...] |
/third_party/lz4/tests/ |
H A D | checkFrame.c | 136 size_t readSize; in frameCheck() local 143 readSize = fread(ress.srcBuffer, 1, ress.srcBufferSize, srcFile); in frameCheck() 144 if (!readSize) break; /* reached end of file or stream */ in frameCheck() 146 while (pos < readSize) { /* still to read */ in frameCheck() 151 remaining = readSize - pos; in frameCheck() 169 if (nextToLoad > (readSize - pos)) { in frameCheck() 172 remaining = readSize - pos; in frameCheck() 194 /* can be out because readSize == 0, which could be an fread() error */ in frameCheck()
|
H A D | abiTest.c | 165 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local 166 if (readSize != fileSize) { in loadFile()
|
H A D | roundTripTest.c | 193 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local 194 if (readSize != fileSize) { in loadFile()
|
/test/xts/hats/hdf/hdf_lite/manager/common/ |
H A D | hdf_sbuf_test.cpp | 186 uint32_t readSize = 0; in PullDataSequence() local 187 ret = HdfSbufReadBuffer(sbuf, reinterpret_cast<const void **>(&buf), &readSize); in PullDataSequence() 640 uint32_t readSize = 0; in HWTEST_F() local 641 ret = HdfSbufReadBuffer(readBuf, (const void **)(&data), &readSize); in HWTEST_F() 643 ASSERT_EQ(readSize, str.size() + 1); in HWTEST_F() 768 uint32_t readSize = 0; in HWTEST_F() local 769 ret = HdfSbufReadBuffer(readBuf, (const void **)(&data), &readSize); in HWTEST_F() 771 ASSERT_EQ(readSize, str.size() + 1); in HWTEST_F() 798 uint32_t readSize = 0; in HWTEST_F() local 799 ret = HdfSbufReadBuffer(sBuf, (const void **)(&data), &readSize); in HWTEST_F() 810 uint32_t readSize = 0; HWTEST_F() local 818 uint32_t readSize = 0; HWTEST_F() local [all...] |
/third_party/lz4/programs/ |
H A D | lz4io.c | 557 size_t readSize; in LZ4IO_createDict() local 579 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict() 580 dictEnd = (dictEnd + readSize) % circularBufSize; in LZ4IO_createDict() 581 dictLen += readSize; in LZ4IO_createDict() 582 } while (readSize>0); in LZ4IO_createDict() 673 size_t readSize; in LZ4IO_compressFilename_extRess() local 700 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess() 702 filesize += readSize; in LZ4IO_compressFilename_extRess() 705 if (readSize < blockSize) { in LZ4IO_compressFilename_extRess() 707 size_t const cSize = LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, res in LZ4IO_compressFilename_extRess() 1095 size_t readSize; LZ4IO_decompressLZ4F() local [all...] |
H A D | bench.c | 323 size_t readSize = (size_t)srcSize; in LZ4F_decompress_binding() local 329 src, &readSize, in LZ4F_decompress_binding() 332 && ((int)readSize==srcSize) /* consume all input */ ) in LZ4F_decompress_binding() 680 { size_t const readSize = fread(((char*)buffer)+pos, 1, (size_t)fileSize, f); in BMK_loadFiles() local 681 if (readSize != (size_t)fileSize) END_PROCESS(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles() 682 pos += readSize; } in BMK_loadFiles()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingReader.cpp | 77 Error RawCoverageReader::readSize(uint64_t &Result) { in readSize() function in RawCoverageReader 88 if (auto Err = readSize(Length)) in readString() 97 if (auto Err = readSize(NumFilenames)) in read() 157 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray() 256 if (auto Err = readSize(NumFileMappings)) in read() 272 if (auto Err = readSize(NumExpressions)) in read() 323 if (Error Err = readSize(NumFileMappings)) in isDummy() 333 if (Error Err = readSize(NumExpressions)) in isDummy() 338 if (Error Err = readSize(NumRegions)) in isDummy()
|
/third_party/skia/tools/ |
H A D | remote_demo.cpp | 88 ssize_t readSize = ::read(fd, &size, sizeof(size)); in read_SkData() local 89 if (readSize <= 0) { in read_SkData() 90 if (readSize < 0) { in read_SkData() 104 if (readSize < 0) { in read_SkData()
|
/third_party/lz4/ossfuzz/ |
H A D | round_trip_frame_uncompressed_fuzzer.c | 19 size_t dstCapacity, size_t readSize) { in decompress() 23 const void *const srcEnd = (const char *) srcPtr + readSize; in decompress() 18 decompress(LZ4F_dctx *dctx, void *src, void *dst, size_t dstCapacity, size_t readSize) decompress() argument
|
/kernel/uniproton/src/include/uapi/ |
H A D | prt_fs.h | 37 S32 readSize; /* size of a block read */ member
|
/kernel/liteos_m/components/fs/vfs/ |
H A D | los_fs.h | 73 int readSize; /* size of a block read */ member
|
/kernel/liteos_m/kernel/src/ |
H A D | los_swtmr.c | 78 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/ |
H A D | huf_compress.c | 209 size_t readSize; in HUF_readCTable_wksp() local 223 readSize = HUF_readStats_wksp(huffWeight, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, src, srcSize, workspace, workspaceSize); 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()
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | FilterCoder.cpp | 496 size_t readSize = _bufSize - _bufPos;
in Read() local 497 const HRESULT res = ReadStream(_inStream, _buf + _bufPos, &readSize);
in Read() 498 _bufPos += (UInt32)readSize;
in Read()
|