Lines Matching refs:ret_value
700 jerry_value_t ret_value = jerry_create_undefined (); in main() local
711 … ret_value = jerry_create_error (JERRY_ERROR_COMMON, (jerry_char_t *) "Snapshot file load error"); in main()
715 ret_value = jerry_exec_snapshot (snapshot_p, in main()
721 if (jerry_value_is_error (ret_value)) in main()
731 if (!jerry_value_is_error (ret_value)) in main()
740 … ret_value = jerry_create_error (JERRY_ERROR_COMMON, (jerry_char_t *) "Source file load error"); in main()
746 …ret_value = jerry_create_error (JERRY_ERROR_COMMON, (jerry_char_t *) ("Input must be a valid UTF-8… in main()
750 ret_value = jerry_parse ((jerry_char_t *) file_names[i], in main()
756 if (!jerry_value_is_error (ret_value) && !is_parse_only) in main()
758 jerry_value_t func_val = ret_value; in main()
759 ret_value = jerry_run (func_val); in main()
763 if (jerry_value_is_error (ret_value)) in main()
768 jerry_release_value (ret_value); in main()
769 ret_value = jerry_create_undefined (); in main()
793 ret_value = jerry_create_error (JERRY_ERROR_COMMON, in main()
804 ret_value = jerry_acquire_value (run_result); in main()
818 ret_value = jerry_create_undefined (); in main()
826 if (jerry_is_feature_enabled (JERRY_FEATURE_DEBUGGER) && jerry_value_is_abort (ret_value)) in main()
828 jerry_value_t abort_value = jerry_get_value_from_error (ret_value, false); in main()
842 jerry_release_value (ret_value); in main()
862 ret_value = jerry_create_undefined (); in main()
947 if (jerry_value_is_error (ret_value)) in main()
949 ret_value = jerry_get_value_from_error (ret_value, true); in main()
950 print_unhandled_exception (ret_value); in main()
955 jerry_release_value (ret_value); in main()
957 ret_value = jerry_run_all_enqueued_jobs (); in main()
959 if (jerry_value_is_error (ret_value)) in main()
961 ret_value = jerry_get_value_from_error (ret_value, true); in main()
962 print_unhandled_exception (ret_value); in main()
966 jerry_release_value (ret_value); in main()