Home
last modified time | relevance | path

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

12345678910>>...14

/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/dcts/distributedhardware/distributedcameratest/
Ddcamera_automat_test.cpp38 int32_t ret = mainDemo->InitSensors(); in SetUpTestCase() local
68 int32_t ret = PreviewOn(0, mainDemo); variable
79 int32_t ret = mainDemo->SetAwbMode(sleepOk); variable
90 int32_t ret = mainDemo->SetAwbMode(cameraOk); variable
101 int32_t ret = mainDemo->SetAeExpo(); variable
112 int32_t ret = mainDemo->SetMetadata(); variable
123 int32_t ret = CaptureTest(mainDemo); variable
134 int32_t ret = VideoTest(mainDemo); variable
145 int32_t ret = FlashLightTest(mainDemo); variable
156 int32_t ret = OfflineTest(mainDemo); variable
[all …]
/test/xts/dcts/distributedhardware/distributedscreentest/
Ddsreen_automat_test.cpp70 int ret = StartMirror(0); variable
81 int ret = StopMirror(0); variable
92 int ret = StartExpand(0); variable
103 int ret = StopExpand(0); variable
114 int ret = CreateWindow(0); variable
125 int ret = QueryRemoteDeviceInfo(0); variable
136 int ret = QueryRemoteScreenInfo(0); variable
142 int ret = StartMirror(2); variable
148 int ret = StopMirror(2); variable
154 int ret = StartExpand(2); variable
[all …]
/test/xts/hats/hdf/input/hdi_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 …]
/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 …]
/test/xts/dcts/communication/softbus_standard/transmission/reliability/
Dtrans_reliability_test.cpp47 int ret = RegisterDeviceStateDefCallback(); in SetUpTestCase() local
58 int ret = UnRegisterDeviceStateDefCallback(); in TearDownTestCase() local
73 int ret; variable
89 int ret; variable
111 int ret; variable
171 int ret; variable
187 int ret; variable
218 int ret; variable
234 int ret; variable
251 int ret; variable
[all …]
/test/xts/dcts/communication/softbus_standard/transmission/sendmsg/
Dtrans_func_test.cpp47 int ret = RegisterDeviceStateDefCallback(); in SetUpTestCase() local
57 int ret = UnRegisterDeviceStateDefCallback(); in TearDownTestCase() local
72 int ret; variable
93 int ret; variable
114 int ret; variable
135 int ret; variable
158 int ret; variable
179 int ret; variable
200 int ret; variable
221 int ret; variable
[all …]
/test/xts/hats/hdf/usb/functionTest/common/
Dusbd_function_test.cpp51 auto ret = g_usbInterface->SetPortRole(TEST_PORT_ID, TEST_POWER_ROLE, TEST_DATAR_ROLE); in SetUpTestCase() local
76 auto ret = g_usbInterface->GetCurrentFunctions(funcs); variable
90 auto ret = g_usbInterface->SetCurrentFunctions(1); variable
111 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
126 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
140 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
155 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
170 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
185 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
200 auto ret = g_usbInterface->SetCurrentFunctions(funcs); variable
[all …]
/test/xts/hats/hdf/sensor/hdiService/
Dhdf_sensor_hdiService_test.cpp138 int32_t ret = g_sensorInterface->GetAllSensorInfo(g_info); variable
165 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_medicalCallback); variable
182 int32_t ret = g_sensorInterface->Register(MEDICAL_SENSOR_TYPE, g_medicalCallback); variable
199 int32_t ret = g_sensorInterface->Register(SENSOR_GROUP_TYPE_MAX, g_medicalCallback); variable
216 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); variable
247 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); variable
276 int32_t ret = g_sensorInterface->SetBatch(ABNORMAL_SENSORID, 0, 0); variable
292 int32_t ret = g_sensorInterface->SetBatch(iter.sensorId, -1, SENSOR_POLL_TIME); variable
309 int32_t ret = g_sensorInterface->SetBatch(iter.sensorId, -1, -1); variable
326 int32_t ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL2, -1); variable
[all …]
/test/xts/hats/hdf/codec/hdi_omx/
Dcodec_hdi_omx_test.cpp172 … auto ret = component_->FreeBuffer(component_, (uint32_t)portIndex, bufferInfo->omxBuffer.get()); in FreeBufferOnPort() local
217 auto ret = manager_->CreateComponent(&component_, &componentId_, compName_.data(), in SetUp() local
261 auto ret = component_->GetComponentVersion(component_, &verInfo); variable
273 auto ret = component_->GetComponentVersion(component_, nullptr); variable
288 auto ret = component_->GetParameter(component_, OMX_IndexCodecVideoPortFormat, variable
304 auto ret = component_->GetParameter(component_, OMX_IndexCodecVideoPortFormat, variable
317 auto ret = component_->GetParameter(component_, OMX_IndexParamVideoPortFormat, nullptr, 0); variable
332 …auto ret = component_->GetParameter(component_, OMX_IndexParamVideoPortFormat, reinterpret_cast<in… variable
348 …auto ret = component_->GetParameter(component_, OMX_IndexParamVideoPortFormat, reinterpret_cast<in… variable
363 …auto ret = component_->GetParameter(component_, OMX_IndexParamVideoPortFormat, reinterpret_cast<in… variable
[all …]
/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/wlan/wifi/hal/
Dwifi_hal_test.cpp51 int ret; in SetUpTestCase() local
59 int ret; in TearDownTestCase() local
67 int ret; in SetUp() local
77 int ret; in TearDown() local
121 int ret; variable
140 int ret; variable
158 int ret; variable
176 int ret; variable
194 int32_t ret; variable
206 int32_t ret; variable
[all …]
/test/xts/hats/hdf/codec/hdi_adapter/
Dcodec_hdi_adapter_test.cpp169 int32_t ret; in GetArrayStr() local
288 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, (char *)name, APP_DATA, g_c… variable
301 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, nullptr, APP_DATA, g_callba… variable
318 …int32_t ret = g_manager->CreateComponent(&component, &componentId, const_cast<char *>(DECODER_AVC), variable
340 …int32_t ret = g_manager->CreateComponent(&component, &componentId, const_cast<char *>(DECODER_AVC), variable
360 …int32_t ret = g_manager->CreateComponent(&component, &componentId, const_cast<char *>(DECODER_AVC), variable
373 …int32_t ret = g_manager->CreateComponent(&g_component, &g_componentId, const_cast<char *>(ENCODER_… variable
388 int32_t ret = g_component->GetComponentVersion(g_component, &verInfo); variable
401 auto ret = g_component->GetParameter(g_component, OMX_IndexParamVideoPortFormat, nullptr, 0); variable
416 …auto ret = g_component->GetParameter(g_component, OMX_IndexParamVideoPortFormat, reinterpret_cast<… variable
[all …]
/test/xts/acts/graphic/graphicnapitest/
DNativeBufferTest.cpp131 int32_t ret = OH_NativeBuffer_Reference(nullptr); variable
142 int32_t ret = OH_NativeBuffer_Reference(buffer); variable
153 int32_t ret = OH_NativeBuffer_Unreference(nullptr); variable
164 int32_t ret = OH_NativeBuffer_Unreference(buffer); variable
176 int32_t ret = OH_NativeBuffer_Unreference(buffer); variable
190 int32_t ret = OH_NativeBuffer_Map(nullptr, &virAddr); variable
202 int32_t ret = OH_NativeBuffer_Map(buffer, &virAddr); variable
214 int32_t ret = OH_NativeBuffer_Unmap(nullptr); variable
225 int32_t ret = OH_NativeBuffer_Unmap(buffer); variable
/test/xts/hats/hdf/input/hdi_input/hdi_input/
Dhdi_input_test.cpp48 int32_t ret = GetInputInterface(&g_inputInterface); in SetUpTestCase() local
70 #define INPUT_CHECK_NULL_POINTER(pointer, ret) do { \ argument
116 int32_t ret; variable
146 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(g_touchIndex); variable
165 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(INVALID_INDEX); variable
185 int32_t ret = g_inputInterface->iInputManager->OpenInputDevice(INVALID_INDEX1); variable
203 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(g_touchIndex); variable
222 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(INVALID_INDEX); variable
241 int32_t ret = g_inputInterface->iInputManager->CloseInputDevice(INVALID_INDEX1); variable
260 int32_t ret = g_inputInterface->iInputManager->GetInputDevice(g_touchIndex, &dev); variable
[all …]
/test/xts/hats/hdf/wlan/wifi/client/
Dhdf_client_test.cpp59 int32_t ret; variable
78 int32_t ret; variable
92 int32_t ret; variable
106 int32_t ret; variable
121 int32_t ret; variable
139 int32_t ret; variable
154 int32_t ret; variable
169 int32_t ret; variable
211 int32_t ret; variable
225 int32_t ret; variable
[all …]
/test/xts/acts/startup_lite/syspara_hal/src/
Dparameter_func_test.c66 int ret; variable
82 int ret; variable
99 int ret; variable
115 int ret; variable
132 int ret; variable
156 int ret; variable
180 int ret; variable
204 int ret; variable
229 int ret; variable
247 int ret; variable
[all …]
/test/xts/hats/hdf/motion/hdi/
Dhdf_motion_hdi_test.cpp72 int32_t ret = g_motionInterface->Register(g_motionCallback); variable
84 int32_t ret = g_motionInterface->Register(g_motionCallback); variable
98 int32_t ret = g_motionInterface->Unregister(g_motionCallbackUnregistered); variable
115 int32_t ret = g_motionInterface->Register(g_motionCallback); variable
148 int32_t ret = g_motionInterface->EnableMotion(HDF_MOTION_TYPE_MAX); variable
158 int32_t ret = g_motionInterface->Register(g_motionCallback); variable
176 int32_t ret = g_motionInterface->DisableMotion(HDF_MOTION_TYPE_MAX); variable

12345678910>>...14