Lines Matching refs:result
119 jerry_value_t *result) /**< Resulting value */
134 if (result != NULL)
136 (*result) = jerry_get_property (cache, module_name);
177 * section and loads one that matches the requested name, caching the result for subsequent requests using the context
182 jerry_value_t *result) /**< [out] where to put the resulting module instance */
210 (*result) = ((module_p->on_resolve_p) ? module_p->on_resolve_p ()
237 jerry_value_t *result) /**< location to store the result, or NULL to remove the module */
255 jerry_value_t *result);
259 if (result != NULL)
261 *result = jerryx_module_create_error (JERRY_ERROR_COMMON, module_name_not_string, name);
270 * the canonical names matches a cached module, it is returned as the result.
278 if (jerryx_module_check_cache (instances, canonical_names[index], result))
280 /* A NULL for result indicates that we are to delete the module from the cache if found. Let's do that here.*/
281 if (result == NULL)
289 if (result == NULL)
295 * Past this point we assume a module is wanted, and therefore result is not NULL. So, we try each resolver until one
301 if (resolve_p != NULL && resolve_p (canonical_names[index], result))
303 if (!jerry_value_is_error (*result))
305 *result = jerryx_module_add_to_cache (instances, canonical_names[index], *result);
312 *result = jerryx_module_create_error (JERRY_ERROR_COMMON, module_not_found, name);
334 * - the result of having loaded the module named @p name, or
335 * - the result of a previous successful load, or