/third_party/jerryscript/tests/unit-ext/ |
D | test-ext-arg.c | 110 const jerry_value_t this_val, /**< this value */ in test_validator1_handler() argument 135 jerry_value_t is_ok = jerryx_arg_transform_this_and_args (this_val, in test_validator1_handler() 214 const jerry_value_t this_val, /**< this value */ in test_validator2_handler() argument 230 jerry_value_t is_ok = jerryx_arg_transform_this_and_args (this_val, in test_validator2_handler() 260 const jerry_value_t this_val, /**< this value */ in test_validator3_handler() argument 280 jerry_value_t is_ok = jerryx_arg_transform_this_and_args (this_val, in test_validator3_handler() 327 const jerry_value_t this_val, /**< this value */ in test_validator_prop1_handler() argument 332 JERRY_UNUSED (this_val); in test_validator_prop1_handler() 370 const jerry_value_t this_val, /**< this value */ in test_validator_prop2_handler() argument 375 JERRY_UNUSED (this_val); in test_validator_prop2_handler() [all …]
|
/third_party/jerryscript/tests/unit-core/ |
D | test-promise.c | 40 const jerry_value_t this_val, /**< this value */ in create_promise1_handler() argument 45 JERRY_UNUSED (this_val); in create_promise1_handler() 57 const jerry_value_t this_val, /**< this value */ in create_promise2_handler() argument 62 JERRY_UNUSED (this_val); in create_promise2_handler() 74 const jerry_value_t this_val, /**< this arg */ in assert_handler() argument 79 JERRY_UNUSED (this_val); in assert_handler()
|
D | test-proxy.c | 62 const jerry_value_t this_val, /**< this arg */ in handler_get() argument 67 JERRY_UNUSED (this_val); in handler_get() 88 const jerry_value_t this_val, /**< this arg */ in handler_set() argument 93 JERRY_UNUSED (this_val); in handler_set()
|
D | test-api.c | 66 const jerry_value_t this_val, /**< this value */ in handler() argument 74 … (unsigned int) func_obj_val, (unsigned int) this_val, (void *) args_p, (unsigned int) args_cnt); in handler() 94 const jerry_value_t this_val, /**< this value */ in handler_throw_test() argument 99 … (unsigned int) func_obj_val, (unsigned int) this_val, (void *) args_p, (unsigned int) args_cnt); in handler_throw_test() 142 const jerry_value_t this_val, /**< this value */ in handler_construct() argument 147 … (unsigned int) func_obj_val, (unsigned int) this_val, (void *) args_p, (unsigned int) args_cnt); in handler_construct() 149 TEST_ASSERT (jerry_value_is_object (this_val)); in handler_construct() 156 jerry_value_t res = jerry_set_property (this_val, field_name, args_p[0]); in handler_construct() 163 jerry_set_object_native_pointer (this_val, in handler_construct() 169 …bool is_ok = jerry_get_object_native_pointer (this_val, &ptr, &JERRY_NATIVE_HANDLE_INFO_FOR_CTYPE … in handler_construct() [all …]
|
D | test-newtarget.c | 51 const jerry_value_t this_val, /**< this arg */ in construct_handler() argument 56 JERRY_UNUSED (this_val); in construct_handler() 96 jerry_value_t func_call_result = jerry_call_function (func_obj_val, this_val, &sub_arg, 1); in construct_handler()
|
D | test-regression-3588.c | 26 const jerry_value_t this_val, /**< this arg */ in construct_handler() argument 31 JERRY_UNUSED (this_val); in construct_handler()
|
D | test-api-value-type.c | 31 const jerry_value_t this_val, /**< function this value */ in test_ext_function() argument 36 (void) this_val; in test_ext_function()
|
D | test-abort.c | 23 const jerry_value_t this_val, in callback_func() argument 28 JERRY_UNUSED (this_val); in callback_func()
|
D | test-resource-name.c | 22 const jerry_value_t this_val, /**< this value */ in resource_name_handler() argument 27 (void) this_val; in resource_name_handler()
|
D | test-api-binary-operations-instanceof.c | 32 const jerry_value_t this_val, /**< this */ in my_constructor() argument 37 (void) this_val; in my_constructor()
|
/third_party/quickjs/examples/ |
D | point.c | 77 static JSValue js_point_get_xy(JSContext *ctx, JSValueConst this_val, int magic) in js_point_get_xy() argument 79 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_get_xy() 88 static JSValue js_point_set_xy(JSContext *ctx, JSValueConst this_val, JSValue val, int magic) in js_point_set_xy() argument 90 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_set_xy() 103 static JSValue js_point_norm(JSContext *ctx, JSValueConst this_val, in js_point_norm() argument 106 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_norm()
|
/third_party/quickjs/ |
D | quickjs-libc.c | 407 static JSValue js_loadScript(JSContext *ctx, JSValueConst this_val, in js_loadScript() argument 432 static JSValue js_std_loadFile(JSContext *ctx, JSValueConst this_val, in js_std_loadFile() argument 601 static JSValue js_std_exit(JSContext *ctx, JSValueConst this_val, in js_std_exit() argument 611 static JSValue js_std_getenv(JSContext *ctx, JSValueConst this_val, in js_std_getenv() argument 648 static JSValue js_std_setenv(JSContext *ctx, JSValueConst this_val, in js_std_setenv() argument 666 static JSValue js_std_unsetenv(JSContext *ctx, JSValueConst this_val, in js_std_unsetenv() argument 680 static JSValue js_std_getenviron(JSContext *ctx, JSValueConst this_val, in js_std_getenviron() argument 717 static JSValue js_std_gc(JSContext *ctx, JSValueConst this_val, in js_std_gc() argument 744 static JSValue js_evalScript(JSContext *ctx, JSValueConst this_val, in js_evalScript() argument 816 static JSValue js_std_strerror(JSContext *ctx, JSValueConst this_val, in js_std_strerror() argument [all …]
|
D | quickjs.c | 640 JSValue this_val; member 689 JSValue this_val; /* 'this' generator argument */ member 1030 static JSValue JS_InvokeFree(JSContext *ctx, JSValue this_val, JSAtom atom, 1050 static JSValue js_function_apply(JSContext *ctx, JSValueConst this_val, 1185 JSValueConst this_val, 1216 static JSValue js_promise_resolve(JSContext *ctx, JSValueConst this_val, 1250 JSValueConst this_val, 5109 JSValueConst this_val, in js_c_function_data_call() argument 5127 return s->func(ctx, this_val, argc, arg_buf, s->magic, s->data); in js_c_function_data_call() 5373 JS_FreeValueRT(rt, bf->this_val); in js_bound_function_finalizer() [all …]
|
D | bjson.c | 27 static JSValue js_bjson_read(JSContext *ctx, JSValueConst this_val, in js_bjson_read() argument 48 static JSValue js_bjson_write(JSContext *ctx, JSValueConst this_val, in js_bjson_write() argument
|
D | quickjs.h | 311 typedef JSValue JSCFunction(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv); 312 typedef JSValue JSCFunctionMagic(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *arg… 313 typedef JSValue JSCFunctionData(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv… 377 JSValue js_string_codePointRange(JSContext *ctx, JSValueConst this_val, 479 JSValueConst this_val, int argc, JSValueConst *argv, 778 JSValue JS_Invoke(JSContext *ctx, JSValueConst this_val, JSAtom atom, 937 …JSValue (*generic_magic)(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int … 943 JSValue (*getter)(JSContext *ctx, JSValueConst this_val); 944 JSValue (*setter)(JSContext *ctx, JSValueConst this_val, JSValueConst val); 945 JSValue (*getter_magic)(JSContext *ctx, JSValueConst this_val, int magic); [all …]
|
D | run-test262.c | 373 static JSValue js_print(JSContext *ctx, JSValueConst this_val, in js_print() argument 399 static JSValue js_detachArrayBuffer(JSContext *ctx, JSValue this_val, in js_detachArrayBuffer() argument 406 static JSValue js_evalScript(JSContext *ctx, JSValue this_val, in js_evalScript() argument 528 static JSValue js_agent_start(JSContext *ctx, JSValue this_val, in js_agent_start() argument 565 static JSValue js_agent_leaving(JSContext *ctx, JSValue this_val, in js_agent_leaving() argument 587 static JSValue js_agent_broadcast(JSContext *ctx, JSValue this_val, in js_agent_broadcast() argument 628 static JSValue js_agent_receiveBroadcast(JSContext *ctx, JSValue this_val, in js_agent_receiveBroadcast() argument 641 static JSValue js_agent_sleep(JSContext *ctx, JSValue this_val, in js_agent_sleep() argument 658 static JSValue js_agent_monotonicNow(JSContext *ctx, JSValue this_val, in js_agent_monotonicNow() argument 664 static JSValue js_agent_getReport(JSContext *ctx, JSValue this_val, in js_agent_getReport() argument [all …]
|
/third_party/jerryscript/tests/unit-ext/module/ |
D | jerry-module-test.c | 142 const jerry_value_t this_val, in handle_clear_require_cache() argument 147 (void) this_val; in handle_clear_require_cache() 158 const jerry_value_t this_val, in handle_require() argument 163 (void) this_val; in handle_require()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-string-iterator-prototype.c | 52 ecma_builtin_string_iterator_prototype_object_next (ecma_value_t this_val) /**< this argument */ in ecma_builtin_string_iterator_prototype_object_next() argument 55 if (!ecma_is_value_object (this_val)) in ecma_builtin_string_iterator_prototype_object_next() 60 ecma_object_t *obj_p = ecma_get_object_from_value (this_val); in ecma_builtin_string_iterator_prototype_object_next()
|
D | ecma-builtin-iterator-prototype.c | 51 ecma_builtin_iterator_prototype_object_iterator (ecma_value_t this_val) /**< this argument */ in ecma_builtin_iterator_prototype_object_iterator() argument 54 return ecma_copy_value (this_val); in ecma_builtin_iterator_prototype_object_iterator()
|
D | ecma-builtin-map-iterator-prototype.c | 52 ecma_builtin_map_iterator_prototype_object_next (ecma_value_t this_val) /**< this argument */ in ecma_builtin_map_iterator_prototype_object_next() argument 54 return ecma_op_container_iterator_next (this_val, ECMA_PSEUDO_MAP_ITERATOR); in ecma_builtin_map_iterator_prototype_object_next()
|
D | ecma-builtin-set-iterator-prototype.c | 52 ecma_builtin_set_iterator_prototype_object_next (ecma_value_t this_val) /**< this argument */ in ecma_builtin_set_iterator_prototype_object_next() argument 54 return ecma_op_container_iterator_next (this_val, ECMA_PSEUDO_SET_ITERATOR); in ecma_builtin_set_iterator_prototype_object_next()
|
D | ecma-builtin-array-iterator-prototype.c | 53 ecma_builtin_array_iterator_prototype_object_next (ecma_value_t this_val) /**< this argument */ in ecma_builtin_array_iterator_prototype_object_next() argument 56 if (!ecma_is_value_object (this_val)) in ecma_builtin_array_iterator_prototype_object_next() 61 ecma_object_t *obj_p = ecma_get_object_from_value (this_val); in ecma_builtin_array_iterator_prototype_object_next()
|
/third_party/quickjs/tests/ |
D | bjson.c | 27 static JSValue js_bjson_read(JSContext *ctx, JSValueConst this_val, in js_bjson_read() argument 52 static JSValue js_bjson_write(JSContext *ctx, JSValueConst this_val, in js_bjson_write() argument
|
/third_party/jerryscript/jerry-ext/arg/ |
D | arg.c | 71 jerryx_arg_transform_this_and_args (const jerry_value_t this_val, /**< the this_val for the externa… in jerryx_arg_transform_this_and_args() argument 84 .js_arg_p = &this_val, in jerryx_arg_transform_this_and_args()
|
/third_party/jerryscript/docs/ |
D | 16.MIGRATION-GUIDE.md | 573 jerry_value_t this_val; 574 // create or acquire this_val 581 jerry_set_object_native_handle (this_val, 587 bool is_ok = jerry_get_object_native_handle (this_val, &ptr); 623 jerry_value_t this_val; 624 // create or acquire this_val 631 jerry_set_object_native_pointer (this_val, 637 bool has_p = jerry_get_object_native_pointer (this_val, &ptr, &my_info_type_info);
|