Home
last modified time | relevance | path

Searched refs:set_size (Results 1 – 25 of 225) sorted by relevance

123456789

/external/strace/tests/
Drt_sigprocmask.c80 unsigned int set_size; in main() local
82 for (set_size = big_size; set_size; set_size >>= 1) { in main()
83 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
86 " = -1 EINVAL (%m)\n", set_size); in main()
88 if (!set_size) in main()
91 set_size); in main()
93 void *const k_set = tail_alloc(set_size); in main()
94 void *const old_set = tail_alloc(set_size); in main()
97 memset(k_set, 0, set_size); in main()
98 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
[all …]
Drt_sigtimedwait.c101 unsigned int set_size = big_size; in main() local
102 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
103 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
109 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
111 if (!set_size) in main()
116 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
120 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
124 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
128 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
132 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
[all …]
Drt_sigsuspend.c105 unsigned int set_size = big_size; in main() local
106 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
107 assert(k_sigsuspend(k_set, set_size) == -1); in main()
111 k_set, set_size); in main()
113 if (!set_size) in main()
116 " (To be restarted if no handler)\n", set_size); in main()
120 memcpy(k_set, libc_set, set_size); in main()
122 assert(k_sigsuspend(k_set, set_size) == -1); in main()
125 " (To be restarted if no handler)\n", set_size); in main()
128 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c89 unsigned int set_size = big_size; in main() local
90 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
91 if (!k_sigpending(k_set, set_size)) in main()
94 k_set, set_size); in main()
96 if (!set_size) in main()
98 tprintf("rt_sigpending(%s, %u) = 0\n", "[]", set_size); in main()
100 iterate("[]", set_size >> 1, k_set + (set_size >> 1)); in main()
102 void *const efault = k_set + (set_size >> 1); in main()
103 assert(k_sigpending(efault, set_size) == -1); in main()
105 efault, set_size); in main()
[all …]
Dget_sigset_size.c50 static unsigned int set_size; in get_sigset_size() local
52 if (!set_size) { in get_sigset_size()
55 for (set_size = big_size; set_size; set_size >>= 1) { in get_sigset_size()
57 NULL, NULL, set_size)) in get_sigset_size()
61 if (!set_size) in get_sigset_size()
65 return set_size; in get_sigset_size()
/external/strace/tests-mx32/
Drt_sigprocmask.c80 unsigned int set_size; in main() local
82 for (set_size = big_size; set_size; set_size >>= 1) { in main()
83 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
86 " = -1 EINVAL (%m)\n", set_size); in main()
88 if (!set_size) in main()
91 set_size); in main()
93 void *const k_set = tail_alloc(set_size); in main()
94 void *const old_set = tail_alloc(set_size); in main()
97 memset(k_set, 0, set_size); in main()
98 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
[all …]
Drt_sigtimedwait.c101 unsigned int set_size = big_size; in main() local
102 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
103 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
109 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
111 if (!set_size) in main()
116 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
120 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
124 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
128 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
132 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
[all …]
Drt_sigsuspend.c105 unsigned int set_size = big_size; in main() local
106 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
107 assert(k_sigsuspend(k_set, set_size) == -1); in main()
111 k_set, set_size); in main()
113 if (!set_size) in main()
116 " (To be restarted if no handler)\n", set_size); in main()
120 memcpy(k_set, libc_set, set_size); in main()
122 assert(k_sigsuspend(k_set, set_size) == -1); in main()
125 " (To be restarted if no handler)\n", set_size); in main()
128 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c89 unsigned int set_size = big_size; in main() local
90 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
91 if (!k_sigpending(k_set, set_size)) in main()
94 k_set, set_size); in main()
96 if (!set_size) in main()
98 tprintf("rt_sigpending(%s, %u) = 0\n", "[]", set_size); in main()
100 iterate("[]", set_size >> 1, k_set + (set_size >> 1)); in main()
102 void *const efault = k_set + (set_size >> 1); in main()
103 assert(k_sigpending(efault, set_size) == -1); in main()
105 efault, set_size); in main()
[all …]
Dget_sigset_size.c50 static unsigned int set_size; in get_sigset_size() local
52 if (!set_size) { in get_sigset_size()
55 for (set_size = big_size; set_size; set_size >>= 1) { in get_sigset_size()
57 NULL, NULL, set_size)) in get_sigset_size()
61 if (!set_size) in get_sigset_size()
65 return set_size; in get_sigset_size()
/external/strace/tests-m32/
Drt_sigprocmask.c80 unsigned int set_size; in main() local
82 for (set_size = big_size; set_size; set_size >>= 1) { in main()
83 if (!k_sigprocmask(SIG_SETMASK, NULL, NULL, set_size)) in main()
86 " = -1 EINVAL (%m)\n", set_size); in main()
88 if (!set_size) in main()
91 set_size); in main()
93 void *const k_set = tail_alloc(set_size); in main()
94 void *const old_set = tail_alloc(set_size); in main()
97 memset(k_set, 0, set_size); in main()
98 if (k_sigprocmask(SIG_SETMASK, k_set, NULL, set_size)) in main()
[all …]
Drt_sigtimedwait.c101 unsigned int set_size = big_size; in main() local
102 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
103 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
109 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
111 if (!set_size) in main()
116 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
120 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
124 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
128 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
132 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
[all …]
Drt_sigsuspend.c105 unsigned int set_size = big_size; in main() local
106 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
107 assert(k_sigsuspend(k_set, set_size) == -1); in main()
111 k_set, set_size); in main()
113 if (!set_size) in main()
116 " (To be restarted if no handler)\n", set_size); in main()
120 memcpy(k_set, libc_set, set_size); in main()
122 assert(k_sigsuspend(k_set, set_size) == -1); in main()
125 " (To be restarted if no handler)\n", set_size); in main()
128 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c89 unsigned int set_size = big_size; in main() local
90 for (; set_size; set_size >>= 1, k_set += set_size) { in main()
91 if (!k_sigpending(k_set, set_size)) in main()
94 k_set, set_size); in main()
96 if (!set_size) in main()
98 tprintf("rt_sigpending(%s, %u) = 0\n", "[]", set_size); in main()
100 iterate("[]", set_size >> 1, k_set + (set_size >> 1)); in main()
102 void *const efault = k_set + (set_size >> 1); in main()
103 assert(k_sigpending(efault, set_size) == -1); in main()
105 efault, set_size); in main()
[all …]
Dget_sigset_size.c50 static unsigned int set_size; in get_sigset_size() local
52 if (!set_size) { in get_sigset_size()
55 for (set_size = big_size; set_size; set_size >>= 1) { in get_sigset_size()
57 NULL, NULL, set_size)) in get_sigset_size()
61 if (!set_size) in get_sigset_size()
65 return set_size; in get_sigset_size()
/external/tensorflow/tensorflow/core/util/
Dragged_to_dense_util_test.cc47 value_shape_proto.add_dim()->set_size(6); in TEST()
63 value_shape_proto.add_dim()->set_size(6); in TEST()
64 value_shape_proto.add_dim()->set_size(3); in TEST()
102 value_shape_proto.add_dim()->set_size(6); in TEST()
109 default_value_shape_proto.add_dim()->set_size(5); in TEST()
119 value_shape_proto.add_dim()->set_size(5); in TEST()
126 default_value_shape_proto.add_dim()->set_size(2); in TEST()
127 default_value_shape_proto.add_dim()->set_size(3); in TEST()
129 value_shape_proto.add_dim()->set_size(5); in TEST()
130 value_shape_proto.add_dim()->set_size(2); in TEST()
[all …]
/external/OpenCL-CTS/test_conformance/api/
Dtest_pipe_properties_queries.cpp50 size_t set_size = 0; in create_pipe_and_check_array_properties() local
52 error = clGetPipeInfo(test_pipe, CL_PIPE_PROPERTIES, 0, NULL, &set_size); in create_pipe_and_check_array_properties()
57 if (set_size == 0 && test_case.properties.size() == 0) in create_pipe_and_check_array_properties()
61 if (set_size != test_case.properties.size() * sizeof(cl_pipe_properties)) in create_pipe_and_check_array_properties()
64 set_size, in create_pipe_and_check_array_properties()
Dtest_queue_properties_queries.cpp131 size_t set_size = 0; in create_queue_and_check_array_properties() local
134 NULL, &set_size); in create_queue_and_check_array_properties()
139 if (set_size == 0 && test_case.properties.size() == 0) in create_queue_and_check_array_properties()
143 if (set_size != test_case.properties.size() * sizeof(cl_queue_properties)) in create_queue_and_check_array_properties()
146 set_size, in create_queue_and_check_array_properties()
151 cl_uint number_of_props = set_size / sizeof(cl_queue_properties); in create_queue_and_check_array_properties()
154 set_size, check_properties.data(), NULL); in create_queue_and_check_array_properties()
Dtest_mem_object_properties_queries.cpp139 size_t set_size = 0; in create_object_and_check_properties() local
142 clGetMemObjectInfo(test_object, CL_MEM_PROPERTIES, 0, NULL, &set_size); in create_object_and_check_properties()
150 if (set_size == 0) in create_object_and_check_properties()
162 if (set_size == 0 && test_case.properties.size() == 0) in create_object_and_check_properties()
166 if (set_size != test_case.properties.size() * sizeof(cl_mem_properties)) in create_object_and_check_properties()
169 set_size, in create_object_and_check_properties()
174 cl_uint number_of_props = set_size / sizeof(cl_mem_properties); in create_object_and_check_properties()
176 error = clGetMemObjectInfo(test_object, CL_MEM_PROPERTIES, set_size, in create_object_and_check_properties()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallVector.h66 void set_size(size_t N) { in set_size() function
215 this->set_size(this->size() + 1); in push_back()
222 this->set_size(this->size() + 1); in push_back()
226 this->set_size(this->size() - 1); in pop_back()
306 this->set_size(this->size() + 1); in push_back()
309 void pop_back() { this->set_size(this->size() - 1); } in pop_back()
347 this->set_size(N); in resize()
353 this->set_size(N); in resize()
360 this->set_size(N); in resize()
365 this->set_size(N); in resize()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DSmallVector.h86 void set_size(size_t N) { in set_size() function
321 this->set_size(this->size() + 1); in push_back()
329 this->set_size(this->size() + 1); in push_back()
333 this->set_size(this->size() - 1); in pop_back()
425 this->set_size(this->size() + 1); in push_back()
428 void pop_back() { this->set_size(this->size() - 1); } in pop_back()
466 this->set_size(N); in resize()
472 this->set_size(N); in resize()
482 this->set_size(N); in resize()
490 this->set_size(N); in resize()
[all …]
/external/tensorflow/tensorflow/examples/speech_commands/
Dtrain.py264 set_size = audio_processor.set_size('validation')
267 for i in xrange(0, set_size, FLAGS.batch_size):
281 batch_size = min(FLAGS.batch_size, set_size - i)
282 total_accuracy += (validation_accuracy * batch_size) / set_size
289 (training_step, total_accuracy * 100, set_size))
300 set_size = audio_processor.set_size('testing')
301 tf.compat.v1.logging.info('set_size=%d', set_size)
304 for i in xrange(0, set_size, FLAGS.batch_size):
314 batch_size = min(FLAGS.batch_size, set_size - i)
315 total_accuracy += (test_accuracy * batch_size) / set_size
[all …]
/external/crosvm/sys_util/src/
Dshm.rs188 pub fn set_size(&mut self, size: u64) -> Result<()> { in set_size() method
344 shm.set_size(1024) in new_sized()
355 shm.set_size(0x7fff_ffff_ffff_ffff) in new_huge()
366 shm.set_size(0x8000_0000_0000_0000).unwrap_err(); in new_too_huge()
403 shm.set_size(4096) in mmap_page()
432 shm.set_size(8092) in mmap_page_offset()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_conv_rewriter_test.cc44 window_dim->set_size(1); in GpuConvRewriterTest()
107 conv_window.mutable_dimensions(1)->set_size(2); in TEST_F()
149 conv_window.mutable_dimensions(1)->set_size(3); in TEST_F()
182 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
212 conv_window.mutable_dimensions(i)->set_size(4); in TEST_F()
241 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
272 conv_window.mutable_dimensions(i)->set_size(7); in TEST_F()
425 conv_window.mutable_dimensions(i)->set_size(3); in TEST_F()
477 conv_window.mutable_dimensions(i)->set_size(3); in TEST_F()
533 forward_conv_col_dim->set_size(3); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/tpu/
Dtpu_embedding_output_layout_utils.cc31 dim0->set_size(table.num_features() * batch_size); in ComputeOutputTensorShapes()
33 dim1->set_size(table.dimension()); in ComputeOutputTensorShapes()

123456789