Home
last modified time | relevance | path

Searched refs:len_value (Results 1 – 10 of 10) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array.c185 ecma_value_t len_value = ecma_make_uint32_value (k); in ecma_builtin_array_object_from() local
188 len_value, in ecma_builtin_array_object_from()
190 ecma_free_value (len_value); in ecma_builtin_array_object_from()
275 ecma_value_t len_value = ecma_op_object_get_length (array_like_obj_p, &len); in ecma_builtin_array_object_from() local
278 if (ECMA_IS_VALUE_ERROR (len_value)) in ecma_builtin_array_object_from()
283 len_value = ecma_make_uint32_value (len); in ecma_builtin_array_object_from()
293 array = ecma_op_function_construct (constructor_obj_p, constructor_obj_p, &len_value, 1); in ecma_builtin_array_object_from()
297 ecma_free_value (len_value); in ecma_builtin_array_object_from()
305 array = ecma_op_create_array_object (&len_value, 1, true); in ecma_builtin_array_object_from()
308 ecma_free_value (len_value); in ecma_builtin_array_object_from()
[all …]
Decma-builtin-function-prototype.c118 ecma_value_t len_value = ecma_op_object_get_length (obj_p, &length); in ecma_builtin_function_prototype_object_apply() local
120 if (ECMA_IS_VALUE_ERROR (len_value)) in ecma_builtin_function_prototype_object_apply()
122 return len_value; in ecma_builtin_function_prototype_object_apply()
332 ecma_value_t len_value = ecma_op_object_get (this_arg_obj_p, in ecma_builtin_function_prototype_object_bind() local
335 if (ECMA_IS_VALUE_ERROR (len_value)) in ecma_builtin_function_prototype_object_bind()
337 return len_value; in ecma_builtin_function_prototype_object_bind()
340 if (ecma_is_value_number (len_value)) in ecma_builtin_function_prototype_object_bind()
343 ecma_op_to_integer (len_value, &len_num); in ecma_builtin_function_prototype_object_bind()
Decma-builtin-array-iterator-prototype.c83 ecma_value_t len_value = ecma_op_object_get_length (array_object_p, &length); in ecma_builtin_array_iterator_prototype_object_next() local
85 if (ECMA_IS_VALUE_ERROR (len_value)) in ecma_builtin_array_iterator_prototype_object_next()
87 return len_value; in ecma_builtin_array_iterator_prototype_object_next()
Decma-builtin-array-prototype.c2656 ecma_value_t len_value = ecma_op_object_get_length (obj_p, &length); in ecma_builtin_array_prototype_dispatch_routine() local
2658 if (ECMA_IS_VALUE_ERROR (len_value)) in ecma_builtin_array_prototype_dispatch_routine()
2661 return len_value; in ecma_builtin_array_prototype_dispatch_routine()
2821 ecma_free_value (len_value); in ecma_builtin_array_prototype_dispatch_routine()
/third_party/freetype/src/otvalid/
Dotvgpos.c382 FT_UInt Coverage, ValueFormat, ValueCount, len_value; in otv_SinglePos_validate() local
392 len_value = otv_value_length( ValueFormat ); in otv_SinglePos_validate()
398 OTV_LIMIT_CHECK( ValueCount * len_value ); in otv_SinglePos_validate()
404 p += len_value; in otv_SinglePos_validate()
/third_party/skia/third_party/externals/freetype/src/otvalid/
Dotvgpos.c382 FT_UInt Coverage, ValueFormat, ValueCount, len_value; in otv_SinglePos_validate() local
392 len_value = otv_value_length( ValueFormat ); in otv_SinglePos_validate()
398 OTV_LIMIT_CHECK( ValueCount * len_value ); in otv_SinglePos_validate()
404 p += len_value; in otv_SinglePos_validate()
/third_party/flutter/skia/third_party/externals/freetype/src/otvalid/
Dotvgpos.c382 FT_UInt Coverage, ValueFormat, ValueCount, len_value; in otv_SinglePos_validate() local
392 len_value = otv_value_length( ValueFormat ); in otv_SinglePos_validate()
398 OTV_LIMIT_CHECK( ValueCount * len_value ); in otv_SinglePos_validate()
404 p += len_value; in otv_SinglePos_validate()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-typedarray-object.c902 ecma_value_t len_value = ecma_op_object_get_length (arraylike_object_p, &len); in ecma_op_typedarray_from() local
904 if (ECMA_IS_VALUE_ERROR (len_value)) in ecma_op_typedarray_from()
907 return len_value; in ecma_op_typedarray_from()
Decma-objects.c904 ecma_value_t len_value = ecma_op_object_get_by_magic_id (object_p, LIT_MAGIC_STRING_LENGTH); in ecma_op_object_get_length() local
905 ecma_value_t len_number = ecma_op_to_length (len_value, length_p); in ecma_op_object_get_length()
906 ecma_free_value (len_value); in ecma_op_object_get_length()
/third_party/python/Lib/unittest/
Dmock.py345 len_value = len(value)
347 if len_value > len_self:
350 for i in range(0, len_self - len_value + 1):
351 sub_list = self[i:i+len_value]