Home
last modified time | relevance | path

Searched refs:d1 (Results 1 – 16 of 16) sorted by relevance

/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_js_ops.c680 duk_double_t d1, d2; in duk_js_equals_helper() local
685 d1 = duk_require_number(ctx, -1); in duk_js_equals_helper()
687 return duk__js_equals_number(d1, d2); in duk_js_equals_helper()
847 duk_double_t d1, d2; in duk_js_compare_helper() local
874 d1 = DUK_TVAL_GET_NUMBER(tv_x); in duk_js_compare_helper()
876 c1 = DUK_FPCLASSIFY(d1); in duk_js_compare_helper()
884 if (d1 < d2) { in duk_js_compare_helper()
933 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
937 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
940 c1 = (duk_small_int_t) DUK_FPCLASSIFY(d1); in duk_js_compare_helper()
[all …]
Dduk_selftest.c305 duk_double_t d1, d2; in duk__selftest_cast_double_to_small_uint() local
313 d1 = 1.0; in duk__selftest_cast_double_to_small_uint()
314 u = (duk_small_uint_t) d1; in duk__selftest_cast_double_to_small_uint()
317 if (!(d1 == 1.0 && u == 1 && d2 == 1.0 && d1 == d2)) { in duk__selftest_cast_double_to_small_uint()
Dduk_bi_date.c607 duk_double_t d1, d2; in duk_bi_date_timeval_to_parts() local
636 d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); in duk_bi_date_timeval_to_parts()
637 if (d1 < 0.0) { in duk_bi_date_timeval_to_parts()
639 d1 += (duk_double_t) DUK_DATE_MSEC_DAY; in duk_bi_date_timeval_to_parts()
642 DUK_ASSERT(d2 * ((duk_double_t) DUK_DATE_MSEC_DAY) + d1 == d); in duk_bi_date_timeval_to_parts()
644 t1 = (duk_int_t) d1; in duk_bi_date_timeval_to_parts()
647 DUK_ASSERT((duk_double_t) t1 == d1); in duk_bi_date_timeval_to_parts()
664 (double) d, (double) d1, (double) d2, (long) t1, (long) t2, in duk_bi_date_timeval_to_parts()
Dduk_js_executor.c28 DUK_LOCAL duk_double_t duk__compute_mod(duk_double_t d1, duk_double_t d2) { in duk__compute_mod() argument
37 return (duk_double_t) DUK_FMOD((double) d1, (double) d2); in duk__compute_mod()
128 duk_double_t d1, d2; in duk__vm_arith_add() local
130 d1 = duk_to_number(ctx, -2); in duk__vm_arith_add()
134 DUK_ASSERT_DOUBLE_IS_NORMALIZED(d1); in duk__vm_arith_add()
137 du.d = d1 + d2; in duk__vm_arith_add()
158 duk_double_t d1, d2; in duk__vm_arith_binary_op() local
243 d1 = DUK_TVAL_GET_NUMBER(tv_x); in duk__vm_arith_binary_op()
248 d1 = duk_to_number(ctx, -2); /* side effects */ in duk__vm_arith_binary_op()
252 DUK_ASSERT_DOUBLE_IS_NORMALIZED(d1); in duk__vm_arith_binary_op()
[all …]
Dduk_js_compiler.c2171 duk_double_t d1 = DUK_TVAL_GET_NUMBER(tv1); local
2177 (double) d1, (double) d2, (long) x->op));
2179 case DUK_OP_ADD: d3 = d1 + d2; break;
2180 case DUK_OP_SUB: d3 = d1 - d2; break;
2181 case DUK_OP_MUL: d3 = d1 * d2; break;
2182 case DUK_OP_DIV: d3 = d1 / d2; break;
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_js_ops.c680 duk_double_t d1, d2; in duk_js_equals_helper() local
685 d1 = duk_require_number(ctx, -1); in duk_js_equals_helper()
687 return duk__js_equals_number(d1, d2); in duk_js_equals_helper()
847 duk_double_t d1, d2; in duk_js_compare_helper() local
874 d1 = DUK_TVAL_GET_NUMBER(tv_x); in duk_js_compare_helper()
876 c1 = DUK_FPCLASSIFY(d1); in duk_js_compare_helper()
884 if (d1 < d2) { in duk_js_compare_helper()
933 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
937 d1 = duk_to_number(ctx, -2); in duk_js_compare_helper()
940 c1 = (duk_small_int_t) DUK_FPCLASSIFY(d1); in duk_js_compare_helper()
[all …]
Dduk_selftest.c305 duk_double_t d1, d2; in duk__selftest_cast_double_to_small_uint() local
313 d1 = 1.0; in duk__selftest_cast_double_to_small_uint()
314 u = (duk_small_uint_t) d1; in duk__selftest_cast_double_to_small_uint()
317 if (!(d1 == 1.0 && u == 1 && d2 == 1.0 && d1 == d2)) { in duk__selftest_cast_double_to_small_uint()
Dduk_bi_date.c607 duk_double_t d1, d2; in duk_bi_date_timeval_to_parts() local
636 d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); in duk_bi_date_timeval_to_parts()
637 if (d1 < 0.0) { in duk_bi_date_timeval_to_parts()
639 d1 += (duk_double_t) DUK_DATE_MSEC_DAY; in duk_bi_date_timeval_to_parts()
642 DUK_ASSERT(d2 * ((duk_double_t) DUK_DATE_MSEC_DAY) + d1 == d); in duk_bi_date_timeval_to_parts()
644 t1 = (duk_int_t) d1; in duk_bi_date_timeval_to_parts()
647 DUK_ASSERT((duk_double_t) t1 == d1); in duk_bi_date_timeval_to_parts()
664 (double) d, (double) d1, (double) d2, (long) t1, (long) t2, in duk_bi_date_timeval_to_parts()
Dduk_js_executor.c28 DUK_LOCAL duk_double_t duk__compute_mod(duk_double_t d1, duk_double_t d2) { in duk__compute_mod() argument
37 return (duk_double_t) DUK_FMOD((double) d1, (double) d2); in duk__compute_mod()
128 duk_double_t d1, d2; in duk__vm_arith_add() local
130 d1 = duk_to_number(ctx, -2); in duk__vm_arith_add()
134 DUK_ASSERT_DOUBLE_IS_NORMALIZED(d1); in duk__vm_arith_add()
137 du.d = d1 + d2; in duk__vm_arith_add()
158 duk_double_t d1, d2; in duk__vm_arith_binary_op() local
243 d1 = DUK_TVAL_GET_NUMBER(tv_x); in duk__vm_arith_binary_op()
248 d1 = duk_to_number(ctx, -2); /* side effects */ in duk__vm_arith_binary_op()
252 DUK_ASSERT_DOUBLE_IS_NORMALIZED(d1); in duk__vm_arith_binary_op()
[all …]
Dduk_js_compiler.c2171 duk_double_t d1 = DUK_TVAL_GET_NUMBER(tv1); local
2177 (double) d1, (double) d2, (long) x->op));
2179 case DUK_OP_ADD: d3 = d1 + d2; break;
2180 case DUK_OP_SUB: d3 = d1 - d2; break;
2181 case DUK_OP_MUL: d3 = d1 * d2; break;
2182 case DUK_OP_DIV: d3 = d1 / d2; break;
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlbaselib.c356 static int dofilecont (lua_State *L, int d1, lua_KContext d2) { in dofilecont() argument
357 (void)d1; (void)d2; /* only to match 'lua_Kfunction' prototype */ in dofilecont()
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.c24967 duk_double_t d1, d2; in duk_bi_date_timeval_to_parts() local
24996 d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); in duk_bi_date_timeval_to_parts()
24997 if (d1 < 0.0) { in duk_bi_date_timeval_to_parts()
24999 d1 += (duk_double_t) DUK_DATE_MSEC_DAY; in duk_bi_date_timeval_to_parts()
25002 DUK_ASSERT(d2 * ((duk_double_t) DUK_DATE_MSEC_DAY) + d1 == d); in duk_bi_date_timeval_to_parts()
25004 t1 = (duk_int_t) d1; in duk_bi_date_timeval_to_parts()
25007 DUK_ASSERT((duk_double_t) t1 == d1); in duk_bi_date_timeval_to_parts()
25024 (double) d, (double) d1, (double) d2, (long) t1, (long) t2, in duk_bi_date_timeval_to_parts()
59542 duk_double_t d1 = DUK_TVAL_GET_NUMBER(tv1); local
59548 (double) d1, (double) d2, (long) x->op));
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduktape.c25236 duk_double_t d1, d2; in duk_bi_date_timeval_to_parts() local
25265 d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); in duk_bi_date_timeval_to_parts()
25266 if (d1 < 0.0) { in duk_bi_date_timeval_to_parts()
25268 d1 += (duk_double_t) DUK_DATE_MSEC_DAY; in duk_bi_date_timeval_to_parts()
25271 DUK_ASSERT(d2 * ((duk_double_t) DUK_DATE_MSEC_DAY) + d1 == d); in duk_bi_date_timeval_to_parts()
25273 t1 = (duk_int_t) d1; in duk_bi_date_timeval_to_parts()
25276 DUK_ASSERT((duk_double_t) t1 == d1); in duk_bi_date_timeval_to_parts()
25293 (double) d, (double) d1, (double) d2, (long) t1, (long) t2, in duk_bi_date_timeval_to_parts()
59903 duk_double_t d1 = DUK_TVAL_GET_NUMBER(tv1); local
59909 (double) d1, (double) d2, (long) x->op));
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduktape.c25028 duk_double_t d1, d2; in duk_bi_date_timeval_to_parts() local
25057 d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); in duk_bi_date_timeval_to_parts()
25058 if (d1 < 0.0) { in duk_bi_date_timeval_to_parts()
25060 d1 += (duk_double_t) DUK_DATE_MSEC_DAY; in duk_bi_date_timeval_to_parts()
25063 DUK_ASSERT(d2 * ((duk_double_t) DUK_DATE_MSEC_DAY) + d1 == d); in duk_bi_date_timeval_to_parts()
25065 t1 = (duk_int_t) d1; in duk_bi_date_timeval_to_parts()
25068 DUK_ASSERT((duk_double_t) t1 == d1); in duk_bi_date_timeval_to_parts()
25085 (double) d, (double) d1, (double) d2, (long) t1, (long) t2, in duk_bi_date_timeval_to_parts()
59652 duk_double_t d1 = DUK_TVAL_GET_NUMBER(tv1); local
59658 (double) d1, (double) d2, (long) x->op));
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduktape.c25175 duk_double_t d1, d2; in duk_bi_date_timeval_to_parts() local
25204 d1 = (duk_double_t) DUK_FMOD(d, (double) DUK_DATE_MSEC_DAY); in duk_bi_date_timeval_to_parts()
25205 if (d1 < 0.0) { in duk_bi_date_timeval_to_parts()
25207 d1 += (duk_double_t) DUK_DATE_MSEC_DAY; in duk_bi_date_timeval_to_parts()
25210 DUK_ASSERT(d2 * ((duk_double_t) DUK_DATE_MSEC_DAY) + d1 == d); in duk_bi_date_timeval_to_parts()
25212 t1 = (duk_int_t) d1; in duk_bi_date_timeval_to_parts()
25215 DUK_ASSERT((duk_double_t) t1 == d1); in duk_bi_date_timeval_to_parts()
25232 (double) d, (double) d1, (double) d2, (long) t1, (long) t2, in duk_bi_date_timeval_to_parts()
59793 duk_double_t d1 = DUK_TVAL_GET_NUMBER(tv1); local
59799 (double) d1, (double) d2, (long) x->op));
[all …]
/civetweb-2.7.6/src/third_party/
Dsqlite3.c75607 u32 d1; /* Offset into aKey[] of next data element */
75634 d1 = szHdr1;
75651 if( d1+serial_type1+2>(u32)nKey1
75652 && d1+sqlite3VdbeSerialTypeLen(serial_type1)>(u32)nKey1
75659 d1 += sqlite3VdbeSerialGet(&aKey1[d1], serial_type1, &mem1);
75999 u32 d1; /* Offset into aKey[] of next data element */
76016 d1 = szHdr1 + sqlite3VdbeSerialTypeLen(s1);
76021 d1 = szHdr1;
76022 if( d1>(unsigned)nKey1 ){
76047 sqlite3VdbeSerialGet(&aKey1[d1], serial_type, &mem1);
[all …]