Home
last modified time | relevance | path

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

/third_party/jerryscript/docs/
D12.EXT-REFERENCE-MODULE.md4 …resolves to a `jerry_value_t`. This extension provides the function `jerryx_module_resolve()` which
12 …name is assumed to be what the resolver considers to be its canonical name. `jerryx_module_resolve`
16 If no cached module is found, `jerryx_module_resolve` calls each resolver's `resolve` function poin…
20 When `jerryx_module_resolve` receives a value of `true` from a resolver, it stops iterating over th…
23 subsequent calls to `jerryx_module_resolve` with a module name whose canonical name is associated w…
31 identically to `jerryx_module_resolve` in that it first checks the cache for the requested module, …
37 `jerryx_module_resolve()`. Native modules are registered during application startup and by calling …
43 ## jerryx_module_resolve section in Module API
57 returned by `jerryx_module_resolve` as the result of the request. If no error flag is set on the `j…
59 to `jerryx_module_resolve` with a module name whose canonical name matches an already loaded module.
[all …]
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-canonical.c85 jerry_value_t result2 = jerryx_module_resolve (alias_name, &resolver, 1); in main()
86 jerry_value_t result1 = jerryx_module_resolve (actual_name, &resolver, 1); in main()
Dtest-ext-module-empty.c36 jerry_value_t module = jerryx_module_resolve (module_name, &resolver, 1); in main()
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
Dmodule.h137 jerry_value_t jerryx_module_resolve (const jerry_value_t name,
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c169 return_value = jerryx_module_resolve (args_p[0], resolvers, 3); in handle_require()
/third_party/jerryscript/jerry-ext/module/
Dmodule.c339 jerryx_module_resolve (const jerry_value_t name, /**< name of the module to load */ in jerryx_module_resolve() function