Home
last modified time | relevance | path

Searched refs:duk_set_top (Results 1 – 25 of 50) sorted by relevance

12

/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_bi_duktape.c213 duk_set_top(ctx, 2); in duk_bi_duktape_object_fin()
239 duk_set_top(ctx, 2); in duk_bi_duktape_object_enc()
243 duk_set_top(ctx, 2); in duk_bi_duktape_object_enc()
286 duk_set_top(ctx, 2); in duk_bi_duktape_object_dec()
290 duk_set_top(ctx, 2); in duk_bi_duktape_object_dec()
Dduk_bi_object.c145 duk_set_top(ctx, 1); in duk_bi_object_setprototype_shared()
298 duk_set_top(ctx, 2); /* -> [ hobject props ] */ in duk_bi_object_constructor_define_properties()
306 duk_set_top(ctx, 3); in duk_bi_object_constructor_define_properties()
Dduk_bi_array.c153 duk_set_top(ctx, 0); in duk_bi_array_prototype_to_string()
277 duk_set_top(ctx, 1); in duk_bi_array_prototype_join_shared()
749 duk_set_top(ctx, 2); in duk_bi_array_prototype_splice()
1129 duk_set_top(ctx, 2); in duk_bi_array_prototype_indexof_shared()
1363 duk_set_top(ctx, 2); in duk_bi_array_prototype_reduce_shared()
Dduk_bi_thread.c68 duk_set_top(ctx, 2); in duk_bi_thread_resume()
217 duk_set_top(ctx, 1); in duk_bi_thread_yield()
Dduk_bi_pointer.c22 duk_set_top(ctx, 1); in duk_bi_pointer_constructor()
Dduk_js_call.c823 duk_set_top(ctx, idx_args + nargs); /* clamp anything above nargs */ in duk__adjust_valstack_and_top()
824 duk_set_top(ctx, idx_args + nregs); /* extend with undefined */ in duk__adjust_valstack_and_top()
837 duk_set_top(ctx, idx_args + nargs); /* clamp anything above nargs */ in duk__adjust_valstack_and_top()
838 duk_set_top(ctx, idx_args + nregs); /* extend with undefined */ in duk__adjust_valstack_and_top()
879 duk_set_top(ctx, idx_rcbase + num_stack_rets); in duk__safe_call_adjust_valstack()
1673 duk_set_top(ctx, idx_func + 1); /* XXX: unnecessary, handle in adjust */
1793 duk_set_top(ctx, idx_func + 1); /* XXX: could be eliminated with valstack adjust */
Dduk_hthread_misc.c17 duk_set_top((duk_context *) thr, 0); /* unwinds valstack, updating refcounts */ in duk_hthread_terminate()
Dduk_bi_number.c54 duk_set_top(ctx, 1); in duk_bi_number_constructor()
Dduk_bi_logger.c28 duk_set_top(ctx, 1); in duk_bi_logger_constructor()
Dduk_js_executor.c595 duk_set_top((duk_context *) thr, clamp_top); in duk__reconfig_valstack_ecma_return()
606 duk_set_top((duk_context *) thr, h_func->nregs); in duk__reconfig_valstack_ecma_return()
628 duk_set_top((duk_context *) thr, clamp_top); in duk__reconfig_valstack_ecma_catcher()
640 duk_set_top((duk_context *) thr, h_func->nregs); in duk__reconfig_valstack_ecma_catcher()
3345 duk_set_top(ctx, (duk_idx_t) (idx + c + 2)); /* [ ... func this arg1 ... argN ] */
3402 duk_set_top(ctx, (duk_idx_t) fun->nregs);
3448 duk_set_top(ctx, (duk_idx_t) fun->nregs);
Dduk_debugger.c1643 duk_set_top(ctx, old_top); /* restore stack top */ in duk__debug_handle_apprequest()
1652 duk_set_top(ctx, old_top); /* restore stack top */ in duk__debug_handle_apprequest()
2497 duk_set_top(ctx, entry_top); in duk__debug_process_message()
2503 duk_set_top(ctx, entry_top); in duk__debug_process_message()
Dduk_api_object.c419 duk_set_top(ctx, idx_base); in duk_def_prop()
Dduk_hthread_builtins.c823 duk_set_top(ctx, 0); in duk_hthread_create_builtin_objects()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_bi_duktape.c213 duk_set_top(ctx, 2); in duk_bi_duktape_object_fin()
239 duk_set_top(ctx, 2); in duk_bi_duktape_object_enc()
243 duk_set_top(ctx, 2); in duk_bi_duktape_object_enc()
286 duk_set_top(ctx, 2); in duk_bi_duktape_object_dec()
290 duk_set_top(ctx, 2); in duk_bi_duktape_object_dec()
Dduk_bi_object.c145 duk_set_top(ctx, 1); in duk_bi_object_setprototype_shared()
298 duk_set_top(ctx, 2); /* -> [ hobject props ] */ in duk_bi_object_constructor_define_properties()
306 duk_set_top(ctx, 3); in duk_bi_object_constructor_define_properties()
Dduk_bi_array.c153 duk_set_top(ctx, 0); in duk_bi_array_prototype_to_string()
277 duk_set_top(ctx, 1); in duk_bi_array_prototype_join_shared()
749 duk_set_top(ctx, 2); in duk_bi_array_prototype_splice()
1129 duk_set_top(ctx, 2); in duk_bi_array_prototype_indexof_shared()
1363 duk_set_top(ctx, 2); in duk_bi_array_prototype_reduce_shared()
Dduk_bi_thread.c68 duk_set_top(ctx, 2); in duk_bi_thread_resume()
217 duk_set_top(ctx, 1); in duk_bi_thread_yield()
Dduk_bi_pointer.c22 duk_set_top(ctx, 1); in duk_bi_pointer_constructor()
Dduk_js_call.c821 duk_set_top(ctx, idx_args + nargs); /* clamp anything above nargs */ in duk__adjust_valstack_and_top()
822 duk_set_top(ctx, idx_args + nregs); /* extend with undefined */ in duk__adjust_valstack_and_top()
835 duk_set_top(ctx, idx_args + nargs); /* clamp anything above nargs */ in duk__adjust_valstack_and_top()
836 duk_set_top(ctx, idx_args + nregs); /* extend with undefined */ in duk__adjust_valstack_and_top()
877 duk_set_top(ctx, idx_rcbase + num_stack_rets); in duk__safe_call_adjust_valstack()
1669 duk_set_top(ctx, idx_func + 1); /* XXX: unnecessary, handle in adjust */
1789 duk_set_top(ctx, idx_func + 1); /* XXX: could be eliminated with valstack adjust */
Dduk_hthread_misc.c17 duk_set_top((duk_context *) thr, 0); /* unwinds valstack, updating refcounts */ in duk_hthread_terminate()
Dduk_bi_number.c54 duk_set_top(ctx, 1); in duk_bi_number_constructor()
Dduk_bi_logger.c28 duk_set_top(ctx, 1); in duk_bi_logger_constructor()
Dduk_js_executor.c595 duk_set_top((duk_context *) thr, clamp_top); in duk__reconfig_valstack_ecma_return()
606 duk_set_top((duk_context *) thr, h_func->nregs); in duk__reconfig_valstack_ecma_return()
628 duk_set_top((duk_context *) thr, clamp_top); in duk__reconfig_valstack_ecma_catcher()
640 duk_set_top((duk_context *) thr, h_func->nregs); in duk__reconfig_valstack_ecma_catcher()
3338 duk_set_top(ctx, (duk_idx_t) (idx + c + 2)); /* [ ... func this arg1 ... argN ] */
3395 duk_set_top(ctx, (duk_idx_t) fun->nregs);
3441 duk_set_top(ctx, (duk_idx_t) fun->nregs);
Dduk_debugger.c1631 duk_set_top(ctx, old_top); /* restore stack top */ in duk__debug_handle_apprequest()
1640 duk_set_top(ctx, old_top); /* restore stack top */ in duk__debug_handle_apprequest()
2485 duk_set_top(ctx, entry_top); in duk__debug_process_message()
2491 duk_set_top(ctx, entry_top); in duk__debug_process_message()
Dduk_api_object.c419 duk_set_top(ctx, idx_base); in duk_def_prop()

12