Searched refs:module_p (Results 1 – 6 of 6) sorted by relevance
62 if (JERRY_CONTEXT (module_top_context_p)->module_p != NULL) in ecma_module_create_normalized_path()64 JERRY_ASSERT (JERRY_CONTEXT (module_top_context_p)->module_p->path_p != NULL); in ecma_module_create_normalized_path()65 … module_path_size = ecma_string_get_size (JERRY_CONTEXT (module_top_context_p)->module_p->path_p); in ecma_module_create_normalized_path()69 …tf8_size = ecma_string_copy_to_utf8_buffer (JERRY_CONTEXT (module_top_context_p)->module_p->path_p, in ecma_module_create_normalized_path()128 ecma_module_t *module_p = (ecma_module_t *) jmem_heap_alloc_block (sizeof (ecma_module_t)); in ecma_module_create_module() local129 memset (module_p, 0, sizeof (ecma_module_t)); in ecma_module_create_module()131 module_p->path_p = path_p; in ecma_module_create_module()132 module_p->next_p = JERRY_CONTEXT (ecma_modules_p); in ecma_module_create_module()133 JERRY_CONTEXT (ecma_modules_p) = module_p; in ecma_module_create_module()134 return module_p; in ecma_module_create_module()[all …]
60 ecma_module_t *module_p; /**< module request */ member95 ecma_module_t *module_p; /**< module */ member114 ecma_module_t *module_p; /**< module request */ member120 ecma_module_t *const module_p,125 ecma_module_t *const module_p,
86 void jerryx_native_module_register (jerryx_native_module_t *module_p) in jerryx_native_module_register() argument88 module_p->next_p = first_module_p; in jerryx_native_module_register()89 first_module_p = module_p; in jerryx_native_module_register()92 void jerryx_native_module_unregister (jerryx_native_module_t *module_p) in jerryx_native_module_unregister() argument98 if (iter_p == module_p) in jerryx_native_module_unregister()102 parent_p->next_p = module_p->next_p; in jerryx_native_module_unregister()106 first_module_p = module_p->next_p; in jerryx_native_module_unregister()108 module_p->next_p = NULL; in jerryx_native_module_unregister()184 const jerryx_native_module_t *module_p = NULL; in jerryx_resolve_native_module() local203 for (module_p = first_module_p; module_p != NULL; module_p = module_p->next_p) in jerryx_resolve_native_module()[all …]
325 ecma_module_t *module_p = ecma_module_find_or_create_module (path_p); in parser_module_context_init() local327 module_p->state = ECMA_MODULE_STATE_EVALUATED; in parser_module_context_init()329 module_p->scope_p = NULL; in parser_module_context_init()331 module_p->context_p = module_context_p; in parser_module_context_init()332 module_context_p->module_p = module_p; in parser_module_context_init()584 ecma_module_t *module_p = ecma_module_find_module (name_p); in parser_module_handle_module_specifier() local585 if (module_p) in parser_module_handle_module_specifier()598 module_p = ecma_module_create_native_module (name_p, module_object_p); in parser_module_handle_module_specifier()611 module_p = ecma_module_find_or_create_module (path_p); in parser_module_handle_module_specifier()614 module_node_p->module_request_p = module_p; in parser_module_handle_module_specifier()
95 void jerryx_native_module_register (jerryx_native_module_t *module_p);101 void jerryx_native_module_unregister (jerryx_native_module_t *module_p);
324 ecma_module_t *module_p = JERRY_CONTEXT (module_top_context_p)->module_p; in vm_run_global() local326 JERRY_ASSERT (module_p->scope_p == NULL); in vm_run_global()328 module_p->scope_p = global_scope_p; in vm_run_global()