Home
last modified time | relevance | path

Searched refs:flt (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dfloatnum.c212 floatnum_normalize(yasm_floatnum *flt) in floatnum_normalize() argument
216 if (BitVector_is_empty(flt->mantissa)) { in floatnum_normalize()
217 flt->exponent = 0; in floatnum_normalize()
223 norm_amt = (MANT_BITS-1)-Set_Max(flt->mantissa); in floatnum_normalize()
224 if (norm_amt > (long)flt->exponent) in floatnum_normalize()
225 norm_amt = (long)flt->exponent; in floatnum_normalize()
226 BitVector_Move_Left(flt->mantissa, (N_int)norm_amt); in floatnum_normalize()
227 flt->exponent -= (unsigned short)norm_amt; in floatnum_normalize()
306 yasm_floatnum *flt; in yasm_floatnum_create() local
314 flt = yasm_xmalloc(sizeof(yasm_floatnum)); in yasm_floatnum_create()
[all …]
Dfloatnum.h60 /*@only@*/ yasm_floatnum *yasm_floatnum_copy(const yasm_floatnum *flt);
66 void yasm_floatnum_destroy(/*@only@*/ yasm_floatnum *flt);
88 int yasm_floatnum_get_int(const yasm_floatnum *flt,
109 int yasm_floatnum_get_sized(const yasm_floatnum *flt, unsigned char *ptr,
122 int yasm_floatnum_check_size(const yasm_floatnum *flt, size_t size);
129 void yasm_floatnum_print(const yasm_floatnum *flt, FILE *f);
Darch.h151 int (*floatnum_tobytes) (yasm_arch *arch, const yasm_floatnum *flt,
348 int yasm_arch_floatnum_tobytes(yasm_arch *arch, const yasm_floatnum *flt,
468 #define yasm_arch_floatnum_tobytes(arch, flt, buf, destsize, valsize, shift, \ argument
471 (arch, flt, buf, destsize, valsize, shift, warn)
Dexpr.h63 yasm_floatnum *flt; /**< Floating point value (YASM_EXPR_FLOAT) */ member
127 /*@only@*/ yasm_expr__item *yasm_expr_float(/*@keep@*/ yasm_floatnum *flt);
/external/aac/libFDK/src/arm/
Dqmf_arm.cpp174 LONG flt; in qmfAnaPrototypeFirSlot() local
190 flt = *p_flt++; in qmfAnaPrototypeFirSlot()
192 accu1 = SMULBB( sta1, flt); in qmfAnaPrototypeFirSlot()
194 accu1 = SMLABT( accu1, sta1, flt); in qmfAnaPrototypeFirSlot()
196 flt = *p_flt++; in qmfAnaPrototypeFirSlot()
198 accu1 = SMLABB( accu1, sta1, flt); in qmfAnaPrototypeFirSlot()
200 accu1 = SMLABT( accu1, sta1, flt); in qmfAnaPrototypeFirSlot()
202 flt = *p_flt++; in qmfAnaPrototypeFirSlot()
204 accu1 = SMLABB( accu1, sta1, flt); in qmfAnaPrototypeFirSlot()
213 accu0 = SMULBT( sta0, flt); in qmfAnaPrototypeFirSlot()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
Dfloatnum_test.c156 static yasm_floatnum *flt; variable
164 flt = yasm_floatnum_create(vals[i].ascii); in new_setup()
176 mantissa = BitVector_Block_Read(flt->mantissa, &len); in new_check_flt()
186 if (flt->exponent != val->exponent) { in new_check_flt()
190 if (flt->sign != val->sign) { in new_check_flt()
194 if (flt->flags != val->flags) { in new_check_flt()
211 yasm_floatnum_destroy(flt); in test_new_normalized()
226 yasm_floatnum_destroy(flt); in test_new_normalized_edgecase()
234 flt = malloc(sizeof(yasm_floatnum)); in get_family_setup()
235 flt->mantissa = BitVector_Create(MANT_BITS, TRUE); in get_family_setup()
[all …]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmshalf.c508 cmsFloat32Number flt; in _cmsHalf2Float() member
515 return out.flt; in _cmsHalf2Float()
518 cmsUInt16Number _cmsFloat2Half(cmsFloat32Number flt) in _cmsFloat2Half() argument
521 cmsFloat32Number flt; in _cmsFloat2Half() member
527 in.flt = flt; in _cmsFloat2Half()
/external/valgrind/main/none/tests/ppc64/
Dround.c50 float flt; member
126 void print_single(char *msg, float *flt) in print_single() argument
129 F.flt = *flt; in print_single()
137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single()
148 E.flt = *expected; in check_dbl_to_flt_round()
149 R.flt = (float)dbl; in check_dbl_to_flt_round()
161 round_mode_name[mode], result, R.flt, dbl); in check_dbl_to_flt_round()
163 print_single("\n\texpected", &E.flt); in check_dbl_to_flt_round()
164 print_single("\n\trounded ", &R.flt); in check_dbl_to_flt_round()
228 denorm_small = F.flt; /* == 2^(-149) */ in init()
[all …]
/external/valgrind/main/none/tests/ppc32/
Dround.c50 float flt; member
126 void print_single(char *msg, float *flt) in print_single() argument
129 F.flt = *flt; in print_single()
137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single()
148 E.flt = *expected; in check_dbl_to_flt_round()
149 R.flt = (float)dbl; in check_dbl_to_flt_round()
161 round_mode_name[mode], result, R.flt, dbl); in check_dbl_to_flt_round()
163 print_single("\n\texpected", &E.flt); in check_dbl_to_flt_round()
164 print_single("\n\trounded ", &R.flt); in check_dbl_to_flt_round()
228 denorm_small = F.flt; /* == 2^(-149) */ in init()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
Dfloatnum.pxi27 cdef yasm_floatnum *flt
29 self.flt = NULL
31 self.flt = yasm_floatnum_copy((<FloatNum>value).flt)
34 self.flt = <yasm_floatnum *>PyCObject_AsVoidPtr(value)
39 self.flt = yasm_floatnum_create(string)
42 if self.flt != NULL: yasm_floatnum_destroy(self.flt)
46 yasm_floatnum_calc((<FloatNum>result).flt, YASM_EXPR_NEG, NULL)
/external/lldb/source/Core/
DScalar.cpp180 case e_float: return sizeof(m_data.flt); in GetByteSize()
200 case e_float: return m_data.flt == 0.0f; in IsZero()
223 case e_float: s->Printf("%f", m_data.flt); break; in GetValue()
317 m_data.flt = v; in operator =()
363 case e_float: m_data.flt = m_data.sint; success = true; break; in Promote()
379 case e_float: m_data.flt = m_data.uint; success = true; break; in Promote()
395 case e_float: m_data.flt = m_data.slong; success = true; break; in Promote()
411 case e_float: m_data.flt = m_data.ulong; success = true; break; in Promote()
427 case e_float: m_data.flt = m_data.slonglong; success = true; break; in Promote()
443 case e_float: m_data.flt = m_data.ulonglong; success = true; break; in Promote()
[all …]
/external/chromium_org/third_party/opus/src/celt/
Dfloat_cast.h108 float2int (float flt) in float2int() argument
112 { fld flt in float2int()
127 #define float2int(flt) ((int)(floor(.5+flt))) argument
/external/libopus/celt/
Dfloat_cast.h108 float2int (float flt) in float2int() argument
112 { fld flt in float2int()
127 #define float2int(flt) ((int)(floor(.5+flt))) argument
/external/libpcap/
Dpcap-bt-linux.c193 struct hci_filter flt; in bt_activate() local
251 memset(&flt, 0, sizeof(flt)); in bt_activate()
252 memset((void *) &flt.type_mask, 0xff, sizeof(flt.type_mask)); in bt_activate()
253 memset((void *) &flt.event_mask, 0xff, sizeof(flt.event_mask)); in bt_activate()
254 if (setsockopt(handle->fd, SOL_HCI, HCI_FILTER, &flt, sizeof(flt)) < 0) { in bt_activate()
/external/llvm/test/CodeGen/AArch64/
Dfcvt-fixed.ll10 define void @test_fcvtzs(float %flt, double %dbl) {
13 %fix1 = fmul float %flt, 128.0
18 %fix2 = fmul float %flt, 4294967296.0
23 %fix3 = fmul float %flt, 128.0
28 %fix4 = fmul float %flt, 18446744073709551616.0
56 define void @test_fcvtzu(float %flt, double %dbl) {
59 %fix1 = fmul float %flt, 128.0
64 %fix2 = fmul float %flt, 4294967296.0
69 %fix3 = fmul float %flt, 128.0
74 %fix4 = fmul float %flt, 18446744073709551616.0
/external/chromium_org/third_party/sqlite/src/test/
Dsort.test28 flt real
64 execsql {SELECT flt FROM t1 ORDER BY flt}
67 execsql {SELECT flt FROM t1 ORDER BY flt DESC}
73 execsql {SELECT n FROM t1 ORDER BY log, flt}
76 execsql {SELECT n FROM t1 ORDER BY log asc, flt}
79 execsql {SELECT n FROM t1 ORDER BY log, flt ASC}
82 execsql {SELECT n FROM t1 ORDER BY log ASC, flt asc}
85 execsql {SELECT n FROM t1 ORDER BY log, flt DESC}
88 execsql {SELECT n FROM t1 ORDER BY log ASC, flt DESC}
91 execsql {SELECT n FROM t1 ORDER BY log DESC, flt}
[all …]
/external/ltrace/sysdeps/linux-gnu/ia64/
Dfetch.c50 int flt; member
69 context->flt = 8; in fetch_context_init()
132 ctx->flt = 16; in allocate_reg()
226 if (ctx->flt > 15 || ctx->ppflavor == PARAM_PACK_VARARGS) in allocate_float()
236 } u = { .d = fpreg_to_double(&ctx->regs.fr[ctx->flt++]) }; in allocate_float()
289 while (ctx->flt <= 15 && hfa_count > 0) { in allocate_hfa()
/external/llvm/test/CodeGen/PowerPC/
Dfrounds.ll8 %tmp1 = call i32 @llvm.flt.rounds( ) ; <i32> [#uses=1]
19 declare i32 @llvm.flt.rounds() nounwind
/external/llvm/test/CodeGen/ARM/
D2012-03-05-FPSCR-bug.ll19 %5 = call i32 @llvm.flt.rounds()
36 declare i32 @llvm.flt.rounds() nounwind
/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtras.h178 inline long int lrint(double flt) in lrint() argument
183 fld flt in lrint()
187 ASSERT(std::isfinite(flt)); in lrint()
188 double rounded = round(flt); in lrint()
193 if ((fabs(intgr - flt) == 0.5) & intgr) in lrint()
/external/chromium_org/v8/src/
Dplatform.h54 inline int lrint(double flt) { in lrint() argument
58 fld flt in lrint()
62 intgr = static_cast<int>(flt + 0.5); in lrint()
63 if ((intgr & 1) != 0 && intgr - flt == 0.5) { in lrint()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_inlines.h77 bool flt = false, bool sgn = false)
81 case 2: return flt ? TYPE_F16 : (sgn ? TYPE_S16 : TYPE_U16);
82 case 8: return flt ? TYPE_F64 : (sgn ? TYPE_S64 : TYPE_U64);
86 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32);
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_inlines.h77 bool flt = false, bool sgn = false)
81 case 2: return flt ? TYPE_F16 : (sgn ? TYPE_S16 : TYPE_U16);
82 case 8: return flt ? TYPE_F64 : (sgn ? TYPE_S64 : TYPE_U64);
86 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
Dgas-parser.h57 yasm_floatnum *flt; member
139 #define FLTNUM_val (curval.flt)
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/
Dnasm-parser-struct.h34 yasm_floatnum *flt; member

12