Home
last modified time | relevance | path

Searched refs:pos_num (Results 1 - 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-helpers.c550 ecma_number_t pos_num; in ecma_builtin_helper_string_prototype_object_index_of() local
555 ret_value = ecma_op_to_integer (arg2, &pos_num); in ecma_builtin_helper_string_prototype_object_index_of()
560 ret_value = ecma_get_number (arg2, &pos_num); in ecma_builtin_helper_string_prototype_object_index_of()
575 ecma_length_t start = ecma_builtin_helper_string_index_normalize (pos_num, original_len, use_first_index); in ecma_builtin_helper_string_prototype_object_index_of()
H A Decma-builtin-string-prototype.c1194 ecma_number_t pos_num; in ecma_builtin_string_prototype_object_code_point_at() local
1195 ecma_value_t error = ecma_op_to_integer (pos, &pos_num); in ecma_builtin_string_prototype_object_code_point_at()
1204 if (pos_num < 0 || pos_num >= size) in ecma_builtin_string_prototype_object_code_point_at()
1209 uint32_t index = (uint32_t) pos_num; in ecma_builtin_string_prototype_object_code_point_at()

Completed in 4 milliseconds