Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_multi_vector_unittest.cc35 interleaved_length_(num_channels_ * array_length()) { in AudioMultiVectorTest()
36 array_interleaved_ = new int16_t[num_channels_ * array_length()]; in AudioMultiVectorTest()
45 for (size_t i = 0; i < array_length(); ++i) { in SetUp()
52 for (size_t i = 0; i < array_length(); ++i) { in SetUp()
60 size_t array_length() const { in array_length() function in webrtc::AudioMultiVectorTest
87 AudioMultiVector vec(num_channels_, array_length()); in TEST_P()
89 for (size_t i = 0; i < array_length(); ++i) { in TEST_P()
106 ASSERT_EQ(array_length(), vec.Size()); in TEST_P()
108 ASSERT_EQ(array_length(), vec_copy.Size()); in TEST_P()
110 for (size_t i = 0; i < array_length(); ++i) { in TEST_P()
[all …]
Daudio_vector_unittest.cc27 for (size_t i = 0; i < array_length(); ++i) { in SetUp()
32 size_t array_length() const { in array_length() function in webrtc::AudioVectorTest
54 AudioVector vec(array_length()); in TEST_F()
55 for (size_t i = 0; i < array_length(); ++i) { in TEST_F()
67 vec.PushBack(array_, array_length()); in TEST_F()
69 ASSERT_EQ(array_length(), vec.Size()); in TEST_F()
70 ASSERT_EQ(array_length(), vec_copy.Size()); in TEST_F()
71 for (size_t i = 0; i < array_length(); ++i) { in TEST_F()
89 vec.PushBack(array_, array_length()); in TEST_F()
115 vec.PushFront(array_, array_length()); in TEST_F()
[all …]
/external/cmockery/cmockery_0_1_2/src/example/
Dcalculator_test.c27 #define array_length(x) (sizeof(x) / sizeof((x)[0])) macro
136 array_length(operator_functions), operator_functions, NULL)); in test_find_operator_function_by_string_null_string()
155 array_length(operator_functions), operator_functions, "test"), in test_find_operator_function_by_string_not_found()
168 array_length(operator_functions), operator_functions, "-"), in test_find_operator_function_by_string_found()
181 1, NULL, array_length(operator_functions), operator_functions, in test_perform_operation_null_args()
196 array_length(args), args, 1, NULL, &number_of_intermediate_values, in test_perform_operation_null_operator_functions()
212 array_length(args), args, 1, operator_functions, NULL, in test_perform_operation_null_number_of_intermediate_values()
228 array_length(args), args, array_length(operator_functions), in test_perform_operation_null_intermediate_values()
261 array_length(args), args, array_length(operator_functions), in test_perform_operation_first_arg_not_integer()
284 array_length(args), args, array_length(operator_functions), in test_perform_operation_unknown_operator()
[all …]
/external/v8/src/runtime/
Druntime-strings.cc261 int32_t array_length; in RUNTIME_FUNCTION() local
262 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
269 CHECK(array_length >= 0); in RUNTIME_FUNCTION()
270 CHECK(static_cast<size_t>(array_length) <= actual_array_length); in RUNTIME_FUNCTION()
289 if (fixed_array->length() < array_length) { in RUNTIME_FUNCTION()
290 array_length = fixed_array->length(); in RUNTIME_FUNCTION()
293 if (array_length == 0) { in RUNTIME_FUNCTION()
295 } else if (array_length == 1) { in RUNTIME_FUNCTION()
300 array_length, &one_byte); in RUNTIME_FUNCTION()
316 array_length); in RUNTIME_FUNCTION()
[all …]
Druntime-liveedit.cc226 int array_length = Smi::cast(old_shared_array->length())->value(); in RUNTIME_FUNCTION() local
227 for (int i = 0; i < array_length; i++) { in RUNTIME_FUNCTION()
260 uint32_t array_length = 0; in RUNTIME_FUNCTION() local
261 CHECK(result->length()->ToArrayLength(&array_length)); in RUNTIME_FUNCTION()
262 if (array_length > 0) { in RUNTIME_FUNCTION()
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c56 list->array_length = other_list->array_length; in anv_reloc_list_init_clone()
59 list->array_length = 256; in anv_reloc_list_init_clone()
63 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
70 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone()
80 list->array_length * sizeof(*list->relocs)); in anv_reloc_list_init_clone()
82 list->array_length * sizeof(*list->reloc_bos)); in anv_reloc_list_init_clone()
108 if (list->num_relocs + num_additional_relocs <= list->array_length) in anv_reloc_list_grow()
111 size_t new_length = list->array_length * 2; in anv_reloc_list_grow()
136 list->array_length = new_length; in anv_reloc_list_grow()
937 uint32_t array_length; member
[all …]
/external/tpm2/generator/
Dstructure_generator.py1189 self, out_file, field_type, field_name, array_length): argument
1199 if array_length:
1202 'array_length': array_length})
1208 self, out_file, field_type, field_name, array_length, typemap): argument
1219 if array_length:
1223 'array_length': array_length})
1283 array_length = array_lengths[field_name]
1284 self._OutputMarshalField(out_file, field_type, field_name, array_length)
1307 array_length = array_lengths[field_name]
1309 out_file, field_type, field_name, array_length, typemap)
/external/v8/src/
Dlayout-descriptor.cc244 int array_length = GetSlowModeBackingStoreLength(layout_descriptor_length); in Trim() local
246 if (current_length != array_length) { in Trim()
247 DCHECK_LT(array_length, current_length); in Trim()
248 int delta = current_length - array_length; in Trim()
Dstring-builder.h31 int array_length) { in StringBuilderConcatHelper() argument
34 for (int i = 0; i < array_length; i++) { in StringBuilderConcatHelper()
68 int array_length, bool* one_byte) { in StringBuilderConcatLength() argument
71 for (int i = 0; i < array_length; i++) { in StringBuilderConcatLength()
88 if (i >= array_length) return -1; in StringBuilderConcatLength()
Dobjects-debug.cc812 uint32_t array_length; in JSArrayVerify() local
813 CHECK(length()->ToArrayLength(&array_length)); in JSArrayVerify()
814 if (array_length == 0xffffffff) { in JSArrayVerify()
815 CHECK(length()->ToArrayLength(&array_length)); in JSArrayVerify()
817 if (array_length != 0) { in JSArrayVerify()
824 CHECK_LE(nof_elements, array_length); in JSArrayVerify()
Dbootstrapper.cc1379 Handle<AccessorInfo> array_length = in InitializeGlobal() local
1383 Handle<Name>(Name::cast(array_length->name())), array_length, in InitializeGlobal()
3880 Handle<AccessorInfo> array_length = in InstallInternalArray() local
3884 Handle<Name>(Name::cast(array_length->name())), array_length, attribs); in InstallInternalArray()
/external/libchrome/base/trace_event/
Dmemory_usage_estimator.h88 size_t EstimateMemoryUsage(const T* array, size_t array_length);
97 size_t array_length);
287 size_t EstimateMemoryUsage(const T* array, size_t array_length) {
288 size_t memory_usage = sizeof(T) * array_length;
289 for (size_t i = 0; i != array_length; ++i) {
304 size_t array_length) {
305 return EstimateMemoryUsage(array.get(), array_length);
/external/tensorflow/tensorflow/python/estimator/inputs/queues/
Dfeeding_functions.py108 epoch_end, array_length, current_epoch, argument
140 j % array_length for j in range(batch_indices_start, batch_indices_end)
184 array_length=self._max,
227 array_length=self._max,
270 array_length=self._max,
/external/libmojo/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py124 array_length = "" if kind.length is None else ", %d" % kind.length
126 return "new codec.%s(%s%s)" % (array_type, element_type, array_length)
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c1403 int array_length = -1; in vtn_handle_variables() local
1413 array_length = glsl_get_length(var->type->type); in vtn_handle_variables()
1423 if (array_length >= 0) in vtn_handle_variables()
1424 mtype = glsl_array_type(mtype, array_length); in vtn_handle_variables()
1602 nir_ssa_def *array_length = in vtn_handle_variables() local
1613 val->ssa->def = array_length; in vtn_handle_variables()
/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/smali/dexlib2/src/main/ragel/
DOpcodes.rl34 define array_length 33
/external/deqp/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp5069 …se::getLastInputLocation(Utils::Shader::STAGES stage, const Utils::Type& type, GLuint array_length) in getLastInputLocation() argument
5100 if (0 == array_length) in getLastInputLocation()
5102 array_length += 1; in getLastInputLocation()
5122 const GLuint n_req_location = type.GetLocations(stage == Utils::Shader::VERTEX) * array_length; in getLastInputLocation()
5135 …e::getLastOutputLocation(Utils::Shader::STAGES stage, const Utils::Type& type, GLuint array_length) in getLastOutputLocation() argument
5161 if (0 == array_length) in getLastOutputLocation()
5163 array_length += 1; in getLastOutputLocation()
5183 const GLuint n_req_location = type.GetLocations() * array_length; in getLastOutputLocation()
12343 const GLuint array_length = 1; in test() local
12346 const GLuint last_in_loc = getLastInputLocation(stage, type, array_length); in test()
[all …]
Dgl4cShaderSubroutineTests.cpp4690 const Utils::vec4<glw::GLfloat> vec4_result[7], glw::GLuint array_length, in logError() argument
4817 if (4 != array_length) in logError()
4820 << "Error. Invalid array length: " << array_length << ". Expected 4." in logError()
4897 GLuint array_length = uint_data[0]; in testDraw() local
4910 result = result && (4 == array_length); in testDraw()
4915 …logError(combination, left, right, indices, expected_results, vec4_results, array_length, results); in testDraw()
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dconstant_expressions.test313 case array_length
/external/deqp/data/gles3/shaders/
Dconstant_expressions.test313 case array_length
/external/python/cpython2/Modules/
Darraymodule.c591 array_length(arrayobject *a) in array_length() function
1892 (lenfunc)array_length,
1936 (lenfunc)array_length, /*sq_length*/
/external/valgrind/perf/
Dtinycc.c14072 int index, array_length, n, no_oblock, nb, parlevel, i; in decl_initializer() local
14080 array_length = 0; in decl_initializer()
14109 if (n >= 0 && nb > (n - array_length)) in decl_initializer()
14110 nb = n - array_length; in decl_initializer()
14118 memcpy(sec->data + c + array_length, cstr->data, nb); in decl_initializer()
14125 init_putv(t1, sec, c + (array_length + i) * size1, in decl_initializer()
14130 array_length += nb; in decl_initializer()
14135 if (n < 0 || array_length < n) { in decl_initializer()
14137 init_putv(t1, sec, c + (array_length * size1), 0, EXPR_VAL); in decl_initializer()
14139 array_length++; in decl_initializer()
[all …]
/external/python/cpython3/Modules/
Darraymodule.c711 array_length(arrayobject *a) in array_length() function
2482 (lenfunc)array_length,
2538 (lenfunc)array_length, /*sq_length*/
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm.ml318 external array_length : lltype -> int = "llvm_array_length"
1223 | TypeKind.Array -> "[" ^ (string_of_int (array_length ty)) ^

12