Home
last modified time | relevance | path

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

123

/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.cc275 int32_t array_length; in RUNTIME_FUNCTION() local
276 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
283 CHECK_GE(array_length, 0); in RUNTIME_FUNCTION()
284 CHECK(static_cast<size_t>(array_length) <= actual_array_length); in RUNTIME_FUNCTION()
303 if (fixed_array->length() < array_length) { in RUNTIME_FUNCTION()
304 array_length = fixed_array->length(); in RUNTIME_FUNCTION()
307 if (array_length == 0) { in RUNTIME_FUNCTION()
309 } else if (array_length == 1) { in RUNTIME_FUNCTION()
314 array_length, &one_byte); in RUNTIME_FUNCTION()
330 array_length); in RUNTIME_FUNCTION()
[all …]
Druntime-array.cc203 int array_length = FixedArrayBase::cast(object->elements())->length(); in RemoveArrayHoles() local
204 return Smi::FromInt(Min(limit, static_cast<uint32_t>(array_length))); in RemoveArrayHoles()
/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++) \
/external/v8/src/
Dstring-builder.cc16 FixedArray* fixed_array, int array_length) { in StringBuilderConcatHelper() argument
19 for (int i = 0; i < array_length; i++) { in StringBuilderConcatHelper()
50 int array_length);
54 int array_length);
57 int array_length, bool* one_byte) { in StringBuilderConcatLength() argument
60 for (int i = 0; i < array_length; i++) { in StringBuilderConcatLength()
77 if (i >= array_length) return -1; in StringBuilderConcatLength()
Dstring-builder-inl.h31 FixedArray* fixed_array, int array_length);
36 int array_length, bool* one_byte);
Daccessors.h27 V(array_length, ArrayLength) \
Dobjects-debug.cc1145 uint32_t array_length; in JSArrayVerify() local
1146 CHECK(length()->ToArrayLength(&array_length)); in JSArrayVerify()
1147 if (array_length == 0xFFFFFFFF) { in JSArrayVerify()
1148 CHECK(length()->ToArrayLength(&array_length)); in JSArrayVerify()
1150 if (array_length != 0) { in JSArrayVerify()
1157 CHECK_LE(nof_elements, array_length); in JSArrayVerify()
/external/libtextclassifier/utils/java/
Dstring_utils.cc30 const int array_length = env->GetArrayLength(array); in JByteArrayToString() local
31 *result = std::string(reinterpret_cast<char*>(array_bytes), array_length); in JByteArrayToString()
/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()
959 uint32_t array_length; member
[all …]
/external/v8/src/builtins/
Dbuiltins-array-gen.cc1197 Node* array_length = LoadJSArrayLength(array); in HandleFastSlice() local
1198 GotoIf(TaggedIsNotSmi(array_length), slow); in HandleFastSlice()
1199 GotoIf(SmiAbove(SmiAdd(CAST(from), CAST(count)), CAST(array_length)), slow); in HandleFastSlice()
2926 Node* search_element, Node* array_length,
2929 Node* search_element, Node* array_length,
2932 Node* search_element, Node* array_length,
2962 Node* array_length = LoadFastJSArrayLength(array); in Generate() local
2963 Node* array_length_untagged = SmiUntag(array_length); in Generate()
3029 array_length, SmiTag(index_var.value())); in Generate()
3042 array_length, SmiTag(index_var.value())); in Generate()
[all …]
Dbuiltins-object-gen.cc744 Node* array_length = SmiTag(object_enum_length); in TF_BUILTIN() local
746 PACKED_ELEMENTS, array_map, array_length, nullptr, object_enum_length, in TF_BUILTIN()
835 Node* array_length = SmiTag(object_enum_length); in TF_BUILTIN() local
837 PACKED_ELEMENTS, array_map, array_length, nullptr, object_enum_length, in TF_BUILTIN()
/external/swiftshader/third_party/llvm-7.0/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/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()
/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.cc189 int GetMatchIndex(const char32* array, int array_length, char32 c) { in GetMatchIndex() argument
190 const char32* end = array + array_length; in GetMatchIndex()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c1809 int array_length = -1; in vtn_create_variable() local
1819 array_length = glsl_get_length(var->type->type); in vtn_create_variable()
1829 if (array_length >= 0) in vtn_create_variable()
1830 mtype = glsl_array_type(mtype, array_length); in vtn_create_variable()
2103 nir_ssa_def *array_length = in vtn_handle_variables() local
2114 val->ssa->def = array_length; in vtn_handle_variables()
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py421 array_length = "" if kind.length is None else ", %d" % kind.length
423 return "new codec.%s(%s%s)" % (array_type, element_type, array_length)
/external/smali/dexlib2/src/main/ragel/
DOpcodes.rl34 define array_length 33
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp737 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
738 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp737 uint32_t array_length = length_const->AsIntConstant()->GetU32(); in GenerateCopy() local
738 for (uint32_t i = 0; i < array_length; i++) { in GenerateCopy()
/external/deqp/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp5081 …Location(Utils::Shader::STAGES stage, const Utils::Type& type, GLuint array_length, bool ignore_pr… in getLastInputLocation() argument
5118 if (0 == array_length) in getLastInputLocation()
5120 array_length += 1; in getLastInputLocation()
5148 const GLuint n_req_location = type.GetLocations(stage == Utils::Shader::VERTEX) * array_length; in getLastInputLocation()
5161 …Location(Utils::Shader::STAGES stage, const Utils::Type& type, GLuint array_length, bool ignore_ne… in getLastOutputLocation() argument
5193 if (0 == array_length) in getLastOutputLocation()
5195 array_length += 1; in getLastOutputLocation()
5224 const GLuint n_req_location = type.GetLocations() * array_length; in getLastOutputLocation()
6770 GLint array_length = std::max(1u, variable.m_descriptor.m_n_array_elements); in test() local
6771 for (GLint loc = 0; loc < array_length; loc++) { in test()
[all …]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dconstant_expressions.test313 case array_length

123