Home
last modified time | relevance | path

Searched refs:InRange (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_color.cpp16 bool InRange(float comp) { in InRange() function
21 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2GRAY()
29 if (!InRange(dGray)) in ConvertGRAY2CMYK()
35 if (!InRange(dGray)) in ConvertGRAY2RGB()
41 if (!InRange(dR) || !InRange(dG) || !InRange(dB)) in ConvertRGB2GRAY()
47 if (!InRange(dC) || !InRange(dM) || !InRange(dY) || !InRange(dK)) in ConvertCMYK2RGB()
55 if (!InRange(dR) || !InRange(dG) || !InRange(dB)) in ConvertRGB2CMYK()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc280 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet() local
283 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
284 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
285 if (!InRange && P > Loc) in PrintMemorySnippet()
287 if (InRange && InRange->getStart().getMemoryLocation() < P) in PrintMemorySnippet()
289 if (InRange && InRange->getStart().getMemoryLocation() <= P) in PrintMemorySnippet()
300 InRange = 0; in PrintMemorySnippet()
303 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
304 InRange = upperBound(P, Ranges, NumRanges); in PrintMemorySnippet()
305 if (!InRange) in PrintMemorySnippet()
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dgeom.h194 SCHECK(InRange(score, 0.0f, 1.0f), "Invalid score! %.2f", score); in PascalScore()
199 return InRange(that.left_, left_, right_) in Intersects()
200 || InRange(that.right_, left_, right_) in Intersects()
201 || InRange(that.top_, top_, bottom_) in Intersects()
202 || InRange(that.bottom_, top_, bottom_); in Intersects()
215 return InRange(point.x, left_, right_) && InRange(point.y, top_, bottom_); in Contains()
Dimage.h59 SCHECK(InRange(col, 0, max_col_),
170 SCHECK(InRange(row, 0, height_less_one_),
176 SCHECK(InRange(row, 0, height_less_one_),
Dutils.h138 inline static bool InRange(const T a, const T min, const T max) { in InRange() function
183 SCHECK(InRange(real_number, 0.0f, 2048.0f), in RealToFixed115()
198 SCHECK(InRange(real_number, -kMult, kMult), in RealToFixed1616()
Dflow_cache.h105 if (InRange(*final_x, 0.0f, static_cast<float>(image_size_.width) - 1) && in FindNewPositionOfPoint()
106 InRange(*final_y, 0.0f, static_cast<float>(image_size_.height) - 1)) { in FindNewPositionOfPoint()
Dintegral_image.h174 SCHECK(InRange(final_code, static_cast<Code>(0), static_cast<Code>(3)), in GetCode()
Dimage-inl.h204 return InRange(x, ZERO, width_less_one_) && in ValidPixel()
205 InRange(y, ZERO, height_less_one_); in ValidPixel()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleConstraintManager.cpp195 const llvm::APSInt &To, bool InRange) { in assumeWithinInclusiveRange() argument
205 return assumeSymWithinInclusiveRange(State, Sym, From, To, InRange); in assumeWithinInclusiveRange()
216 return assumeSymWithinInclusiveRange(State, Sym, From, To, InRange); in assumeWithinInclusiveRange()
223 bool isFeasible = (IsInRange == InRange); in assumeWithinInclusiveRange()
306 bool InRange) { in assumeSymWithinInclusiveRange() argument
325 if (InRange) in assumeSymWithinInclusiveRange()
DSimpleConstraintManager.h45 bool InRange) override;
56 bool InRange);
/external/libtextclassifier/lang_id/script/
Dtiny-script-detector.h59 inline bool InRange(IntType value, IntType low, IntType hi) { in InRange() function
134 if (InRange(codepoint, kHangulJamoStart, kHangulJamoEnd)) { in GetScript()
/external/image_io/src/base/
Ddata_scanner.cc25 bool InRange(char value, char lo, char hi) { in InRange() function
31 return InRange(value, 'A', 'Z') || InRange(value, 'a', 'z') || value == '_' || in IsFirstNameChar()
/external/jsoncpp/src/lib_json/
Djson_value.cpp61 static inline bool InRange(double d, T min, U max) { in InRange() function
74 static inline bool InRange(double d, T min, U max) { in InRange() function
562 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
584 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
607 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
628 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt64), in asUInt64()
731 (type_ == realValue && InRange(value_.real_, minInt, maxInt)) || in isConvertibleTo()
735 (type_ == realValue && InRange(value_.real_, 0, maxUInt)) || in isConvertibleTo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMicroMipsSizeReduction.cpp321 static bool InRange(int64_t Value, unsigned short Shift, int LBound, in InRange() function
338 if (!InRange(offset, Entry.Shift(), Entry.LBound(), Entry.HBound())) in ImmInRange()
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2435 static inline bool InRange(double d, T min, U max) { in InRange() function
2448 static inline bool InRange(double d, T min, U max) { in InRange() function
3040 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3062 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3085 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
3106 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt64), in asUInt64()
3209 (type_ == realValue && InRange(value_.real_, minInt, maxInt)) || in isConvertibleTo()
3213 (type_ == realValue && InRange(value_.real_, 0, maxUInt)) || in isConvertibleTo()
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2435 static inline bool InRange(double d, T min, U max) { in InRange() function
2448 static inline bool InRange(double d, T min, U max) { in InRange() function
3040 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3062 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3085 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
3106 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt64), in asUInt64()
3209 (type_ == realValue && InRange(value_.real_, minInt, maxInt)) || in isConvertibleTo()
3213 (type_ == realValue && InRange(value_.real_, 0, maxUInt)) || in isConvertibleTo()
/external/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2471 static inline bool InRange(double d, T min, U max) { in InRange() function
2484 static inline bool InRange(double d, T min, U max) { in InRange() function
3072 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3094 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3117 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
3138 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt64), in asUInt64()
3242 (type_ == realValue && InRange(value_.real_, minInt, maxInt)) || in isConvertibleTo()
3246 (type_ == realValue && InRange(value_.real_, 0, maxUInt)) || in isConvertibleTo()
/external/shaderc/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2435 static inline bool InRange(double d, T min, U max) { in InRange() function
2448 static inline bool InRange(double d, T min, U max) { in InRange() function
3040 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3062 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3085 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
3106 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt64), in asUInt64()
3209 (type_ == realValue && InRange(value_.real_, minInt, maxInt)) || in isConvertibleTo()
3213 (type_ == realValue && InRange(value_.real_, 0, maxUInt)) || in isConvertibleTo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp2278 bool InRange = true; in ConstantFoldGetElementPtr() local
2281 InRange &= isIndexInRangeOfArrayType(STy->getNumElements(), CI); in ConstantFoldGetElementPtr()
2287 if (InRange || Unknown) in ConstantFoldGetElementPtr()
/external/googletest/googlemock/docs/
DCookBook.md835 EXPECT_CALL(foo, InRange(Ne(0), _))
839 says that the first argument of `InRange()` must not be 0, and must be