Home
last modified time | relevance | path

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

12345

/external/guava/guava-tests/test/com/google/common/base/
DBenchmarkHelpers.java64 HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
65 HEX_22(CharMatcher.inRange('0', '9')
66 .or(CharMatcher.inRange('A', 'F')).or(CharMatcher.inRange('a', 'f')),
68 GERMAN_59(CharMatcher.inRange('a', 'z')
69 .or(CharMatcher.inRange('A', 'Z')).or(CharMatcher.anyOf("äöüßÄÖÜ")),
DCharMatcherTest.java23 import static com.google.common.base.CharMatcher.inRange;
123 doTestSetBits(inRange('n', 'q')); in testSetBits()
129 doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate())); in testSetBits()
151 doTestEmpty(inRange('n', 'q')); in testEmpty()
166 doTestNull(inRange('n', 'q')); in testNull()
215 doTestNoMatches(inRange('p', 'x'), "mom"); in testNoMatches()
217 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a"); in testNoMatches()
243 doTestAllMatches(inRange('m', 'p'), "mom"); in testAllMatches()
316 doTestGeneral(inRange('p', 'x'), 'q', 'z'); in testGeneral()
661 CharMatcher m3 = inRange('A', 'Z'); in testPrecomputedOptimizations()
[all …]
/external/deqp/executor/
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()
DxeContainerFormatParser.cpp111 …DE_ASSERT(de::inBounds(offset, 0, m_elementLen) && numBytes > 0 && de::inRange(numBytes+offset, 0,… in getData()
119 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar()
/external/messageformat/java/com/ibm/icu/simple/
DPluralRules.java1173 boolean inRange = true; in parseConstraint()
1195 inRange = !inRange; in parseConstraint()
1201 inRange = !inRange; in parseConstraint()
1209 if (hackForCompatibility && !inRange) { in parseConstraint()
1220 if (!hackForCompatibility && !inRange) { in parseConstraint()
1223 inRange = !inRange; in parseConstraint()
1284 if (lowBound != highBound && hackForCompatibility && !inRange) { in parseConstraint()
1289 … new RangeConstraint(mod, inRange, operand, integersOnly, lowBound, highBound, vals); in parseConstraint()
1432 private final boolean inRange; field in PluralRules.RangeConstraint
1439 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.java1182 boolean inRange = true; in parseConstraint()
1204 inRange = !inRange; in parseConstraint()
1210 inRange = !inRange; in parseConstraint()
1218 if (hackForCompatibility && !inRange) { in parseConstraint()
1229 if (!hackForCompatibility && !inRange) { in parseConstraint()
1232 inRange = !inRange; in parseConstraint()
1293 if (lowBound != highBound && hackForCompatibility && !inRange) { in parseConstraint()
1298 … new RangeConstraint(mod, inRange, operand, integersOnly, lowBound, highBound, vals); in parseConstraint()
1441 private final boolean inRange; field in PluralRules.RangeConstraint
1448 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, in RangeConstraint() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java1228 boolean inRange = true; in parseConstraint()
1250 inRange = !inRange; in parseConstraint()
1256 inRange = !inRange; in parseConstraint()
1264 if (hackForCompatibility && !inRange) { in parseConstraint()
1275 if (!hackForCompatibility && !inRange) { in parseConstraint()
1278 inRange = !inRange; in parseConstraint()
1339 if (lowBound != highBound && hackForCompatibility && !inRange) { in parseConstraint()
1344 … new RangeConstraint(mod, inRange, operand, integersOnly, lowBound, highBound, vals); in parseConstraint()
1487 private final boolean inRange; field in PluralRules.RangeConstraint
1494 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, in RangeConstraint() argument
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp198 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
203 inRange<4, 2>(MCI, 2)) { in getDuplexCandidateGroup()
214 inRange<4>(MCI, 2)) { in getDuplexCandidateGroup()
235 inRange<3, 1>(MCI, 2)) { in getDuplexCandidateGroup()
245 inRange<3>(MCI, 2)) { in getDuplexCandidateGroup()
255 inRange<5, 3>(MCI, 2)) { in getDuplexCandidateGroup()
324 Hexagon::R29 == Src1Reg && inRange<5, 2>(MCI, 1)) { in getDuplexCandidateGroup()
330 inRange<4, 2>(MCI, 1)) { in getDuplexCandidateGroup()
340 inRange<4>(MCI, 1)) { in getDuplexCandidateGroup()
359 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()
DrsgBinaryOps.cpp265 DE_ASSERT(de::inRange(aMin*bMin, dstMin-eps, dstMax+eps)); in operator ()()
266 DE_ASSERT(de::inRange(aMin*bMax, dstMin-eps, dstMax+eps)); in operator ()()
267 DE_ASSERT(de::inRange(aMax*bMin, dstMin-eps, dstMax+eps)); in operator ()()
268 DE_ASSERT(de::inRange(aMax*bMax, dstMin-eps, dstMax+eps)); in operator ()()
318 DE_ASSERT(de::inRange(aMin+bMin, dstMin-eps, dstMax+eps)); in operator ()()
319 DE_ASSERT(de::inRange(aMin+bMax, dstMin-eps, dstMax+eps)); in operator ()()
320 DE_ASSERT(de::inRange(aMax+bMin, dstMin-eps, dstMax+eps)); in operator ()()
321 DE_ASSERT(de::inRange(aMax+bMax, dstMin-eps, dstMax+eps)); in operator ()()
368 DE_ASSERT(de::inRange(aMin-bMin, dstMin-eps, dstMax+eps)); in operator ()()
369 DE_ASSERT(de::inRange(aMin-bMax, dstMin-eps, dstMax+eps)); in operator ()()
[all …]
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 ()()
/external/deqp/framework/common/
DtcuTestCase.hpp78 return de::inRange(c, 'a', 'z') || in isValidTestCaseNameChar()
79 de::inRange(c, 'A', 'Z') || in isValidTestCaseNameChar()
80 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/opencv3/modules/core/perf/
Dperf_inRange.cpp12 PERF_TEST_P(Size_MatType, inRange, TYPICAL_MATS_INRANGE) in PERF_TEST_P() argument
23 TEST_CYCLE() inRange( src1, src2, src3, dst ); in PERF_TEST_P()
/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()
DgluShaderUtil.cpp81 …return de::inRange<int>(version, GLSL_VERSION_300_ES, GLSL_VERSION_320_ES) || de::inRange<int>(ver… in glslVersionUsesInOutQualifiers()
566 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4)); in getDataTypeMatrix()
/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/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DCharMatcherTest.java23 import static com.google.common.base.CharMatcher.inRange;
103 doTestEmpty(inRange('n', 'q')); in testEmpty()
146 doTestNoMatches(inRange('p', 'x'), "mom"); in testNoMatches()
148 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a"); in testNoMatches()
174 doTestAllMatches(inRange('m', 'p'), "mom"); in testAllMatches()
247 doTestGeneral(inRange('p', 'x'), 'q', 'z'); in testGeneral()
592 CharMatcher m3 = inRange('A', 'Z'); in testPrecomputedOptimizations()
639 CharMatcher.inRange('1', '3')); in testToString()
/external/deqp/modules/glshared/
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()
DglsRandomShaderProgram.cpp56 DE_ASSERT(de::inRange(numComps, 1, 4)); in mapToBasicType()
188 DE_ASSERT(attribType.isFloatOrVec() && de::inRange(numComponents, 1, 4)); in shadeVertices()
229 DE_ASSERT(varType.isFloatOrVec() && de::inRange(numComponents, 1, 4)); in shadeVertices()
267 DE_ASSERT(varType.isFloatOrVec() && de::inRange(numComponents, 1, 4)); in shadeFragments()
/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 …]
/external/icu/icu4c/source/common/
Dunames.cpp1839 const AlgorithmicRange *inRange; in uchar_swapNames() local
1888 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
1889 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2043 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
2045 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2047 ds->swapArray32(ds, inRange, 8, outRange, pErrorCode); in uchar_swapNames()
2048 ds->swapArray16(ds, &inRange->size, 2, &outRange->size, pErrorCode); in uchar_swapNames()
2049 switch(inRange->type) { in uchar_swapNames()
2052 ds->swapInvChars(ds, inRange+1, (int32_t)uprv_strlen((const char *)(inRange+1)), in uchar_swapNames()
2065 factorsCount=inRange->variant; in uchar_swapNames()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DCharMatcher.java98 public static final CharMatcher ASCII = inRange('\0', '\u007f', "CharMatcher.ASCII");
211 inRange('\u0000', '\u001f')
212 .or(inRange('\u007f', '\u009f'))
520 public static CharMatcher inRange(final char startInclusive, final char endInclusive) {
525 return inRange(startInclusive, endInclusive, description);
528 static CharMatcher inRange(final char startInclusive, final char endInclusive,
/external/guava/guava/src/com/google/common/base/
DCaseFormat.java76 LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
85 UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
DCharMatcher.java100 public static final CharMatcher ASCII = inRange('\0', '\u007f', "CharMatcher.ASCII");
213 inRange('\u0000', '\u001f')
214 .or(inRange('\u007f', '\u009f'))
549 public static CharMatcher inRange(final char startInclusive, final char endInclusive) {
554 return inRange(startInclusive, endInclusive, description);
557 static CharMatcher inRange(final char startInclusive, final char endInclusive,

12345