Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 161) sorted by relevance

1234567

/test/xts/acts/kernel_lite/math_posix/src/
DMathComplexApiTest.cpp35 int ret = TestCabs(); variable
44 int ret = TestCabsf(); variable
54 int ret = TestCabsl(); variable
64 int ret = TestCacos(); variable
74 int ret = TestCacosf(); variable
84 int ret = TestCacoshf(); variable
94 int ret = TestCacoshl(); variable
104 int ret = TestCacosl(); variable
114 int ret = TestCarg(); variable
124 int ret = TestCargf(); variable
[all …]
/test/xts/hats/hdf/input/common/
Dhdi_input_test.cpp52 int32_t ret; in SetUpTestCase() local
110 int32_t ret; in ReportHotPlugEventPkgCallback() local
148 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(g_allDev[i].devIndex); in OpenOnlineDev() local
168 … int32_t ret = g_inputInterface->iInputReporter->UnregisterReportCallback(g_allDev[i].devIndex); in CloseOnlineDev() local
192 int32_t ret; variable
216 int32_t ret = g_inputInterface->iInputReporter->RegisterHotPlugCallback(&g_hotplugCb); variable
250 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(TOUCH_INDEX); variable
255 int32_t ret = INPUT_SUCCESS; variable
273 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(0); variable
290 int32_t ret = 0; variable
[all …]
/test/xts/acts/security_lite/permission_posix/pms/src/
DActsPMSLoadTest.cpp100 int ret = LoadPermissions(TEST_APP_SHORT, TEST_TASKID); variable
118 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
137 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
158 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
178 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
196 int ret = LoadPermissions(TEST_APP_ID, MAX_PID); variable
212 int ret = LoadPermissions(TEST_APP_ID, MAX_PID); variable
224 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
241 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
258 int ret = LoadPermissions(TEST_APP_ID, TEST_TASKID); variable
[all …]
DActsPMSUnloadTest.cpp100 int ret = UnLoadPermissions(MAX_PID); variable
118 int ret = UnLoadPermissions(TEST_TASKID); variable
130 int ret = UnLoadPermissions(TEST_TASKID); variable
142 int ret = UnLoadPermissions(TEST_TASKID); variable
156 int ret = g_interface->CheckPermission(TEST_TASKID, g_systemPers[0].name); variable
178 int ret = UnLoadPermissions(TEST_TASKID); variable
196 int ret = UnLoadPermissions(TEST_TASKID); variable
213 int ret = UnLoadPermissions(TEST_TASKID); variable
229 int ret = UnLoadPermissions(TEST_TASKID); variable
245 int ret = UnLoadPermissions(TEST_TASKID); variable
[all …]
DActsPMSGrantRuntimeTest.cpp100 int ret = g_interface->GrantRuntimePermission(MAX_PID, g_systemPers[0].name); variable
122 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
138 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
156 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
177 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[1].name); variable
194 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[SYS_PERM_NUM - 1].name); variable
211 int ret; variable
231 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, PERMISSION_UNDEFINED); variable
249 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
268 int ret = g_interface->GrantRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
[all …]
DActsPMSRevokeRuntimeTest.cpp101 int ret = g_interface->RevokeRuntimePermission(MAX_PID, g_systemPers[0].name); variable
124 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
141 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
159 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[1].name); variable
177 … int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[SYS_PERM_NUM - 1].name); variable
195 int ret; variable
216 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, PERMISSION_UNDEFINED); variable
236 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
255 int ret = g_interface->RevokeRuntimePermission(TEST_TASKID, g_systemPers[0].name); variable
273 int ret; variable
[all …]
DActsPMSDeleteTest.cpp98 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
112 int ret = DeletePermissions(TEST_APP_ID); variable
129 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
148 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
166 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
184 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
207 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
222 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
240 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
262 int ret = DeletePermissions(TEST_APP_ID); variable
[all …]
DActsPMSSaveTest.cpp111 bool ret = true; in CheckPermData() local
186 int ret = g_interface->QueryPermission(identifier, &permissions, &permNum); in CheckAppPermission() local
222 int ret = mkdir(ETC_PREFIX, DIR_MODE); in CreateAppDir() local
240 int ret = SaveOrUpdatePermissions(TEST_APP_ID, pt, 0, FIRST_INSTALL); variable
253 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
267 int ret = PERM_ERRORCODE_INVALID_PARAMS; variable
285 int ret = SaveOrUpdatePermissions(TEST_APP_ID, pt, 1, FIRST_INSTALL); variable
299 int ret = PERM_ERRORCODE_INVALID_PARAMS; variable
327 int ret = SaveOrUpdatePermissions(TEST_APP_ID, pt, MAX_PERM_NUM, FIRST_INSTALL); variable
345 int ret = SaveOrUpdatePermissions(TEST_APP_ID, pt, MAX_PERM_NUM + 1, FIRST_INSTALL); variable
[all …]
DActsPMSGrantTest.cpp104 int ret = g_interface->GrantPermission(TEST_APP_ID, g_systemPers[0].name); variable
122 int ret = g_interface->GrantPermission(TEST_APP_ID, g_systemPers[0].name); variable
147 int ret = g_interface->GrantPermission(TEST_APP_ID, g_systemPers[0].name); variable
171 int ret = g_interface->GrantPermission(TEST_APP_ID, g_systemPers[1].name); variable
192 int ret = g_interface->GrantPermission(TEST_APP_ID, g_systemPers[0].name); variable
211 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
239 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
256 int ret = g_interface->GrantPermission(TEST_APP_ID, g_systemPers[0].name); variable
280 int ret = g_interface->GrantPermission(TEST_APP_ID, g_systemPers[0].name); variable
302 int ret; variable
[all …]
DActsPMSRevokeTest.cpp105 int ret = g_interface->RevokePermission(TEST_APP_ID, g_systemPers[0].name); variable
129 int ret = g_interface->RevokePermission(TEST_APP_ID, g_systemPers[0].name); variable
152 int ret = g_interface->RevokePermission(TEST_APP_ID, g_systemPers[0].name); variable
174 int ret = g_interface->RevokePermission(TEST_APP_ID, g_systemPers[1].name); variable
196 int ret = g_interface->RevokePermission(TEST_APP_ID, g_systemPers[SYS_PERM_NUM - 1].name); variable
216 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
247 int ret = SaveOrUpdatePermissions(TEST_APP_ID, g_systemPers, SYS_PERM_NUM, FIRST_INSTALL); variable
264 int ret = g_interface->RevokePermission(TEST_APP_ID, g_systemPers[0].name); variable
288 int ret = g_interface->RevokePermission(TEST_APP_ID, g_systemPers[0].name); variable
310 int ret; variable
[all …]
/test/xts/acts/kernel_lite/io_posix/src/
DIoTestSprintf.cpp31 int ret = sprintf(str, "%d", -2147483648); variable
64 int ret = sprintf(str, "%ld", -2147483648); // 2^31-1 variable
97 int ret = sprintf(str, "%lld", -9223372036854775807LL); // 2^63-1 variable
130 int ret = sprintf(str, "%jd", -9223372036854775807LL); variable
155 int ret = sprintf(str, "%td", 2147483647); variable
172 int ret = sprintf(str, "%zd", 2147483647); variable
189 int ret = sprintf(str, "%hd %hhd %hu %hhu", 32767, 127, 65535, 255); variable
206 int ret = sprintf(str, "%5d %5d", 1, -1); variable
251 int ret = sprintf(str, "%-5d %-5d", 1, -1); variable
284 int ret = sprintf(str, "%.5d %.5d", 1, -1); variable
[all …]
DIoTestSscanf.cpp30 int ret = sscanf("1.196532544", "%f", &f); variable
57 int ret = sscanf("1.100000e+00", "%e", &f); variable
91 int ret = sscanf("1.23e-07", "%g", &f); variable
117 int ret = sscanf("0x1.199999999999ap+0", "%a", &f); variable
150 int ret = sscanf("a", "%c", &c); variable
177 int ret = sscanf("hello", "%s", str); variable
202 int ret = sscanf("-2147483648", "%d", &i); variable
244 int ret = sscanf("-128", "%hhd", &intHhd); variable
286 int ret = sscanf("32767", "%hd", &intHd); variable
328 int ret = sscanf("-2147483648", "%ld", &intL); variable
[all …]
DIoTestString.cpp28 int ret = strverscmp("hello world !", "HELLO WORLD"); variable
45 int ret = strcoll("AbC", "ABC"); variable
62 int ret = strcmp("abcdef", "ABCDEF"); variable
80 int ret = strncmp(dest, src, 1); variable
98 size_t ret = strxfrm(dest, "hello world !", sizeof(dest)); variable
115 char *ret = strsignal(14); variable
131 char *ret = stpcpy(dest, src); variable
151 char *ret = stpncpy(dest, src, 5); variable
171 size_t ret = strlcpy(dest, src, sizeof(dest)); variable
191 char *ret = strcpy(dest, src); variable
[all …]
DIoTestStdlib.cpp33 char *ret = gcvt(999, 3, str); variable
54 char *ret = fcvt(123.456, 5, &decpt, &sign); variable
95 float ret = strtof(" -3.40E+38 hello", &endPtr); variable
120 double ret = strtod(" -1.79E+308 hello", &endPtr); variable
145 long double ret = strtold(" 2.22507e-308 hello", &endPtr); variable
172 long ret = strtol(nPtr, &endPtr, 10); // decimal variable
228 unsigned long ret = strtoul(nPtr, &endPtr, 10); variable
275 long long ret = strtoll(nPtr, &endPtr, 10); variable
327 unsigned long long ret = strtoull(nPtr, &endPtr, 10); variable
373 long ret = a64l("./0123"); variable
DIoTestStrings.cpp29 int ret; variable
49 int ret = strncasecmp("abcdefg", "abcdEFg", 7); variable
66 int ret = strcasecmp("abcdefg", "abcdEFg"); variable
84 char *ret = index(src, '1'); variable
106 char *ret = rindex(src, '1'); variable
/test/xts/acts/security_lite/huks/liteos_a_adapter/
Dhks_others_test.cpp64 int32_t ret = HksGetKeyParamSet(NULL, NULL, NULL); variable
75 int32_t ret = HksGetKeyInfoList(NULL, NULL, NULL); variable
86 int32_t ret = HksAttestKey(NULL, NULL, NULL); variable
97 int32_t ret = HksGetCertificateChain(NULL, NULL, NULL); variable
108 int32_t ret = HksWrapKey(NULL, NULL, NULL, NULL); variable
119 int32_t ret = HksUnwrapKey(NULL, NULL, NULL, NULL); variable
130 int32_t ret = HksGetSdkVersion(NULL); variable
141 int32_t ret = HksInitialize(); variable
/test/xts/hats/hdf/usb/functionTest/common/
Dusbd_function_test.cpp37 … auto ret = UsbdClient::GetInstance().SetPortRole(TEST_PORT_ID, TEST_POWER_ROLE, TEST_DATAR_ROLE); in SetUpTestCase() local
61 auto ret = UsbdClient::GetInstance().GetCurrentFunctions(funcs); variable
74 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(1); variable
92 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(funcs); variable
106 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(funcs); variable
119 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(funcs); variable
133 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(funcs); variable
147 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(funcs); variable
161 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(funcs); variable
175 auto ret = UsbdClient::GetInstance().SetCurrentFunctions(funcs); variable
[all …]
/test/xts/acts/startup_lite/syspara_hal/src/
Dparameter_func_test.c65 int ret; variable
81 int ret; variable
98 int ret; variable
114 int ret; variable
131 int ret; variable
155 int ret; variable
179 int ret; variable
203 int ret; variable
228 int ret; variable
246 int ret; variable
[all …]
/test/xts/acts/utils_lite/kv_store_posix/src/
DKvStoreTest.cpp39 int ret = mkdir("/storage/com.openharmony.kv", S_IRUSR | S_IWUSR); in SetUpTestCase() local
47 int ret = rmdir("/storage/com.openharmony.kv/kvstore"); in TearDownTestCase() local
66 int ret = 0; in TouchKVFiles() local
106 int ret = 0; in ReadKVFiles() local
146 int ret = 0; in DeleteKVFiles() local
177 int ret = UtilsSetValue(key, value); variable
193 int ret = UtilsSetValue(key, value); variable
209 int ret = UtilsSetValue(key, value); variable
225 int ret = UtilsSetValue(key, value); variable
241 int ret = UtilsSetValue(key, value); variable
[all …]
/test/xts/hats/hdf/wlan/wifi/common/
Dwifi_hal_test.cpp55 int ret; in SetUpTestCase() local
63 int ret; in TearDownTestCase() local
71 int ret; in SetUp() local
81 int ret; in TearDown() local
124 int ret; variable
144 int ret; variable
164 int ret; variable
190 int ret; variable
203 int ret; variable
216 int ret; variable
[all …]
/test/xts/acts/utils_lite/file_hal/src/
Dutils_file_func_test.c69 int ret = UtilsFileClose(fd); variable
84 int ret = UtilsFileClose(fd); variable
99 int ret = UtilsFileClose(fd); variable
116 int ret = UtilsFileClose(fd); variable
133 int ret = UtilsFileClose(fd); variable
150 int ret = UtilsFileClose(fd); variable
167 int ret = UtilsFileClose(fd); variable
184 int ret = UtilsFileClose(fd); variable
199 int ret = UtilsFileClose(fd); variable
218 int ret = UtilsFileClose(fd); variable
[all …]
/test/xts/acts/utils_lite/kv_store_hal/src/
Dkvstore_func_test.c66 int ret; in SetKVFiles() local
112 int ret; in ReadKVFiles() local
158 int ret; in DeleteKVFiles() local
191 int ret = UtilsSetValue(key, value); variable
207 int ret = UtilsSetValue(key, value); variable
223 int ret = UtilsSetValue(key, value); variable
239 int ret = UtilsSetValue(key, value); variable
255 int ret = UtilsSetValue(key, value); variable
268 int ret = UtilsSetValue(key, value); variable
281 int ret = UtilsSetValue(key, value); variable
[all …]
/test/xts/acts/update_lite/dupdate_posix/src/
DUpdateTest.cpp49 unsigned int ret; variable
62 unsigned int ret; variable
75 unsigned int ret; variable
88 unsigned int ret; variable
101 unsigned int ret; variable
115 unsigned int ret; variable
129 unsigned int ret; variable
149 unsigned int ret; variable
169 unsigned int ret; variable
/test/xts/acts/applications/kitframework/
Dkitfwk_oem_api_test.c50 bool ret = OEMIsResetFlagExist(); in KitFwkOemApiTestSuiteSetUp() local
63 int ret = OEMCreateResetFlag(); in KitFwkOemApiTestSuiteTearDown() local
88 int ret = OEMReadAuthServerInfo(serverInfo, MAX_SERVER_INFO_LEN); variable
138 int ret = OEMCreateResetFlag(); variable
145 int ret = OEMDeleteResetFlag(); variable
167 int ret = OEMWriteAuthStatus(TEST_AUTH_STATUS, len); variable
184 int ret = OEMReadAuthStatus(statusRead, len); variable
217 int ret = OEMWriteTicket(TEST_TICKET, len); variable
233 int ret = OEMReadTicket(ticketRead, len); variable
266 int ret = ReadToken(tokenRead, len); variable
[all …]
/test/xts/acts/applications/kitframework_ipcamera/
Dkitfwk_oem_api_test.cpp53 bool ret = OEMIsResetFlagExist(); in SetUpTestCase() local
64 int ret = OEMCreateResetFlag(); in TearDownTestCase() local
88 int ret = OEMReadAuthServerInfo(serverInfo, MAX_SERVER_INFO_LEN); variable
132 int ret = OEMCreateResetFlag(); variable
139 int ret = OEMDeleteResetFlag(); variable
160 int ret = OEMWriteAuthStatus(TEST_AUTH_STATUS, len); variable
177 int ret = OEMReadAuthStatus(statusRead, len); variable
209 int ret = OEMWriteTicket(TEST_TICKET, len); variable
225 int ret = OEMReadTicket(ticketRead, len); variable
257 int ret = ReadToken(tokenRead, len); variable
[all …]

1234567