Home
last modified time | relevance | path

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

/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...]
H A Dtest_VIDIOC_TUNER.c418 int ret1, errno1; in test_VIDIOC_S_TUNER_invalid() local
425 ret1 = ioctl(get_video_fd(), VIDIOC_G_TUNER, &tuner_orig); in test_VIDIOC_S_TUNER_invalid()
428 dprintf("\t%s:%u: VIDIOC_G_TUNER, ret1=%i, errno1=%i\n", in test_VIDIOC_S_TUNER_invalid()
429 __FILE__, __LINE__, ret1, errno1); in test_VIDIOC_S_TUNER_invalid()
431 if (ret1 == 0) { in test_VIDIOC_S_TUNER_invalid()
432 CU_ASSERT_EQUAL(ret1, 0); in test_VIDIOC_S_TUNER_invalid()
497 CU_ASSERT_EQUAL(ret1, -1); in test_VIDIOC_S_TUNER_invalid()
508 if (ret1 == 0) { in test_VIDIOC_S_TUNER_invalid()
H A Dtest_VIDIOC_EXT_CTRLS.c282 int ret1; in test_VIDIOC_G_EXT_CTRLS_one() local
286 ret1 = do_get_ext_control_one(V4L2_CTRL_CLASS_USER, i); in test_VIDIOC_G_EXT_CTRLS_one()
289 ret1 = do_get_ext_control_one(V4L2_CTRL_CLASS_USER, V4L2_CID_BASE - 1); in test_VIDIOC_G_EXT_CTRLS_one()
290 ret1 = do_get_ext_control_one(V4L2_CTRL_CLASS_USER, V4L2_CID_LASTP1); in test_VIDIOC_G_EXT_CTRLS_one()
291 ret1 = in test_VIDIOC_G_EXT_CTRLS_one()
297 ret1 = do_get_ext_control_one(V4L2_CTRL_CLASS_USER, i); in test_VIDIOC_G_EXT_CTRLS_one()
299 } while (ret1 == 0); in test_VIDIOC_G_EXT_CTRLS_one()
301 ret1 = do_get_ext_control_one(V4L2_CTRL_CLASS_USER, i); in test_VIDIOC_G_EXT_CTRLS_one()
H A Dtest_VIDIOC_CROP.c30 int ret1, errno1; in do_get_crop() local
35 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in do_get_crop()
38 dprintf("\tVIDIOC_G_CROP: type=%i, ret1=%i, errno1=%i\n", in do_get_crop()
39 type, ret1, errno1); in do_get_crop()
41 if (ret1 == 0) { in do_get_crop()
42 CU_ASSERT_EQUAL(ret1, 0); in do_get_crop()
45 CU_ASSERT_EQUAL(ret1, -1); in do_get_crop()
60 int ret1, errno1; in do_get_crop_invalid() local
65 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in do_get_crop_invalid()
68 dprintf("\tVIDIOC_G_CROP: type=%i, ret1 in do_get_crop_invalid()
[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()
/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()
/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...]
/third_party/ffmpeg/libavutil/tests/
H A Dopt.c190 int ret1 = AVERROR_BUG; in main() local
197 ret1 = av_opt_get(&test_ctx, o->name, 0, (uint8_t **)&value1); in main()
198 if (ret1 >= 0) { in main()
205 ret1 >= 0 ? value1 : av_err2str(ret1), in main()
208 ret1 >= 0 && ret2 >= 0 && ret3 >= 0 && !strcmp(value1, value2) ? "OK" : "Mismatch"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/math/
H A Dfunctionalext_pow10.c29 double ret1 = pow10(1); in pow10_0100() local
30 EXPECT_EQ("pow10_0100", ret1, 10.0); in pow10_0100()
/third_party/ffmpeg/libavformat/tests/
H A Dfifo_muxer.c203 int ret, ret1; in run_test() local
224 ret1 = av_dict_set(&opts, "fifo_format", "fifo_test", 0); in run_test()
225 if (ret < 0 || ret1 < 0) { in run_test()
/third_party/ffmpeg/compat/cuda/
H A Dcuda_runtime.h140 unsigned ret1, ret2, ret3, ret4; in tex2D() local
142 "=r"(ret1), "=r"(ret2), "=r"(ret3), "=r"(ret4) : in tex2D()
144 conv(&ret, ret1, ret2, ret3, ret4); in tex2D()
/third_party/ltp/testcases/network/virt/
H A Dvirt_lib.sh282 local ret1="pass"
288 -D ltp_v0 || ret1="fail"
293 [ "$ret1" = "fail" -o "$ret2" = "fail" ] && return
/third_party/ffmpeg/libavformat/
H A Dmux.c1259 int ret1, ret = 0; in av_write_trailer() local
1265 ret1 = write_packets_from_bsfs(s, st, pkt, 1/*interleaved*/); in av_write_trailer()
1266 if (ret1 < 0) in av_write_trailer()
1269 ret = ret1; in av_write_trailer()
1272 ret1 = interleaved_write_packet(s, pkt, 1, 0); in av_write_trailer()
1274 ret = ret1; in av_write_trailer()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dp_lib.c2200 int ret1 = 0, ret2 = 0; in EVP_PKEY_get_octet_string_param() local
2207 if ((ret1 = EVP_PKEY_get_params(pkey, params))) in EVP_PKEY_get_octet_string_param()
2211 return ret1 && ret2; in EVP_PKEY_get_octet_string_param()
2219 int ret1 = 0, ret2 = 0; in EVP_PKEY_get_utf8_string_param() local
2226 if ((ret1 = EVP_PKEY_get_params(pkey, params))) in EVP_PKEY_get_utf8_string_param()
2238 return ret1 && ret2; in EVP_PKEY_get_utf8_string_param()
/third_party/openssl/crypto/evp/
H A Dp_lib.c2197 int ret1 = 0, ret2 = 0; in EVP_PKEY_get_octet_string_param() local
2204 if ((ret1 = EVP_PKEY_get_params(pkey, params))) in EVP_PKEY_get_octet_string_param()
2208 return ret1 && ret2; in EVP_PKEY_get_octet_string_param()
2216 int ret1 = 0, ret2 = 0; in EVP_PKEY_get_utf8_string_param() local
2223 if ((ret1 = EVP_PKEY_get_params(pkey, params))) in EVP_PKEY_get_utf8_string_param()
2235 return ret1 && ret2; in EVP_PKEY_get_utf8_string_param()
/third_party/python/Python/
H A Ddtoa.c2504 goto ret1; in _Py_dg_dtoa()
2527 goto ret1; in _Py_dg_dtoa()
2581 goto ret1; in _Py_dg_dtoa()
2836 ret1: in _Py_dg_dtoa()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
H A Dosu_client.c488 int ret, ret1; in download_trust_roots() local
503 ret1 = cmd_dl_polupd_ca(ctx, pps_fname, fname); in download_trust_roots()
504 if (ret == 0 && ret1 == -1) in download_trust_roots()
507 ret1 = cmd_dl_aaa_ca(ctx, pps_fname, fname); in download_trust_roots()
508 if (ret == 0 && ret1 == -1) in download_trust_roots()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
H A Dosu_client.c488 int ret, ret1; in download_trust_roots() local
503 ret1 = cmd_dl_polupd_ca(ctx, pps_fname, fname); in download_trust_roots()
504 if (ret == 0 && ret1 == -1) in download_trust_roots()
507 ret1 = cmd_dl_aaa_ca(ctx, pps_fname, fname); in download_trust_roots()
508 if (ret == 0 && ret1 == -1) in download_trust_roots()

Completed in 26 milliseconds