Home
last modified time | relevance | path

Searched refs:ret2 (Results 1 – 25 of 69) sorted by relevance

123

/third_party/ltp/testcases/kernel/syscalls/sbrk/
Dsbrk03.c43 void *ret1, *ret2; in sbrk_test() local
54 ret2 = sbrk(0); in sbrk_test()
56 if (ret1 != ret2) { in sbrk_test()
57 tst_res(TFAIL, "Bug! sbrk: %p", ret2); in sbrk_test()
61 tst_res(TPASS, "sbrk verify: %p", ret2); in sbrk_test()
/third_party/boost/libs/algorithm/test/
Dsearch_test1.cpp48 ret_type ret2 = ba::boyer_moore_horspool_search (hBeg, hEnd, nBeg, nEnd); in check_one_iter() local
70 if ( ret1.first != ret2.first || ret1.second != ret2.second ) { in check_one_iter()
88 std::cout << " bmh: " << std::distance ( hBeg, ret2.first ) << "\n"; in check_one_iter()
111 ret_type ret2 = ba::boyer_moore_horspool_search (hBeg, hEnd, nBeg, nEnd); in check_one_pointer() local
122 if ( ret1.first != ret2.first || ret1.second != ret2.second ) { in check_one_pointer()
139 std::cout << " bmh: " << std::distance ( hBeg, ret2.first ) << "\n"; in check_one_pointer()
170 ret_type ret2 = bmh (hBeg, hEnd); in check_one_object() local
196 if ( ret1.first != ret2.first || ret1.second != ret2.second ) { in check_one_object()
216 std::cout << " bmh: " << std::distance ( hBeg, ret2.first ) << "\n"; in check_one_object()
/third_party/curl/tests/unit/
Dunit1655.c149 DOHcode ret2; variable
159 ret2 = doh_encode(dotshine1, dnstype, buffer, buflen, &olen2);
160 fail_unless(ret2 == DOH_OK, "dotshine case should pass fine");
166 ret2 = doh_encode(sunshine2, dnstype, buffer, buflen, &olen2);
167 fail_unless(ret2 == DOH_OK, "sunshine case 2 should pass fine");
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c160 int ret = 0, ret2 = 0; in threaded() local
182 ret2 = pthread_barrier_wait(td->bar); in threaded()
183 if ((ret2 != 0) && (ret2 != PTHREAD_BARRIER_SERIAL_THREAD)) { in threaded()
184 UNRESOLVED(ret2, "Pthread_barrier_wait failed"); in threaded()
/third_party/ntfs-3g/ntfsprogs/
Dntfscmp.c540 int bit, ret1, ret2; in cmp_index_allocation() local
566 ret2 = ntfs_mst_post_read_fixup((NTFS_RECORD *) in cmp_index_allocation()
568 if (ret1 != ret2) { in cmp_index_allocation()
830 int old_ret1, ret1 = 0, ret2 = 0; in cmp_attributes() local
849 ret2)) in cmp_attributes()
851 if (!ret2 && (le32_to_cpu(old_atype1) >= le32_to_cpu(atype2) || in cmp_attributes()
853 ret2 = next_attr(ctx2, &atype2, &name2, &errno2); in cmp_attributes()
857 if (ret1 && ret2) { in cmp_attributes()
866 if (ret2 || le32_to_cpu(atype1) < le32_to_cpu(atype2)) { in cmp_attributes()
900 int ret1, ret2; in cmp_inodes() local
[all …]
/third_party/ffmpeg/libavformat/
Dlxfdec.c299 int ret, ret2; in lxf_read_packet() local
317 if ((ret2 = av_new_packet(pkt, ret)) < 0) in lxf_read_packet()
318 return ret2; in lxf_read_packet()
320 if ((ret2 = avio_read(pb, pkt->data, ret)) != ret) { in lxf_read_packet()
321 return ret2 < 0 ? ret2 : AVERROR_EOF; in lxf_read_packet()
/third_party/ltp/testcases/kernel/io/direct_io/
Ddiotest_routines.c115 int ret1, ret2 = 0; in filecmp() local
133 ret2 = read(fd2, buf2, BUFSIZ); in filecmp()
134 if (ret1 != ret2) { in filecmp()
137 ret1, f1, ret2, f2); in filecmp()
/third_party/ffmpeg/libavutil/tests/
Dopt.c190 int ret2 = AVERROR_BUG; in main() local
198 ret2 = av_opt_set(&test2_ctx, o->name, value1, 0); in main()
199 if (ret2 >= 0) in main()
205 ret2 >= 0 ? "OK" : av_err2str(ret2), in main()
207 … ret1 >= 0 && ret2 >= 0 && ret3 >= 0 && !strcmp(value1, value2) ? "OK" : "Mismatch"); in main()
/third_party/glslang/Test/baseResults/
DmissingBodies.vert.out38 0:22 Function Definition: ret2( ( global int)
47 0:24 Function Call: ret2( ( global int)
81 0:22 Function Definition: ret2( ( global int)
90 0:24 Function Call: ret2( ( global int)
/third_party/glslang/Test/
DmissingBodies.vert22 int ret2() { return 3; }
24 int f2 = ret2();
Dhlsl.entry-in.frag17 float ret2 = fun(i);
19 return local.fragCoord * ret1 * ret2;
/third_party/boost/libs/type_traits/test/
Dhas_postfix_operators.hpp57 struct ret2 { ret2(const convertible_to_ret2); }; struct
124 TEST_TR(returns_convertible_to_ret2, ret2, true); in common()
Dhas_prefix_operators.hpp62 struct ret2 { ret2(const convertible_to_ret2); }; struct
126 TEST_TR(returns_convertible_to_ret2, ret2, true); in common()
Dhas_binary_operators.hpp67 struct ret2 { ret2(const convertible_to_ret2); }; struct
152 TEST_TR(returns_convertible_to_ret2, ret2, true); in common()
/third_party/libffi/src/pa/
Dffi.c588 unsigned int ret2[2]; in ffi_closure_inner_pa32() local
600 memset (ret2, 0, sizeof (ret2)); in ffi_closure_inner_pa32()
601 memcpy ((char *)ret2 + off, ret, 8 - off); in ffi_closure_inner_pa32()
603 *(stack - FIRST_ARG_SLOT) = ret2[0]; in ffi_closure_inner_pa32()
604 *(stack - FIRST_ARG_SLOT - 1) = ret2[1]; in ffi_closure_inner_pa32()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dwavparse.c98 GstStateChangeReturn ret1, ret2; in do_test_empty_file() local
121 ret2 = gst_element_get_state (pipeline, NULL, NULL, GST_CLOCK_TIME_NONE); in do_test_empty_file()
123 ret2 = ret1; in do_test_empty_file()
126 fail_unless_equals_int (ret2, GST_STATE_CHANGE_FAILURE); in do_test_empty_file()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
D9-1.c61 int ret, ret2; in do_test() local
140 ret2 = aio_error(aiocbs[WAIT_FOR_AIOCB]); in do_test()
141 if (ret2 != EINPROGRESS) { in do_test()
/third_party/boost/libs/beast/include/boost/beast/core/detail/
Dwin32_unicode_path.hpp44 int ret2 = mb2wide(utf8_path, in win32_unicode_path() local
47 if (ret2 == 0) in win32_unicode_path()
/third_party/boost/boost/beast/core/detail/
Dwin32_unicode_path.hpp44 int ret2 = mb2wide(utf8_path, in win32_unicode_path() local
47 if (ret2 == 0) in win32_unicode_path()
/third_party/vk-gl-cts/external/openglcts/data/gl33/
Darrays.test356 float ret2 = a2[1][2];
358 out0 = vec3(ret0, ret1, ret2);
397 float ret2 = a2[1][2];
399 out0 = ivec3(ret0, ret1, ret2);
437 float ret2 = a2[1][2];
439 out0 = bvec3(ret0, ret1, ret2);
716 float ret2 = b2[2][2];
718 out0 = vec3(ret0, ret1, ret2);
769 float ret2 = b2[2][2];
771 out0 = ivec3(ret0, ret1, ret2);
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/glsl/es310/
Darrays.test359 float ret2 = a2[1][2];
361 out0 = vec3(ret0, ret1, ret2);
400 float ret2 = a2[1][2];
402 out0 = ivec3(ret0, ret1, ret2);
441 float ret2 = a2[1][2];
443 out0 = bvec3(ret0, ret1, ret2);
721 float ret2 = b2[2][2];
723 out0 = vec3(ret0, ret1, ret2);
774 float ret2 = b2[2][2];
776 out0 = ivec3(ret0, ret1, ret2);
[all …]
/third_party/selinux/checkpolicy/
Dmodule_compiler.c321 int ret, ret2; in declare_role() local
353 ret2 = role_implicit_bounds(roles_tab, key, dest_role); in declare_role()
354 if (ret2 != 0) { in declare_role()
360 ret2 = hashtab_insert(roles_tab, key, dest_role); in declare_role()
361 if (ret2 != 0) { in declare_role()
377 ret2 = ebitmap_set_bit(&dest_role->dominates, dest_role->s.value - 1, 1); in declare_role()
378 if (ret2 != 0) { in declare_role()
555 int ret, ret2; in declare_user() local
586 ret2 = user_implicit_bounds(users_tab, key, dest_user); in declare_user()
587 if (ret2 != 0) { in declare_user()
[all …]
/third_party/mindspore/tests/ut/python/pipeline/infer/
Dtest_hypermap_specialize.py51 ret2 = hypermap(F.partial(net, factor1), [x, y])
52 return ret1, ret2
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_AUDIO.c128 int ret2, errno2; in test_VIDIOC_G_AUDIO_ignore_index() local
144 ret2 = ioctl(get_video_fd(), VIDIOC_G_AUDIO, &audio2); in test_VIDIOC_G_AUDIO_ignore_index()
148 __FILE__, __LINE__, ret2, errno2); in test_VIDIOC_G_AUDIO_ignore_index()
151 CU_ASSERT_EQUAL(ret2, 0); in test_VIDIOC_G_AUDIO_ignore_index()
156 CU_ASSERT_EQUAL(ret2, -1); in test_VIDIOC_G_AUDIO_ignore_index()
/third_party/vk-gl-cts/data/gles3/shaders/
Darrays.test356 float ret2 = a2[1][2];
358 out0 = vec3(ret0, ret1, ret2);
397 float ret2 = a2[1][2];
399 out0 = ivec3(ret0, ret1, ret2);
437 float ret2 = a2[1][2];
439 out0 = bvec3(ret0, ret1, ret2);
716 float ret2 = b2[2][2];
718 out0 = vec3(ret0, ret1, ret2);
769 float ret2 = b2[2][2];
771 out0 = ivec3(ret0, ret1, ret2);
[all …]

123