Home
last modified time | relevance | path

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

1234567

/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/examples/speech_commands/
Dtrain.py238 set_size = audio_processor.set_size('validation')
241 for i in xrange(0, set_size, FLAGS.batch_size):
255 batch_size = min(FLAGS.batch_size, set_size - i)
256 total_accuracy += (validation_accuracy * batch_size) / set_size
263 (training_step, total_accuracy * 100, set_size))
273 set_size = audio_processor.set_size('testing')
274 tf.logging.info('set_size=%d', set_size)
277 for i in xrange(0, set_size, FLAGS.batch_size):
287 batch_size = min(FLAGS.batch_size, set_size - i)
288 total_accuracy += (test_accuracy * batch_size) / set_size
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSmallVector.h67 void set_size(size_t Size) { in set_size() function
222 this->set_size(this->size() + 1); in push_back()
229 this->set_size(this->size() + 1); in push_back()
233 this->set_size(this->size() - 1); in pop_back()
314 this->set_size(this->size() + 1); in push_back()
317 void pop_back() { this->set_size(this->size() - 1); } in pop_back()
354 this->set_size(N); in resize()
360 this->set_size(N); in resize()
367 this->set_size(N); in resize()
372 this->set_size(N); in resize()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator_test.cc61 shape_rows->set_size(rows); in DescribeMatrix()
63 shape_columns->set_size(columns); in DescribeMatrix()
94 shape->add_dim()->set_size(d); in DescribeArbitraryRankInput()
106 shape->add_dim()->set_size(d); in DescribeArbitraryRankOutput()
142 shape->add_dim()->set_size(dim0); in DescribeTensor1D()
151 shape->add_dim()->set_size(dim0); in DescribeTensor4D()
152 shape->add_dim()->set_size(dim1); in DescribeTensor4D()
153 shape->add_dim()->set_size(dim2); in DescribeTensor4D()
154 shape->add_dim()->set_size(dim3); in DescribeTensor4D()
343 temp_tensor_proto.mutable_tensor_shape()->add_dim()->set_size(x); in GetTensorProto()
[all …]
/external/openssh/
Dssh-pkcs11-helper.c276 ssize_t len, olen, set_size; in main() local
304 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask); in main()
305 rset = xmalloc(set_size); in main()
306 wset = xmalloc(set_size); in main()
309 memset(rset, 0, set_size); in main()
310 memset(wset, 0, set_size); in main()
/external/tensorflow/tensorflow/core/framework/
Dtensor_shape_test.cc124 proto.add_dim()->set_size(357); in TEST()
125 proto.add_dim()->set_size(982); in TEST()
129 proto.add_dim()->set_size(-357); in TEST()
130 proto.add_dim()->set_size(-982); in TEST()
134 proto.add_dim()->set_size(1LL << 35); in TEST()
135 proto.add_dim()->set_size((1LL << 35) + 1); in TEST()
145 proto.add_dim()->set_size(1); in TEST()
149 proto.add_dim()->set_size(1); in TEST()
468 dim->set_size(dim_sizes_[d]); in AsProto()
598 proto.add_dim()->set_size(dim); in TEST()
[all …]
Dpartial_tensor_shape_test.cc72 proto.add_dim()->set_size(357); in TEST()
73 proto.add_dim()->set_size(982); in TEST()
77 proto.add_dim()->set_size(0); in TEST()
78 proto.add_dim()->set_size(-1); in TEST()
85 proto.add_dim()->set_size(1); in TEST()
89 proto.add_dim()->set_size(-2); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_conv_rewriter_test.cc44 window_dim->set_size(1); in CudnnConvRewriterTest()
107 conv_window.mutable_dimensions(1)->set_size(2); in TEST_F()
148 conv_window.mutable_dimensions(1)->set_size(3); in TEST_F()
180 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
210 conv_window.mutable_dimensions(i)->set_size(4); in TEST_F()
239 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
270 conv_window.mutable_dimensions(i)->set_size(7); in TEST_F()
419 conv_window.mutable_dimensions(i)->set_size(3); in TEST_F()
470 conv_window.mutable_dimensions(i)->set_size(3); in TEST_F()
525 forward_conv_col_dim->set_size(3); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dset_kernels.cc463 const auto set_size = group_set.size(); in ComputeDenseToDense() local
464 if (set_size > max_set_size) { in ComputeDenseToDense()
465 max_set_size = set_size; in ComputeDenseToDense()
467 num_result_values += set_size; in ComputeDenseToDense()
545 const auto set_size = group_set.size(); in ComputeDenseToSparse() local
546 if (set_size > max_set_size) { in ComputeDenseToSparse()
547 max_set_size = set_size; in ComputeDenseToSparse()
549 num_result_values += set_size; in ComputeDenseToSparse()
668 const auto set_size = group_set.size(); in ComputeSparseToSparse() local
669 if (set_size > max_set_size) { in ComputeSparseToSparse()
[all …]
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dset_ops.py22 set_size = sets.set_size variable
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dresolve_svdf.cc203 allocated_tensor_shape->add_dim()->set_size(shape.dim(d).size()); in MaybeMergeConstNodes()
234 allocated_tensor_shape->add_dim()->set_size(dim1_size); in MaybeMergeConstNodes()
235 allocated_tensor_shape->add_dim()->set_size(dim0_size); in MaybeMergeConstNodes()
242 tensor_shape_dim0->set_size(dim0_size); in MaybeMergeConstNodes()

1234567