Searched refs:flt (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dfloatnum.h56 * \param flt floatnum
57 * \return Newly allocated floatnum with the same value as flt.
60 /*@only@*/ yasm_floatnum *yasm_floatnum_copy(const yasm_floatnum *flt);
63 * \param flt floatnum
66 void yasm_floatnum_destroy(/*@only@*/ yasm_floatnum *flt);
82 * \param flt floatnum
84 * \return Nonzero if flt can't fit into single precision: -1 if underflow
88 int yasm_floatnum_get_int(const yasm_floatnum *flt,
98 * \param flt floatnum
105 * \return Nonzero if flt ca
[all...]
H A Dfloatnum.c212 floatnum_normalize(yasm_floatnum *flt) argument
216 if (BitVector_is_empty(flt->mantissa)) {
217 flt->exponent = 0;
223 norm_amt = (MANT_BITS-1)-Set_Max(flt->mantissa);
224 if (norm_amt > (long)flt->exponent)
225 norm_amt = (long)flt->exponent;
226 BitVector_Move_Left(flt->mantissa, (N_int)norm_amt);
227 flt->exponent -= (unsigned short)norm_amt;
306 yasm_floatnum *flt; local
314 flt
494 yasm_floatnum_copy(const yasm_floatnum *flt) argument
507 yasm_floatnum_destroy(yasm_floatnum *flt) argument
527 yasm_floatnum_get_int(const yasm_floatnum *flt, unsigned long *ret_val) argument
552 floatnum_get_common(const yasm_floatnum *flt, unsigned char *ptr, N_int byte_size, N_int mant_bits, int implicit1, N_int exp_bits) argument
674 yasm_floatnum_get_sized(const yasm_floatnum *flt, unsigned char *ptr, size_t destsize, size_t valsize, size_t shift, int bigendian, int warn) argument
714 yasm_floatnum_check_size( const yasm_floatnum *flt, size_t size) argument
728 yasm_floatnum_print(const yasm_floatnum *flt, FILE *f) argument
[all...]
H A Dexpr.h63 yasm_floatnum *flt; /**< Floating point value (YASM_EXPR_FLOAT) */ member in union:yasm_expr__item::__anon16302
123 * \param flt floatnum
127 /*@only@*/ yasm_expr__item *yasm_expr_float(/*@keep@*/ yasm_floatnum *flt);
H A Darch.h151 int (*floatnum_tobytes) (yasm_arch *arch, const yasm_floatnum *flt,
340 * \param flt floating point value
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, \
471 (arch, flt, buf, destsize, valsize, shift, warn)
/external/aac/libFDK/src/arm/
H A Dqmf_arm.cpp174 LONG flt; local
190 flt = *p_flt++;
192 accu1 = SMULBB( sta1, flt);
194 accu1 = SMLABT( accu1, sta1, flt);
196 flt = *p_flt++;
198 accu1 = SMLABB( accu1, sta1, flt);
200 accu1 = SMLABT( accu1, sta1, flt);
202 flt = *p_flt++;
204 accu1 = SMLABB( accu1, sta1, flt);
213 accu0 = SMULBT( sta0, flt);
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dfloat_cast.h108 float2int (float flt) argument
112 { fld flt
127 #define float2int(flt) ((int)(floor(.5+flt)))
/external/libopus/celt/
H A Dfloat_cast.h108 float2int (float flt) argument
112 { fld flt
127 #define float2int(flt) ((int)(floor(.5+flt)))
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
H A 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/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
H A Dfloatnum_test.c156 static yasm_floatnum *flt; variable
164 flt = yasm_floatnum_create(vals[i].ascii);
176 mantissa = BitVector_Block_Read(flt->mantissa, &len);
186 if (flt->exponent != val->exponent) {
190 if (flt->sign != val->sign) {
194 if (flt->flags != val->flags) {
211 yasm_floatnum_destroy(flt);
226 yasm_floatnum_destroy(flt);
234 flt = malloc(sizeof(yasm_floatnum));
235 flt
[all...]
/external/valgrind/main/none/tests/ppc32/
H A Dround.c50 float flt; member in union:__anon33144
126 void print_single(char *msg, float *flt) argument
129 F.flt = *flt;
136 printf("%15s : flt %-20a = %c(%4d, %06x)\n",
137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1);
148 E.flt = *expected;
149 R.flt = (float)dbl;
161 round_mode_name[mode], result, R.flt, dbl);
163 print_single("\n\texpected", &E.flt);
[all...]
/external/valgrind/main/none/tests/ppc64/
H A Dround.c50 float flt; member in union:__anon33192
126 void print_single(char *msg, float *flt) argument
129 F.flt = *flt;
136 printf("%15s : flt %-20a = %c(%4d, %06x)\n",
137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1);
148 E.flt = *expected;
149 R.flt = (float)dbl;
161 round_mode_name[mode], result, R.flt, dbl);
163 print_single("\n\texpected", &E.flt);
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/
H A Dnasm-parser-struct.h34 yasm_floatnum *flt; member in union:__anon16363
H A Dnasm-parser.h98 #define FLTNUM_val (curval.flt)
/external/lldb/source/Core/
H A DScalar.cpp123 // case 4: m_type = e_float; m_data.flt = reg.value.float32; break;
180 case e_float: return sizeof(m_data.flt);
200 case e_float: return m_data.flt == 0.0f;
223 case e_float: s->Printf("%f", m_data.flt); break;
317 m_data.flt = v;
363 case e_float: m_data.flt = m_data.sint; success = true; break;
379 case e_float: m_data.flt = m_data.uint; success = true; break;
395 case e_float: m_data.flt = m_data.slong; success = true; break;
411 case e_float: m_data.flt = m_data.ulong; success = true; break;
427 case e_float: m_data.flt
[all...]
/external/libpcap/
H A Dpcap-bt-linux.c193 struct hci_filter flt; local
251 memset(&flt, 0, sizeof(flt));
252 memset((void *) &flt.type_mask, 0xff, sizeof(flt.type_mask));
253 memset((void *) &flt.event_mask, 0xff, sizeof(flt.event_mask));
254 if (setsockopt(handle->fd, SOL_HCI, HCI_FILTER, &flt, sizeof(flt)) < 0) {
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dfetch.c50 int flt; member in struct:fetch_context
69 context->flt = 8;
132 ctx->flt = 16;
226 if (ctx->flt > 15 || ctx->ppflavor == PARAM_PACK_VARARGS)
236 } u = { .d = fpreg_to_double(&ctx->regs.fr[ctx->flt++]) };
289 while (ctx->flt <= 15 && hfa_count > 0) {
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/
H A Dgas-parser.h57 yasm_floatnum *flt; member in union:__anon16360
139 #define FLTNUM_val (curval.flt)
H A Dgas-token.re269 lvalp->flt = yasm_floatnum_create(TOK);
276 lvalp->flt = yasm_floatnum_create(TOK);
283 lvalp->flt = yasm_floatnum_create(TOK+2);
/external/chromium_org/v8/src/base/platform/
H A Dplatform.h54 inline int lrint(double flt) { argument
58 fld flt
62 intgr = static_cast<int>(flt + 0.5);
63 if ((intgr & 1) != 0 && intgr - flt == 0.5) {
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DMathExtras.h178 inline long int lrint(double flt) argument
183 fld flt
187 ASSERT(std::isfinite(flt));
188 double rounded = round(flt);
193 if ((fabs(intgr - flt) == 0.5) & intgr)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A 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/
H A 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/arch/lc3b/
H A Dlc3barch.c141 lc3b_floatnum_tobytes(yasm_arch *arch, const yasm_floatnum *flt, argument
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dwire_format.py167 def FloatByteSize(field_number, flt):
/external/protobuf/python/google/protobuf/internal/
H A Dwire_format.py167 def FloatByteSize(field_number, flt):

Completed in 532 milliseconds

12