Searched refs:inRange (Results 1 - 25 of 79) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/base/
H A 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("äöüßÄÖÜ")),
H A DCharMatcherTest.java23 import static com.google.common.base.CharMatcher.inRange;
105 // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods
123 doTestSetBits(inRange('n', 'q'));
129 doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate()));
151 doTestEmpty(inRange('n', 'q'));
166 doTestNull(inRange('n', 'q'));
215 doTestNoMatches(inRange('p', 'x'), "mom");
217 doTestNoMatches(inRange('A', 'Z').and(inRange('
[all...]
/external/deqp/framework/randomshaders/
H A DrsgPrettyPrinter.cpp137 return de::inRange(c, 'a', 'z') || de::inRange(c, 'A', 'Z') || de::inRange(c, '0', '9') || c == '_';
H A DrsgVariableValue.cpp127 return de::inRange(aMin, bMin, bMax) && de::inRange(aMax, bMin, bMax);
132 return de::inRange(aMin, bMin, bMax) && de::inRange(aMax, bMin, bMax);
H A DrsgBinaryOps.cpp265 DE_ASSERT(de::inRange(aMin*bMin, dstMin-eps, dstMax+eps));
266 DE_ASSERT(de::inRange(aMin*bMax, dstMin-eps, dstMax+eps));
267 DE_ASSERT(de::inRange(aMax*bMin, dstMin-eps, dstMax+eps));
268 DE_ASSERT(de::inRange(aMax*bMax, dstMin-eps, dstMax+eps));
318 DE_ASSERT(de::inRange(aMin+bMin, dstMin-eps, dstMax+eps));
319 DE_ASSERT(de::inRange(aMin+bMax, dstMin-eps, dstMax+eps));
320 DE_ASSERT(de::inRange(aMax+bMin, dstMin-eps, dstMax+eps));
321 DE_ASSERT(de::inRange(aMax+bMax, dstMin-eps, dstMax+eps));
368 DE_ASSERT(de::inRange(aMin-bMin, dstMin-eps, dstMax+eps));
369 DE_ASSERT(de::inRange(aMi
[all...]
/external/deqp/executor/
H A DxeXMLParser.cpp39 return de::inRange<int>(ch, 'a', 'z') || de::inRange<int>(ch, 'A', 'Z');
44 return isIdentifierStartChar(ch) || de::inRange<int>(ch, '0', '9') || (ch == '-') || (ch == '_');
100 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements()));
273 else if (!de::inRange<int>(curChar, '0', '9') &&
274 !de::inRange<int>(curChar, 'a', 'z') &&
275 !de::inRange<int>(curChar, 'A', 'Z'))
H A DxeContainerFormatParser.cpp111 DE_ASSERT(de::inBounds(offset, 0, m_elementLen) && numBytes > 0 && de::inRange(numBytes+offset, 0, m_elementLen));
119 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements()));
/external/deqp/framework/common/
H A DtcuTestCase.hpp78 return de::inRange(c, 'a', 'z') ||
79 de::inRange(c, 'A', 'Z') ||
80 de::inRange(c, '0', '9') ||
/external/deqp/framework/delibs/decpp/
H A DdeRingBuffer.hpp133 DE_ASSERT(de::inRange(count, 0, getNumFree()));
160 DE_ASSERT(de::inRange(count, 0, getNumElements()));
168 DE_ASSERT(de::inRange(count, 0, getNumElements()));
H A DdeDefs.hpp51 template<typename T> inline bool inRange (T x, T a, T b) { return a <= x && x <= b; } function in namespace:de
/external/deqp/framework/opengl/
H A DgluVarTypeUtil.cpp47 static inline bool isNum (char c) { return de::inRange(c, '0', '9'); }
48 static inline bool isAlpha (char c) { return de::inRange(c, 'a', 'z') || de::inRange(c, 'A', 'Z'); }
H A DgluShaderUtil.cpp77 return de::inRange<int>(version, GLSL_VERSION_300_ES, GLSL_VERSION_310_ES) || de::inRange<int>(version, GLSL_VERSION_330, GLSL_VERSION_430);
522 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4));
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DPluralRules.java1183 boolean inRange = true;
1205 inRange = !inRange;
1211 inRange = !inRange;
1219 if (hackForCompatibility && !inRange) {
1230 if (!hackForCompatibility && !inRange) {
1233 inRange = !inRange;
1294 if (lowBound != highBound && hackForCompatibility && !inRange) {
1442 private final boolean inRange; field in class:PluralRules.RangeConstraint
1449 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, double lowBound, double highBound, long[] vals) argument
[all...]
/external/messageformat/java/com/ibm/icu/simple/
H A DPluralRules.java1173 boolean inRange = true;
1195 inRange = !inRange;
1201 inRange = !inRange;
1209 if (hackForCompatibility && !inRange) {
1220 if (!hackForCompatibility && !inRange) {
1223 inRange = !inRange;
1284 if (lowBound != highBound && hackForCompatibility && !inRange) {
1432 private final boolean inRange; field in class:PluralRules.RangeConstraint
1439 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, double lowBound, double highBound, long[] vals) argument
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fFloatStateQueryTests.cpp147 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f));
153 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f));
154 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f));
290 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f));
314 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f));
315 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f));
475 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f));
499 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f));
500 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f));
657 DE_ASSERT(de::inRange(referenc
[all...]
/external/deqp/modules/glshared/
H A DglsRandomShaderProgram.cpp56 DE_ASSERT(de::inRange(numComps, 1, 4));
188 DE_ASSERT(attribType.isFloatOrVec() && de::inRange(numComponents, 1, 4));
229 DE_ASSERT(varType.isFloatOrVec() && de::inRange(numComponents, 1, 4));
267 DE_ASSERT(varType.isFloatOrVec() && de::inRange(numComponents, 1, 4));
H A DglsShaderPerformanceMeasurer.cpp170 TCU_CHECK_INTERNAL(de::inRange(m_viewportWidth, 1, m_renderCtx.getRenderTarget().getWidth()) &&
171 de::inRange(m_viewportHeight, 1, m_renderCtx.getRenderTarget().getHeight()));
350 DE_ASSERT(de::inRange(width, 1, m_renderCtx.getRenderTarget().getWidth()) &&
351 de::inRange(height, 1, m_renderCtx.getRenderTarget().getHeight()));
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DCharMatcherTest.java23 import static com.google.common.base.CharMatcher.inRange;
86 // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods
103 doTestEmpty(inRange('n', 'q'));
146 doTestNoMatches(inRange('p', 'x'), "mom");
148 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a");
174 doTestAllMatches(inRange('m', 'p'), "mom");
247 doTestGeneral(inRange('p', 'x'), 'q', 'z');
592 CharMatcher m3 = inRange('A', 'Z');
638 assertToStringWorks("CharMatcher.inRange('\\u003
[all...]
/external/guava/guava/src/com/google/common/base/
H A DCaseFormat.java76 LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
85 UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
H A DCharMatcher.java100 public static final CharMatcher ASCII = inRange('\0', '\u007f', "CharMatcher.ASCII");
148 * If you only care to match ASCII digits, you can use {@code inRange('0', '9')}.
156 * inRange('0', '9')}.
167 * inRange('a', 'z').or(inRange('A', 'Z'))}.
213 inRange('\u0000', '\u001f')
214 .or(inRange('\u007f', '\u009f'))
545 * CharMatcher.inRange('a', 'z')}.
549 public static CharMatcher inRange(final char startInclusive, final char endInclusive) { method in class:CharMatcher
551 String description = "CharMatcher.inRange('"
557 static CharMatcher inRange(final char startInclusive, final char endInclusive, method in class:CharMatcher
[all...]
/external/icu/icu4c/source/common/
H A Dunames.cpp1839 const AlgorithmicRange *inRange; local
1888 inRange=(const AlgorithmicRange *)(inBytes+offset);
1889 offset+=ds->readUInt16(inRange->size);
2043 inRange=(const AlgorithmicRange *)(inBytes+offset);
2045 offset+=ds->readUInt16(inRange->size);
2047 ds->swapArray32(ds, inRange, 8, outRange, pErrorCode);
2048 ds->swapArray16(ds, &inRange->size, 2, &outRange->size, pErrorCode);
2049 switch(inRange->type) {
2052 ds->swapInvChars(ds, inRange+1, (int32_t)uprv_strlen((const char *)(inRange
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFloatStateQueryTests.cpp149 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f));
155 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f));
156 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f));
323 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f));
347 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f));
348 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f));
529 DE_ASSERT(de::inRange(reference, -1.0f, 1.0f));
553 DE_ASSERT(de::inRange(reference0, -1.0f, 1.0f));
554 DE_ASSERT(de::inRange(reference1, -1.0f, 1.0f));
732 DE_ASSERT(de::inRange(referenc
[all...]
H A Des3fBufferCopyTests.cpp75 DE_ASSERT(de::inBounds(m_copySrcOffset, 0, m_srcSize) && de::inRange(m_copySrcOffset+m_copySize, m_copySrcOffset, m_srcSize));
76 DE_ASSERT(de::inBounds(m_copyDstOffset, 0, m_dstSize) && de::inRange(m_copyDstOffset+m_copySize, m_copyDstOffset, m_dstSize));
/external/deqp/framework/referencerenderer/
H A DrrRasterizer.hpp48 DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2));
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DCharMatcher.java98 public static final CharMatcher ASCII = inRange('\0', '\u007f', "CharMatcher.ASCII");
146 * If you only care to match ASCII digits, you can use {@code inRange('0', '9')}.
154 * inRange('0', '9')}.
165 * inRange('a', 'z').or(inRange('A', 'Z'))}.
211 inRange('\u0000', '\u001f')
212 .or(inRange('\u007f', '\u009f'))
516 * CharMatcher.inRange('a', 'z')}.
520 public static CharMatcher inRange(final char startInclusive, final char endInclusive) { method in class:CharMatcher
522 String description = "CharMatcher.inRange('"
528 static CharMatcher inRange(final char startInclusive, final char endInclusive, method in class:CharMatcher
[all...]

Completed in 478 milliseconds

1234