Searched refs:length_num (Results 1 – 3 of 3) sorted by relevance
111 ecma_number_t length_num = 0; in ecma_op_create_arraybuffer_object() local118 length_num = ecma_get_number_from_value (arguments_list_p[0]); in ecma_op_create_arraybuffer_object()129 length_num = ecma_get_number_from_value (to_number_value); in ecma_op_create_arraybuffer_object()134 if (ecma_number_is_nan (length_num)) in ecma_op_create_arraybuffer_object()136 length_num = 0; in ecma_op_create_arraybuffer_object()141 if (length_num <= -1.0 || length_num > (ecma_number_t) maximum_size_in_byte + 0.5) in ecma_op_create_arraybuffer_object()147 uint32_t length_uint32 = ecma_number_to_uint32 (length_num); in ecma_op_create_arraybuffer_object()
931 ecma_value_t length_num = ecma_op_to_integer (value, &num); in ecma_op_to_length() local934 if (ECMA_IS_VALUE_ERROR (length_num)) in ecma_op_to_length()936 return length_num; in ecma_op_to_length()
1258 ecma_number_t length_num = ecma_number_make_infinity (false); in ecma_builtin_string_prototype_object_substr() local1269 length_num = ecma_number_is_nan (len) ? 0 : len; in ecma_builtin_string_prototype_object_substr()1284 ecma_number_t to_num = JERRY_MIN (JERRY_MAX (length_num, 0), this_len - from); in ecma_builtin_string_prototype_object_substr()