Home
last modified time | relevance | path

Searched refs:TEST_BUF_SIZE (Results 1 - 21 of 21) sorted by relevance

/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
H A Dposix_fs_write_test.c41 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
42 const char writeBuf[TEST_BUF_SIZE] = "hello";
47 ret = write(fd, writeBuf, TEST_BUF_SIZE);
67 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
69 const char writeBuf2[TEST_BUF_SIZE] = "hello";
74 ret = write(fd, writeBuf1, TEST_BUF_SIZE);
99 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
100 const char writeBuf[TEST_BUF_SIZE] = "hello";
105 ret = write(fd, writeBuf, TEST_BUF_SIZE);
H A Dposix_fs_pwrite_test.c41 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
42 char writeBuf[TEST_BUF_SIZE] = "fsPwrtiteTest";
47 ret = pwrite(fd, writeBuf, TEST_BUF_SIZE, 0); /* 0, offset distance */
68 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
74 ret = pwrite(fd, writeBuf, TEST_BUF_SIZE, 0); /* 0, offset distance */
96 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
97 char writeBuf[TEST_BUF_SIZE] = "fsPwriteTest";
102 ret = pwrite(fd, writeBuf, TEST_BUF_SIZE, 0); /* 0, offset distance */
H A Dposix_fs_pread_test.c41 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
42 char readBuf[TEST_BUF_SIZE] = "fsPreadTest";
47 ret = pread(fd, readBuf, TEST_BUF_SIZE, 0);
68 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
74 ret = pread(fd, readBuf, TEST_BUF_SIZE, 0);
96 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
97 char readBuf[TEST_BUF_SIZE] = "fsPreadTest";
102 ret = pread(fd, readBuf, TEST_BUF_SIZE, 0);
H A Dposix_fs_rename_test.c47 const char fileNameOld[TEST_BUF_SIZE] = { TEST_FILE1 };
48 const char fileNameNew[TEST_BUF_SIZE] = { TEST_FILE2 };
73 const char fileNameNew[TEST_BUF_SIZE] = { TEST_FILE3 };
89 const char fileNameOld[TEST_BUF_SIZE] = { TEST_FILE4 };
107 const char fileNameOld[TEST_BUF_SIZE] = { TEST_FILE3 };
108 const char fileNameNew[TEST_BUF_SIZE] = { TEST_FILE4 };
H A Dposix_fs_read_test.c41 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
42 char readBuf[TEST_BUF_SIZE] = "hello";
68 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
95 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
96 char readBuf[TEST_BUF_SIZE] = "hello";
H A Dposix_fs_lseek_test.c45 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
71 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
97 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
173 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
174 char writeBuf[TEST_BUF_SIZE] = { TEST_SEEK_WRITE_BUF };
175 char readBuf[TEST_BUF_SIZE] = { 0 };
180 ret = write(fd, writeBuf, TEST_BUF_SIZE);
H A Dposix_fs_ftruncate_test.c41 const char tmpFileName[TEST_BUF_SIZE] = FILE2;
42 const char writeBuf[TEST_BUF_SIZE] = "hello";
47 ret = write(fd, writeBuf, TEST_BUF_SIZE);
111 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
135 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
H A Dposix_fs_fstat_test.c43 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
125 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
152 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
H A Dposix_fs_unlink_test.c41 const char tmpFileName[TEST_BUF_SIZE] = { FILE4 };
63 const char tmpFileName[TEST_BUF_SIZE]= { FILE1 };
H A Dposix_fs_open_test.c41 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
90 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
H A Dposix_fs_close_test.c41 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
H A Dposix_fs_rmdir_test.c40 char pathH[TEST_BUF_SIZE] = { DIRD };
H A Dposix_fs_mkdir_test.c72 char tmpDir[TEST_BUF_SIZE] = { DIRC };
H A Dposix_fs_access_test.c41 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
H A Dposix_fs_fsync_test.c42 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
/kernel/liteos_m/testsuites/unittest/posix/src/fs/full/
H A Dposix_fs_full_test.c53 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
88 const char tmpFileName[TEST_BUF_SIZE] = { FILE1 };
139 char tmpFileName[TEST_BUF_SIZE] = { 0 };
140 char fileName[TEST_BUF_SIZE] = { 0 };
145 res = sprintf_s(tmpFileName, TEST_BUF_SIZE, "%s%02d", TEMP_DIRE_FILE, i);
158 res = sprintf_s(fileName, TEST_BUF_SIZE, "%s%02d", "eFile", index);
173 res = sprintf_s(tmpFileName, TEST_BUF_SIZE, "%s%02d", TEMP_DIRE_FILE, j);
207 char dirName[TEST_BUF_SIZE] = { 0 };
208 char tmpDirName[TEST_BUF_SIZE] = { 0 };
213 res = sprintf_s(tmpDirName, TEST_BUF_SIZE, "
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/pressure/
H A Dposix_fs_pressure_test.c99 const char tmpFileName[TEST_BUF_SIZE] = FILE1;
157 char tmpDirName[TEST_BUF_SIZE] = { 0 };
158 char tmpFileName[TEST_BUF_SIZE] = { 0 };
162 res = sprintf_s(tmpFileName, TEST_BUF_SIZE, "%s%02d", TEMP_FILE_PATH, j);
180 res = sprintf_s(tmpFileName, TEST_BUF_SIZE, "%s%02d", TEMP_FILE_PATH, i);
190 res = sprintf_s(tmpDirName, TEST_BUF_SIZE, "%s%02d", TEMP_DIR_PATH, k);
202 res = sprintf_s(tmpDirName, TEST_BUF_SIZE, "%s%02d", TEMP_DIR_PATH, i);
212 res = sprintf_s(tmpFileName, TEST_BUF_SIZE, "%s%02d", TEMP_FILE_PATH, i);
221 res = sprintf_s(tmpDirName, TEST_BUF_SIZE, "%s%02d", TEMP_DIR_PATH, i);
230 res = sprintf_s(tmpFileName, TEST_BUF_SIZE, "
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c17 #define TEST_BUF_SIZE 50 macro
21 const u8 expected[TEST_BUF_SIZE];
26 const u8 expected[TEST_BUF_SIZE];
31 const u16 expected[TEST_BUF_SIZE];
32 const u16 expected_swab[TEST_BUF_SIZE];
37 const u16 expected[TEST_BUF_SIZE];
42 const u16 expected[TEST_BUF_SIZE];
47 const u16 expected[TEST_BUF_SIZE];
52 const u8 expected[TEST_BUF_SIZE];
57 const u32 expected[TEST_BUF_SIZE];
[all...]
/kernel/liteos_a/testsuites/unittest/libc/util/smoke/
H A Dutil_test_003.cpp33 #define TEST_BUF_SIZE 20 macro
50 CHAR *buf = (char *)malloc(TEST_BUF_SIZE); in TestCase()
61 (void)strcpy_s(buf, TEST_BUF_SIZE, a); in TestCase()
/kernel/liteos_m/testsuites/unittest/posix/src/fs/
H A Dposix_fs_func_test.c784 const char chr1[TEST_BUF_SIZE] = "hello";
806 const char chr1[TEST_BUF_SIZE] = "hello";
828 const char chr1[TEST_BUF_SIZE] = "hello";
850 const char chr1[TEST_BUF_SIZE] = "hello";
851 char str[TEST_BUF_SIZE] = {0};
880 const char chr1[TEST_BUF_SIZE] = "hello";
909 const char chr1[TEST_BUF_SIZE] = "hello";
952 const char chr1[TEST_BUF_SIZE] = "hello";
995 const char chr1[TEST_BUF_SIZE] = "hello";
1018 const char chr1[TEST_BUF_SIZE]
[all...]
H A Dposix_fs_test.h76 #define TEST_BUF_SIZE 40 /* 40, common data for test, no special meaning */ macro

Completed in 8 milliseconds