Home
last modified time | relevance | path

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

123456

/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/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/
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.py225 set_size = audio_processor.set_size('validation')
228 for i in xrange(0, set_size, FLAGS.batch_size):
242 batch_size = min(FLAGS.batch_size, set_size - i)
243 total_accuracy += (validation_accuracy * batch_size) / set_size
250 (training_step, total_accuracy * 100, set_size))
260 set_size = audio_processor.set_size('testing')
261 tf.logging.info('set_size=%d', set_size)
264 for i in xrange(0, set_size, FLAGS.batch_size):
274 batch_size = min(FLAGS.batch_size, set_size - i)
275 total_accuracy += (test_accuracy * batch_size) / set_size
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator_test.cc31 shape_rows->set_size(rows); in DescribeMatrix()
33 shape_columns->set_size(columns); in DescribeMatrix()
81 shape->add_dim()->set_size(d); in DescribeArbitraryRankInput()
103 shape->add_dim()->set_size(dim0); in DescribeTensor4D()
104 shape->add_dim()->set_size(dim1); in DescribeTensor4D()
105 shape->add_dim()->set_size(dim2); in DescribeTensor4D()
106 shape->add_dim()->set_size(dim3); in DescribeTensor4D()
132 shape->add_dim()->set_size(2 * size1); in DescribeOp()
133 shape->add_dim()->set_size(size2); in DescribeOp()
134 shape->add_dim()->set_size(1); in DescribeOp()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_convolution_rewriter_test.cc41 window_dim->set_size(1); in CudnnConvolutionRewriterTest()
104 conv_window.mutable_dimensions(1)->set_size(2); in TEST_F()
133 conv_window.mutable_dimensions(1)->set_size(3); in TEST_F()
164 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
194 conv_window.mutable_dimensions(i)->set_size(4); in TEST_F()
222 conv_window.mutable_dimensions(i)->set_size(35); in TEST_F()
252 conv_window.mutable_dimensions(i)->set_size(7); in TEST_F()
394 conv_window.mutable_dimensions(i)->set_size(3); in TEST_F()
442 conv_window.mutable_dimensions(i)->set_size(3); in TEST_F()
496 forward_conv_col_dim->set_size(3); in TEST_F()
[all …]
/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()
461 dim->set_size(dim_sizes_[d]); in AsProto()
591 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/core/kernels/
Dset_kernels.cc466 const auto set_size = group_set.size(); in ComputeDenseToDense() local
467 if (set_size > max_set_size) { in ComputeDenseToDense()
468 max_set_size = set_size; in ComputeDenseToDense()
470 num_result_values += set_size; in ComputeDenseToDense()
546 const auto set_size = group_set.size(); in ComputeDenseToSparse() local
547 if (set_size > max_set_size) { in ComputeDenseToSparse()
548 max_set_size = set_size; in ComputeDenseToSparse()
550 num_result_values += set_size; in ComputeDenseToSparse()
664 const auto set_size = group_set.size(); in ComputeSparseToSparse() local
665 if (set_size > max_set_size) { in ComputeSparseToSparse()
[all …]
Dunique_op_test.cc41 tensor_proto.mutable_tensor_shape()->add_dim()->set_size(dim); in GetRandomInt32TensorProto()
54 tensor_proto.mutable_tensor_shape()->add_dim()->set_size(dim); in GetRandomInt32TensorProtoWithRepeat()
108 tensor_proto.mutable_tensor_shape()->add_dim()->set_size(dim); in GetRandomStringsTensorProto()
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dset_ops.py22 set_size = sets.set_size variable
/external/tensorflow/tensorflow/contrib/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()
/external/sfntly/cpp/src/test/tinyxml/
Dtinystr.cpp62 set_size(len); in assign()
76 set_size(newsize); in append()

123456