Home
last modified time | relevance | path

Searched refs:fval (Results 1 - 21 of 21) sorted by relevance

/third_party/toybox/toys/other/
H A Dlsattr.c254 unsigned long fval = 0; in update_attr() local
275 if (ext2_getflag(fd, &(root->st), &fval) < 0) { in update_attr()
285 fval &= ~(chattr.rm); in update_attr()
286 fval |= chattr.add; in update_attr()
287 if (!S_ISDIR(root->st.st_mode)) fval &= ~FS_DIRSYNC_FL; in update_attr()
288 if (ext2_setflag(fd, &(root->st), fval) < 0) in update_attr()
/third_party/backends/backend/
H A Dhp-accessor.c534 unsigned short (*unscale)(HpAccessorVector this, SANE_Fixed fval);
641 _vector_unscale (HpAccessorVector this, SANE_Fixed fval) in _vector_unscale() argument
644 return (fval * max_val + SANE_FIX(0.5)) / SANE_FIX(1.0); in _vector_unscale()
688 _gamma_vector_unscale (HpAccessorVector __sane_unused__ this, SANE_Fixed fval) in _gamma_vector_unscale() argument
690 unsigned short unscaled = fval / SANE_FIX(1.0); in _gamma_vector_unscale()
731 _matrix_vector_unscale (HpAccessorVector this, SANE_Fixed fval) in _matrix_vector_unscale() argument
737 if (fval == SANE_FIX(1.0)) in _matrix_vector_unscale()
740 if (fval < 0) in _matrix_vector_unscale()
743 fval = -fval; in _matrix_vector_unscale()
753 SANE_Fixed fval; _matrix_vector_scale() local
[all...]
H A Dhp-option.c1421 SANE_Fixed fval; in _probe_geometry() local
1475 fval = is_tl ? SANE_FIX(0.0) : maxval * SANE_FIX(MM_PER_DEVPIX); in _probe_geometry()
1476 RETURN_IF_FAIL( sanei_hp_accessor_set(this->data_acsr, data, &fval) ); in _probe_geometry()
/third_party/skia/third_party/externals/oboe/src/common/
H A DUtilities.cpp36 float fval = source[i]; in convertFloatToPcm16() local
37 fval += 1.0; // to avoid discontinuity at 0.0 caused by truncation in convertFloatToPcm16()
38 fval *= 32768.0f; in convertFloatToPcm16()
39 auto sample = static_cast<int32_t>(fval); in convertFloatToPcm16()
/third_party/libcoap/src/
H A Dcoap_time.c74 /* creates a Qx.frac from fval */
75 #define Q(frac,fval) ((1 << (frac)) * (fval))
H A Dcoap_net.c91 /** creates a Qx.frac from fval in coap_fixed_point_t */
92 #define Q(frac,fval) ((uint16_t)(((1 << (frac)) * fval.integer_part) + \
93 ((1 << (frac)) * fval.fractional_part + 500)/1000))
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir.cpp329 ImmediateValue::ImmediateValue(Program *prog, float fval) in ImmediateValue() argument
337 reg.data.f32 = fval; in ImmediateValue()
462 ImmediateValue::compare(CondCode cc, float fval) const in compare()
470 case CC_LT: return reg.data.f32 < fval; in compare()
471 case CC_LE: return reg.data.f32 <= fval; in compare()
472 case CC_GT: return reg.data.f32 > fval; in compare()
473 case CC_GE: return reg.data.f32 >= fval; in compare()
474 case CC_EQ: return reg.data.f32 == fval; in compare()
475 case CC_NE: return reg.data.f32 != fval; in compare()
H A Dnv50_ir.h853 bool compare(CondCode cc, float fval) const;
/third_party/alsa-lib/test/
H A Dpcm.c74 } fval; in generate_sine() local
77 fval.f = sin(phase); in generate_sine()
78 res = fval.i; in generate_sine()
/third_party/python/PC/
H A D_msi.c675 FILETIME fval; in _msi_SummaryInformation_GetProperty_impl() local
681 &fval, sval, &ssize); in _msi_SummaryInformation_GetProperty_impl()
689 &fval, sval, &ssize); in _msi_SummaryInformation_GetProperty_impl()
/third_party/python/Modules/
H A Daudioop.c1118 double fval = (double)val1 + (double)val2; in audioop_add_impl() local
1120 newval = fbound(fval, minval, maxval); in audioop_add_impl()
/third_party/python/Objects/
H A Dfloatobject.c131 PyFloat_FromDouble(double fval) in PyFloat_FromDouble() argument
155 op->ob_fval = fval; in PyFloat_FromDouble()
/third_party/node/deps/v8/src/wasm/
H A Dfunction-body-decoder-impl.h955 F(Select, const Value& cond, const Value& fval, const Value& tval, \
2931 Value fval = Peek(1); in DECODE() local
2932 Value tval = Peek(2, 0, fval.type); in DECODE()
2933 ValueType type = tval.type == kWasmBottom ? fval.type : tval.type; in DECODE()
2940 CALL_INTERFACE_IF_OK_AND_REACHABLE(Select, cond, fval, tval, &result); in DECODE()
2952 Value fval = Peek(1, 1, imm.type); in DECODE() local
2955 CALL_INTERFACE_IF_OK_AND_REACHABLE(Select, cond, fval, tval, &result); in DECODE()
H A Dgraph-builder-interface.cc467 void Select(FullDecoder* decoder, const Value& cond, const Value& fval, in Select()
470 builder_->Select(cond.node, tval.node, fval.node, result->type); in Select()
/third_party/node/deps/v8/src/execution/s390/
H A Dsimulator-s390.cc11001 float fval = ReadFloat(rx_val + rb_val + offset); in EVALUATE() local
11002 set_fpr(r1, static_cast<double>(fval)); in EVALUATE()
11038 float fval = ReadFloat(b2_val + x2_val + d2_val); in EVALUATE() local
11039 SetS390ConditionCode<float>(r1_val, fval); in EVALUATE()
11050 float fval = ReadFloat(b2_val + x2_val + d2_val); in EVALUATE() local
11051 r1_val += fval; in EVALUATE()
11064 float fval = ReadFloat(b2_val + x2_val + d2_val); in EVALUATE() local
11065 r1_val -= fval; in EVALUATE()
11084 float fval = ReadFloat(b2_val + x2_val + d2_val); in EVALUATE() local
11085 r1_val /= fval; in EVALUATE()
11146 float fval = ReadFloat(b2_val + x2_val + d2_val); EVALUATE() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfolding_rules.cpp524 float fval = val.getAsFloat(); \
525 if (!IsValidResult(fval)) return 0; \
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dfolding_rules.cpp524 float fval = val.getAsFloat(); \
525 if (!IsValidResult(fval)) return 0; \
/third_party/ltp/tools/sparse/sparse-src/
H A Dlinearize.c1085 static pseudo_t add_setfval(struct entrypoint *ep, struct symbol *ctype, long double fval) in add_setfval() argument
1090 insn->fvalue = fval; in add_setfval()
/third_party/spirv-tools/source/opt/
H A Dfolding_rules.cpp539 float fval = val.getAsFloat(); \
540 if (!IsValidResult(fval)) return 0; \
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-compiler.cc2568 void Select(FullDecoder* decoder, const Value& cond, const Value& fval,
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 101 milliseconds