Home
last modified time | relevance | path

Searched refs:func_obj_p (Results 1 - 17 of 17) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
H A Decma-function-object.c383 ecma_object_t *func_obj_p = ecma_op_create_function_object (global_env_p, bytecode_data_p, fallback_proto); in ecma_op_create_dynamic_function() local
386 ECMA_SET_NON_NULL_POINTER (func_obj_p->u2.prototype_cp, proto); in ecma_op_create_dynamic_function()
391 ret_value = ecma_make_object_value (func_obj_p); in ecma_op_create_dynamic_function()
578 ecma_op_function_has_instance (ecma_object_t *func_obj_p, /**< Function object */ in ecma_op_function_has_instance() argument
581 JERRY_ASSERT (func_obj_p != NULL in ecma_op_function_has_instance()
582 && !ecma_is_lexical_environment (func_obj_p)); in ecma_op_function_has_instance()
589 while (ecma_get_object_type (func_obj_p) == ECMA_OBJECT_TYPE_BOUND_FUNCTION) in ecma_op_function_has_instance()
591 JERRY_ASSERT (ecma_get_object_type (func_obj_p) == ECMA_OBJECT_TYPE_BOUND_FUNCTION); in ecma_op_function_has_instance()
594 ecma_bound_function_t *bound_func_p = (ecma_bound_function_t *) func_obj_p; in ecma_op_function_has_instance()
596 func_obj_p in ecma_op_function_has_instance()
684 ecma_op_function_get_super_constructor(ecma_object_t *func_obj_p) ecma_op_function_get_super_constructor() argument
776 ecma_op_function_call_simple(ecma_object_t *func_obj_p, ecma_value_t this_arg_value, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_op_function_call_simple() argument
936 ecma_op_function_call_external(ecma_object_t *func_obj_p, ecma_value_t this_arg_value, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_op_function_call_external() argument
972 ecma_op_bound_function_get_argument_list(ecma_object_t *func_obj_p, ecma_collection_t *list_p) ecma_op_bound_function_get_argument_list() argument
1018 ecma_op_function_call_bound(ecma_object_t *func_obj_p, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_op_function_call_bound() argument
1056 ecma_op_function_call(ecma_object_t *func_obj_p, ecma_value_t this_arg_value, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_op_function_call() argument
1113 ecma_op_function_construct_bound(ecma_object_t *func_obj_p, ecma_object_t *new_target_p, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_op_function_construct_bound() argument
1149 ecma_op_function_construct_external(ecma_object_t *func_obj_p, ecma_object_t *new_target_p, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_op_function_construct_external() argument
1198 ecma_op_function_construct(ecma_object_t *func_obj_p, ecma_object_t *new_target_p, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_op_function_construct() argument
[all...]
H A Decma-proxy-object.c114 ecma_object_t *func_obj_p = ecma_get_object_from_value (function_obj); in ecma_proxy_revoke_cb() local
117 ecma_revocable_proxy_object_t *rev_proxy_p = (ecma_revocable_proxy_object_t *) func_obj_p; in ecma_proxy_revoke_cb()
167 ecma_object_t *func_obj_p; in ecma_proxy_create_revocable() local
168 func_obj_p = ecma_create_object (ecma_builtin_get (ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE), in ecma_proxy_create_revocable()
172 ecma_revocable_proxy_object_t *rev_proxy_p = (ecma_revocable_proxy_object_t *) func_obj_p; in ecma_proxy_create_revocable()
178 ecma_value_t revoker = ecma_make_object_value (func_obj_p); in ecma_proxy_create_revocable()
200 ecma_deref_object (func_obj_p); in ecma_proxy_create_revocable()
320 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); in ecma_proxy_object_get_prototype_of() local
323 ecma_value_t handler_proto = ecma_op_function_call (func_obj_p, handler, &target, 1); in ecma_proxy_object_get_prototype_of()
325 ecma_deref_object (func_obj_p); in ecma_proxy_object_get_prototype_of()
432 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_set_prototype_of() local
528 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_is_extensible() local
621 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_prevent_extensions() local
700 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_get_own_property_descriptor() local
880 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_define_own_property() local
1023 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_has() local
1127 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_get() local
1232 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_set() local
1342 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_delete_property() local
1571 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_own_property_keys() local
1729 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_call() local
1785 ecma_object_t *func_obj_p = ecma_get_object_from_value (trap); ecma_proxy_object_construct() local
[all...]
H A Decma-function-object.h55 ecma_op_function_get_super_constructor (ecma_object_t *func_obj_p);
64 ecma_op_function_is_generator (ecma_object_t *func_obj_p);
71 ecma_op_function_has_instance (ecma_object_t *func_obj_p, ecma_value_t value);
74 ecma_op_function_call (ecma_object_t *func_obj_p, ecma_value_t this_arg_value,
78 ecma_op_function_construct (ecma_object_t *func_obj_p, ecma_object_t *new_target_p,
H A Decma-objects-arguments.h23 ecma_op_create_arguments_object (ecma_object_t *func_obj_p, ecma_object_t *lex_env_p,
H A Decma-objects-arguments.c43 ecma_op_create_arguments_object (ecma_object_t *func_obj_p, /**< callee function */ in ecma_op_create_arguments_object() argument
167 prop_value_p->value = ecma_make_object_value (func_obj_p); in ecma_op_create_arguments_object()
H A Decma-promise-object.c442 ecma_object_t *func_obj_p = ecma_op_create_external_function_object (handler_cb); in ecma_promise_create_resolving_functions_helper() local
444 ecma_op_object_put (func_obj_p, in ecma_promise_create_resolving_functions_helper()
449 return ecma_make_object_value (func_obj_p); in ecma_promise_create_resolving_functions_helper()
H A Decma-objects-general.c322 ecma_object_t *func_obj_p = ecma_get_object_from_value (function_value); in ecma_op_general_object_ordinary_value() local
324 call_completion = ecma_op_function_call (func_obj_p, in ecma_op_general_object_ordinary_value()
H A Decma-objects.c3081 ecma_object_t *func_obj_p = ecma_get_object_from_value (func); in ecma_op_invoke() local
3082 ecma_value_t call_result = ecma_op_function_call (func_obj_p, object, args_p, args_len); in ecma_op_invoke()
3084 ecma_deref_object (func_obj_p); in ecma_op_invoke()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-function-prototype.c98 ecma_builtin_function_prototype_object_apply (ecma_object_t *func_obj_p, /**< this argument object */ in ecma_builtin_function_prototype_object_apply() argument
105 return ecma_op_function_call (func_obj_p, arg1, NULL, 0); in ecma_builtin_function_prototype_object_apply()
152 ret_value = ecma_op_function_call (func_obj_p, in ecma_builtin_function_prototype_object_apply()
178 ecma_builtin_function_prototype_object_call (ecma_object_t *func_obj_p , /**< this argument object */ in ecma_builtin_function_prototype_object_call()
185 return ecma_op_function_call (func_obj_p, in ecma_builtin_function_prototype_object_call()
191 return ecma_op_function_call (func_obj_p, in ecma_builtin_function_prototype_object_call()
420 ecma_object_t *func_obj_p = ecma_get_object_from_value (this_arg); in ecma_builtin_function_prototype_dispatch_routine() local
430 return ecma_builtin_function_prototype_object_apply (func_obj_p, in ecma_builtin_function_prototype_dispatch_routine()
436 return ecma_builtin_function_prototype_object_call (func_obj_p, arguments_list_p, arguments_number); in ecma_builtin_function_prototype_dispatch_routine()
440 return ecma_builtin_function_prototype_object_bind (func_obj_p, arguments_list_ in ecma_builtin_function_prototype_dispatch_routine()
[all...]
H A Decma-builtins.c329 ecma_builtin_function_is_routine (ecma_object_t *func_obj_p) /**< function object */ in ecma_builtin_function_is_routine() argument
331 JERRY_ASSERT (ecma_get_object_type (func_obj_p) == ECMA_OBJECT_TYPE_FUNCTION); in ecma_builtin_function_is_routine()
332 JERRY_ASSERT (ecma_get_object_is_builtin (func_obj_p)); in ecma_builtin_function_is_routine()
334 ecma_extended_object_t *ext_func_obj_p = (ecma_extended_object_t *) func_obj_p; in ecma_builtin_function_is_routine()
582 ecma_object_t *func_obj_p = ecma_create_object (prototype_obj_p, in ecma_builtin_make_function_object_for_routine() local
586 ecma_set_object_is_builtin (func_obj_p); in ecma_builtin_make_function_object_for_routine()
590 ecma_extended_object_t *ext_func_obj_p = (ecma_extended_object_t *) func_obj_p; in ecma_builtin_make_function_object_for_routine()
598 return func_obj_p; in ecma_builtin_make_function_object_for_routine()
884 ecma_object_t *func_obj_p; in ecma_builtin_try_to_instantiate_property() local
885 func_obj_p in ecma_builtin_try_to_instantiate_property()
1098 ecma_builtin_dispatch_routine(ecma_extended_object_t *func_obj_p, ecma_value_t this_arg_value, const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len) ecma_builtin_dispatch_routine() argument
[all...]
H A Decma-builtin-reflect.c259 ecma_object_t *func_obj_p = ecma_get_object_from_value (arguments_list[0]); in ecma_builtin_reflect_dispatch_routine() local
260 return ecma_builtin_function_prototype_object_apply (func_obj_p, arguments_list[1], arguments_list[2]); in ecma_builtin_reflect_dispatch_routine()
H A Decma-builtin-function-prototype.h19 ecma_value_t ecma_builtin_function_prototype_object_apply (ecma_object_t *func_obj_p,
H A Decma-builtins.h111 ecma_builtin_function_is_routine (ecma_object_t *func_obj_p);
/third_party/jerryscript/jerry-core/vm/
H A Dopcodes.c805 ecma_object_t *func_obj_p = ecma_get_object_from_value (function_obj); in ecma_op_implicit_constructor_handler_heritage_cb() local
806 ecma_value_t super_ctor = ecma_op_function_get_super_constructor (func_obj_p); in ecma_op_implicit_constructor_handler_heritage_cb()
853 ecma_object_t *func_obj_p = ecma_create_object (ecma_builtin_get (ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE), in opfunc_create_implicit_class_constructor() local
857 ecma_extended_object_t *ext_func_obj_p = (ecma_extended_object_t *) func_obj_p; in opfunc_create_implicit_class_constructor()
871 prop_value_p = ecma_create_named_data_property (func_obj_p, in opfunc_create_implicit_class_constructor()
878 return ecma_make_object_value (func_obj_p); in opfunc_create_implicit_class_constructor()
H A Dvm.c477 ecma_object_t *func_obj_p; in vm_construct_literal_object() local
482 func_obj_p = ecma_op_create_arrow_function_object (frame_ctx_p->lex_env_p, in vm_construct_literal_object()
488 func_obj_p = ecma_op_create_generator_function_object (frame_ctx_p->lex_env_p, bytecode_p); in vm_construct_literal_object()
493 func_obj_p = ecma_op_create_simple_function_object (frame_ctx_p->lex_env_p, bytecode_p); in vm_construct_literal_object()
498 return ecma_make_object_value (func_obj_p); in vm_construct_literal_object()
583 ecma_object_t *func_obj_p = ecma_get_object_from_value (func_value); in vm_super_call() local
584 completion_value = ecma_op_function_construct (func_obj_p, in vm_super_call()
698 ecma_object_t *func_obj_p = ecma_get_object_from_value (func_value); in vm_spread_operation() local
700 completion_value = ecma_op_function_call (func_obj_p, in vm_spread_operation()
786 ecma_object_t *func_obj_p in opfunc_call() local
[all...]
/third_party/jerryscript/jerry-core/api/
H A Djerry.c499 ecma_object_t *func_obj_p = ecma_op_create_simple_function_object (lex_env_p, bytecode_data_p); in jerry_parse() local
502 return ecma_make_object_value (func_obj_p); in jerry_parse()
580 ecma_object_t *func_obj_p = ecma_op_create_simple_function_object (lex_env_p, bytecode_data_p); in jerry_parse_function() local
583 return ecma_make_object_value (func_obj_p); in jerry_parse_function()
614 ecma_object_t *func_obj_p = ecma_get_object_from_value (func_val); in jerry_run() local
616 if (ecma_get_object_type (func_obj_p) != ECMA_OBJECT_TYPE_FUNCTION in jerry_run()
617 || ecma_get_object_is_builtin (func_obj_p)) in jerry_run()
622 ecma_extended_object_t *ext_func_p = (ecma_extended_object_t *) func_obj_p; in jerry_run()
1545 ecma_object_t *func_obj_p = ecma_op_create_external_function_object (handler_p); in jerry_create_external_function() local
1546 return ecma_make_object_value (func_obj_p); in jerry_create_external_function()
[all...]
H A Djerry-snapshot.c997 ecma_object_t *func_obj_p = ecma_op_create_simple_function_object (lex_env_p, bytecode_p); in jerry_snapshot_result() local
1003 ret_val = ecma_make_object_value (func_obj_p); in jerry_snapshot_result()

Completed in 21 milliseconds