Home
last modified time | relevance | path

Searched refs:num_values (Results 1 – 25 of 75) sorted by relevance

123

/external/tinyalsa/
Dtinymix.c42 char **values, unsigned int num_values);
132 unsigned int num_ctls, num_values; in tinymix_list_controls() local
152 num_values = mixer_ctl_get_num_values(ctl); in tinymix_list_controls()
154 printf("%d\t%s\t%d\t%s\t", i, type, num_values, name); in tinymix_list_controls()
156 printf("%d\t%s\t%d\t%-40s ", i, type, num_values, name); in tinymix_list_controls()
189 unsigned int num_values; in tinymix_detail_control() local
209 num_values = mixer_ctl_get_num_values(ctl); in tinymix_detail_control()
215 buf = calloc(1, num_values + tlv_header_size); in tinymix_detail_control()
217 fprintf(stderr, "Failed to alloc mem for bytes %d\n", num_values); in tinymix_detail_control()
221 len = num_values; in tinymix_detail_control()
[all …]
/external/libcups/cups/
Dipp.c33 int num_values);
168 int num_values, /* I - Number of values */ in ippAddBooleans() argument
176 …values=%d, values=%p)", (void *)ipp, group, ippTagString(group), name, num_values, (void *)values)… in ippAddBooleans()
184 num_values < 1) in ippAddBooleans()
191 if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BOOLEAN, num_values)) == NULL) in ippAddBooleans()
196 for (i = num_values, value = attr->values; in ippAddBooleans()
276 int num_values, /* I - Number of values */ in ippAddCollections() argument
284 …values=%d, values=%p)", (void *)ipp, group, ippTagString(group), name, num_values, (void *)values)… in ippAddCollections()
292 num_values < 1) in ippAddCollections()
300 num_values)) == NULL) in ippAddCollections()
[all …]
Doptions.c556 int num_values; /* Number of values */ in _cupsGet1284Values() local
579 num_values = 0; in _cupsGet1284Values()
620 num_values = cupsAddOption(key, value, num_values, values); in _cupsGet1284Values()
623 return (num_values); in _cupsGet1284Values()
/external/tensorflow/tensorflow/core/kernels/
Dsearchsorted_op.cc38 int batch_size, int num_inputs, int num_values, in Compute()
43 OutType* output_ptr = output->data() + b * num_values; in Compute()
44 for (int i = 0; i < num_values; ++i) { in Compute()
47 values(i + b * num_values)) - in Compute()
61 int batch_size, int num_inputs, int num_values, in Compute()
66 OutType* output_ptr = output->data() + b * num_values; in Compute()
67 for (int i = 0; i < num_values; ++i) { in Compute()
70 values(i + b * num_values)) - in Compute()
Dragged_gather_op.cc79 int64 num_values = 0; in Compute() local
83 &value_slices, &num_values)); in Compute()
89 out_splits.size(), num_values, context)); in Compute()
116 std::vector<std::pair<int64, int64>>* value_slices, int64* num_values) { in MakeSplits() argument
117 *num_values = 0; in MakeSplits()
178 *num_values += limit - start; in MakeSplits()
233 int values_index, int64 num_values, OpKernelContext* context) const { in WriteValues() argument
236 values_shape.set_dim(0, num_values); in WriteValues()
Dsearchsorted_op_gpu.cu.cc65 int batch_size, int num_inputs, int num_values, in Compute()
74 num_inputs, num_values, values.data(), output->data())); in Compute()
85 int batch_size, int num_inputs, int num_values, in Compute()
94 num_inputs, num_values, values.data(), output->data())); in Compute()
Ddequantize_op_test.cc156 const int64 num_values = 1500 * 250; in BM_DequantizeMinCombinedCpu() local
158 inputs.reserve(num_values); in BM_DequantizeMinCombinedCpu()
159 for (int i = 0; i < num_values; ++i) inputs.push_back(i); in BM_DequantizeMinCombinedCpu()
168 testing::BytesProcessed(iters * num_values * (sizeof(float) + sizeof(T))); in BM_DequantizeMinCombinedCpu()
Dsearchsorted_op.h35 int batch_size, int num_inputs, int num_values,
46 int batch_size, int num_inputs, int num_values,
/external/tensorflow/tensorflow/c/eager/
Dc_api.h345 int num_values);
349 int num_values);
353 int num_values);
357 int num_values);
361 int num_values);
364 const int* num_dims, int num_values, TF_Status* out_status);
368 int num_values);
Dc_api.cc725 int num_values) { in TFE_OpSetAttrStringList() argument
726 std::vector<tensorflow::StringPiece> v(num_values); in TFE_OpSetAttrStringList()
727 for (int i = 0; i < num_values; ++i) { in TFE_OpSetAttrStringList()
735 const float* values, int num_values) { in TFE_OpSetAttrFloatList() argument
737 attr_name, tensorflow::gtl::ArraySlice<const float>(values, num_values)); in TFE_OpSetAttrFloatList()
741 const int64_t* values, int num_values) { in TFE_OpSetAttrIntList() argument
744 reinterpret_cast<const int64*>(values), num_values)); in TFE_OpSetAttrIntList()
748 const TF_DataType* values, int num_values) { in TFE_OpSetAttrTypeList() argument
752 reinterpret_cast<const tensorflow::DataType*>(values), num_values)); in TFE_OpSetAttrTypeList()
756 const unsigned char* values, int num_values) { in TFE_OpSetAttrBoolList() argument
[all …]
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc279 const int num_values = PySequence_Size(py_list); in SetOpAttrList() local
280 if (attr_list_sizes != nullptr) (*attr_list_sizes)[key] = num_values; in SetOpAttrList()
283 std::unique_ptr<c_type[]> values(new c_type[num_values]); \ in SetOpAttrList()
284 for (int i = 0; i < num_values; ++i) { \ in SetOpAttrList()
290 std::unique_ptr<const void*[]> values(new const void*[num_values]); in SetOpAttrList()
291 std::unique_ptr<size_t[]> lengths(new size_t[num_values]); in SetOpAttrList()
292 for (int i = 0; i < num_values; ++i) { in SetOpAttrList()
299 TFE_OpSetAttrStringList(op, key, values.get(), lengths.get(), num_values); in SetOpAttrList()
302 TFE_OpSetAttrIntList(op, key, values.get(), num_values); in SetOpAttrList()
305 TFE_OpSetAttrFloatList(op, key, values.get(), num_values); in SetOpAttrList()
[all …]
/external/autotest/utils/
Dsummarize_loadtest.py95 num_values = len(values)
96 if num_values:
99 summary['avg'] = sum(values) / num_values
100 num_skipped = len(entries) - num_values
102 summary['num'] = num_values
/external/libaom/libaom/av1/common/
Dcommon.h48 static INLINE int get_unsigned_bits(unsigned int num_values) { in get_unsigned_bits() argument
49 return num_values > 0 ? get_msb(num_values) + 1 : 0; in get_unsigned_bits()
/external/libvpx/libvpx/vp9/common/
Dvp9_common.h45 static INLINE int get_unsigned_bits(unsigned int num_values) { in get_unsigned_bits() argument
46 return num_values > 0 ? get_msb(num_values) + 1 : 0; in get_unsigned_bits()
/external/tensorflow/tensorflow/core/ops/
Dragged_conversion_ops.cc65 DimensionHandle num_values = c->NumElements(rt_dense_values); in RaggedTensorToSparseShapeFn() local
67 c->set_output(0, c->Matrix(num_values, dense_dims)); // indices in RaggedTensorToSparseShapeFn()
68 c->set_output(1, c->Vector(num_values)); // values in RaggedTensorToSparseShapeFn()
/external/tensorflow/tensorflow/lite/testing/
Dtest_runner.h109 bool CheckSizes(size_t tensor_bytes, size_t num_values) { in CheckSizes() argument
111 if (num_tensor_elements != num_values) { in CheckSizes()
114 std::to_string(num_values) + "'"); in CheckSizes()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtest_runner.h112 bool CheckSizes(size_t tensor_bytes, size_t num_values) { in CheckSizes() argument
114 if (num_tensor_elements != num_values) { in CheckSizes()
117 std::to_string(num_values) + "'"); in CheckSizes()
/external/tensorflow/tensorflow/cc/gradients/
Ddata_flow_grad.cc121 int32 num_values = op.num_inputs() / 2; in DynamicStitchGrad() local
124 for (int32 i = 0; i < num_values; i++) { in DynamicStitchGrad()
131 for (int32 i = 0; i < num_values; i++) { in DynamicStitchGrad()
/external/tensorflow/tensorflow/python/ops/
Ddata_flow_grad.py52 num_values = len(op.inputs) // 2
53 indices_grad = [None] * num_values
58 inputs = [AsInt32(op.inputs[i]) for i in xrange(num_values)]
/external/tensorflow/tensorflow/java/src/main/native/
Doperation_builder_jni.cc307 int num_values = env->GetArrayLength(values); in Java_org_tensorflow_OperationBuilder_setAttrStringList() local
310 std::unique_ptr<jbyteArray[]> jarrays(new jbyteArray[num_values]); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
311 std::unique_ptr<jbyte* []> jvalues(new jbyte*[num_values]); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
312 std::unique_ptr<void* []> cvalues(new void*[num_values]); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
313 std::unique_ptr<size_t[]> lengths(new size_t[num_values]); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
315 for (int i = 0; i < num_values; ++i) { in Java_org_tensorflow_OperationBuilder_setAttrStringList()
323 TF_SetAttrStringList(d, cname, cvalues.get(), lengths.get(), num_values); in Java_org_tensorflow_OperationBuilder_setAttrStringList()
324 for (int i = 0; i < num_values; ++i) { in Java_org_tensorflow_OperationBuilder_setAttrStringList()
/external/google-fruit/include/fruit/impl/data_structures/
Dsemistatic_map.templates.h44 Iter values_begin, Iter values_end, std::size_t num_values, MemoryPool& memory_pool) { in SemistaticMap() argument
45 NumBits num_bits = pickNumBits(num_values); in SemistaticMap()
74 values = FixedSizeVector<value_type>(num_values, value_type()); in SemistaticMap()
86 for (std::size_t i = 0; i < num_values; ++i, ++itr) { in SemistaticMap()
/external/boringssl/src/ssl/
Dssl_privkey.cc521 size_t num_values) { in parse_sigalg_pairs() argument
522 if ((num_values & 1) == 1) { in parse_sigalg_pairs()
526 const size_t num_pairs = num_values / 2; in parse_sigalg_pairs()
531 for (size_t i = 0; i < num_values; i += 2) { in parse_sigalg_pairs()
588 int SSL_CTX_set1_sigalgs(SSL_CTX *ctx, const int *values, size_t num_values) { in SSL_CTX_set1_sigalgs() argument
590 if (!parse_sigalg_pairs(&sigalgs, values, num_values) || in SSL_CTX_set1_sigalgs()
604 int SSL_set1_sigalgs(SSL *ssl, const int *values, size_t num_values) { in SSL_set1_sigalgs() argument
611 if (!parse_sigalg_pairs(&sigalgs, values, num_values) || in SSL_set1_sigalgs()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c84 unsigned num_values; member
430 for (j = 0; j < (test->num_values + length - 1) / length; j++) { in test_unary()
431 int num_vals = ((j + 1) * length <= test->num_values) ? length : in test_unary()
432 test->num_values % length; in test_unary()
/external/tensorflow/tensorflow/c/
Dc_test_util.cc54 int64_t num_values = 1; in Int8Tensor() local
56 num_values *= dims[i]; in Int8Tensor()
59 TF_AllocateTensor(TF_INT8, dims, num_dims, sizeof(char) * num_values); in Int8Tensor()
60 memcpy(TF_TensorData(t), values, sizeof(char) * num_values); in Int8Tensor()
66 int64_t num_values = 1; in Int32Tensor() local
68 num_values *= dims[i]; in Int32Tensor()
71 TF_AllocateTensor(TF_INT32, dims, num_dims, sizeof(int32_t) * num_values); in Int32Tensor()
72 memcpy(TF_TensorData(t), values, sizeof(int32_t) * num_values); in Int32Tensor()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsparse_to_dense_op.cc52 const int64 num_values = sparse_values_shape.num_elements(); in Compile() local
56 (sparse_values_shape.dims() == 1 && num_values == num_elems), in Compile()

123