Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-ext/module/
Dmodule.c243 jerry_value_t* canonical_names; in jerryx_module_resolve_local() local
244 canonical_names = (jerry_value_t*) jerry_vla_malloc (sizeof(jerry_value_t) * resolver_count); in jerryx_module_resolve_local()
245 if (!canonical_names) in jerryx_module_resolve_local()
251 JERRY_VLA (jerry_value_t, canonical_names, resolver_count); in jerryx_module_resolve_local()
275 canonical_names[index] = ((get_canonical_name_p == NULL) ? jerry_acquire_value (name) in jerryx_module_resolve_local()
278 if (jerryx_module_check_cache (instances, canonical_names[index], result)) in jerryx_module_resolve_local()
283 jerry_delete_property (instances, canonical_names[index]); in jerryx_module_resolve_local()
301 if (resolve_p != NULL && resolve_p (canonical_names[index], result)) in jerryx_module_resolve_local()
305 *result = jerryx_module_add_to_cache (instances, canonical_names[index], *result); in jerryx_module_resolve_local()
318 jerry_release_value (canonical_names[index]); in jerryx_module_resolve_local()
[all …]