Home
last modified time | relevance | path

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

12

/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/svox/pico/lib/
Dpicodata.c696 picoos_int8 array_length, in transDurUniform() argument
710 for (i = 0; i < array_length; i++) { in transDurUniform()
721 picoos_int8 array_length, in transDurWeighted() argument
735 for (i=0; i < array_length; i++) { in transDurWeighted()
739 transDurUniform(frame_duration_exp,array_length,inout,inputdur,targetdur,restdur); in transDurWeighted()
750 for (i=0; i < array_length; i++) { in transDurWeighted()
767 picoos_int8 array_length, in picodata_transformDurations() argument
784 for (i=0; i < array_length; i++) { in picodata_transformDurations()
809 transDurUniform(frame_duration_exp,array_length,inout,inputdur,targetdur,dur_rest); in picodata_transformDurations()
811 … transDurWeighted(frame_duration_exp,array_length,inout,weight,inputdur,targetdur,dur_rest); in picodata_transformDurations()
Dpicodata.h592 picoos_int8 array_length,
/external/v8/test/cctest/
Dtest-mark-compact.cc85 int array_length = in TEST() local
88 Object* obj = heap->AllocateFixedArray(array_length).ToObjectChecked(); in TEST()
111 int array_length = in TEST() local
114 Object* obj = heap->AllocateFixedArray(array_length).ToObjectChecked(); in TEST()
Dcctest.h332 int array_length = i::StrLength(source) + 1; in AsciiToTwoByteString() local
333 uint16_t* converted = i::NewArray<uint16_t>(array_length); in AsciiToTwoByteString()
334 for (int i = 0; i < array_length; i++) converted[i] = source[i]; in AsciiToTwoByteString()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DPacket.java1182 int array_length = this.getNextValueAsInt(); in getNextValueAsArrayRegion() local
1184 ArrayRegion array = new ArrayRegion(array_tag, array_length); in getNextValueAsArrayRegion()
1186 for (int i = 0; i < array_length; i++) { in getNextValueAsArrayRegion()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/
Dsm4.h319 unsigned array_length; member
/external/smali/dexlib2/src/main/ragel/
DOpcodes.rl34 define array_length 33
/external/v8/src/
Druntime.cc7127 int array_length) { in StringBuilderConcatHelper() argument
7130 for (int i = 0; i < array_length; i++) { in StringBuilderConcatHelper()
7167 int array_length, in StringBuilderConcatLength() argument
7171 for (int i = 0; i < array_length; i++) { in StringBuilderConcatLength()
7188 if (i >= array_length) return -1; in StringBuilderConcatLength()
7221 int32_t array_length; in RUNTIME_FUNCTION() local
7222 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
7230 RUNTIME_ASSERT(array_length >= 0); in RUNTIME_FUNCTION()
7231 RUNTIME_ASSERT(static_cast<size_t>(array_length) <= actual_array_length); in RUNTIME_FUNCTION()
7249 if (fixed_array->length() < array_length) { in RUNTIME_FUNCTION()
[all …]
Dbootstrapper.cc931 Handle<AccessorInfo> array_length = in InitializeGlobal() local
935 Handle<Name>(Name::cast(array_length->name())), in InitializeGlobal()
936 array_length, attribs); in InitializeGlobal()
1625 Handle<AccessorInfo> array_length = in InstallInternalArray() local
1629 Handle<Name>(Name::cast(array_length->name())), array_length, attribs); in InstallInternalArray()
Dcode-stubs-hydrogen.cc1414 HValue* array_length = Add<HLoadNamedField>( in BuildInstallFromOptimizedCodeMap() local
1417 HValue* start_pos = AddUncasted<HSub>(array_length, in BuildInstallFromOptimizedCodeMap()
Dobjects.cc11961 uint32_t array_length = 0; in SetFastElement() local
11965 CHECK(Handle<JSArray>::cast(object)->length()->ToArrayIndex(&array_length)); in SetFastElement()
11966 introduces_holes = index > array_length; in SetFastElement()
11967 if (index >= array_length) { in SetFastElement()
11969 array_length = index + 1; in SetFastElement()
12011 SetFastDoubleElementsCapacityAndLength(object, new_capacity, array_length); in SetFastElement()
12034 SetFastElementsCapacityAndLength(object, new_capacity, array_length, in SetFastElement()
12045 Handle<JSArray>::cast(object)->set_length(Smi::FromInt(array_length)); in SetFastElement()
12252 uint32_t array_length = 0; in SetFastDoubleElement() local
12254 Handle<JSArray>::cast(object)->length()->ToArrayIndex(&array_length)); in SetFastDoubleElement()
[all …]
Dhydrogen.cc1420 HInstruction* array_length = is_jsarray in BuildTransitionElementsKind() local
1426 array_length, elements_length); in BuildTransitionElementsKind()
2519 int array_length = HConstant::cast(length_argument)->Integer32Value(); in BuildAllocateArrayFromLength() local
2520 if (array_length == 0) { in BuildAllocateArrayFromLength()
2524 array_length, in BuildAllocateArrayFromLength()
/external/v8/test/cctest/compiler/
Dtest-simplified-lowering.cc236 const int array_length = 2 * index; in TEST() local
243 t.Int32Constant(array_length)); in TEST()
245 t.Int32Constant(array_length), load); in TEST()
253 Runtime::SetupArrayBufferAllocatingData(t.isolate(), array, array_length); in TEST()
255 for (int i = 0; i < array_length; i++) { in TEST()
262 for (int i = 0; i < array_length; i++) { in TEST()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
Dsm4_parse.cpp325 dcl.intf.array_length = v >> 16; in do_parse()
/external/v8/src/x64/
Dfull-codegen-x64.cc3853 Register array_length = rdi; in EmitFastOneByteArrayJoin() local
3874 __ movp(array_length, FieldOperand(array, JSArray::kLengthOffset)); in EmitFastOneByteArrayJoin()
3875 __ SmiCompare(array_length, Smi::FromInt(0)); in EmitFastOneByteArrayJoin()
3882 __ SmiToInteger32(array_length, array_length); in EmitFastOneByteArrayJoin()
3883 __ movl(array_length_operand, array_length); in EmitFastOneByteArrayJoin()
3900 __ cmpp(index, array_length); in EmitFastOneByteArrayJoin()
3919 __ cmpl(index, array_length); in EmitFastOneByteArrayJoin()
3929 __ cmpl(array_length, Immediate(1)); in EmitFastOneByteArrayJoin()
3937 result_pos = array_length; in EmitFastOneByteArrayJoin()
3938 array_length = no_reg; in EmitFastOneByteArrayJoin()
/external/v8/src/arm/
Dfull-codegen-arm.cc3927 Register array_length = r2; in EmitFastOneByteArrayJoin() local
3940 __ CompareObjectType(array, scratch, array_length, JS_ARRAY_TYPE); in EmitFastOneByteArrayJoin()
3944 __ CheckFastElements(scratch, array_length, &bailout); in EmitFastOneByteArrayJoin()
3947 __ ldr(array_length, FieldMemOperand(array, JSArray::kLengthOffset)); in EmitFastOneByteArrayJoin()
3948 __ SmiUntag(array_length, SetCC); in EmitFastOneByteArrayJoin()
3965 __ add(elements_end, element, Operand(array_length, LSL, kPointerSizeLog2)); in EmitFastOneByteArrayJoin()
3975 __ cmp(array_length, Operand::Zero()); in EmitFastOneByteArrayJoin()
3991 __ cmp(array_length, Operand(1)); in EmitFastOneByteArrayJoin()
4015 __ smull(scratch, ip, array_length, scratch); in EmitFastOneByteArrayJoin()
4044 __ add(elements_end, element, Operand(array_length, LSL, kPointerSizeLog2)); in EmitFastOneByteArrayJoin()
[all …]
/external/deqp/data/gles3/shaders/
Dconstant_expressions.test313 case array_length
/external/v8/src/mips64/
Dfull-codegen-mips64.cc3944 Register array_length = a2; in EmitFastOneByteArrayJoin() local
3966 __ ld(array_length, FieldMemOperand(array, JSArray::kLengthOffset)); in EmitFastOneByteArrayJoin()
3967 __ SmiUntag(array_length); in EmitFastOneByteArrayJoin()
3968 __ Branch(&non_trivial_array, ne, array_length, Operand(zero_reg)); in EmitFastOneByteArrayJoin()
3984 __ dsll(elements_end, array_length, kPointerSizeLog2); in EmitFastOneByteArrayJoin()
3995 __ Assert(gt, kNoEmptyArraysHereInEmitFastOneByteArrayJoin, array_length, in EmitFastOneByteArrayJoin()
4011 __ Branch(&not_size_one_array, ne, array_length, Operand(1)); in EmitFastOneByteArrayJoin()
4035 __ Dmul(scratch2, array_length, scratch1); in EmitFastOneByteArrayJoin()
4060 __ dsll(elements_end, array_length, kPointerSizeLog2); in EmitFastOneByteArrayJoin()
4062 result_pos = array_length; // End of live range for array_length. in EmitFastOneByteArrayJoin()
[all …]
/external/v8/src/mips/
Dfull-codegen-mips.cc3943 Register array_length = a2; in EmitFastOneByteArrayJoin() local
3965 __ lw(array_length, FieldMemOperand(array, JSArray::kLengthOffset)); in EmitFastOneByteArrayJoin()
3966 __ SmiUntag(array_length); in EmitFastOneByteArrayJoin()
3967 __ Branch(&non_trivial_array, ne, array_length, Operand(zero_reg)); in EmitFastOneByteArrayJoin()
3983 __ sll(elements_end, array_length, kPointerSizeLog2); in EmitFastOneByteArrayJoin()
3994 __ Assert(gt, kNoEmptyArraysHereInEmitFastOneByteArrayJoin, array_length, in EmitFastOneByteArrayJoin()
4010 __ Branch(&not_size_one_array, ne, array_length, Operand(1)); in EmitFastOneByteArrayJoin()
4033 __ Mul(scratch3, scratch2, array_length, scratch1); in EmitFastOneByteArrayJoin()
4059 __ sll(elements_end, array_length, kPointerSizeLog2); in EmitFastOneByteArrayJoin()
4061 result_pos = array_length; // End of live range for array_length. in EmitFastOneByteArrayJoin()
[all …]
/external/v8/src/ia32/
Dfull-codegen-ia32.cc3860 Register array_length = edi; in EmitFastOneByteArrayJoin() local
3878 __ mov(array_length, FieldOperand(array, JSArray::kLengthOffset)); in EmitFastOneByteArrayJoin()
3879 __ SmiUntag(array_length); in EmitFastOneByteArrayJoin()
3886 __ mov(array_length_operand, array_length); in EmitFastOneByteArrayJoin()
3903 __ cmp(index, array_length); in EmitFastOneByteArrayJoin()
3922 __ cmp(index, array_length); in EmitFastOneByteArrayJoin()
3926 __ cmp(array_length, 1); in EmitFastOneByteArrayJoin()
3935 result_pos = array_length; in EmitFastOneByteArrayJoin()
3936 array_length = no_reg; in EmitFastOneByteArrayJoin()
/external/v8/src/x87/
Dfull-codegen-x87.cc3849 Register array_length = edi; in EmitFastOneByteArrayJoin() local
3867 __ mov(array_length, FieldOperand(array, JSArray::kLengthOffset)); in EmitFastOneByteArrayJoin()
3868 __ SmiUntag(array_length); in EmitFastOneByteArrayJoin()
3875 __ mov(array_length_operand, array_length); in EmitFastOneByteArrayJoin()
3892 __ cmp(index, array_length); in EmitFastOneByteArrayJoin()
3911 __ cmp(index, array_length); in EmitFastOneByteArrayJoin()
3915 __ cmp(array_length, 1); in EmitFastOneByteArrayJoin()
3924 result_pos = array_length; in EmitFastOneByteArrayJoin()
3925 array_length = no_reg; in EmitFastOneByteArrayJoin()
/external/v8/src/arm64/
Dfull-codegen-arm64.cc3608 Register array_length = x4; in EmitFastOneByteArrayJoin() local
3638 __ Ldrsw(array_length, in EmitFastOneByteArrayJoin()
3640 __ Cbnz(array_length, &non_trivial_array); in EmitFastOneByteArrayJoin()
3652 __ Add(elements_end, element, Operand(array_length, LSL, kPointerSizeLog2)); in EmitFastOneByteArrayJoin()
3662 __ Cmp(array_length, 0); in EmitFastOneByteArrayJoin()
3679 __ Cmp(array_length, 1); in EmitFastOneByteArrayJoin()
3706 __ Umaddl(string_length, array_length.W(), separator_length.W(), in EmitFastOneByteArrayJoin()
3723 __ Add(elements_end, element, Operand(array_length, LSL, kPointerSizeLog2)); in EmitFastOneByteArrayJoin()
/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/llvm/bindings/ocaml/llvm/
Dllvm.ml385 external array_length : lltype -> int = "llvm_array_length"

12