Home
last modified time | relevance | path

Searched refs:kInvalidValue (Results 1 – 6 of 6) sorted by relevance

/aosp12/system/chre/util/tests/
H A Doptional_test.cc120 static constexpr int kInvalidValue = -1; variable
128 other.mValue = kInvalidValue; in MovableButNonCopyable()
134 other.mValue = kInvalidValue; in operator =()
152 int mValue = kInvalidValue;
167 EXPECT_EQ(transferee1.getValue(), kInvalidValue); in TEST()
175 EXPECT_EQ(transferee2.getValue(), kInvalidValue); in TEST()
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/
H A DRandomVariable.cpp67 auto head = lower == kInvalidValue ? mChoices.begin() in setRange()
69 auto tail = upper == kInvalidValue ? mChoices.end() in setRange()
244 return check(lhs, rhs) ? 0 : kInvalidValue; in eval()
381 return rhs == 0 ? kInvalidValue : lhs / rhs; in eval()
397 return (rhs == 0 || lhs % rhs != 0) ? kInvalidValue : lhs / rhs; in eval()
405 return rhs == 0 ? kInvalidValue : lhs % rhs; in eval()
677 if (var->value == kInvalidValue) return false; in eval()
H A DRandomVariable.h35 static const int kInvalidValue = INT_MIN; variable
H A DRandomGraphGenerator.cpp106 for (auto& dim : out->dimensions) dim.setRange(1, kInvalidValue); in RandomOperation()
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
H A DBoundingBox.cpp189 heatmapSize.setRange(2, kInvalidValue); in heatmapMaxKeypointConstructor()
H A DSelection.cpp199 k.setRange(1, kInvalidValue); in topKConstructor()