Home
last modified time | relevance | path

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

123

/external/libcxx/test/std/containers/
Dmap_allocator_requirement_test_templates.h183 It ret2 = c.insert(c.begin(), v2); in testMapInsertHint() local
184 assert(&(*ret2) == &(*ret)); in testMapInsertHint()
200 It ret2 = c.insert(c.begin(), v2); in testMapInsertHint() local
201 assert(&(*ret2) == &(*ret)); in testMapInsertHint()
217 It ret2 = c.insert(c.begin(), std::move(v2)); in testMapInsertHint() local
218 assert(&(*ret2) == &(*ret)); in testMapInsertHint()
232 It ret2 = c.insert(c.begin(), {42, 1}); in testMapInsertHint() local
233 assert(&(*ret2) == &(*ret)); in testMapInsertHint()
249 It ret2 = c.insert(c.begin(), std::move(v2)); in testMapInsertHint() local
250 assert(&(*ret2) == &(*ret)); in testMapInsertHint()
[all …]
Dset_allocator_requirement_test_templates.h229 It ret2 = c.emplace_hint(c.begin(), v2); in testSetEmplaceHint() local
230 assert(&(*ret2) == &(*ret)); in testSetEmplaceHint()
246 It ret2 = c.emplace_hint(c.begin(), v2); in testSetEmplaceHint() local
247 assert(&(*ret2) == &(*ret)); in testSetEmplaceHint()
263 It ret2 = c.emplace_hint(c.begin(), std::move(v2)); in testSetEmplaceHint() local
264 assert(&(*ret2) == &(*ret)); in testSetEmplaceHint()
280 It ret2 = c.emplace_hint(c.begin(), std::move(v2)); in testSetEmplaceHint() local
281 assert(&(*ret2) == &(*ret)); in testSetEmplaceHint()
/external/ltp/testcases/kernel/syscalls/sbrk/
Dsbrk03.c54 void *ret1, *ret2; in sbrk_test() local
65 ret2 = sbrk(0); in sbrk_test()
67 if (ret1 != ret2) { in sbrk_test()
68 tst_res(TFAIL, "Bug! sbrk: %p", ret2); in sbrk_test()
72 tst_res(TPASS, "sbrk verify: %p", ret2); in sbrk_test()
/external/fio/engines/
Dsplice.c33 int ret, ret2, buflen; in fio_splice_read_old() local
57 ret2 = read(sd->pipe[0], p, ret); in fio_splice_read_old()
58 if (ret2 < 0) in fio_splice_read_old()
61 ret -= ret2; in fio_splice_read_old()
62 p += ret2; in fio_splice_read_old()
177 int ret, ret2; in fio_splice_write() local
191 ret2 = splice(sd->pipe[0], NULL, f->fd, &off, ret, 0); in fio_splice_write()
192 if (ret2 < 0) in fio_splice_write()
195 ret -= ret2; in fio_splice_write()
/external/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp276 auto ret2 = std::move(ret); in constructor_tests() local
278 assert(ret2() == false); in constructor_tests()
279 assert(ret2(42) == false); in constructor_tests()
296 auto ret2 = std::move(ret); in constructor_tests() local
298 assert(ret2() == true); in constructor_tests()
299 assert(ret2("abc") == true); in constructor_tests()
312 auto ret2 = std::not_fn(value2); in constructor_tests() local
313 assert(ret2() == true); in constructor_tests()
314 ret = ret2; in constructor_tests()
316 assert(ret2() == true); in constructor_tests()
[all …]
/external/clang/test/SemaCUDA/
Dfunction-overload.cu327 ExpectedReturnTy ret2 = template_vs_function(2.0); in test_host_device_calls_template() local
334 TemplateReturnTy ret2 = template_vs_function(2.0); in test_host_calls_template_fn() local
339 DeviceReturnTy ret2 = template_vs_function(2.0); in test_device_calls_template_fn() local
353 TemplateReturnTy ret2 = template_vs_hd_function(1); in test_host_device_calls_hd_template() local
358 TemplateReturnTy ret2 = template_vs_hd_function(1); in test_host_calls_hd_template() local
365 HostDeviceReturnTy ret2 = template_vs_hd_function(1); in test_device_calls_hd_template() local
378 DeviceReturnTy2 ret2 = device_only_function(1.0f); in test_host_device_single_side_overloading() local
/external/ltp/testcases/kernel/connectors/pec/
Drun_pec_test71 ret2=$?
79 if [ $ret2 -eq 2 ]; then
84 if [ $ret2 -ne 0 ]; then
/external/tcpdump/missing/
Dsnprintf.c469 int ret2; in snprintf() local
476 ret2 = vsprintf (tmp, format, args); in snprintf()
477 if (ret != ret2 || strcmp(str, tmp)) in snprintf()
501 int ret2;
507 ret2 = vsprintf (tmp, format, args);
508 if (val != ret2 || strcmp(*ret, tmp))
531 int ret2;
537 ret2 = vsprintf (tmp, format, args);
538 if (val != ret2 || strcmp(*ret, tmp))
/external/libpcap/missing/
Dsnprintf.c469 int ret2; in pcap_snprintf() local
476 ret2 = pcap_vsprintf (tmp, format, args); in pcap_snprintf()
477 if (ret != ret2 || strcmp(str, tmp)) in pcap_snprintf()
501 int ret2;
507 ret2 = vsprintf (tmp, format, args);
508 if (val != ret2 || strcmp(*ret, tmp))
531 int ret2;
537 ret2 = pcap_vsprintf (tmp, format, args);
538 if (val != ret2 || strcmp(*ret, tmp))
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c167 int ret = 0, ret2 = 0; in threaded() local
189 ret2 = pthread_barrier_wait(td->bar); in threaded()
190 if ((ret2 != 0) && (ret2 != PTHREAD_BARRIER_SERIAL_THREAD)) { in threaded()
191 UNRESOLVED(ret2, "Pthread_barrier_wait failed"); in threaded()
/external/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()
/external/clang/test/CXX/over/over.built/
Dp23.cpp12 bool ret2 = getValue() && getValue(); in testVariant() local
24 bool ret2 = getExplicitValue() && getExplicitValue(); in testExplicitVariant() local
/external/swiftshader/third_party/LLVM/test/Transforms/DeadArgElim/
Dmultdeadretval.ll62 %ret2 = call { { i32 }, { i16, i16 } } @test6 ()
63 %LIVE5 = extractvalue { { i32 }, { i16, i16 } } %ret2, 0, 0
64 %DEAD3 = extractvalue { { i32 }, { i16, i16 } } %ret2, 1, 0
65 %DEAD4 = extractvalue { { i32 }, { i16, i16 } } %ret2, 1, 1
/external/llvm/test/Transforms/DeadArgElim/
Dmultdeadretval.ll62 %ret2 = call { { i32 }, { i16, i16 } } @test6 ()
63 %LIVE5 = extractvalue { { i32 }, { i16, i16 } } %ret2, 0, 0
64 %DEAD3 = extractvalue { { i32 }, { i16, i16 } } %ret2, 1, 0
65 %DEAD4 = extractvalue { { i32 }, { i16, i16 } } %ret2, 1, 1
/external/python/cpython2/Modules/_ctypes/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()
/external/llvm/test/CodeGen/NVPTX/
Dnvvm-reflect.ll28 %ret2 = fadd float %a, %b
32 %ret = phi float [%ret1, %use_mul], [%ret2, %use_add]
73 %ret2 = fadd float %a, %b
77 %ret = phi float [%ret1, %use_mul], [%ret2, %use_add]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
D9-1.c59 int ret, ret2; in do_test() local
139 ret2 = aio_error(aiocbs[WAIT_FOR_AIOCB]); in do_test()
140 if (ret2 != EINPROGRESS) { in do_test()
/external/deqp/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 …]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
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 …]
/external/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 …]
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp157 file_time_type ret2 = last_write_time(StaticEnv::SymlinkToFile); in TEST_CASE() local
158 TEST_CHECK(ret == ret2); in TEST_CASE()
159 TEST_CHECK(C::to_time_t(ret2) == LastWriteTime(StaticEnv::SymlinkToFile)); in TEST_CASE()
167 file_time_type ret2 = last_write_time(StaticEnv::SymlinkToDir); in TEST_CASE() local
168 TEST_CHECK(ret == ret2); in TEST_CASE()
169 TEST_CHECK(C::to_time_t(ret2) == LastWriteTime(StaticEnv::SymlinkToDir)); in TEST_CASE()
/external/clang/test/CodeGenCUDA/Inputs/
Ddevice-code.ll29 %ret2 = fadd float %a, %b
33 %ret = phi float [%ret1, %use_mul], [%ret2, %use_add]
/external/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()
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/
Dpath.compare.pass.cpp95 int ret2 = normalize_ret(p1.compare(R)); in main() local
98 assert(ret1 == ret2 && ret1 == ret3 && ret1 == ret4); in main()
/external/llvm/test/CodeGen/X86/
Ddagcombine-and-setcc.ll30 br i1 %brmerge1448, label %ret1, label %ret2
35 ret2:

123