Home
last modified time | relevance | path

Searched refs:array_length (Results 1 – 25 of 67) sorted by relevance

123

/external/webrtc/modules/audio_coding/neteq/
Daudio_multi_vector_unittest.cc35 array_interleaved_(num_channels_ * array_length()) {} in AudioMultiVectorTest()
41 for (size_t i = 0; i < array_length(); ++i) { in SetUp()
48 for (size_t i = 0; i < array_length(); ++i) { in SetUp()
56 size_t array_length() const { return sizeof(array_) / sizeof(array_[0]); } in array_length() function in webrtc::AudioMultiVectorTest
80 AudioMultiVector vec(num_channels_, array_length()); in TEST_P()
82 for (size_t i = 0; i < array_length(); ++i) { in TEST_P()
99 ASSERT_EQ(array_length(), vec.Size()); in TEST_P()
101 ASSERT_EQ(array_length(), vec_copy.Size()); in TEST_P()
103 for (size_t i = 0; i < array_length(); ++i) { in TEST_P()
128 AudioMultiVector vec1(num_channels_, array_length()); in TEST_P()
[all …]
Daudio_vector_unittest.cc26 for (size_t i = 0; i < array_length(); ++i) { in SetUp()
31 size_t array_length() const { return sizeof(array_) / sizeof(array_[0]); } in array_length() function in webrtc::AudioVectorTest
51 AudioVector vec(array_length()); in TEST_F()
52 for (size_t i = 0; i < array_length(); ++i) { in TEST_F()
64 vec.PushBack(array_, array_length()); in TEST_F()
66 ASSERT_EQ(array_length(), vec.Size()); in TEST_F()
67 ASSERT_EQ(array_length(), vec_copy.Size()); in TEST_F()
68 for (size_t i = 0; i < array_length(); ++i) { in TEST_F()
104 vec.PushFront(array_, array_length()); in TEST_F()
105 ASSERT_EQ(array_length(), vec.Size()); in TEST_F()
[all …]
/external/libhevc/encoder/
Dihevce_common_utils.h58 primary_array, companion_array, array_length, type_companion) \ argument
62 for(i = 0; i < (array_length - 1); i++) \
64 for(j = (i + 1); j < array_length; j++) \
81 primary_array, companion_array, array_length) \ argument
85 for(i = 0; i < (array_length - 1); i++) \
87 for(j = (i + 1); j < array_length; j++) \
100 #define SORT_INTTYPE_ARRAY(primary_array, array_length) \ argument
104 for(i = 0; i < (array_length - 1); i++) \
106 for(j = (i + 1); j < array_length; j++) \
Dihevce_decomp_pre_intra_pass.c2140 WORD32 array_length = sizeof(ai4_satd_4x4) / sizeof(WORD32); in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit() local
2142 &ai4_satd_4x4[0], aai4_sort_4_16_64_satd, array_length, 1, 64); in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit()
2146 array_length = sizeof(ai4_satd_8x8) / sizeof(WORD32); in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit()
2148 &ai4_satd_8x8[0], aai4_sort_4_16_satd, array_length, 1, 16); in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit()
2211 WORD32 array_length = sizeof(ai4_satd_16x16) / sizeof(WORD32); in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit() local
2215 ihevce_merge_sort(ai4_satd_16x16, aai4_sort_4_satd, array_length, 1, 4); in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit()
/external/libchrome/base/trace_event/
Dmemory_usage_estimator.h94 size_t EstimateMemoryUsage(const T* array, size_t array_length);
103 size_t array_length);
356 size_t EstimateMemoryUsage(const T* array, size_t array_length) {
357 size_t memory_usage = sizeof(T) * array_length;
358 for (size_t i = 0; i != array_length; ++i) {
373 size_t array_length) {
374 return EstimateMemoryUsage(array.get(), array_length);
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c65 list->array_length = other_list->array_length; in anv_reloc_list_init_clone()
69 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
75 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone()
83 list->array_length * sizeof(*list->relocs)); in anv_reloc_list_init_clone()
85 list->array_length * sizeof(*list->reloc_bos)); in anv_reloc_list_init_clone()
120 if (list->num_relocs + num_additional_relocs <= list->array_length) in anv_reloc_list_grow()
123 size_t new_length = MAX2(16, list->array_length * 2); in anv_reloc_list_grow()
143 list->array_length = new_length; in anv_reloc_list_grow()
1109 uint32_t array_length; member
1175 if (exec->bo_count >= exec->array_length) { in anv_execbuf_add_bo()
[all …]
/external/webrtc/sdk/android/native_api/jni/
Djava_types.cc252 size_t array_length = env->GetArrayLength(jarray.obj()); in JavaToNativeByteArray() local
253 std::vector<int8_t> container(array_ptr, array_ptr + array_length); in JavaToNativeByteArray()
262 size_t array_length = env->GetArrayLength(jarray.obj()); in JavaToNativeIntArray() local
263 std::vector<int32_t> container(array_ptr, array_ptr + array_length); in JavaToNativeIntArray()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_array_merge.cpp212 if (a->array_length() < b->array_length()) in merge()
220 if (a->array_length() < b->array_length()) in interleave()
Dst_glsl_to_tgsi_array_merge.h63 unsigned array_length() const { return length;} in array_length() function
/external/deqp-deps/SPIRV-Tools/source/opt/
Dpass.cpp117 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
118 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpass.cpp117 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
118 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dpass.cpp117 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
118 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
/external/libtextclassifier/native/utils/java/
Djni-helper.cc257 TC3_ASSIGN_OR_RETURN(const int array_length, in JByteArrayToString()
259 result.resize(array_length); in JByteArrayToString()
261 env, array, 0, array_length, in JByteArrayToString()
/external/icing/icing/text_classifier/lib3/utils/java/
Djni-helper.cc255 TC3_ASSIGN_OR_RETURN(const int array_length, in JByteArrayToString()
257 result.resize(array_length); in JByteArrayToString()
259 env, array, 0, array_length, in JByteArrayToString()
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
Dpost-inc-range.ll79 %array_length = load i32, i32* %array_length_ptr, !range !{i32 0, i32 64 }
80 %within_limits = icmp ult i32 %i, %array_length
113 %array_length = load i32, i32* %array_length_ptr
114 %within_limits = icmp ult i32 %i, %array_length
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_construct_composites.cpp169 uint32_t array_length = in FindComponentsToConstructArray() local
176 for (uint32_t index = 0; index < array_length; index++) { in FindComponentsToConstructArray()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp200 uint32_t array_length = in FindComponentsToConstructArray() local
207 for (uint32_t index = 0; index < array_length; index++) { in FindComponentsToConstructArray()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_construct_composites.cpp200 uint32_t array_length = in FindComponentsToConstructArray() local
207 for (uint32_t index = 0; index < array_length; index++) { in FindComponentsToConstructArray()
/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/
Dconvert_binary_to_cc_source.py125 array_length=len(data),
/external/mesa3d/src/mesa/state_tracker/tests/
Dtest_glsl_to_tgsi_array_merge.cpp116 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
147 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
179 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
222 EXPECT_EQ(a2.array_length(), 9u); in TEST_F()
238 EXPECT_EQ(a1.array_length(), 10u); in TEST_F()
/external/libtextclassifier/native/utils/utf8/
Dunilib-common.cc460 int GetMatchIndex(const char32* array, int array_length, char32 c) { in GetMatchIndex() argument
461 const char32* end = array + array_length; in GetMatchIndex()
/external/webrtc/sdk/android/src/jni/
Dvideo_encoder_wrapper.cc434 const jsize array_length = jni->GetArrayLength(j_bitrate_limits_array.obj()); in JavaToNativeResolutionBitrateLimits() local
435 for (int i = 0; i < array_length; ++i) { in JavaToNativeResolutionBitrateLimits()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_liverange.h236 unsigned array_length() const { return length;} in array_length() function
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DPacket.java1187 int array_length = this.getNextValueAsInt(); in getNextValueAsArrayRegion() local
1189 ArrayRegion array = new ArrayRegion(array_tag, array_length); in getNextValueAsArrayRegion()
1191 for (int i = 0; i < array_length; i++) { in getNextValueAsArrayRegion()
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_call.c398 long array_length; in grpc_rb_md_ary_fill_hash_cb() local
427 array_length = RARRAY_LEN(val); in grpc_rb_md_ary_fill_hash_cb()
429 for (i = 0; i < array_length; i++) { in grpc_rb_md_ary_fill_hash_cb()

123