Home
last modified time | relevance | path

Searched refs:ret1 (Results 1 - 25 of 142) sorted by relevance

123456

/kernel/liteos_a/testsuites/unittest/security/vid/smoke/
H A Dvid_test_001.cpp47 INT32 *ret1 = NULL; in ChildFunc() local
61 ret1 = (int *)malloc(sizeof(int) * 1024); in ChildFunc()
62 if (ret1 == NULL) { in ChildFunc()
67 (void)memset_s(ret1, sizeof(int) * 1024, 0xff, sizeof(int) * 1024); in ChildFunc()
69 *(ret1 + i) = timer_create(CLOCK_REALTIME, &ent, tid2 + i); in ChildFunc()
70 if (*(ret1 + i) == 0) { in ChildFunc()
71 ICUNIT_ASSERT_EQUAL_VOID(*(ret1 + i), 0, *(ret1 + i)); in ChildFunc()
74 ICUNIT_ASSERT_EQUAL_VOID(*(ret1 + i), -1, *(ret1 in ChildFunc()
[all...]
/kernel/liteos_a/testsuites/unittest/libc/sys/full/
H A Dsys_test_027.cpp39 int ret1; in TestCase() local
54 ret1 = ftok(str1, id1); in TestCase()
55 ICUNIT_ASSERT_NOT_EQUAL(ret1, -1, ret1); in TestCase()
57 ICUNIT_ASSERT_NOT_EQUAL(ret1, -1, ret2); in TestCase()
58 ICUNIT_ASSERT_NOT_EQUAL(ret1, ret2, -1); in TestCase()
60 ICUNIT_ASSERT_EQUAL(ret1, ret2, -1); in TestCase()
63 ICUNIT_ASSERT_NOT_EQUAL(ret1, ret2, -1); in TestCase()
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/
H A Dsys_test_029.cpp37 int ret1; in TestCase() local
43 ret1 = ftok(str1, id); in TestCase()
44 ICUNIT_ASSERT_EQUAL(ret1, -1, ret1); in TestCase()
48 ret1 = ftok(str2, id); in TestCase()
49 ICUNIT_ASSERT_EQUAL(ret1, -1, ret1); in TestCase()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_CTRL.c124 int ret1; in test_VIDIOC_G_CTRL() local
128 ret1 = do_get_control(i); in test_VIDIOC_G_CTRL()
131 ret1 = do_get_control(V4L2_CID_BASE - 1); in test_VIDIOC_G_CTRL()
132 ret1 = do_get_control(V4L2_CID_LASTP1); in test_VIDIOC_G_CTRL()
133 ret1 = do_get_control(V4L2_CID_PRIVATE_BASE - 1); in test_VIDIOC_G_CTRL()
137 ret1 = do_get_control(i); in test_VIDIOC_G_CTRL()
139 } while (ret1 == 0); in test_VIDIOC_G_CTRL()
141 ret1 = do_get_control(i); in test_VIDIOC_G_CTRL()
817 int ret1; in test_VIDIOC_S_CTRL() local
826 ret1 in test_VIDIOC_S_CTRL()
844 int ret1; test_VIDIOC_S_CTRL_invalid() local
871 int ret1; test_VIDIOC_S_CTRL_white_balance() local
882 int ret1; test_VIDIOC_S_CTRL_white_balance_invalid() local
893 int ret1; test_VIDIOC_S_CTRL_gain() local
902 int ret1; test_VIDIOC_S_CTRL_gain_invalid() local
[all...]
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
H A DIt_ipc_mkfifo_002.cpp44 errno_t ret1 = strncpy_s(pathname, NAME_BUF_SIZE, dir, strlen(dir)); in Testcase() local
45 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
47 ret1 = strcat_s(pathname, NAME_BUF_SIZE, filename); in Testcase()
48 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
H A DIt_ipc_mkfifo_003.cpp44 errno_t ret1 = strncpy_s(pathname, NAME_BUF_SIZE, dir, strlen(dir)); in Testcase() local
45 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
47 ret1 = strcat_s(pathname, NAME_BUF_SIZE, filename); in Testcase()
48 ICUNIT_ASSERT_EQUAL(ret1, EOK, ret1); in Testcase()
/test/xts/hats/hdf/wlan/wifi/hal/
H A Dwifi_hal_startandstop.cpp64 int ret1, ret2; in HWTEST_F() local
65 ret1 = g_wifi->start(nullptr); in HWTEST_F()
66 ASSERT_EQ(HDF_ERR_INVALID_PARAM, ret1); in HWTEST_F()
67 ret1 = g_wifi->start(g_wifi); in HWTEST_F()
68 ASSERT_EQ(HDF_SUCCESS, ret1); in HWTEST_F()
/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-loader.c325 int ret, ret1; in hda_dsp_cl_boot_firmware_iccmax() local
349 ret1 = hda_cl_cleanup(sdev, &dmab_bdl, iccmax_stream); in hda_dsp_cl_boot_firmware_iccmax()
350 if (ret1 < 0) { in hda_dsp_cl_boot_firmware_iccmax()
355 ret = ret1; in hda_dsp_cl_boot_firmware_iccmax()
391 int ret, ret1, i; in hda_dsp_cl_boot_firmware() local
496 ret1 = hda_cl_cleanup(sdev, &dmab, hext_stream); in hda_dsp_cl_boot_firmware()
497 if (ret1 < 0) { in hda_dsp_cl_boot_firmware()
502 ret = ret1; in hda_dsp_cl_boot_firmware()
527 int ret, ret1; in hda_dsp_ipc4_load_library() local
562 ret1 in hda_dsp_ipc4_load_library()
[all...]
/kernel/liteos_m/testsuites/unittest/xts/time/
H A Dclock_time_test.c95 int ret1 = gettimeofday(&tValStart, &tZone); variable
98 ICUNIT_ASSERT_EQUAL(ret1, 0, ret1);
123 int ret1 = settimeofday(&set, NULL); variable
127 ICUNIT_ASSERT_EQUAL(ret1, 0, ret1);
/test/xts/acts/graphic/graphicnapitest/
H A DConsumerSurfaceTest.cpp92 GSError ret1 = OHOS::GSERROR_INVALID_ARGUMENTS; in HWTEST_F() local
94 auto func1 = [&ret1](const std::string& key, const std::string& value) { in HWTEST_F()
95 ret1 = OHOS::GSERROR_OK; in HWTEST_F()
106 ASSERT_EQ(ret1, OHOS::GSERROR_OK); in HWTEST_F()
110 ret1 = OHOS::GSERROR_INVALID_ARGUMENTS; in HWTEST_F()
116 ASSERT_EQ(ret1, OHOS::GSERROR_INVALID_ARGUMENTS); in HWTEST_F()
120 ret1 = OHOS::GSERROR_INVALID_ARGUMENTS; in HWTEST_F()
125 ASSERT_EQ(ret1, OHOS::GSERROR_OK); in HWTEST_F()
H A DProducerSurfaceTest.cpp93 GSError ret1 = OHOS::GSERROR_INVALID_ARGUMENTS; in HWTEST_F() local
95 auto func1 = [&ret1](const std::string& key, const std::string& value) { in HWTEST_F()
96 ret1 = OHOS::GSERROR_OK; in HWTEST_F()
107 ASSERT_EQ(ret1, OHOS::GSERROR_OK); in HWTEST_F()
111 ret1 = OHOS::GSERROR_INVALID_ARGUMENTS; in HWTEST_F()
117 ASSERT_EQ(ret1, OHOS::GSERROR_INVALID_ARGUMENTS); in HWTEST_F()
121 ret1 = OHOS::GSERROR_INVALID_ARGUMENTS; in HWTEST_F()
126 ASSERT_EQ(ret1, OHOS::GSERROR_OK); in HWTEST_F()
/test/xts/acts/multimedia/avcodec/AVCodecDrmNdk/entry/src/main/cpp/
H A Dhello.cpp50 OH_AVErrCode ret1 = OH_AVCencInfo_Destroy(handle_ptr); in Test_CencInfo_Destroy() local
51 napi_create_int32(env, ret1, &result); in Test_CencInfo_Destroy()
74 OH_AVErrCode ret1 = OH_AVCencInfo_SetAlgorithm(handle_ptr,(DrmCencAlgorithm)argc_two); in Test_AVCencInfo_SetAlgorithm() local
76 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK ) { in Test_AVCencInfo_SetAlgorithm()
129 OH_AVErrCode ret1 = OH_AVCencInfo_SetKeyIdAndIv(handle_ptr, keyId_ptr, keyIdLen, iv_ptr, ivLen); in Test_AVCencInfo_SetKeyIdAndIv() local
131 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK ) { in Test_AVCencInfo_SetKeyIdAndIv()
178 OH_AVErrCode ret1 = OH_AVCencInfo_SetSubsampleInfo(handle_ptr, encryptedBlockCount, skippedBlockCount, firstEncryptedOffset, subsampleCount, subsamples_ptr); in Test_AVCencInfo_SetSubsampleInfo() local
180 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK ) { in Test_AVCencInfo_SetSubsampleInfo()
211 OH_AVErrCode ret1 = OH_AVCencInfo_SetMode(handle_ptr, mode); in Test_AVCencInfo_SetMode() local
213 if (ret1 in Test_AVCencInfo_SetMode()
246 OH_AVErrCode ret1 = OH_AVCencInfo_SetAlgorithm(handle, DRM_ALG_CENC_SM4_CBC); Test_AVCencInfo_SetAVBuffer() local
[all...]
/test/xts/acts/multimedia/drm/drm_ndk_test/entry/src/main/cpp/
H A Dhello.cpp283 Drm_ErrCode ret1 = OH_MediaKeySession_GenerateMediaKeyRequest(mediaKeySession,&requestInfo, &requestData); in getLicense() local
284 CHECK_RETURN((ret1!=DRM_ERR_OK),-1); in getLicense()
338 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in GetOfflineMediaKeyIds() local
339 if(ret1 != DRM_ERR_OK){ in GetOfflineMediaKeyIds()
510 Drm_ErrCode ret1 = DRM_ERR_INVALID_VAL; in Test_MediaKeySystem_Create() local
515 ret1 = OH_MediaKeySystem_Create(uuid_ptr, &drmKeySystem); in Test_MediaKeySystem_Create()
517 ret1 = OH_MediaKeySystem_Create(uuid_ptr, nullptr); in Test_MediaKeySystem_Create()
519 if(ret1 == DRM_ERR_OK){ in Test_MediaKeySystem_Create()
549 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in Test_MediaKeySystem_SetConfigurationString() local
575 if (ret1 in Test_MediaKeySystem_SetConfigurationString()
609 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GetConfigurationString() local
671 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_SetConfigurationByteArray() local
735 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GetConfigurationByteArray() local
788 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GetStatistics() local
834 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GetMaxContentProtectionLevel() local
875 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_CreateMediaKeySession() local
938 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GenerateKeySystemRequest() local
992 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_ProcessKeySystemResponse() local
1062 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GetOfflineMediaKeyIds() local
1127 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GetOfflineMediaKeyStatus() local
1192 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_ClearOfflineMediaKeys() local
1250 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_GetCertificateStatus() local
1288 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_Destroy() local
1323 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_SetMediaKeySystemCallback() local
1440 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_GenerateMediaKeyRequest() local
1494 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_ProcessMediaKeyResponse() local
1562 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_CheckMediaKeyStatus() local
1620 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_ClearMediaKeys() local
1684 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_GetContentProtectionLevel() local
1739 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_RequireSecureDecoderModule() local
1814 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_SetMediaKeySessionCallback() local
1884 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_GenerateOfflineReleaseRequest() local
1956 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_ProcessOfflineReleaseResponse() local
2019 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_RestoreOfflineMediaKeys() local
2066 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_CreateMediaKeySession_multi() local
2100 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_ProcessOfflineReleaseResponse_multi() local
2131 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_SetConfigurationString_multi() local
2185 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySystem_SetCallback() local
2270 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); Test_MediaKeySession_SetCallback() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/sbrk/
H A Dsbrk03.c43 void *ret1, *ret2; in sbrk_test() local
50 ret1 = sbrk(0); in sbrk_test()
56 if (ret1 != ret2) { in sbrk_test()
/test/xts/acts/security/huks/huks_napi_BasicTest/src/
H A Dhuks_cipher_rsa_test_common.cpp40 int32_t ret1 = HksMemCmp(inData->data, cipherText->data, inData->size); in HksRsaCipherTestEncryptAbnormal() local
41 EXPECT_NE(ret1, (int32_t)OH_HUKS_SUCCESS) << "cipherText equals inData"; in HksRsaCipherTestEncryptAbnormal()
64 int32_t ret1 = HksMemCmp(inData->data, cipherText->data, inData->size); in HksRsaCipherTestEncrypt() local
65 EXPECT_NE(ret1, (int32_t)OH_HUKS_SUCCESS) << "cipherText equals inData"; in HksRsaCipherTestEncrypt()
88 int32_t ret1 = HksMemCmp(inData->data, plainText->data, inData->size); in HksRsaCipherTestDecrypt() local
89 EXPECT_EQ(ret1, (int32_t)OH_HUKS_SUCCESS) << "plainText not equals inData"; in HksRsaCipherTestDecrypt()
/third_party/ltp/testcases/kernel/io/direct_io/
H A Ddiotest_routines.c115 int ret1, ret2 = 0; in filecmp() local
132 while ((ret1 = read(fd1, buf1, BUFSIZ)) > 0) { in filecmp()
134 if (ret1 != ret2) { in filecmp()
137 ret1, f1, ret2, f2); in filecmp()
142 for (i = 0; i < ret1; i++) { in filecmp()
/test/xts/hats/telephony/ril/hdi_v1.1_additional/
H A Dhdf_ril_hdiService_test_4th.cpp170 int32_t ret1 = 0; in HWTEST_F() local
171 ret1 = g_rilInterface->GetNrOptionMode(SLOTID_1, GetSerialId()); in HWTEST_F()
173 EXPECT_EQ(SUCCESS, ret1); in HWTEST_F()
3482 int32_t ret1 = 0; in HWTEST_F() local
3493 ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); in HWTEST_F()
3495 EXPECT_EQ(SUCCESS, ret1); in HWTEST_F()
3518 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); in HWTEST_F() local
3520 EXPECT_EQ(SUCCESS, ret1); in HWTEST_F()
3542 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); in HWTEST_F() local
3544 EXPECT_EQ(SUCCESS, ret1); in HWTEST_F()
3566 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
3590 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, -1, msgIoInfo.index); HWTEST_F() local
3614 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 0, msgIoInfo.index); HWTEST_F() local
3638 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 1, msgIoInfo.index); HWTEST_F() local
3662 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 2, msgIoInfo.index); HWTEST_F() local
3686 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 3, msgIoInfo.index); HWTEST_F() local
3710 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, -2147483648, msgIoInfo.index); HWTEST_F() local
3734 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 2147483647, msgIoInfo.index); HWTEST_F() local
3759 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
3784 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
3809 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
3834 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
3859 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
3884 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
3909 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
3933 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
3957 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
3981 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
4005 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
4029 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4053 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4077 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
4101 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
4125 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4149 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4173 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4197 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4221 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
4245 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
4269 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4293 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4317 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4341 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 100, msgIoInfo.index); HWTEST_F() local
4365 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_2, 100, msgIoInfo.index); HWTEST_F() local
4393 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 10, msgIoInfo.index); HWTEST_F() local
4421 int32_t ret1 = g_rilInterface->DelSimMessage(SLOTID_1, 10, 10); HWTEST_F() local
[all...]
/test/xts/acts/multimedia/media/media_ndk_standard/avPlayerDrmNdk/entry/src/main/cpp/
H A Dhello.cpp177 OH_AVErrCode ret1 = OH_AVPlayer_SetMediaKeySystemInfoCallback(handle_ptr, callback_ptr); in Test_AVPlayer_SetMediaKeySystemInfoCallback() local
182 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK && ret3 == AV_ERR_OK && ret4 == AV_ERR_OK && ret5 == AV_ERR_OK) { in Test_AVPlayer_SetMediaKeySystemInfoCallback()
217 OH_AVErrCode ret1 = OH_AVPlayer_SetMediaKeySystemInfoCallback(playerHandle, &testMediaKeySystemInfo); in Test_AVPlayer_GetMediaKeySystemInfo() local
247 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK && ret3 == AV_ERR_OK && ret4 == AV_ERR_OK && ret5 == AV_ERR_OK && in Test_AVPlayer_GetMediaKeySystemInfo()
278 OH_AVErrCode ret1 = OH_AVPlayer_SetMediaKeySystemInfoCallback(playerHandle, &testMediaKeySystemInfo); in Test_AVPlayer_SetDecryptionConfig() local
301 if (ret1 == AV_ERR_OK && ret2 == AV_ERR_OK && ret6 == DRM_ERR_OK && ret7 == AV_ERR_OK && ret8 == AV_ERR_OK && in Test_AVPlayer_SetDecryptionConfig()
367 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in Test_AudioCodec_SetDecryptionConfig() local
383 if (ret1 == DRM_ERR_OK && ret2 == DRM_ERR_OK && ret3 == AV_ERR_OK && ret4 == AV_ERR_OK && ret5 == DRM_ERR_OK && in Test_AudioCodec_SetDecryptionConfig()
424 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in Test_VideoDecoder_SetDecryptionConfig() local
440 if (ret1 in Test_VideoDecoder_SetDecryptionConfig()
500 OH_AVErrCode ret1 = OH_AVDemuxer_SetMediaKeySystemInfoCallback(handle_ptr, callback_ptr); TestAVDemuxer_SetMediaKeySystemInfoCallback() local
564 OH_AVErrCode ret1 = OH_AVDemuxer_SetDemuxerMediaKeySystemInfoCallback(handle_ptr, callback_ptr); TestAVDemuxer_SetDemuxerMediaKeySystemInfoCallback() local
617 OH_AVErrCode ret1 = OH_AVDemuxer_SetDemuxerMediaKeySystemInfoCallback(hdemuxer, callback); TestAVDemuxer_GetMediaKeySystemInfo() local
[all...]
/test/xts/acts/commonlibrary_lite/file_hal/src/
H A Dutils_file_func_test.c203 int ret1 = UtilsFileClose(fd1); variable
204 TEST_ASSERT_EQUAL_INT(-1, ret1);
222 int ret1 = UtilsFileClose(fd1); variable
223 TEST_ASSERT_EQUAL_INT(-1, ret1);
241 int ret1 = UtilsFileClose(fd1); variable
242 TEST_ASSERT_EQUAL_INT(-1, ret1);
260 int ret1 = UtilsFileClose(fd1); variable
261 TEST_ASSERT_EQUAL_INT(-1, ret1);
279 int ret1 = UtilsFileClose(fd1); variable
280 TEST_ASSERT_EQUAL_INT(-1, ret1);
317 int ret1 = UtilsFileWrite(fd1, g_def, strlen(g_def)); global() variable
[all...]
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dsrm_env.c95 unsigned long ret1, ret2; in srm_env_proc_write() local
109 ret1 = callback_setenv(id, buf, count); in srm_env_proc_write()
110 if ((ret1 >> 61) == 0) { in srm_env_proc_write()
114 res = (int) ret1; in srm_env_proc_write()
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dsrm_env.c95 unsigned long ret1, ret2; in srm_env_proc_write() local
109 ret1 = callback_setenv(id, buf, count); in srm_env_proc_write()
110 if ((ret1 >> 61) == 0) { in srm_env_proc_write()
114 res = (int) ret1; in srm_env_proc_write()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfscmp.c540 int bit, ret1, ret2; in cmp_index_allocation() local
564 ret1 = ntfs_mst_post_read_fixup((NTFS_RECORD *) in cmp_index_allocation()
568 if (ret1 != ret2) { in cmp_index_allocation()
573 if (ret1 == -1) in cmp_index_allocation()
830 int old_ret1, ret1 = 0, ret2 = 0; in cmp_attributes() local
847 old_ret1 = ret1; in cmp_attributes()
848 if (!ret1 && (le32_to_cpu(atype1) <= le32_to_cpu(atype2) || in cmp_attributes()
850 ret1 = next_attr(ctx1, &atype1, &name1, &errno1); in cmp_attributes()
857 if (ret1 && ret2) { in cmp_attributes()
874 } else if (ret1 || le32_to_cp in cmp_attributes()
900 int ret1, ret2; cmp_inodes() local
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Dap.c66 int ret1 = ___cfg80211_stop_ap(rdev, dev, link, notify); in __cfg80211_stop_ap() local
68 if (ret1) in __cfg80211_stop_ap()
69 ret = ret1; in __cfg80211_stop_ap()
/test/xts/hats/kernel/syscalls/signal/getrandom/
H A DGetrandomApiTest.cpp72 ssize_t ret1 = 0; in HWTEST_F() local
75 ret1 = getrandom(buffer1, len, 0); in HWTEST_F()
76 EXPECT_EQ(ret1, static_cast<ssize_t>(len)); in HWTEST_F()
/test/xts/acts/multimedia/avcodec/avcodecNdk/entry/src/main/cpp/
H A Dhello.cpp58 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in Test_VideoDecoder_SetDecryptionConfig() local
72 if (ret1 == DRM_ERR_OK && ret2 == DRM_ERR_OK && ret4 == DRM_ERR_OK && ret5 == DRM_ERR_OK) { // in Test_VideoDecoder_SetDecryptionConfig()
100 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in Test_AVDemuxer_GetMediaKeySystemInfo() local
118 if (ret1 == DRM_ERR_OK && ret2 == DRM_ERR_OK && ret4 == DRM_ERR_OK && ret5 == DRM_ERR_OK) { in Test_AVDemuxer_GetMediaKeySystemInfo()
156 Drm_ErrCode ret1 = OH_MediaKeySystem_Create(judge_uuid(), &drmKeySystem); in Test_AVDemuxer_SetMediaKeySystemInfoCallback() local
175 if (ret1 == DRM_ERR_OK && ret2 == DRM_ERR_OK && ret4 == DRM_ERR_OK && ret5 == DRM_ERR_OK) { in Test_AVDemuxer_SetMediaKeySystemInfoCallback()

Completed in 38 milliseconds

123456