Home
last modified time | relevance | path

Searched refs:ret1 (Results 1 – 25 of 49) sorted by relevance

12

/third_party/boost/libs/algorithm/test/
Dsearch_test1.cpp46 ret_type ret1 = ba::boyer_moore_search (hBeg, hEnd, nBeg, nEnd); in check_one_iter() local
56 const int dist = ret1.first == hEnd ? -1 : std::distance ( hBeg, ret1.first ); in check_one_iter()
60 if ( it0 != ret1.first ) { in check_one_iter()
65 if ( ret1.first != ret1r.first || ret1.second != ret1r.second ) { in check_one_iter()
70 if ( ret1.first != ret2.first || ret1.second != ret2.second ) { in check_one_iter()
75 if ( ret1.first != ret3.first || ret1.second != ret3.second ) { in check_one_iter()
86 std::cout << " bm: " << std::distance ( hBeg, ret1.first ) << "\n"; in check_one_iter()
110 ret_type ret1 = ba::boyer_moore_search (hBeg, hEnd, nBeg, nEnd); in check_one_pointer() local
113 const int dist = ret1.first == hEnd ? -1 : std::distance ( hBeg, ret1.first ); in check_one_pointer()
117 if ( it0 != ret1.first ) { in check_one_pointer()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
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 = do_set_control(i); in test_VIDIOC_S_CTRL()
[all …]
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()
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()
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()
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()
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()
69 type, ret1, errno1); in do_get_crop_invalid()
71 CU_ASSERT_EQUAL(ret1, -1); in do_get_crop_invalid()
/third_party/libffi/src/pa/
Dlinux.S139 stw %ret1, 4(%r20)
177 extru %ret1, 7, 8, %r22
179 extru %ret1, 15, 8, %r22
181 extru %ret1, 23, 8, %r22
184 stb %ret1, 0(%r20)
194 extru %ret1, 7, 8, %r22
196 extru %ret1, 15, 8, %r22
198 extru %ret1, 23, 8, %r22
201 stb %ret1, 0(%r20)
213 extru %ret1, 7, 8, %r22
[all …]
Dhpux32.S146 stw %ret1, 4(%r20)
184 extru %ret1, 7, 8, %r22
186 extru %ret1, 15, 8, %r22
188 extru %ret1, 23, 8, %r22
191 stb %ret1, 0(%r20)
201 extru %ret1, 7, 8, %r22
203 extru %ret1, 15, 8, %r22
205 extru %ret1, 23, 8, %r22
208 stb %ret1, 0(%r20)
220 extru %ret1, 7, 8, %r22
[all …]
/third_party/ltp/testcases/kernel/syscalls/sbrk/
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/
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/
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_cpu(atype1) > le32_to_cpu(atype2)) { in cmp_attributes()
[all …]
/third_party/ffmpeg/libavutil/tests/
Dopt.c189 int ret1 = AVERROR_BUG; in main() local
196 ret1 = av_opt_get(&test_ctx, o->name, 0, (uint8_t **)&value1); in main()
197 if (ret1 >= 0) { in main()
204 ret1 >= 0 ? value1 : av_err2str(ret1), in main()
207ret1 >= 0 && ret2 >= 0 && ret3 >= 0 && !strcmp(value1, value2) ? "OK" : "Mismatch"); in main()
/third_party/glslang/Test/
DmissingBodies.vert18 int ret1();
20 int f1 = ret1();
Dhlsl.entry-in.frag16 float ret1 = fun(local);
19 return local.fragCoord * ret1 * ret2;
/third_party/boost/libs/type_traits/test/
Dhas_postfix_operators.hpp52 struct ret1 { }; struct
53 struct convertible_to_ret1 { operator ret1 () const; };
123 TEST_TR(returns_convertible_to_ret1, ret1, true); in common()
Dhas_prefix_operators.hpp57 struct ret1 { }; struct
58 struct convertible_to_ret1 { operator ret1 () const; };
125 TEST_TR(returns_convertible_to_ret1, ret1, true); in common()
Dhas_binary_operators.hpp62 struct ret1 { }; struct
63 struct convertible_to_ret1 { operator ret1 () const; };
151 TEST_TR(returns_convertible_to_ret1, ret1, true); in common()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dwavparse.c98 GstStateChangeReturn ret1, ret2; in do_test_empty_file() local
119 ret1 = gst_element_set_state (pipeline, GST_STATE_PLAYING); in do_test_empty_file()
120 if (ret1 == GST_STATE_CHANGE_ASYNC) in do_test_empty_file()
123 ret2 = ret1; in do_test_empty_file()
/third_party/glslang/Test/baseResults/
DmissingBodies.vert.out37 0:20 Function Call: ret1( ( global int)
58 ret1(
80 0:20 Function Call: ret1( ( global int)
Dhlsl.entry-in.frag.out34 0:16 'ret1' ( temp float)
49 0:19 'ret1' ( temp float)
119 0:16 'ret1' ( temp float)
134 0:19 'ret1' ( temp float)
188 Name 36 "ret1"
265 36(ret1): 24(ptr) Variable Function
274 Store 36(ret1) 39
281 47: 6(float) Load 36(ret1)
/third_party/vk-gl-cts/external/openglcts/data/gl33/
Darrays.test355 float ret1 = a1[0][2];
358 out0 = vec3(ret0, ret1, ret2);
396 float ret1 = a1[0][2];
399 out0 = ivec3(ret0, ret1, ret2);
436 float ret1 = a1[0][2];
439 out0 = bvec3(ret0, ret1, ret2);
715 float ret1 = b1[1][1];
718 out0 = vec3(ret0, ret1, ret2);
768 float ret1 = b1[1][1];
771 out0 = ivec3(ret0, ret1, ret2);
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/glsl/es310/
Darrays.test358 float ret1 = a1[0][2];
361 out0 = vec3(ret0, ret1, ret2);
399 float ret1 = a1[0][2];
402 out0 = ivec3(ret0, ret1, ret2);
440 float ret1 = a1[0][2];
443 out0 = bvec3(ret0, ret1, ret2);
720 float ret1 = b1[1][1];
723 out0 = vec3(ret0, ret1, ret2);
773 float ret1 = b1[1][1];
776 out0 = ivec3(ret0, ret1, ret2);
[all …]
/third_party/mindspore/tests/ut/python/pipeline/infer/
Dtest_hypermap_specialize.py49 ret1 = hypermap(F.partial(net, factor1), (x, y))
52 return ret1, ret2
/third_party/ffmpeg/libavformat/tests/
Dfifo_muxer.c204 int ret, ret1; in run_test() local
225 ret1 = av_dict_set(&opts, "fifo_format", "fifo_test", 0); in run_test()
226 if (ret < 0 || ret1 < 0) { in run_test()
/third_party/vk-gl-cts/data/gles3/shaders/
Darrays.test355 float ret1 = a1[0][2];
358 out0 = vec3(ret0, ret1, ret2);
396 float ret1 = a1[0][2];
399 out0 = ivec3(ret0, ret1, ret2);
436 float ret1 = a1[0][2];
439 out0 = bvec3(ret0, ret1, ret2);
715 float ret1 = b1[1][1];
718 out0 = vec3(ret0, ret1, ret2);
768 float ret1 = b1[1][1];
771 out0 = ivec3(ret0, ret1, ret2);
[all …]
/third_party/ltp/testcases/network/virt/
Dvirt_lib.sh300 local ret1="pass"
306 -D ltp_v0 || ret1="fail"
311 [ "$ret1" = "fail" -o "$ret2" = "fail" ] && return

12