Home
last modified time | relevance | path

Searched refs:duk_context (Results 1 – 25 of 197) sorted by relevance

12345678

/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduktape.h179 typedef duk_ret_t (*duk_c_function)(duk_context *ctx);
183 typedef void (*duk_fatal_function) (duk_context *ctx, duk_errcode_t code, const char *msg);
186 typedef duk_ret_t (*duk_safe_call_function) (duk_context *ctx);
192 typedef duk_idx_t (*duk_debug_request_function) (duk_context *ctx, void *udata, duk_idx_t nvalues);
403 duk_context *duk_create_heap(duk_alloc_function alloc_func,
408 DUK_EXTERNAL_DECL void duk_destroy_heap(duk_context *ctx);
410 DUK_EXTERNAL_DECL void duk_suspend(duk_context *ctx, duk_thread_state *state);
411 DUK_EXTERNAL_DECL void duk_resume(duk_context *ctx, const duk_thread_state *state);
422 DUK_EXTERNAL_DECL void *duk_alloc_raw(duk_context *ctx, duk_size_t size);
423 DUK_EXTERNAL_DECL void duk_free_raw(duk_context *ctx, void *ptr);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduktape.h179 typedef duk_ret_t (*duk_c_function)(duk_context *ctx);
183 typedef void (*duk_fatal_function) (duk_context *ctx, duk_errcode_t code, const char *msg);
186 typedef duk_ret_t (*duk_safe_call_function) (duk_context *ctx);
192 typedef duk_idx_t (*duk_debug_request_function) (duk_context *ctx, void *udata, duk_idx_t nvalues);
403 duk_context *duk_create_heap(duk_alloc_function alloc_func,
408 DUK_EXTERNAL_DECL void duk_destroy_heap(duk_context *ctx);
410 DUK_EXTERNAL_DECL void duk_suspend(duk_context *ctx, duk_thread_state *state);
411 DUK_EXTERNAL_DECL void duk_resume(duk_context *ctx, const duk_thread_state *state);
422 DUK_EXTERNAL_DECL void *duk_alloc_raw(duk_context *ctx, duk_size_t size);
423 DUK_EXTERNAL_DECL void duk_free_raw(duk_context *ctx, void *ptr);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduktape.h179 typedef duk_ret_t (*duk_c_function)(duk_context *ctx);
183 typedef void (*duk_fatal_function) (duk_context *ctx, duk_errcode_t code, const char *msg);
186 typedef duk_ret_t (*duk_safe_call_function) (duk_context *ctx);
192 typedef duk_idx_t (*duk_debug_request_function) (duk_context *ctx, void *udata, duk_idx_t nvalues);
403 duk_context *duk_create_heap(duk_alloc_function alloc_func,
408 DUK_EXTERNAL_DECL void duk_destroy_heap(duk_context *ctx);
410 DUK_EXTERNAL_DECL void duk_suspend(duk_context *ctx, duk_thread_state *state);
411 DUK_EXTERNAL_DECL void duk_resume(duk_context *ctx, const duk_thread_state *state);
422 DUK_EXTERNAL_DECL void *duk_alloc_raw(duk_context *ctx, duk_size_t size);
423 DUK_EXTERNAL_DECL void duk_free_raw(duk_context *ctx, void *ptr);
[all …]
Dduk_api_internal.h27 duk_bool_t duk_valstack_resize_raw(duk_context *ctx,
32 DUK_INTERNAL_DECL const char *duk_get_type_name(duk_context *ctx, duk_idx_t index);
35 DUK_INTERNAL_DECL duk_tval *duk_get_tval(duk_context *ctx, duk_idx_t index);
36 DUK_INTERNAL_DECL duk_tval *duk_require_tval(duk_context *ctx, duk_idx_t index);
37 DUK_INTERNAL_DECL void duk_push_tval(duk_context *ctx, duk_tval *tv);
42 DUK_INTERNAL_DECL void duk_push_this_check_object_coercible(duk_context *ctx);
45 DUK_INTERNAL_DECL duk_hobject *duk_push_this_coercible_to_object(duk_context *ctx);
48 DUK_INTERNAL_DECL duk_hstring *duk_push_this_coercible_to_string(duk_context *ctx);
54 DUK_INTERNAL_DECL duk_tval *duk_get_borrowed_this_tval(duk_context *ctx);
76 DUK_INTERNAL_DECL duk_hstring *duk_get_hstring(duk_context *ctx, duk_idx_t index);
[all …]
Dduk_builtins.h603 DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor(duk_context *ctx);
604 DUK_INTERNAL_DECL duk_ret_t duk_bi_function_constructor(duk_context *ctx);
605 DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype(duk_context *ctx);
606 DUK_INTERNAL_DECL duk_ret_t duk_bi_array_constructor(duk_context *ctx);
607 DUK_INTERNAL_DECL duk_ret_t duk_bi_string_constructor(duk_context *ctx);
608 DUK_INTERNAL_DECL duk_ret_t duk_bi_boolean_constructor(duk_context *ctx);
609 DUK_INTERNAL_DECL duk_ret_t duk_bi_number_constructor(duk_context *ctx);
610 DUK_INTERNAL_DECL duk_ret_t duk_bi_date_constructor(duk_context *ctx);
611 DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_constructor(duk_context *ctx);
612 DUK_INTERNAL_DECL duk_ret_t duk_bi_error_constructor_shared(duk_context *ctx);
[all …]
Dduk_api_stack.c19 DUK_LOCAL_DECL duk_idx_t duk__push_c_function_raw(duk_context *ctx, duk_c_function func, duk_idx_t …
48 DUK_LOCAL_DECL duk_heaphdr *duk__get_tagged_heaphdr_raw(duk_context *ctx, duk_idx_t index, duk_uint…
50 DUK_LOCAL duk_int_t duk__api_coerce_d2i(duk_context *ctx, duk_idx_t index, duk_bool_t require) { in duk__api_coerce_d2i()
117 DUK_LOCAL duk_uint_t duk__api_coerce_d2ui(duk_context *ctx, duk_idx_t index, duk_bool_t require) { in duk__api_coerce_d2ui()
183 DUK_EXTERNAL duk_idx_t duk_normalize_index(duk_context *ctx, duk_idx_t index) { in duk_normalize_index()
219 DUK_EXTERNAL duk_idx_t duk_require_normalize_index(duk_context *ctx, duk_idx_t index) { in duk_require_normalize_index()
248 DUK_INTERNAL duk_tval *duk_get_tval(duk_context *ctx, duk_idx_t index) { in duk_get_tval()
276 DUK_INTERNAL duk_tval *duk_require_tval(duk_context *ctx, duk_idx_t index) { in duk_require_tval()
307 DUK_EXTERNAL duk_bool_t duk_is_valid_index(duk_context *ctx, duk_idx_t index) { in duk_is_valid_index()
315 DUK_EXTERNAL void duk_require_valid_index(duk_context *ctx, duk_idx_t index) { in duk_require_valid_index()
[all …]
Dduk_api_object.c15 DUK_EXTERNAL duk_bool_t duk_get_prop(duk_context *ctx, duk_idx_t obj_index) { in duk_get_prop()
38 DUK_EXTERNAL duk_bool_t duk_get_prop_string(duk_context *ctx, duk_idx_t obj_index, const char *key)… in duk_get_prop_string()
47 DUK_EXTERNAL duk_bool_t duk_get_prop_index(duk_context *ctx, duk_idx_t obj_index, duk_uarridx_t arr… in duk_get_prop_index()
55 DUK_INTERNAL duk_bool_t duk_get_prop_stridx(duk_context *ctx, duk_idx_t obj_index, duk_small_int_t … in duk_get_prop_stridx()
68 DUK_INTERNAL duk_bool_t duk_get_prop_stridx_boolean(duk_context *ctx, duk_idx_t obj_index, duk_smal… in duk_get_prop_stridx_boolean()
85 DUK_LOCAL duk_bool_t duk__put_prop_shared(duk_context *ctx, duk_idx_t obj_idx, duk_idx_t idx_key) { in duk__put_prop_shared()
115 DUK_EXTERNAL duk_bool_t duk_put_prop(duk_context *ctx, duk_idx_t obj_idx) { in duk_put_prop()
120 DUK_EXTERNAL duk_bool_t duk_put_prop_string(duk_context *ctx, duk_idx_t obj_idx, const char *key) { in duk_put_prop_string()
133 DUK_EXTERNAL duk_bool_t duk_put_prop_index(duk_context *ctx, duk_idx_t obj_idx, duk_uarridx_t arr_i… in duk_put_prop_index()
141 DUK_INTERNAL duk_bool_t duk_put_prop_stridx(duk_context *ctx, duk_idx_t obj_idx, duk_small_int_t st… in duk_put_prop_stridx()
[all …]
Dduk_bi_object.c7 DUK_INTERNAL duk_ret_t duk_bi_object_constructor(duk_context *ctx) { in duk_bi_object_constructor()
45 DUK_INTERNAL duk_ret_t duk_bi_object_getprototype_shared(duk_context *ctx) { in duk_bi_object_getprototype_shared()
86 DUK_INTERNAL duk_ret_t duk_bi_object_setprototype_shared(duk_context *ctx) { in duk_bi_object_setprototype_shared()
153 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_get_own_property_descriptor(duk_context *ctx) { in duk_bi_object_constructor_get_own_property_descriptor()
158 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_create(duk_context *ctx) { in duk_bi_object_constructor_create()
199 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_define_property(duk_context *ctx) { in duk_bi_object_constructor_define_property()
269 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_define_properties(duk_context *ctx) { in duk_bi_object_constructor_define_properties()
352 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_seal_freeze_shared(duk_context *ctx) { in duk_bi_object_constructor_seal_freeze_shared()
374 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_prevent_extensions(duk_context *ctx) { in duk_bi_object_constructor_prevent_extensions()
395 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_is_sealed_frozen_shared(duk_context *ctx) { in duk_bi_object_constructor_is_sealed_frozen_shared()
[all …]
Dduk_api_call.c12 DUK_LOCAL void duk__call_prop_prep_stack(duk_context *ctx, duk_idx_t normalized_obj_index, duk_idx_… in duk__call_prop_prep_stack()
38 DUK_EXTERNAL void duk_call(duk_context *ctx, duk_idx_t nargs) { in duk_call()
65 DUK_EXTERNAL void duk_call_method(duk_context *ctx, duk_idx_t nargs) { in duk_call_method()
86 DUK_EXTERNAL void duk_call_prop(duk_context *ctx, duk_idx_t obj_index, duk_idx_t nargs) { in duk_call_prop()
106 DUK_EXTERNAL duk_int_t duk_pcall(duk_context *ctx, duk_idx_t nargs) { in duk_pcall()
144 DUK_EXTERNAL duk_int_t duk_pcall_method(duk_context *ctx, duk_idx_t nargs) { in duk_pcall_method()
169 DUK_LOCAL duk_ret_t duk__pcall_prop_raw(duk_context *ctx) { in duk__pcall_prop_raw()
189 DUK_EXTERNAL duk_int_t duk_pcall_prop(duk_context *ctx, duk_idx_t obj_index, duk_idx_t nargs) { in duk_pcall_prop()
210 DUK_EXTERNAL duk_int_t duk_safe_call(duk_context *ctx, duk_safe_call_function func, duk_idx_t nargs… in duk_safe_call()
231 DUK_EXTERNAL void duk_new(duk_context *ctx, duk_idx_t nargs) { in duk_new()
[all …]
Dduk_bi_error.c7 DUK_INTERNAL duk_ret_t duk_bi_error_constructor_shared(duk_context *ctx) { in duk_bi_error_constructor_shared()
48 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_to_string(duk_context *ctx) { in duk_bi_error_prototype_to_string()
117 DUK_LOCAL duk_ret_t duk__error_getter_helper(duk_context *ctx, duk_small_int_t output_type) { in duk__error_getter_helper()
298 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_stack_getter(duk_context *ctx) { in duk_bi_error_prototype_stack_getter()
302 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_filename_getter(duk_context *ctx) { in duk_bi_error_prototype_filename_getter()
306 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_linenumber_getter(duk_context *ctx) { in duk_bi_error_prototype_linenumber_getter()
328 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_stack_getter(duk_context *ctx) { in duk_bi_error_prototype_stack_getter()
335 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_filename_getter(duk_context *ctx) { in duk_bi_error_prototype_filename_getter()
340 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_linenumber_getter(duk_context *ctx) { in duk_bi_error_prototype_linenumber_getter()
347 DUK_LOCAL duk_ret_t duk__error_setter_helper(duk_context *ctx, duk_small_uint_t stridx_key) { in duk__error_setter_helper()
[all …]
Dduk_bi_protos.h33 DUK_INTERNAL_DECL duk_double_t duk_bi_date_get_now_gettimeofday(duk_context *ctx);
36 DUK_INTERNAL_DECL duk_double_t duk_bi_date_get_now_time(duk_context *ctx);
39 DUK_INTERNAL_DECL duk_double_t duk_bi_date_get_now_windows(duk_context *ctx);
48 DUK_INTERNAL_DECL duk_bool_t duk_bi_date_parse_string_strptime(duk_context *ctx, const char *str);
51 DUK_INTERNAL_DECL duk_bool_t duk_bi_date_parse_string_getdate(duk_context *ctx, const char *str);
54 DUK_INTERNAL_DECL duk_bool_t duk_bi_date_format_parts_strftime(duk_context *ctx, duk_int_t *parts, …
58 void duk_bi_json_parse_helper(duk_context *ctx,
63 void duk_bi_json_stringify_helper(duk_context *ctx,
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduktape.h177 typedef duk_ret_t (*duk_c_function)(duk_context *ctx);
181 typedef void (*duk_fatal_function) (duk_context *ctx, duk_errcode_t code, const char *msg);
184 typedef duk_ret_t (*duk_safe_call_function) (duk_context *ctx);
190 typedef duk_idx_t (*duk_debug_request_function) (duk_context *ctx, void *udata, duk_idx_t nvalues);
393 duk_context *duk_create_heap(duk_alloc_function alloc_func,
398 DUK_EXTERNAL_DECL void duk_destroy_heap(duk_context *ctx);
409 DUK_EXTERNAL_DECL void *duk_alloc_raw(duk_context *ctx, duk_size_t size);
410 DUK_EXTERNAL_DECL void duk_free_raw(duk_context *ctx, void *ptr);
411 DUK_EXTERNAL_DECL void *duk_realloc_raw(duk_context *ctx, void *ptr, duk_size_t size);
412 DUK_EXTERNAL_DECL void *duk_alloc(duk_context *ctx, duk_size_t size);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.h177 typedef duk_ret_t (*duk_c_function)(duk_context *ctx);
181 typedef void (*duk_fatal_function) (duk_context *ctx, duk_errcode_t code, const char *msg);
184 typedef duk_ret_t (*duk_safe_call_function) (duk_context *ctx);
190 typedef duk_idx_t (*duk_debug_request_function) (duk_context *ctx, void *udata, duk_idx_t nvalues);
393 duk_context *duk_create_heap(duk_alloc_function alloc_func,
398 DUK_EXTERNAL_DECL void duk_destroy_heap(duk_context *ctx);
409 DUK_EXTERNAL_DECL void *duk_alloc_raw(duk_context *ctx, duk_size_t size);
410 DUK_EXTERNAL_DECL void duk_free_raw(duk_context *ctx, void *ptr);
411 DUK_EXTERNAL_DECL void *duk_realloc_raw(duk_context *ctx, void *ptr, duk_size_t size);
412 DUK_EXTERNAL_DECL void *duk_alloc(duk_context *ctx, duk_size_t size);
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduktape.h177 typedef duk_ret_t (*duk_c_function)(duk_context *ctx);
181 typedef void (*duk_fatal_function) (duk_context *ctx, duk_errcode_t code, const char *msg);
184 typedef duk_ret_t (*duk_safe_call_function) (duk_context *ctx);
190 typedef duk_idx_t (*duk_debug_request_function) (duk_context *ctx, void *udata, duk_idx_t nvalues);
393 duk_context *duk_create_heap(duk_alloc_function alloc_func,
398 DUK_EXTERNAL_DECL void duk_destroy_heap(duk_context *ctx);
409 DUK_EXTERNAL_DECL void *duk_alloc_raw(duk_context *ctx, duk_size_t size);
410 DUK_EXTERNAL_DECL void duk_free_raw(duk_context *ctx, void *ptr);
411 DUK_EXTERNAL_DECL void *duk_realloc_raw(duk_context *ctx, void *ptr, duk_size_t size);
412 DUK_EXTERNAL_DECL void *duk_alloc(duk_context *ctx, duk_size_t size);
[all …]
Dduk_api_internal.h27 duk_bool_t duk_valstack_resize_raw(duk_context *ctx,
32 DUK_INTERNAL_DECL const char *duk_get_type_name(duk_context *ctx, duk_idx_t index);
35 DUK_INTERNAL_DECL duk_tval *duk_get_tval(duk_context *ctx, duk_idx_t index);
36 DUK_INTERNAL_DECL duk_tval *duk_require_tval(duk_context *ctx, duk_idx_t index);
37 DUK_INTERNAL_DECL void duk_push_tval(duk_context *ctx, duk_tval *tv);
42 DUK_INTERNAL_DECL void duk_push_this_check_object_coercible(duk_context *ctx);
45 DUK_INTERNAL_DECL duk_hobject *duk_push_this_coercible_to_object(duk_context *ctx);
48 DUK_INTERNAL_DECL duk_hstring *duk_push_this_coercible_to_string(duk_context *ctx);
54 DUK_INTERNAL_DECL duk_tval *duk_get_borrowed_this_tval(duk_context *ctx);
76 DUK_INTERNAL_DECL duk_hstring *duk_get_hstring(duk_context *ctx, duk_idx_t index);
[all …]
Dduk_builtins.h603 DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor(duk_context *ctx);
604 DUK_INTERNAL_DECL duk_ret_t duk_bi_function_constructor(duk_context *ctx);
605 DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype(duk_context *ctx);
606 DUK_INTERNAL_DECL duk_ret_t duk_bi_array_constructor(duk_context *ctx);
607 DUK_INTERNAL_DECL duk_ret_t duk_bi_string_constructor(duk_context *ctx);
608 DUK_INTERNAL_DECL duk_ret_t duk_bi_boolean_constructor(duk_context *ctx);
609 DUK_INTERNAL_DECL duk_ret_t duk_bi_number_constructor(duk_context *ctx);
610 DUK_INTERNAL_DECL duk_ret_t duk_bi_date_constructor(duk_context *ctx);
611 DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_constructor(duk_context *ctx);
612 DUK_INTERNAL_DECL duk_ret_t duk_bi_error_constructor_shared(duk_context *ctx);
[all …]
Dduk_api_stack.c19 DUK_LOCAL_DECL duk_idx_t duk__push_c_function_raw(duk_context *ctx, duk_c_function func, duk_idx_t …
48 DUK_LOCAL_DECL duk_heaphdr *duk__get_tagged_heaphdr_raw(duk_context *ctx, duk_idx_t index, duk_uint…
50 DUK_LOCAL duk_int_t duk__api_coerce_d2i(duk_context *ctx, duk_idx_t index, duk_bool_t require) { in duk__api_coerce_d2i()
117 DUK_LOCAL duk_uint_t duk__api_coerce_d2ui(duk_context *ctx, duk_idx_t index, duk_bool_t require) { in duk__api_coerce_d2ui()
183 DUK_EXTERNAL duk_idx_t duk_normalize_index(duk_context *ctx, duk_idx_t index) { in duk_normalize_index()
219 DUK_EXTERNAL duk_idx_t duk_require_normalize_index(duk_context *ctx, duk_idx_t index) { in duk_require_normalize_index()
248 DUK_INTERNAL duk_tval *duk_get_tval(duk_context *ctx, duk_idx_t index) { in duk_get_tval()
276 DUK_INTERNAL duk_tval *duk_require_tval(duk_context *ctx, duk_idx_t index) { in duk_require_tval()
307 DUK_EXTERNAL duk_bool_t duk_is_valid_index(duk_context *ctx, duk_idx_t index) { in duk_is_valid_index()
315 DUK_EXTERNAL void duk_require_valid_index(duk_context *ctx, duk_idx_t index) { in duk_require_valid_index()
[all …]
Dduk_api_object.c15 DUK_EXTERNAL duk_bool_t duk_get_prop(duk_context *ctx, duk_idx_t obj_index) { in duk_get_prop()
38 DUK_EXTERNAL duk_bool_t duk_get_prop_string(duk_context *ctx, duk_idx_t obj_index, const char *key)… in duk_get_prop_string()
47 DUK_EXTERNAL duk_bool_t duk_get_prop_index(duk_context *ctx, duk_idx_t obj_index, duk_uarridx_t arr… in duk_get_prop_index()
55 DUK_INTERNAL duk_bool_t duk_get_prop_stridx(duk_context *ctx, duk_idx_t obj_index, duk_small_int_t … in duk_get_prop_stridx()
68 DUK_INTERNAL duk_bool_t duk_get_prop_stridx_boolean(duk_context *ctx, duk_idx_t obj_index, duk_smal… in duk_get_prop_stridx_boolean()
85 DUK_LOCAL duk_bool_t duk__put_prop_shared(duk_context *ctx, duk_idx_t obj_idx, duk_idx_t idx_key) { in duk__put_prop_shared()
115 DUK_EXTERNAL duk_bool_t duk_put_prop(duk_context *ctx, duk_idx_t obj_idx) { in duk_put_prop()
120 DUK_EXTERNAL duk_bool_t duk_put_prop_string(duk_context *ctx, duk_idx_t obj_idx, const char *key) { in duk_put_prop_string()
133 DUK_EXTERNAL duk_bool_t duk_put_prop_index(duk_context *ctx, duk_idx_t obj_idx, duk_uarridx_t arr_i… in duk_put_prop_index()
141 DUK_INTERNAL duk_bool_t duk_put_prop_stridx(duk_context *ctx, duk_idx_t obj_idx, duk_small_int_t st… in duk_put_prop_stridx()
[all …]
Dduk_bi_object.c7 DUK_INTERNAL duk_ret_t duk_bi_object_constructor(duk_context *ctx) { in duk_bi_object_constructor()
45 DUK_INTERNAL duk_ret_t duk_bi_object_getprototype_shared(duk_context *ctx) { in duk_bi_object_getprototype_shared()
86 DUK_INTERNAL duk_ret_t duk_bi_object_setprototype_shared(duk_context *ctx) { in duk_bi_object_setprototype_shared()
153 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_get_own_property_descriptor(duk_context *ctx) { in duk_bi_object_constructor_get_own_property_descriptor()
158 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_create(duk_context *ctx) { in duk_bi_object_constructor_create()
199 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_define_property(duk_context *ctx) { in duk_bi_object_constructor_define_property()
269 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_define_properties(duk_context *ctx) { in duk_bi_object_constructor_define_properties()
352 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_seal_freeze_shared(duk_context *ctx) { in duk_bi_object_constructor_seal_freeze_shared()
374 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_prevent_extensions(duk_context *ctx) { in duk_bi_object_constructor_prevent_extensions()
395 DUK_INTERNAL duk_ret_t duk_bi_object_constructor_is_sealed_frozen_shared(duk_context *ctx) { in duk_bi_object_constructor_is_sealed_frozen_shared()
[all …]
Dduk_api_call.c12 DUK_LOCAL void duk__call_prop_prep_stack(duk_context *ctx, duk_idx_t normalized_obj_index, duk_idx_… in duk__call_prop_prep_stack()
38 DUK_EXTERNAL void duk_call(duk_context *ctx, duk_idx_t nargs) { in duk_call()
65 DUK_EXTERNAL void duk_call_method(duk_context *ctx, duk_idx_t nargs) { in duk_call_method()
86 DUK_EXTERNAL void duk_call_prop(duk_context *ctx, duk_idx_t obj_index, duk_idx_t nargs) { in duk_call_prop()
103 DUK_EXTERNAL duk_int_t duk_pcall(duk_context *ctx, duk_idx_t nargs) { in duk_pcall()
141 DUK_EXTERNAL duk_int_t duk_pcall_method(duk_context *ctx, duk_idx_t nargs) { in duk_pcall_method()
166 DUK_LOCAL duk_ret_t duk__pcall_prop_raw(duk_context *ctx) { in duk__pcall_prop_raw()
186 DUK_EXTERNAL duk_int_t duk_pcall_prop(duk_context *ctx, duk_idx_t obj_index, duk_idx_t nargs) { in duk_pcall_prop()
204 DUK_EXTERNAL duk_int_t duk_safe_call(duk_context *ctx, duk_safe_call_function func, duk_idx_t nargs… in duk_safe_call()
225 DUK_EXTERNAL void duk_new(duk_context *ctx, duk_idx_t nargs) { in duk_new()
[all …]
Dduk_bi_error.c7 DUK_INTERNAL duk_ret_t duk_bi_error_constructor_shared(duk_context *ctx) { in duk_bi_error_constructor_shared()
48 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_to_string(duk_context *ctx) { in duk_bi_error_prototype_to_string()
117 DUK_LOCAL duk_ret_t duk__error_getter_helper(duk_context *ctx, duk_small_int_t output_type) { in duk__error_getter_helper()
298 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_stack_getter(duk_context *ctx) { in duk_bi_error_prototype_stack_getter()
302 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_filename_getter(duk_context *ctx) { in duk_bi_error_prototype_filename_getter()
306 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_linenumber_getter(duk_context *ctx) { in duk_bi_error_prototype_linenumber_getter()
328 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_stack_getter(duk_context *ctx) { in duk_bi_error_prototype_stack_getter()
335 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_filename_getter(duk_context *ctx) { in duk_bi_error_prototype_filename_getter()
340 DUK_INTERNAL duk_ret_t duk_bi_error_prototype_linenumber_getter(duk_context *ctx) { in duk_bi_error_prototype_linenumber_getter()
347 DUK_LOCAL duk_ret_t duk__error_setter_helper(duk_context *ctx, duk_small_uint_t stridx_key) { in duk__error_setter_helper()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/eventloop/
Dmain.c17 extern void poll_register(duk_context *ctx);
18 extern void ncurses_register(duk_context *ctx);
19 extern void socket_register(duk_context *ctx);
20 extern void fileio_register(duk_context *ctx);
21 extern void eventloop_register(duk_context *ctx);
22 extern int eventloop_run(duk_context *ctx); /* Duktape/C function, safe called */
37 static void print_error(duk_context *ctx, FILE *f) { in print_error()
57 int wrapped_compile_execute(duk_context *ctx) { in wrapped_compile_execute()
101 int handle_fh(duk_context *ctx, FILE *f, const char *filename) { in handle_fh()
145 int handle_file(duk_context *ctx, const char *filename) { in handle_file()
[all …]
Dncurses.c14 static int ncurses_initscr(duk_context *ctx) { in ncurses_initscr()
22 static int ncurses_endwin(duk_context *ctx) { in ncurses_endwin()
30 static int ncurses_delscreen(duk_context *ctx) { in ncurses_delscreen()
36 static int ncurses_getmaxyx(duk_context *ctx) { in ncurses_getmaxyx()
49 static int ncurses_printw(duk_context *ctx) { in ncurses_printw()
59 static int ncurses_mvprintw(duk_context *ctx) { in ncurses_mvprintw()
70 static int ncurses_refresh(duk_context *ctx) { in ncurses_refresh()
78 static int ncurses_getch(duk_context *ctx) { in ncurses_getch()
98 void ncurses_register(duk_context *ctx) { in ncurses_register()
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/eventloop/
Dmain.c17 extern void poll_register(duk_context *ctx);
18 extern void ncurses_register(duk_context *ctx);
19 extern void socket_register(duk_context *ctx);
20 extern void fileio_register(duk_context *ctx);
21 extern void eventloop_register(duk_context *ctx);
22 extern int eventloop_run(duk_context *ctx); /* Duktape/C function, safe called */
37 static void print_error(duk_context *ctx, FILE *f) { in print_error()
57 int wrapped_compile_execute(duk_context *ctx) { in wrapped_compile_execute()
101 int handle_fh(duk_context *ctx, FILE *f, const char *filename) { in handle_fh()
145 int handle_file(duk_context *ctx, const char *filename) { in handle_file()
[all …]
Dncurses.c14 static int ncurses_initscr(duk_context *ctx) { in ncurses_initscr()
22 static int ncurses_endwin(duk_context *ctx) { in ncurses_endwin()
30 static int ncurses_delscreen(duk_context *ctx) { in ncurses_delscreen()
36 static int ncurses_getmaxyx(duk_context *ctx) { in ncurses_getmaxyx()
49 static int ncurses_printw(duk_context *ctx) { in ncurses_printw()
59 static int ncurses_mvprintw(duk_context *ctx) { in ncurses_mvprintw()
70 static int ncurses_refresh(duk_context *ctx) { in ncurses_refresh()
78 static int ncurses_getch(duk_context *ctx) { in ncurses_getch()
98 void ncurses_register(duk_context *ctx) { in ncurses_register()

12345678