Home
last modified time | relevance | path

Searched refs:inRange (Results 1 – 25 of 139) sorted by relevance

123456

/external/guava/android/guava-tests/test/com/google/common/base/
DBenchmarkHelpers.java64 HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
66 CharMatcher.inRange('0', '9')
67 .or(CharMatcher.inRange('A', 'F'))
68 .or(CharMatcher.inRange('a', 'f')),
71 CharMatcher.inRange('a', 'z')
72 .or(CharMatcher.inRange('A', 'Z'))
DCharMatcherTest.java22 import static com.google.common.base.CharMatcher.inRange;
122 doTestSetBits(inRange('n', 'q')); in testSetBits()
128 doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate())); in testSetBits()
150 doTestEmpty(inRange('n', 'q')); in testEmpty()
165 doTestNull(inRange('n', 'q')); in testNull()
214 doTestNoMatches(inRange('p', 'x'), "mom"); in testNoMatches()
216 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a"); in testNoMatches()
242 doTestAllMatches(inRange('m', 'p'), "mom"); in testAllMatches()
313 doTestGeneral(inRange('p', 'x'), 'q', 'z'); in testGeneral()
659 CharMatcher m3 = inRange('A', 'Z'); in testPrecomputedOptimizations()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DBenchmarkHelpers.java64 HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
66 CharMatcher.inRange('0', '9')
67 .or(CharMatcher.inRange('A', 'F'))
68 .or(CharMatcher.inRange('a', 'f')),
71 CharMatcher.inRange('a', 'z')
72 .or(CharMatcher.inRange('A', 'Z'))
DCharMatcherTest.java22 import static com.google.common.base.CharMatcher.inRange;
122 doTestSetBits(inRange('n', 'q')); in testSetBits()
128 doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate())); in testSetBits()
150 doTestEmpty(inRange('n', 'q')); in testEmpty()
165 doTestNull(inRange('n', 'q')); in testNull()
214 doTestNoMatches(inRange('p', 'x'), "mom"); in testNoMatches()
216 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a"); in testNoMatches()
242 doTestAllMatches(inRange('m', 'p'), "mom"); in testAllMatches()
313 doTestGeneral(inRange('p', 'x'), 'q', 'z'); in testGeneral()
659 CharMatcher m3 = inRange('A', 'Z'); in testPrecomputedOptimizations()
[all …]
/external/v4l2_codec2/components/
DV4L2DecodeInterface.cpp220 C2F(mSize, width).inRange(16, 4096, 16), in V4L2DecodeInterface()
221 C2F(mSize, height).inRange(16, 4096, 16), in V4L2DecodeInterface()
262 C2F(mOutputBlockPoolIds, m.values).inRange(0, 1)}) in V4L2DecodeInterface()
273 .inRange(C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in V4L2DecodeInterface()
275 .inRange(C2Color::PRIMARIES_UNSPECIFIED, in V4L2DecodeInterface()
278 .inRange(C2Color::TRANSFER_UNSPECIFIED, in V4L2DecodeInterface()
281 .inRange(C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER)}) in V4L2DecodeInterface()
292 .inRange(C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in V4L2DecodeInterface()
294 .inRange(C2Color::PRIMARIES_UNSPECIFIED, in V4L2DecodeInterface()
297 .inRange(C2Color::TRANSFER_UNSPECIFIED, in V4L2DecodeInterface()
[all …]
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp121 bool isCube = de::inRange<int>(program, PROGRAM_CUBE_FLOAT, PROGRAM_CUBE_SHADOW_BIAS); in getProgram()
122 bool isArray = de::inRange<int>(program, PROGRAM_2D_ARRAY_FLOAT, PROGRAM_2D_ARRAY_SHADOW) in getProgram()
123 || de::inRange<int>(program, PROGRAM_1D_ARRAY_FLOAT, PROGRAM_1D_ARRAY_SHADOW); in getProgram()
125 bool is1D = de::inRange<int>(program, PROGRAM_1D_FLOAT, PROGRAM_1D_UINT_BIAS) in getProgram()
126 || de::inRange<int>(program, PROGRAM_1D_ARRAY_FLOAT, PROGRAM_1D_ARRAY_SHADOW) in getProgram()
127 || de::inRange<int>(program, PROGRAM_BUFFER_FLOAT, PROGRAM_BUFFER_UINT); in getProgram()
129 bool is2D = de::inRange<int>(program, PROGRAM_2D_FLOAT, PROGRAM_2D_UINT_BIAS) in getProgram()
130 || de::inRange<int>(program, PROGRAM_2D_ARRAY_FLOAT, PROGRAM_2D_ARRAY_SHADOW); in getProgram()
132 bool is3D = de::inRange<int>(program, PROGRAM_3D_FLOAT, PROGRAM_3D_UINT_BIAS); in getProgram()
133 bool isCubeArray = de::inRange<int>(program, PROGRAM_CUBE_ARRAY_FLOAT, PROGRAM_CUBE_ARRAY_SHADOW); in getProgram()
[all …]
DglsShaderPerformanceMeasurer.cpp170 TCU_CHECK_INTERNAL(de::inRange(m_viewportWidth, 1, m_renderCtx.getRenderTarget().getWidth()) && in init()
171 de::inRange(m_viewportHeight, 1, m_renderCtx.getRenderTarget().getHeight())); in init()
350 DE_ASSERT(de::inRange(width, 1, m_renderCtx.getRenderTarget().getWidth()) && in setViewportSize()
351 de::inRange(height, 1, m_renderCtx.getRenderTarget().getHeight())); in setViewportSize()
/external/deqp/framework/xexml/
DxeXMLParser.cpp39 return de::inRange<int>(ch, 'a', 'z') || de::inRange<int>(ch, 'A', 'Z'); in isIdentifierStartChar()
44 return isIdentifierStartChar(ch) || de::inRange<int>(ch, '0', '9') || (ch == '-') || (ch == '_'); in isIdentifierChar()
100 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar()
273 else if (!de::inRange<int>(curChar, '0', '9') && in advance()
274 !de::inRange<int>(curChar, 'a', 'z') && in advance()
275 !de::inRange<int>(curChar, 'A', 'Z')) in advance()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp208 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
213 inRange<4, 2>(MCI, 2)) { in getDuplexCandidateGroup()
224 inRange<4>(MCI, 2)) { in getDuplexCandidateGroup()
245 inRange<3, 1>(MCI, 2)) { in getDuplexCandidateGroup()
255 inRange<3>(MCI, 2)) { in getDuplexCandidateGroup()
265 inRange<5, 3>(MCI, 2)) { in getDuplexCandidateGroup()
328 Hexagon::R29 == Src1Reg && inRange<5, 2>(MCI, 1)) { in getDuplexCandidateGroup()
334 inRange<4, 2>(MCI, 1)) { in getDuplexCandidateGroup()
344 inRange<4>(MCI, 1)) { in getDuplexCandidateGroup()
363 inRange<3, 1>(MCI, 1)) { in getDuplexCandidateGroup()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp195 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
200 inRange<4, 2>(MCI, 2)) { in getDuplexCandidateGroup()
211 inRange<4>(MCI, 2)) { in getDuplexCandidateGroup()
232 inRange<3, 1>(MCI, 2)) { in getDuplexCandidateGroup()
242 inRange<3>(MCI, 2)) { in getDuplexCandidateGroup()
252 inRange<5, 3>(MCI, 2)) { in getDuplexCandidateGroup()
321 Hexagon::R29 == Src1Reg && inRange<5, 2>(MCI, 1)) { in getDuplexCandidateGroup()
327 inRange<4, 2>(MCI, 1)) { in getDuplexCandidateGroup()
337 inRange<4>(MCI, 1)) { in getDuplexCandidateGroup()
356 inRange<3, 1>(MCI, 1)) { in getDuplexCandidateGroup()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp207 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
212 inRange<4, 2>(MCI, 2)) { in getDuplexCandidateGroup()
223 inRange<4>(MCI, 2)) { in getDuplexCandidateGroup()
244 inRange<3, 1>(MCI, 2)) { in getDuplexCandidateGroup()
254 inRange<3>(MCI, 2)) { in getDuplexCandidateGroup()
264 inRange<5, 3>(MCI, 2)) { in getDuplexCandidateGroup()
326 Hexagon::R29 == Src1Reg && inRange<5, 2>(MCI, 1)) { in getDuplexCandidateGroup()
332 inRange<4, 2>(MCI, 1)) { in getDuplexCandidateGroup()
342 inRange<4>(MCI, 1)) { in getDuplexCandidateGroup()
361 inRange<3, 1>(MCI, 1)) { in getDuplexCandidateGroup()
[all …]
/external/deqp/framework/randomshaders/
DrsgPrettyPrinter.cpp137 …return de::inRange(c, 'a', 'z') || de::inRange(c, 'A', 'Z') || de::inRange(c, '0', '9') || c == '_… in isIdentifierChar()
DrsgVariableValue.cpp127 return de::inRange(aMin, bMin, bMax) && de::inRange(aMax, bMin, bMax); in operator ()()
132 return de::inRange(aMin, bMin, bMax) && de::inRange(aMax, bMin, bMax); in operator ()()
DrsgBinaryOps.cpp515 DE_ASSERT(de::inRange(aMin*bMin, dstMin-eps, dstMax+eps)); in operator ()()
516 DE_ASSERT(de::inRange(aMin*bMax, dstMin-eps, dstMax+eps)); in operator ()()
517 DE_ASSERT(de::inRange(aMax*bMin, dstMin-eps, dstMax+eps)); in operator ()()
518 DE_ASSERT(de::inRange(aMax*bMax, dstMin-eps, dstMax+eps)); in operator ()()
568 DE_ASSERT(de::inRange(aMin+bMin, dstMin-eps, dstMax+eps)); in operator ()()
569 DE_ASSERT(de::inRange(aMin+bMax, dstMin-eps, dstMax+eps)); in operator ()()
570 DE_ASSERT(de::inRange(aMax+bMin, dstMin-eps, dstMax+eps)); in operator ()()
571 DE_ASSERT(de::inRange(aMax+bMax, dstMin-eps, dstMax+eps)); in operator ()()
618 DE_ASSERT(de::inRange(aMin-bMin, dstMin-eps, dstMax+eps)); in operator ()()
619 DE_ASSERT(de::inRange(aMin-bMax, dstMin-eps, dstMax+eps)); in operator ()()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java1450 boolean inRange = true; in parseConstraint()
1472 inRange = !inRange; in parseConstraint()
1478 inRange = !inRange; in parseConstraint()
1486 if (hackForCompatibility && !inRange) { in parseConstraint()
1497 if (!hackForCompatibility && !inRange) { in parseConstraint()
1500 inRange = !inRange; in parseConstraint()
1561 if (lowBound != highBound && hackForCompatibility && !inRange) { in parseConstraint()
1566 … new RangeConstraint(mod, inRange, operand, integersOnly, lowBound, highBound, vals); in parseConstraint()
1709 private final boolean inRange; field in PluralRules.RangeConstraint
1716 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, in RangeConstraint() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java1381 boolean inRange = true; in parseConstraint()
1403 inRange = !inRange; in parseConstraint()
1409 inRange = !inRange; in parseConstraint()
1417 if (hackForCompatibility && !inRange) { in parseConstraint()
1428 if (!hackForCompatibility && !inRange) { in parseConstraint()
1431 inRange = !inRange; in parseConstraint()
1492 if (lowBound != highBound && hackForCompatibility && !inRange) { in parseConstraint()
1497 … new RangeConstraint(mod, inRange, operand, integersOnly, lowBound, highBound, vals); in parseConstraint()
1640 private final boolean inRange; field in PluralRules.RangeConstraint
1647 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, in RangeConstraint() argument
[all …]
/external/deqp/framework/common/
DtcuTestCase.hpp85 return de::inRange(c, 'a', 'z') || in isValidTestCaseNameChar()
86 de::inRange(c, 'A', 'Z') || in isValidTestCaseNameChar()
87 de::inRange(c, '0', '9') || in isValidTestCaseNameChar()
/external/deqp/framework/delibs/decpp/
DdeRingBuffer.hpp133 DE_ASSERT(de::inRange(count, 0, getNumFree())); in pushFront()
160 DE_ASSERT(de::inRange(count, 0, getNumElements())); in peekBack()
168 DE_ASSERT(de::inRange(count, 0, getNumElements())); in popBack()
/external/golang-protobuf/ptypes/
Dduration_test.go51 inRange bool
102 wantOK := test.isValid && test.inRange
114 if test.isValid && test.inRange {
/external/deqp/framework/opengl/
DgluVarTypeUtil.cpp47 static inline bool isNum (char c) { return de::inRange(c, '0', '9'); } in isNum()
48 static inline bool isAlpha (char c) { return de::inRange(c, 'a', 'z') || de::inRange(c, 'A', 'Z'… in isAlpha()
/external/deqp/modules/gles2/functional/
Des2fFloatStateQueryTests.cpp147 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
153 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f)); in verifyFloat2Expanded()
154 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f)); in verifyFloat2Expanded()
290 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
314 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f)); in verifyFloat2Expanded()
315 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f)); in verifyFloat2Expanded()
475 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
499 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f)); in verifyFloat2Expanded()
500 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f)); in verifyFloat2Expanded()
657 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
[all …]
/external/guava/android/guava/src/com/google/common/net/
DInternetDomainName.java240 private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9');
243 CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z'));
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java240 private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9');
243 CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z'));
/external/cldr/tools/java/org/unicode/cldr/api/
DCldrPath.java4 import static com.google.common.base.CharMatcher.inRange;
54 inRange('a', 'z').or(inRange('A', 'Z')).or(inRange('0', '9')).or(anyOf(":-_"));
/external/deqp/modules/gles3/functional/
Des3fFloatStateQueryTests.cpp149 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
155 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f)); in verifyFloat2Expanded()
156 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f)); in verifyFloat2Expanded()
323 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
347 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f)); in verifyFloat2Expanded()
348 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f)); in verifyFloat2Expanded()
529 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
553 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f)); in verifyFloat2Expanded()
554 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f)); in verifyFloat2Expanded()
732 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f)); in verifyFloatExpanded()
[all …]

123456