Home
last modified time | relevance | path

Searched refs:isnan (Results 1 – 23 of 23) sorted by relevance

/hardware/google/gfxstream/third-party/glm/include/glm/detail/
D_fixes.hpp17 #ifdef isnan
18 #undef isnan
Dfunc_common.inl623 using std::isnan;
626 GLM_FUNC_QUALIFIER bool isnan(genType x) function
628 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'isnan' only accept floating-point inp…
631 return std::isnan(x);
638 return ::isnan(x) != 0;
643 return isnan(x) != 0;
645 return std::isnan(x);
651 GLM_FUNC_QUALIFIER vecType<bool, P> isnan(vecType<T, P> const & x) function
653 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
655 return detail::functor1<bool, T, P, vecType>::call(isnan, x);
[all …]
Dfunc_common.hpp292 GLM_FUNC_DECL vecType<bool, P> isnan(vecType<T, P> const & x);
/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp130 isnan(temperature.currentValue)); in checkDeviceTemperature()
137 isnan(temperature.currentValue) || isnan(temperature.shutdownThreshold)); in checkDeviceTemperature()
141 isnan(temperature.throttlingThreshold) || isnan(temperature.shutdownThreshold)); in checkDeviceTemperature()
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dhalf_float_test.cpp55 EXPECT_TRUE(isnan(TEST_NAN)); in TEST()
75 EXPECT_TRUE(isnan(nan)); in test_half_to_float_limits()
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp116 if (inc_check && !std::isnan(last) && !std::isnan(ret[i]) && ret[i] < last) { in getFloatFromJsonValues()
120 if (dec_check && !std::isnan(last) && !std::isnan(ret[i]) && ret[i] > last) { in getFloatFromJsonValues()
124 last = std::isnan(ret[i]) ? last : ret[i]; in getFloatFromJsonValues()
142 if (std::isnan(min_temp) || std::isnan(max_temp)) { in getTempRangeInfoFromJsonValues()
236 if (std::isnan(offset_threshold) || std::isnan(offset_value)) { in ParseOffsetThresholds()
516 if (std::isnan(coefficient)) { in ParseVirtualSensorInfo()
573 if (std::isnan(weight)) { in ParsePredictorInfo()
941 if (!std::isnan(s_power[j])) { in ParseSensorThrottlingInfo()
942 if (std::isnan(k_po[j]) || std::isnan(k_pu[j]) || std::isnan(k_i[j]) || in ParseSensorThrottlingInfo()
943 std::isnan(k_d[j]) || std::isnan(i_max[j]) || std::isnan(max_alloc_power[j]) || in ParseSensorThrottlingInfo()
[all …]
Dthermal_throttling.cpp49 if (std::isnan(sensor_info.throttling_info->s_power[state])) { in getTargetStateOfPID()
148 if (!std::isnan(cdev_weight)) { in registerThermalThrottling()
174 if (!std::isnan(power_threshold)) { in registerThermalThrottling()
222 if (std::isnan(throttling_status.i_budget)) { in updatePowerBudget()
223 if (std::isnan(sensor_info.throttling_info->i_default_pct)) { in updatePowerBudget()
248 if (!std::isnan(throttling_status.prev_err) && in updatePowerBudget()
335 if (!std::isnan(last_updated_avg_power)) { in computeExcludedPower()
397 } else if (std::isnan(cdev_weight) || cdev_weight == 0) { in allocatePowerToCdev()
424 if (std::isnan(last_updated_avg_power)) { in allocatePowerToCdev()
496 if (!std::isnan(cdev_info.state2power[0]) && in allocatePowerToCdev()
[all …]
Dpower_files.cpp362 !std::isnan(avg_power)) { in logPowerStatus()
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/
Dtest_softfloat.cpp63 EXPECT_TRUE(std::isnan(result)); in TEST()
Dtest_simd.cpp1130 EXPECT_NE(std::isnan(r.lane<3>()), 0); in TEST()
/hardware/google/pixel/thermal/
Dthermal-helper.cpp518 if (std::isnan(temp)) { in readTemperature()
624 if (!std::isnan(hot_thresholds[i]) && hot_thresholds[i] <= value && in getSeverityFromThresholds()
628 if (!std::isnan(hot_thresholds[i]) && (hot_thresholds[i] - hot_hysteresis[i]) < value && in getSeverityFromThresholds()
632 if (!std::isnan(cold_thresholds[i]) && cold_thresholds[i] >= value && in getSeverityFromThresholds()
636 if (!std::isnan(cold_thresholds[i]) && (cold_thresholds[i] + cold_hysteresis[i]) > value && in getSeverityFromThresholds()
856 if (!std::isnan(sensor_info.second.hot_thresholds[i]) && in initializeTrip()
857 !std::isnan(sensor_info.second.hot_hysteresis[i])) { in initializeTrip()
980 if (std::isnan(*reading_value)) { in readDataByType()
1216 !isnan(sensor_status.thermal_cached.temp)) { in readThermalSensor()
1245 if (std::isnan(sensor_readings[i])) { in readThermalSensor()
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_compress_symbolic.cpp1135 if (astc::isnan(rg_cov)) rg_cov = 1.0f; in prepare_block_statistics()
1136 if (astc::isnan(rb_cov)) rb_cov = 1.0f; in prepare_block_statistics()
1137 if (astc::isnan(ra_cov)) ra_cov = 1.0f; in prepare_block_statistics()
1138 if (astc::isnan(gb_cov)) gb_cov = 1.0f; in prepare_block_statistics()
1139 if (astc::isnan(ga_cov)) ga_cov = 1.0f; in prepare_block_statistics()
1140 if (astc::isnan(ba_cov)) ba_cov = 1.0f; in prepare_block_statistics()
Dastcenc_mathlib.h133 static inline bool isnan(float v) in isnan() function
Dastcenc_ideal_endpoints_and_weights.cpp190 assert(!astc::isnan(ei.weight_error_scale[tix])); in compute_ideal_colors_and_weights_1_comp()
322 assert(!astc::isnan(ei.weight_error_scale[tix])); in compute_ideal_colors_and_weights_2_comp()
471 assert(!astc::isnan(ei.weight_error_scale[tix])); in compute_ideal_colors_and_weights_3_comp()
596 assert(!astc::isnan(ei.weight_error_scale[tix])); in compute_ideal_colors_and_weights_4_comp()
1362 if (astc::isnan(dot_s(rgbovec, rgbovec))) in recompute_ideal_colors_1plane()
1642 if (astc::isnan(dot_s(rgbo_vector, rgbo_vector))) in recompute_ideal_colors_2planes()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DBrightnessController.cpp60 if (isnan(brightness)) { in NitsToBrightness()
91 if (isnan(nits)) { in BrightnessToNits()
107 if (isnan(dbv) || dbv < 0) { in NitsToDbv()
122 if (isnan(nits)) { in DbvToNits()
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dquaternion.inl776 GLM_FUNC_QUALIFIER tvec4<bool, P> isnan(tquat<T, P> const& q) function
778 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
780 return tvec4<bool, P>(isnan(q.x), isnan(q.y), isnan(q.z), isnan(q.w));
Dquaternion.hpp382 GLM_FUNC_DECL tvec4<bool, P> isnan(tquat<T, P> const & x);
Dpacking.inl120 else if(glm::isnan(x))
150 else if(glm::isnan(x))
/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.cpp50 if (std::isnan(min_val) || std::isnan(max_val)) { in getInputRangeInfoFromJsonValues()
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h293 if (std::isnan(brightness) || brightness > 1.0f || in setDisplayBrightness()
/hardware/interfaces/audio/core/all-versions/default/
DStreamIn.cpp593 if (std::isnan(zoom) || zoom < -1 || zoom > 1) { in setMicrophoneFieldDimension()
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dsimd_vec4.inl492 //GLM_FUNC_QUALIFIER bvec4 isnan(detail::fvec4SIMD const & x)
/hardware/qcom/sm7250/display/composer/
DQtiComposerClient.cpp1037 if (std::isnan(brightness) || brightness > 1.0f || (brightness < 0.0f && brightness != -1.0f)) { in setDisplayBrightness()