Searched refs:nRet (Results 1 - 4 of 4) sorted by relevance
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | It_stdio_readv_001.cpp | 36 int nRet, fd; in Testcase() local 58 nRet = write(fd, srcStr, testStrLen); in Testcase() 59 ICUNIT_GOTO_EQUAL(nRet, testStrLen, nRet, EXIT); in Testcase() 68 nRet = strcmp(buf2, "world"); in Testcase() 69 ICUNIT_GOTO_EQUAL(nRet, 0, nRet, EXIT); in Testcase() 70 nRet = strcmp(buf1, "hello"); in Testcase() 71 ICUNIT_GOTO_EQUAL(nRet, 0, nRet, EXI in Testcase() [all...] |
H A D | It_stdio_fputws_001.cpp | 38 int nRet; in Testcase() local 57 nRet = fputws(srcStr, testFile); in Testcase() 59 ICUNIT_GOTO_NOT_EQUAL(nRet, -1, nRet, EXIT); in Testcase() 69 nRet = wcscmp(srcStr, tarStr); in Testcase() 70 ICUNIT_GOTO_EQUAL(nRet, 0, nRet, EXIT); in Testcase()
|
H A D | It_stdio_fwprintf_001.cpp | 38 int nRet; in Testcase() local 56 nRet = fwprintf(testFile, L"hello world %d", 666); // 666, for test, print to testFile in Testcase() 57 ICUNIT_GOTO_EQUAL(nRet, 15, nRet, EXIT); // 15, total write size in Testcase() 68 nRet = wcscmp(L"hello world 666", tarStr); in Testcase() 69 ICUNIT_GOTO_EQUAL(nRet, 0, nRet, EXIT); in Testcase()
|
H A D | It_stdio_putwc_001.cpp | 37 int tarWc, nRet; in Testcase() local 57 nRet = putwc(srcWc, putwcFile); in Testcase() 58 ICUNIT_GOTO_EQUAL(nRet, L'H', nRet, EXIT); in Testcase()
|
Completed in 2 milliseconds