Home
last modified time | relevance | path

Searched refs:JERRY_MAX (Results 1 - 5 of 5) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-string-prototype.c953 start = (uint32_t) JERRY_MIN (JERRY_MAX (start_num, 0), len); in ecma_builtin_string_prototype_object_substring()
970 end = (uint32_t) JERRY_MIN (JERRY_MAX (end_num, 0), len); in ecma_builtin_string_prototype_object_substring()
1276 uint32_t from = (uint32_t) ((start_num < 0) ? JERRY_MAX (this_len + start_num, 0) : start_num); 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()
H A Decma-builtin-helpers.c347 *number_p = ((to_int < 0) ? (uint32_t) JERRY_MAX ((length + to_int), 0) in ecma_builtin_helper_array_index_normalize()
H A Decma-builtin-array-prototype.c1676 from_idx_num = JERRY_MAX ((ecma_number_t) len + idx, 0); in ecma_builtin_array_prototype_object_index_of()
/third_party/jerryscript/jerry-core/jrt/
H A Djrt.h142 #define JERRY_MAX(v1, v2) (((v1) < (v2)) ? (v2) : (v1)) macro
/third_party/jerryscript/jerry-core/ecma/operations/
H A Decma-regexp-object.c3035 lit_utf8_size_t position = JERRY_MIN ((lit_utf8_size_t) JERRY_MAX (position_num, 0.0f), string_length); in ecma_regexp_replace_helper()

Completed in 10 milliseconds