Home
last modified time | relevance | path

Searched refs:max_val (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Drb_tree_test.cpp76 int max_val = -1; in validate_tree_order() local
80 assert(n->key >= max_val); in validate_tree_order()
81 if (n->key > max_val) { in validate_tree_order()
82 max_val = n->key; in validate_tree_order()
97 max_val = -1; in validate_tree_order()
101 assert(n->key >= max_val); in validate_tree_order()
102 if (n->key > max_val) { in validate_tree_order()
103 max_val = n->key; in validate_tree_order()
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.h77 Type1 max_val = std::numeric_limits<Type1>::max(); in ALIGN() local
78 if (x > (max_val - (Type1)align)) { in ALIGN()
/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.cpp48 float max_val = getFloatFromValue(values[1]); in getInputRangeInfoFromJsonValues() local
50 if (std::isnan(min_val) || std::isnan(max_val)) { in getInputRangeInfoFromJsonValues()
52 << max_val; in getInputRangeInfoFromJsonValues()
56 if (min_val > max_val) { in getInputRangeInfoFromJsonValues()
58 << ") > data_max_threshold(" << max_val << ")"; in getInputRangeInfoFromJsonValues()
62 input_range_info->max_threshold = max_val; in getInputRangeInfoFromJsonValues()
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-vibrator.cpp344 int max_val = 0x7FC000; in TEST_F() local
345 std::string f0Val = std::to_string(std::rand() % (max_val - min_val + 1) + min_val); in TEST_F()
346 std::string redcVal = std::to_string(std::rand() % (max_val - min_val + 1) + min_val); in TEST_F()
347 std::string qVal = std::to_string(std::rand() % (max_val - min_val + 1) + min_val); in TEST_F()