Home
last modified time | relevance | path

Searched refs:ret_size (Results 1 – 14 of 14) sorted by relevance

/external/strace/tests-mx32/
Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); in main() local
86 if (ret_size < 0) in main()
89 assert(ret_size <= (int) cpuset_size); in main()
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
112 ret_size = getaffinity(pid, big_size, cpuset); in main()
113 if (ret_size < 0) in main()
116 assert(ret_size <= (int) big_size); in main()
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
/external/strace/tests/
Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); in main() local
86 if (ret_size < 0) in main()
89 assert(ret_size <= (int) cpuset_size); in main()
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
112 ret_size = getaffinity(pid, big_size, cpuset); in main()
113 if (ret_size < 0) in main()
116 assert(ret_size <= (int) big_size); in main()
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
/external/strace/tests-m32/
Dsched_xetaffinity.c85 int ret_size = getaffinity(pid, cpuset_size, cpuset); in main() local
86 if (ret_size < 0) in main()
89 assert(ret_size <= (int) cpuset_size); in main()
94 for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
112 ret_size = getaffinity(pid, big_size, cpuset); in main()
113 if (ret_size < 0) in main()
116 assert(ret_size <= (int) big_size); in main()
118 for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { in main()
119 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { in main()
/external/strace/
Dprocess.c283 size_t ret_size = MIN((kernel_ulong_t) tcp->u_rval, in SYS_FUNC() local
286 if (syserror(tcp) || ret_size <= offset) { in SYS_FUNC()
291 if (umoven(tcp, data + offset, ret_size - offset, in SYS_FUNC()
301 if ((kernel_ulong_t) tcp->u_rval > ret_size) in SYS_FUNC()
/external/e2fsprogs/lib/ext2fs/
Dmkjournal.c95 int fd, ret_size; in write_journal_file() local
110 ret_size = write(fd, buf, fs->blocksize); in write_journal_file()
111 if (ret_size < 0) { in write_journal_file()
115 if (ret_size != (int) fs->blocksize) in write_journal_file()
123 ret_size = write(fd, buf, fs->blocksize); in write_journal_file()
124 if (ret_size < 0) { in write_journal_file()
128 if (ret_size != (int) fs->blocksize) in write_journal_file()
Dfileio.c546 errcode_t ext2fs_file_get_lsize(ext2_file_t file, __u64 *ret_size) in ext2fs_file_get_lsize() argument
550 *ret_size = EXT2_I_SIZE(&file->inode); in ext2fs_file_get_lsize()
Dext2fs.h1329 errcode_t ext2fs_file_get_lsize(ext2_file_t file, __u64 *ret_size);
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfusion_utils_test.cc69 EXPECT_EQ(fused_function->ret_size(), 1); in TEST()
110 EXPECT_EQ(fused_function->ret_size(), 2); in TEST()
146 EXPECT_EQ(fused_function->ret_size(), 2); in TEST()
179 EXPECT_EQ(fused_function->ret_size(), 2); in TEST()
Dfusion_utils.cc455 fused_function->ret_size()) in FuseFunctions()
459 << ", ret size: " << fused_function->ret_size(); in FuseFunctions()
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUM_FRAMESIZES.c581 int ret_size, errno_size; in test_VIDIOC_ENUM_FRAMESIZES_NULL() local
651 ret_size = ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
656 framesize.index, framesize.pixel_format, ret_size, errno_size); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
664 if (ret_size == 0) { in test_VIDIOC_ENUM_FRAMESIZES_NULL()
665 CU_ASSERT_EQUAL(ret_size, 0); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
669 CU_ASSERT_EQUAL(ret_size, -1); in test_VIDIOC_ENUM_FRAMESIZES_NULL()
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction.cc501 const int ret_size = static_cast<int>(rets->size()); in ComputeAsync() local
502 CHECK_EQ(ret_size, ctx->num_outputs()); in ComputeAsync()
503 for (int i = 0; i < ret_size; ++i) { in ComputeAsync()
/external/libusb/libusb/os/
Dwindows_winusb.c890 DWORD size, ret_size; in cache_config_descriptors() local
932 &cd_buf_short, size, &ret_size, NULL)) { in cache_config_descriptors()
937 …if ((ret_size != size) || (cd_buf_short.data.wTotalLength < sizeof(USB_CONFIGURATION_DESCRIPTOR)))… in cache_config_descriptors()
958 cd_buf_actual, size, &ret_size, NULL)) { in cache_config_descriptors()
965 if ((size != ret_size) || (cd_data->wTotalLength != cd_buf_short.data.wTotalLength)) { in cache_config_descriptors()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo511 @deftypefun errcode_t ext2fs_file_get_lsize (ext2_file_t @var{file}, __u64 *@var{ret_size})
512 Return the size of the file @var{file} in @var{ret_size}.
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c6656 unsigned ret_size = LLVMCountStructElementTypes(ret_type); in si_build_wrapper_function() local
6658 for (unsigned i = 0; i < ret_size; ++i) { in si_build_wrapper_function()