/dports/lang/micropython/micropython-1.17/py/ |
H A D | parsenum.c | 197 mp_float_t dec_val = 0; in mp_parse_num_decimal() local 223 dec_val = (mp_float_t)INFINITY; in mp_parse_num_decimal() 234 dec_val = MICROPY_FLOAT_C_FUN(nan)(""); in mp_parse_num_decimal() 254 if (dec_val < DEC_VAL_MAX) { in mp_parse_num_decimal() 256 dec_val = 10 * dec_val + dig; in mp_parse_num_decimal() 304 dec_val *= SMALL_NORMAL_VAL; in mp_parse_num_decimal() 315 dec_val *= MICROPY_FLOAT_C_FUN(pow)(10, exp_val); in mp_parse_num_decimal() 321 dec_val = -dec_val; in mp_parse_num_decimal() 341 return mp_obj_new_complex(0, dec_val); in mp_parse_num_decimal() 343 return mp_obj_new_complex(dec_val, 0); in mp_parse_num_decimal() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/include/gpac/ |
H A D | thread.h | 75 #define safe_int_sub(__v, dec_val) InterlockedAdd((int *) (__v), -dec_val) argument 78 #define safe_int64_sub(__v, dec_val) InterlockedAdd64((LONG64 *) (__v), -dec_val) argument 86 #define safe_int_sub(__v, dec_val) __sync_sub_and_fetch((int *) (__v), dec_val) 89 #define safe_int64_sub(__v, dec_val) __sync_sub_and_fetch((int64_t *) (__v), dec_val)
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/include/gpac/ |
H A D | thread.h | 75 #define safe_int_sub(__v, dec_val) InterlockedAdd((int *) (__v), -dec_val) argument 78 #define safe_int64_sub(__v, dec_val) InterlockedAdd64((LONG64 *) (__v), -dec_val) argument 86 #define safe_int_sub(__v, dec_val) __sync_sub_and_fetch((int *) (__v), dec_val) 89 #define safe_int64_sub(__v, dec_val) __sync_sub_and_fetch((int64_t *) (__v), dec_val)
|
/dports/cad/py-pyfda/pyfda-0.1rc6/pyfda/ |
H A D | pyfda_fix_lib.py | 94 def dec2csd(dec_val, WF=0): argument 117 logger.debug("Converting {0:f}:".format(dec_val)) 120 if dec_val == 0 : 122 if np.fabs(dec_val) < 1.0 : 125 k = int(np.ceil(np.log2(np.abs(dec_val) * 1.5))) 131 remainder = dec_val 169 if np.fabs(dec_val) < 1.0: 220 dec_val = 0.0 228 dec_val += power_of_two 230 dec_val -= power_of_two [all …]
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/UI/ |
H A D | obf.c | 9 uint8_t *dec_val = (uint8_t *)&val; in deobfuscate_str() local 16 uint8_t xor = bottom ? LOWER_HALFBYTE(dec_val[pos]) in deobfuscate_str() 17 : UPPER_HALFBYTE(dec_val[pos]); in deobfuscate_str()
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/win-capture/ |
H A D | obfuscate.c | 14 uint8_t *dec_val = (uint8_t *)&val; in deobfuscate_str() local 21 uint8_t xor = bottom ? LOWER_HALFBYTE(dec_val[pos]) in deobfuscate_str() 22 : UPPER_HALFBYTE(dec_val[pos]); in deobfuscate_str()
|
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/ppc32/ |
H A D | test_dfp5.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f16 = valB->dec_val; in _test_dtstsf() 148 _Decimal64 f16 = valB->dec_val; in _test_ddedpd() 166 result.dec_val = ret; in _test_ddedpd() 201 _Decimal64 f16 = valB->dec_val; in _test_denbcd() 213 result.dec_val = ret; in _test_denbcd()
|
H A D | test_dfp4.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f14 = val1->dec_val; in _test_dtstdc() 202 _Decimal64 f14 = val1->dec_val; in _test_dtstdg() 305 _Decimal64 f14 = val1->dec_val; in _test_dtstex() 306 _Decimal64 f16 = val2->dec_val; in _test_dtstex()
|
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/ppc64/ |
H A D | test_dfp5.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f16 = valB->dec_val; in _test_dtstsf() 148 _Decimal64 f16 = valB->dec_val; in _test_ddedpd() 166 result.dec_val = ret; in _test_ddedpd() 201 _Decimal64 f16 = valB->dec_val; in _test_denbcd() 213 result.dec_val = ret; in _test_denbcd()
|
H A D | test_dfp4.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f14 = val1->dec_val; in _test_dtstdc() 202 _Decimal64 f14 = val1->dec_val; in _test_dtstdg() 305 _Decimal64 f14 = val1->dec_val; in _test_dtstex() 306 _Decimal64 f16 = val2->dec_val; in _test_dtstex()
|
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/ppc32/ |
H A D | test_dfp5.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f16 = valB->dec_val; in _test_dtstsf() 148 _Decimal64 f16 = valB->dec_val; in _test_ddedpd() 166 result.dec_val = ret; in _test_ddedpd() 201 _Decimal64 f16 = valB->dec_val; in _test_denbcd() 213 result.dec_val = ret; in _test_denbcd()
|
H A D | test_dfp4.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f14 = val1->dec_val; in _test_dtstdc() 202 _Decimal64 f14 = val1->dec_val; in _test_dtstdg() 305 _Decimal64 f14 = val1->dec_val; in _test_dtstex() 306 _Decimal64 f16 = val2->dec_val; in _test_dtstex()
|
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/ppc64/ |
H A D | test_dfp5.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f16 = valB->dec_val; in _test_dtstsf() 148 _Decimal64 f16 = valB->dec_val; in _test_ddedpd() 166 result.dec_val = ret; in _test_ddedpd() 201 _Decimal64 f16 = valB->dec_val; in _test_denbcd() 213 result.dec_val = ret; in _test_denbcd()
|
H A D | test_dfp4.c | 30 _Decimal64 dec_val; member 98 _Decimal64 f14 = val1->dec_val; in _test_dtstdc() 202 _Decimal64 f14 = val1->dec_val; in _test_dtstdg() 305 _Decimal64 f14 = val1->dec_val; in _test_dtstex() 306 _Decimal64 f16 = val2->dec_val; in _test_dtstex()
|
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/libAfterBase/ |
H A D | parse.c | 322 unsigned int dec_val[4] = {0xFF, 0, 0, 0} ; in parse_argb_dec() local 338 dec_val[0] = (((tmp_argb>>24)&0x00FF)*100)>>8; in parse_argb_dec() 343 case 1 : dec_val[1] = (((tmp_argb>>16)&0x00FF)*100)>>8; break ; in parse_argb_dec() 344 case 2 : dec_val[2] = (((tmp_argb>>8)&0x00FF)*100)>>8; break ; in parse_argb_dec() 345 case 3 : dec_val[3] = (((tmp_argb)&0x00FF)*100)>>8; break ; in parse_argb_dec() 358 dec_val[k] = atoi( &(buf[0]) ); in parse_argb_dec() 369 alpha8 = dec_val[0]&0x00FF ; in parse_argb_dec() 372 parse_hsv2rgb8( dec_val[1], dec_val[2], dec_val[3], &red8, &green8, &blue8 ); in parse_argb_dec() 375 red8 = dec_val[1]&0x00FF ; in parse_argb_dec() 376 green8 = dec_val[2]&0x00FF ; in parse_argb_dec() [all …]
|
/dports/devel/pegtl/PEGTL-3.0.0/src/example/pegtl/ |
H A D | abnf2pegtl.cpp | 249 using dec_val = gen_val< 'd', DIGIT >; 252 struct num_val_choice : sor< bin_val::type, dec_val::type, hex_val::type > {}; 300 …template<> inline constexpr auto error_message< abnf::grammar::dec_val::value > = "expected decima… 334 grammar::dec_val::value, 337 grammar::dec_val::range, 340 grammar::dec_val::type, 592 nrv.add< grammar::dec_val::value >( []( const node_ptr& n ) { return n->string(); } ); 607 …nrv.add< grammar::dec_val::type >( []( const node_ptr& n ) { return gen_val< grammar::dec_val::ran…
|
/dports/net/haproxy21/haproxy-2.1.12/contrib/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 726 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 738 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 750 uint64_t dec_val; in add_enc_field_to_happp_tree() local 755 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 760 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 763 *val = dec_val; in add_enc_field_to_happp_tree() 788 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 798 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 802 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 804 offset += dec_val; in dissect_happp_stkt_define_msg()
|
/dports/net/haproxy22/haproxy-2.2.19/contrib/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 726 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 738 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 750 uint64_t dec_val; in add_enc_field_to_happp_tree() local 755 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 760 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 763 *val = dec_val; in add_enc_field_to_happp_tree() 788 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 798 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 802 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 804 offset += dec_val; in dissect_happp_stkt_define_msg()
|
/dports/net/haproxy19/haproxy-1.9.16/contrib/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 701 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 713 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 725 uint64_t dec_val; in add_enc_field_to_happp_tree() local 730 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 735 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 738 *val = dec_val; in add_enc_field_to_happp_tree() 763 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 773 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 777 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 779 offset += dec_val; in dissect_happp_stkt_define_msg()
|
/dports/net/haproxy18/haproxy-1.8.30/contrib/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 701 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 713 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 725 uint64_t dec_val; in add_enc_field_to_happp_tree() local 730 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 735 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 738 *val = dec_val; in add_enc_field_to_happp_tree() 763 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 773 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 777 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 779 offset += dec_val; in dissect_happp_stkt_define_msg()
|
/dports/net/haproxy20/haproxy-2.0.26/contrib/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 701 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 713 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 725 uint64_t dec_val; in add_enc_field_to_happp_tree() local 730 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 735 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 738 *val = dec_val; in add_enc_field_to_happp_tree() 763 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 773 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 777 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 779 offset += dec_val; in dissect_happp_stkt_define_msg()
|
/dports/net/haproxy23/haproxy-2.3.16/contrib/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 726 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 738 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 750 uint64_t dec_val; in add_enc_field_to_happp_tree() local 755 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 760 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 763 *val = dec_val; in add_enc_field_to_happp_tree() 788 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 798 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 802 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 804 offset += dec_val; in dissect_happp_stkt_define_msg()
|
/dports/net/nuster/nuster-5.0.4.21/contrib/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 701 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 713 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 725 uint64_t dec_val; in add_enc_field_to_happp_tree() local 730 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 735 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 738 *val = dec_val; in add_enc_field_to_happp_tree() 763 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 773 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 777 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 779 offset += dec_val; in dissect_happp_stkt_define_msg()
|
/dports/devel/dparser/dparser-1.31/tests/ |
H A D | bnf.g | 23 dec_val : 'd' DIGIT + ( _0_dec_val | _1_dec_val ) ? ; 41 num_val : '%' ( bin_val | dec_val | hex_val ) ;
|
/dports/net/haproxy/haproxy-2.4.10/admin/wireshark-dissectors/peers/ |
H A D | packet-happp.c | 729 static int intdecode_from_tvbuff(tvbuff_t *tvb, uint64_t *dec_val, in intdecode_from_tvbuff() argument 741 *dec_val = intdecode(&p, max_enc_buf_len); in intdecode_from_tvbuff() 753 uint64_t dec_val; in add_enc_field_to_happp_tree() local 758 if (intdecode_from_tvbuff(tvb, &dec_val, offset, total) < 0) in add_enc_field_to_happp_tree() 763 dec_val_len, dec_val, "%" PRIu64, dec_val); in add_enc_field_to_happp_tree() 766 *val = dec_val; in add_enc_field_to_happp_tree() 791 uint64_t dec_val; in dissect_happp_stkt_define_msg() local 801 tvb, &offset, total, &dec_val) < 0) in dissect_happp_stkt_define_msg() 805 proto_tree_add_item(tree, hf_happp_stkt_def_name_value, tvb, offset, dec_val, in dissect_happp_stkt_define_msg() 807 offset += dec_val; in dissect_happp_stkt_define_msg()
|