Home
last modified time | relevance | path

Searched refs:duk_to_number (Results 1 – 25 of 40) sorted by relevance

12

/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_bi_math.c39 t = duk_to_number(ctx, i); in duk__math_minmax()
291 duk_push_number(ctx, (duk_double_t) fun((double) duk_to_number(ctx, 0))); in duk_bi_math_object_onearg_shared()
302 …duk_push_number(ctx, (duk_double_t) fun((double) duk_to_number(ctx, 0), (double) duk_to_number(ctx… in duk_bi_math_object_twoarg_shared()
Dduk_js_ops.c684 duk_to_number(ctx, -1); in duk_js_equals_helper()
933 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
934 d2 = duk_to_number(ctx, -1); in duk_js_compare_helper()
936 d2 = duk_to_number(ctx, -1); in duk_js_compare_helper()
937 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
Dduk_bi_date.c902 d = duk_to_number(ctx, -1); in duk__push_this_get_timeval_tzoffset()
1170 dparts[idx] = duk_to_number(ctx, i); in duk__set_part_helper()
1209 duk_to_number(ctx, idx_val); in duk__twodigit_year_fixup()
1245 d = duk_to_number(ctx, (duk_idx_t) i); in duk__set_parts_from_args()
1465 d = duk__timeclip(duk_to_number(ctx, 0)); in duk_bi_date_constructor()
1722 d = duk__timeclip(duk_to_number(ctx, 0)); in duk_bi_date_prototype_set_time()
Dduk_bi_buffer.c471 du.f[0] = (duk_float_t) duk_to_number(ctx, -1); in duk_hbufferobject_validated_write()
474 du.d = (duk_double_t) duk_to_number(ctx, -1); in duk_hbufferobject_validated_write()
2683 duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2747 du.f[0] = (duk_float_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2761 du.d = (duk_double_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2811 tmp = (duk_int64_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2820 tmp = duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
Dduk_bi_number.c53 duk_to_number(ctx, 0); in duk_bi_number_constructor()
Dduk_bi_error.c159 d = duk_to_number(ctx, -1); in duk__error_getter_helper()
Dduk_js_executor.c130 d1 = duk_to_number(ctx, -2); in duk__vm_arith_add()
131 d2 = duk_to_number(ctx, -1); in duk__vm_arith_add()
248 d1 = duk_to_number(ctx, -2); /* side effects */ in duk__vm_arith_binary_op()
249 d2 = duk_to_number(ctx, -1); in duk__vm_arith_binary_op()
453 duk_to_number(ctx, idx_x); /* side effects, perform in-place */ in duk__vm_arith_unary_op()
3685 x = duk_to_number(ctx, bc);
3733 x = duk_to_number(ctx, -2);
3787 x = duk_to_number(ctx, -1);
Dduk_bi_global.c672 duk_double_t d = duk_to_number(ctx, 0); in duk_bi_global_object_is_nan()
678 duk_double_t d = duk_to_number(ctx, 0); in duk_bi_global_object_is_finite()
Dduk_bi_array.c512 d = duk_to_number(ctx, -1); in duk__array_sort_compare()
Dduk_bi_string.c337 duk_to_number(ctx, 1); in duk_bi_string_prototype_indexof_shared()
Dduk_bi_json.c2027 duk_to_number(ctx, -1);
2949 duk_to_number(ctx, idx_space);
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_bi_math.c39 t = duk_to_number(ctx, i); in duk__math_minmax()
291 duk_push_number(ctx, (duk_double_t) fun((double) duk_to_number(ctx, 0))); in duk_bi_math_object_onearg_shared()
302 …duk_push_number(ctx, (duk_double_t) fun((double) duk_to_number(ctx, 0), (double) duk_to_number(ctx… in duk_bi_math_object_twoarg_shared()
Dduk_js_ops.c684 duk_to_number(ctx, -1); in duk_js_equals_helper()
933 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
934 d2 = duk_to_number(ctx, -1); in duk_js_compare_helper()
936 d2 = duk_to_number(ctx, -1); in duk_js_compare_helper()
937 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
Dduk_bi_date.c902 d = duk_to_number(ctx, -1); in duk__push_this_get_timeval_tzoffset()
1170 dparts[idx] = duk_to_number(ctx, i); in duk__set_part_helper()
1209 duk_to_number(ctx, idx_val); in duk__twodigit_year_fixup()
1245 d = duk_to_number(ctx, (duk_idx_t) i); in duk__set_parts_from_args()
1465 d = duk__timeclip(duk_to_number(ctx, 0)); in duk_bi_date_constructor()
1722 d = duk__timeclip(duk_to_number(ctx, 0)); in duk_bi_date_prototype_set_time()
Dduk_bi_buffer.c471 du.f[0] = (duk_float_t) duk_to_number(ctx, -1); in duk_hbufferobject_validated_write()
474 du.d = (duk_double_t) duk_to_number(ctx, -1); in duk_hbufferobject_validated_write()
2685 duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2749 du.f[0] = (duk_float_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2763 du.d = (duk_double_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2813 tmp = (duk_int64_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
2822 tmp = duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
Dduk_bi_number.c53 duk_to_number(ctx, 0); in duk_bi_number_constructor()
Dduk_bi_error.c159 d = duk_to_number(ctx, -1); in duk__error_getter_helper()
Dduk_js_executor.c130 d1 = duk_to_number(ctx, -2); in duk__vm_arith_add()
131 d2 = duk_to_number(ctx, -1); in duk__vm_arith_add()
248 d1 = duk_to_number(ctx, -2); /* side effects */ in duk__vm_arith_binary_op()
249 d2 = duk_to_number(ctx, -1); in duk__vm_arith_binary_op()
453 duk_to_number(ctx, idx_x); /* side effects, perform in-place */ in duk__vm_arith_unary_op()
3692 x = duk_to_number(ctx, bc);
3740 x = duk_to_number(ctx, -2);
3795 x = duk_to_number(ctx, -1);
Dduk_bi_global.c671 duk_double_t d = duk_to_number(ctx, 0); in duk_bi_global_object_is_nan()
677 duk_double_t d = duk_to_number(ctx, 0); in duk_bi_global_object_is_finite()
Dduk_bi_array.c512 d = duk_to_number(ctx, -1); in duk__array_sort_compare()
Dduk_bi_string.c337 duk_to_number(ctx, 1); in duk_bi_string_prototype_indexof_shared()
Dduk_bi_json.c2027 duk_to_number(ctx, -1);
2949 duk_to_number(ctx, idx_space);
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/hello/
Dhello.c13 res += duk_to_number(ctx, i); in adder()
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/hello/
Dhello.c13 res += duk_to_number(ctx, i); in adder()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.c16783 DUK_EXTERNAL duk_double_t duk_to_number(duk_context *ctx, duk_idx_t index) { in duk_to_number() function
16907 d = duk_to_number(ctx, index); in duk_to_uint8clamped()
20477 d = duk_to_number(ctx, -1); in duk__array_sort_compare()
21949 du.f[0] = (duk_float_t) duk_to_number(ctx, -1); in duk_hbufferobject_validated_write()
21952 du.d = (duk_double_t) duk_to_number(ctx, -1); in duk_hbufferobject_validated_write()
24161 duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
24225 du.f[0] = (duk_float_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
24239 du.d = (duk_double_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
24289 tmp = (duk_int64_t) duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
24298 tmp = duk_to_number(ctx, 0); in duk_bi_buffer_writefield()
[all …]

12