Home
last modified time | relevance | path

Searched refs:builtin_routine_id (Results 1 – 15 of 15) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-date-prototype.c41 #define BUILTIN_DATE_FUNCTION_IS_UTC(builtin_routine_id) \ argument
42 (((builtin_routine_id) - ECMA_DATE_PROTOTYPE_GET_FULL_YEAR) & 0x1)
234 ecma_builtin_date_prototype_dispatch_get (uint16_t builtin_routine_id, /**< built-in wide routine in ecma_builtin_date_prototype_dispatch_get() argument
243 switch (builtin_routine_id) in ecma_builtin_date_prototype_dispatch_get()
254 if (builtin_routine_id == ECMA_DATE_PROTOTYPE_GET_YEAR) in ecma_builtin_date_prototype_dispatch_get()
306 JERRY_ASSERT (builtin_routine_id == ECMA_DATE_PROTOTYPE_GET_UTC_TIMEZONE_OFFSET); in ecma_builtin_date_prototype_dispatch_get()
321 #define ECMA_DATE_PROTOTYPE_IS_SET_YEAR_ROUTINE(builtin_routine_id) \ argument
322 ((builtin_routine_id) == ECMA_DATE_PROTOTYPE_SET_FULL_YEAR \
323 || (builtin_routine_id) == ECMA_DATE_PROTOTYPE_SET_UTC_FULL_YEAR \
324 || (builtin_routine_id) == ECMA_DATE_PROTOTYPE_SET_YEAR)
[all …]
Decma-builtin-dataview-prototype.c95 … uint16_t builtin_routine_id) /**< built-in wide routine identifier */ in ecma_builtin_dataview_prototype_object_getters() argument
104 switch (builtin_routine_id) in ecma_builtin_dataview_prototype_object_getters()
123 JERRY_ASSERT (builtin_routine_id == ECMA_DATAVIEW_PROTOTYPE_BYTE_OFFSET_GETTER); in ecma_builtin_dataview_prototype_object_getters()
141 ecma_builtin_dataview_prototype_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide r… in ecma_builtin_dataview_prototype_dispatch_routine() argument
149 switch (builtin_routine_id) in ecma_builtin_dataview_prototype_dispatch_routine()
155 return ecma_builtin_dataview_prototype_object_getters (this_arg, builtin_routine_id); in ecma_builtin_dataview_prototype_dispatch_routine()
167 …ecma_typedarray_type_t id = (ecma_typedarray_type_t) (builtin_routine_id - ECMA_DATAVIEW_PROTOTYPE… in ecma_builtin_dataview_prototype_dispatch_routine()
182 …ecma_typedarray_type_t id = (ecma_typedarray_type_t) (builtin_routine_id - ECMA_DATAVIEW_PROTOTYPE… in ecma_builtin_dataview_prototype_dispatch_routine()
189 …ecma_typedarray_type_t id = (ecma_typedarray_type_t) (builtin_routine_id - ECMA_DATAVIEW_PROTOTYPE… in ecma_builtin_dataview_prototype_dispatch_routine()
195 JERRY_ASSERT (builtin_routine_id == ECMA_DATAVIEW_PROTOTYPE_SET_INT8 in ecma_builtin_dataview_prototype_dispatch_routine()
[all …]
Decma-builtin-object-prototype.c234 ecma_builtin_object_prototype_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide rou… in ecma_builtin_object_prototype_dispatch_routine() argument
244 if (builtin_routine_id <= ECMA_OBJECT_PROTOTYPE_VALUE_OF) in ecma_builtin_object_prototype_dispatch_routine()
246 if (builtin_routine_id == ECMA_OBJECT_PROTOTYPE_TO_STRING) in ecma_builtin_object_prototype_dispatch_routine()
251 JERRY_ASSERT (builtin_routine_id <= ECMA_OBJECT_PROTOTYPE_VALUE_OF); in ecma_builtin_object_prototype_dispatch_routine()
256 if (builtin_routine_id <= ECMA_OBJECT_PROTOTYPE_IS_PROTOTYPE_OF) in ecma_builtin_object_prototype_dispatch_routine()
258 if (builtin_routine_id == ECMA_OBJECT_PROTOTYPE_IS_PROTOTYPE_OF) in ecma_builtin_object_prototype_dispatch_routine()
278 if (builtin_routine_id == ECMA_OBJECT_PROTOTYPE_IS_PROTOTYPE_OF) in ecma_builtin_object_prototype_dispatch_routine()
284 else if (builtin_routine_id == ECMA_OBJECT_PROTOTYPE_GET_PROTO) in ecma_builtin_object_prototype_dispatch_routine()
300 JERRY_ASSERT (builtin_routine_id >= ECMA_OBJECT_PROTOTYPE_HAS_OWN_PROPERTY); in ecma_builtin_object_prototype_dispatch_routine()
303 if (builtin_routine_id == ECMA_OBJECT_PROTOTYPE_SET_PROTO) in ecma_builtin_object_prototype_dispatch_routine()
[all …]
Decma-builtin-reflect.c80 ecma_builtin_reflect_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide routine in ecma_builtin_reflect_dispatch_routine() argument
90 if (builtin_routine_id < ECMA_REFLECT_OBJECT_CONSTRUCT) in ecma_builtin_reflect_dispatch_routine()
110 switch (builtin_routine_id) in ecma_builtin_reflect_dispatch_routine()
140 JERRY_ASSERT (builtin_routine_id == ECMA_REFLECT_OBJECT_SET); in ecma_builtin_reflect_dispatch_routine()
158 if (builtin_routine_id == ECMA_REFLECT_OBJECT_OWN_KEYS) in ecma_builtin_reflect_dispatch_routine()
172 if (builtin_routine_id == ECMA_REFLECT_OBJECT_CONSTRUCT) in ecma_builtin_reflect_dispatch_routine()
223 switch (builtin_routine_id) in ecma_builtin_reflect_dispatch_routine()
318 JERRY_ASSERT (builtin_routine_id == ECMA_REFLECT_OBJECT_PREVENT_EXTENSIONS); in ecma_builtin_reflect_dispatch_routine()
Decma-builtin-intrinsic.c91 ecma_builtin_intrinsic_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide routine id… in ecma_builtin_intrinsic_dispatch_routine() argument
102 if (builtin_routine_id == ECMA_INTRINSIC_ARRAY_PROTOTYPE_VALUES) in ecma_builtin_intrinsic_dispatch_routine()
107 if (builtin_routine_id <= ECMA_INTRINSIC_PARSE_INT) in ecma_builtin_intrinsic_dispatch_routine()
118 if (builtin_routine_id == ECMA_INTRINSIC_PARSE_INT) in ecma_builtin_intrinsic_dispatch_routine()
126 JERRY_ASSERT (builtin_routine_id == ECMA_INTRINSIC_PARSE_FLOAT); in ecma_builtin_intrinsic_dispatch_routine()
Decma-builtin-global.c778 ecma_builtin_global_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide routine ident… in ecma_builtin_global_dispatch_routine() argument
790 if (builtin_routine_id == ECMA_GLOBAL_EVAL) in ecma_builtin_global_dispatch_routine()
795 if (builtin_routine_id <= ECMA_GLOBAL_IS_FINITE) in ecma_builtin_global_dispatch_routine()
806 if (builtin_routine_id == ECMA_GLOBAL_IS_NAN) in ecma_builtin_global_dispatch_routine()
811 JERRY_ASSERT (builtin_routine_id == ECMA_GLOBAL_IS_FINITE); in ecma_builtin_global_dispatch_routine()
825 if (builtin_routine_id <= ECMA_GLOBAL_PARSE_FLOAT) in ecma_builtin_global_dispatch_routine()
829 if (builtin_routine_id == ECMA_GLOBAL_PARSE_INT) in ecma_builtin_global_dispatch_routine()
837 JERRY_ASSERT (builtin_routine_id == ECMA_GLOBAL_PARSE_FLOAT); in ecma_builtin_global_dispatch_routine()
857 switch (builtin_routine_id) in ecma_builtin_global_dispatch_routine()
874 const uint8_t *uri_set = (builtin_routine_id == ECMA_GLOBAL_DECODE_URI ? unescaped_uri_set in ecma_builtin_global_dispatch_routine()
[all …]
Decma-builtin-math.c338 ecma_builtin_math_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide routine in ecma_builtin_math_dispatch_routine() argument
347 if (builtin_routine_id <= ECMA_MATH_OBJECT_POW) in ecma_builtin_math_dispatch_routine()
373 if (builtin_routine_id >= ECMA_MATH_OBJECT_ATAN2 in ecma_builtin_math_dispatch_routine()
395 switch (builtin_routine_id) in ecma_builtin_math_dispatch_routine()
603 if (builtin_routine_id <= ECMA_MATH_OBJECT_MIN) in ecma_builtin_math_dispatch_routine()
605 return ecma_builtin_math_object_max_min (builtin_routine_id == ECMA_MATH_OBJECT_MAX, in ecma_builtin_math_dispatch_routine()
611 if (builtin_routine_id == ECMA_MATH_OBJECT_HYPOT) in ecma_builtin_math_dispatch_routine()
617 JERRY_ASSERT (builtin_routine_id == ECMA_MATH_OBJECT_RANDOM); in ecma_builtin_math_dispatch_routine()
Decma-builtin-object.c1084 ecma_builtin_object_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide routine in ecma_builtin_object_dispatch_routine() argument
1099 switch (builtin_routine_id) in ecma_builtin_object_dispatch_routine()
1129 if (builtin_routine_id <= ECMA_OBJECT_ROUTINE_DEFINE_PROPERTIES) in ecma_builtin_object_dispatch_routine()
1140 if (builtin_routine_id == ECMA_OBJECT_ROUTINE_DEFINE_PROPERTY) in ecma_builtin_object_dispatch_routine()
1155 JERRY_ASSERT (builtin_routine_id == ECMA_OBJECT_ROUTINE_DEFINE_PROPERTIES); in ecma_builtin_object_dispatch_routine()
1158 else if (builtin_routine_id <= ECMA_OBJECT_ROUTINE_KEYS) in ecma_builtin_object_dispatch_routine()
1173 switch (builtin_routine_id) in ecma_builtin_object_dispatch_routine()
1227 else if (builtin_routine_id <= ECMA_OBJECT_ROUTINE_SEAL) in ecma_builtin_object_dispatch_routine()
1237 switch (builtin_routine_id) in ecma_builtin_object_dispatch_routine()
1259 JERRY_ASSERT (builtin_routine_id <= ECMA_OBJECT_ROUTINE_IS_SEALED); in ecma_builtin_object_dispatch_routine()
[all …]
Decma-builtins-internal.h97 ecma_builtin_ ## lowercase_name ## _dispatch_routine (uint16_t builtin_routine_id, \
109 ecma_builtin_ ## lowercase_name ## _dispatch_routine (uint16_t builtin_routine_id, \
Decma-builtin-function-prototype.c401 ecma_builtin_function_prototype_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide r… in ecma_builtin_function_prototype_dispatch_routine() argument
411 if (JERRY_UNLIKELY (builtin_routine_id == ECMA_FUNCTION_PROTOTYPE_SYMBOL_HAS_INSTANCE)) in ecma_builtin_function_prototype_dispatch_routine()
422 switch (builtin_routine_id) in ecma_builtin_function_prototype_dispatch_routine()
Decma-builtin-string-prototype.c1325 ecma_builtin_string_prototype_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide rou… in ecma_builtin_string_prototype_dispatch_routine() argument
1332 if (builtin_routine_id <= ECMA_STRING_PROTOTYPE_VALUE_OF) in ecma_builtin_string_prototype_dispatch_routine()
1348 if (builtin_routine_id == ECMA_STRING_PROTOTYPE_MATCH) in ecma_builtin_string_prototype_dispatch_routine()
1354 if (builtin_routine_id <= ECMA_STRING_PROTOTYPE_CHAR_CODE_AT) in ecma_builtin_string_prototype_dispatch_routine()
1358builtin_routine_id == ECMA_STRING_PROTOTYPE_CHAR_CODE_AT); in ecma_builtin_string_prototype_dispatch_routine()
1371 switch (builtin_routine_id) in ecma_builtin_string_prototype_dispatch_routine()
1392 … mode = (ecma_string_index_of_mode_t) (builtin_routine_id - ECMA_STRING_PROTOTYPE_LAST_INDEX_OF); in ecma_builtin_string_prototype_dispatch_routine()
1428 bool is_lower_case = builtin_routine_id <= ECMA_STRING_PROTOTYPE_TO_LOCAL_LOWER_CASE; in ecma_builtin_string_prototype_dispatch_routine()
Decma-builtin-array-prototype.c2598 ecma_builtin_array_prototype_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide rout… in ecma_builtin_array_prototype_dispatch_routine() argument
2614 if (JERRY_UNLIKELY (builtin_routine_id <= ECMA_ARRAY_PROTOTYPE_CONCAT)) in ecma_builtin_array_prototype_dispatch_routine()
2618 if (builtin_routine_id == ECMA_ARRAY_PROTOTYPE_TO_STRING) in ecma_builtin_array_prototype_dispatch_routine()
2624 JERRY_ASSERT (builtin_routine_id == ECMA_ARRAY_PROTOTYPE_CONCAT); in ecma_builtin_array_prototype_dispatch_routine()
2635 if (JERRY_UNLIKELY (builtin_routine_id >= ECMA_ARRAY_PROTOTYPE_ENTRIES in ecma_builtin_array_prototype_dispatch_routine()
2636 && builtin_routine_id <= ECMA_ARRAY_PROTOTYPE_KEYS)) in ecma_builtin_array_prototype_dispatch_routine()
2640 if (builtin_routine_id == ECMA_ARRAY_PROTOTYPE_ENTRIES) in ecma_builtin_array_prototype_dispatch_routine()
2646 JERRY_ASSERT (builtin_routine_id == ECMA_ARRAY_PROTOTYPE_KEYS); in ecma_builtin_array_prototype_dispatch_routine()
2668 switch (builtin_routine_id) in ecma_builtin_array_prototype_dispatch_routine()
2757 … (array_routine_mode) builtin_routine_id - ECMA_ARRAY_PROTOTYPE_EVERY, in ecma_builtin_array_prototype_dispatch_routine()
[all …]
Decma-builtin-internal-routines-template.inc.h233 DISPATCH_ROUTINE_ROUTINE_NAME (uint16_t builtin_routine_id, /**< built-in wide routine in DISPATCH_ROUTINE_ROUTINE_NAME() argument
247 switch (builtin_routine_id) in DISPATCH_ROUTINE_ROUTINE_NAME()
Decma-builtin-number-prototype.c975 ecma_builtin_number_prototype_dispatch_routine (uint16_t builtin_routine_id, /**< built-in wide rou… in ecma_builtin_number_prototype_dispatch_routine() argument
989 if (builtin_routine_id == ECMA_NUMBER_PROTOTYPE_VALUE_OF) in ecma_builtin_number_prototype_dispatch_routine()
998 switch (builtin_routine_id) in ecma_builtin_number_prototype_dispatch_routine()
Decma-builtins.c46 typedef ecma_value_t (*ecma_builtin_dispatch_routine_t) (uint16_t builtin_routine_id,