Home
last modified time | relevance | path

Searched refs:MAX_LEN (Results 1 - 14 of 14) sorted by relevance

/test/xts/acts/startup_lite/syspara_hal/src/
H A Dparameter_func_test.c23 #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 Ddeviceinfo_func_test.c22 #define MAX_LEN 128 macro
/test/xts/acts/startup_lite/syspara_posix/src/
H A DParameterTest.cpp25 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 DReadApiTest.cpp34 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 DPreadvApiTest.cpp39 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 DMsgHandleApiTest.cpp34 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 DReadvApiTest.cpp36 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 DSpliceApiTest.cpp37 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 DLgetxattrApiTest.cpp53 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 DAttrApiTest.cpp34 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 DMkdiratApiTest.cpp32 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 DPwrite64ApiTest.cpp31 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 DSemctlApiTest.cpp39 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 DCopyFileRangeApiTest.cpp54 static const int MAX_LEN = 128; variable
78 char buffer[MAX_LEN]; in HWTEST_F()

Completed in 7 milliseconds