/test/xts/acts/startup_lite/syspara_hal/src/ |
H A D | parameter_func_test.c | 23 #define MAX_LEN 128 macro 335 char value[MAX_LEN] = {0}; 337 ret = GetParameter(key, g_defSysParam, value, MAX_LEN); 354 char value[MAX_LEN] = {0}; 356 ret = GetParameter(key, g_defSysParam, value, MAX_LEN); 374 char value[MAX_LEN] = {0}; 376 ret = GetParameter(key, g_defSysParam, value, MAX_LEN); 393 char value[MAX_LEN] = {0}; 395 ret = GetParameter(key, g_defSysParam, value, MAX_LEN); 413 char value[MAX_LEN] [all...] |
H A D | deviceinfo_func_test.c | 22 #define MAX_LEN 128 macro
|
/test/xts/acts/startup_lite/syspara_posix/src/ |
H A D | ParameterTest.cpp | 25 static const int MAX_LEN = 96; member 202 char value[StartUpLite::MAX_LEN] = {0}; in HWTEST_F() 203 ret = GetParameter(key, defSysParam.c_str(), value, StartUpLite::MAX_LEN); in HWTEST_F() 205 value[MAX_LEN - 1] = '\0'; in HWTEST_F() 220 char value[StartUpLite::MAX_LEN] = {0}; in HWTEST_F() 221 ret = GetParameter(key, nullptr, value, StartUpLite::MAX_LEN); in HWTEST_F() 223 value[MAX_LEN - 1] = '\0'; in HWTEST_F() 238 char value1[StartUpLite::MAX_LEN] = {0}; in HWTEST_F() 239 ret = GetParameter(key1, defSysParam.c_str(), value1, StartUpLite::MAX_LEN); in HWTEST_F() 241 value1[MAX_LEN in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/fileio/read/ |
H A D | ReadApiTest.cpp | 34 static const int MAX_LEN = 128; variable 71 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 76 size = read(fd, buffer, MAX_LEN); in HWTEST_F() 92 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 94 ssize_t size = read(-1, buffer, MAX_LEN); in HWTEST_F() 109 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 112 ssize_t size = read(fd, buffer, MAX_LEN); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/preadv/ |
H A D | PreadvApiTest.cpp | 39 static const int MAX_LEN = 128; variable 75 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 118 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 140 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 164 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 170 .iov_base = &buffer[MAX_LEN / 2], in HWTEST_F() 199 char buffer[MAX_LEN] = { 0 }; in HWTEST_F()
|
/test/xts/hats/kernel/syscall_ipc/msg_handle/ |
H A D | MsgHandleApiTest.cpp | 34 static const int MAX_LEN = 1024; variable 39 char text[MAX_LEN]; 84 ret = msgsnd(msqid, &buffer, MAX_LEN, IPC_NOWAIT); in HWTEST_F() 89 ret = msgrcv(msqid, &buffer, MAX_LEN, MSG_TYPE, IPC_NOWAIT); in HWTEST_F() 115 ret = msgsnd(-1, &buffer, MAX_LEN, IPC_NOWAIT); in HWTEST_F() 120 ret = msgrcv(-1, &buffer, MAX_LEN, MSG_TYPE, IPC_NOWAIT); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/readv/ |
H A D | ReadvApiTest.cpp | 36 static const int MAX_LEN = 128; variable 73 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 104 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 133 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 139 .iov_base = &buffer[MAX_LEN / 2], in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/splice/ |
H A D | SpliceApiTest.cpp | 37 static const int MAX_LEN = 128; variable 76 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 88 size = read(pipeFd[0], buffer, MAX_LEN); in HWTEST_F() 109 char buffer[MAX_LEN] = { 0 }; in HWTEST_F() 126 size = read(fdOut, buffer, MAX_LEN); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/lgetxattr/ |
H A D | LgetxattrApiTest.cpp | 53 static const int MAX_LEN = 128; variable 70 char value[MAX_LEN] = {0}; in HWTEST_F() 87 char value[MAX_LEN] = {0}; in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/attr/ |
H A D | AttrApiTest.cpp | 34 static const int MAX_LEN = 128; variable 78 char list[MAX_LEN] = { 0 }; in HWTEST_F() 138 char list[MAX_LEN] = { 0 }; in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/mkdirat/ |
H A D | MkdiratApiTest.cpp | 32 const int MAX_LEN = 128; variable 74 char path[MAX_LEN] = { 0 }; in HWTEST_F() 75 int num = sprintf_s(path, MAX_LEN, "%s/%s", OPEN_API_TEST_PATH, testPath); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/pwrite64/ |
H A D | Pwrite64ApiTest.cpp | 31 static const int MAX_LEN = 128; variable 95 char buffer[MAX_LEN] = { 0 }; in HWTEST_F()
|
/test/xts/hats/kernel/syscall_ipc/semctl/ |
H A D | SemctlApiTest.cpp | 39 static const int MAX_LEN = 1024; variable 77 char buffer[MAX_LEN] = { 0 }; in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/copyfilerange/ |
H A D | CopyFileRangeApiTest.cpp | 54 static const int MAX_LEN = 128; variable 78 char buffer[MAX_LEN]; in HWTEST_F()
|