Home
last modified time | relevance | path

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

12345

/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DColumn.java18 import static com.google.common.base.CharMatcher.inRange;
39 inRange('a', 'z').or(inRange('A', 'Z')).or(inRange('0', '9'));
41 inRange('a', 'z').or(inRange('0', '9'));
/third_party/vk-gl-cts/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.cpp172 TCU_CHECK_INTERNAL(de::inRange(m_viewportWidth, 1, m_renderCtx.getRenderTarget().getWidth()) && in init()
173 de::inRange(m_viewportHeight, 1, m_renderCtx.getRenderTarget().getHeight())); in init()
352 DE_ASSERT(de::inRange(width, 1, m_renderCtx.getRenderTarget().getWidth()) && in setViewportSize()
353 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()
/third_party/vk-gl-cts/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DPluralRules.java1355 boolean inRange = true; in parseConstraint()
1377 inRange = !inRange; in parseConstraint()
1383 inRange = !inRange; in parseConstraint()
1391 if (hackForCompatibility && !inRange) { in parseConstraint()
1402 if (!hackForCompatibility && !inRange) { in parseConstraint()
1405 inRange = !inRange; in parseConstraint()
1466 if (lowBound != highBound && hackForCompatibility && !inRange) { in parseConstraint()
1471 … new RangeConstraint(mod, inRange, operand, integersOnly, lowBound, highBound, vals); in parseConstraint()
1614 private final boolean inRange; field in PluralRules.RangeConstraint
1621 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, in RangeConstraint() argument
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java1421 boolean inRange = true; in parseConstraint()
1443 inRange = !inRange; in parseConstraint()
1449 inRange = !inRange; in parseConstraint()
1457 if (hackForCompatibility && !inRange) { in parseConstraint()
1468 if (!hackForCompatibility && !inRange) { in parseConstraint()
1471 inRange = !inRange; in parseConstraint()
1532 if (lowBound != highBound && hackForCompatibility && !inRange) { in parseConstraint()
1537 … new RangeConstraint(mod, inRange, operand, integersOnly, lowBound, highBound, vals); in parseConstraint()
1680 private final boolean inRange; field in PluralRules.RangeConstraint
1687 RangeConstraint(int mod, boolean inRange, Operand operand, boolean integersOnly, in RangeConstraint() argument
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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 …]
/third_party/typescript/src/testRunner/unittests/
Dsemver.ts123 function assertRange(rangeText: string, versionText: string, inRange = true) {
126 …assert.strictEqual(range.test(version), inRange, `Expected version '${version}' ${inRange ? `to be…
/third_party/vk-gl-cts/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 …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunames.cpp1841 const AlgorithmicRange *inRange; in uchar_swapNames() local
1890 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
1891 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2045 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
2047 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2049 ds->swapArray32(ds, inRange, 8, outRange, pErrorCode); in uchar_swapNames()
2050 ds->swapArray16(ds, &inRange->size, 2, &outRange->size, pErrorCode); in uchar_swapNames()
2051 switch(inRange->type) { in uchar_swapNames()
2054 ds->swapInvChars(ds, inRange+1, (int32_t)uprv_strlen((const char *)(inRange+1)), in uchar_swapNames()
2067 factorsCount=inRange->variant; in uchar_swapNames()
[all …]
/third_party/node/deps/icu-small/source/common/
Dunames.cpp1848 const AlgorithmicRange *inRange; in uchar_swapNames() local
1897 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
1898 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2052 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
2054 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2056 ds->swapArray32(ds, inRange, 8, outRange, pErrorCode); in uchar_swapNames()
2057 ds->swapArray16(ds, &inRange->size, 2, &outRange->size, pErrorCode); in uchar_swapNames()
2058 switch(inRange->type) { in uchar_swapNames()
2061 ds->swapInvChars(ds, inRange+1, (int32_t)uprv_strlen((const char *)(inRange+1)), in uchar_swapNames()
2074 factorsCount=inRange->variant; in uchar_swapNames()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dunames.cpp1848 const AlgorithmicRange *inRange; in uchar_swapNames() local
1897 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
1898 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2052 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
2054 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2056 ds->swapArray32(ds, inRange, 8, outRange, pErrorCode); in uchar_swapNames()
2057 ds->swapArray16(ds, &inRange->size, 2, &outRange->size, pErrorCode); in uchar_swapNames()
2058 switch(inRange->type) { in uchar_swapNames()
2061 ds->swapInvChars(ds, inRange+1, (int32_t)uprv_strlen((const char *)(inRange+1)), in uchar_swapNames()
2074 factorsCount=inRange->variant; in uchar_swapNames()
[all …]
/third_party/icu/icu4c/source/common/
Dunames.cpp1848 const AlgorithmicRange *inRange; in uchar_swapNames() local
1897 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
1898 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2052 inRange=(const AlgorithmicRange *)(inBytes+offset); in uchar_swapNames()
2054 offset+=ds->readUInt16(inRange->size); in uchar_swapNames()
2056 ds->swapArray32(ds, inRange, 8, outRange, pErrorCode); in uchar_swapNames()
2057 ds->swapArray16(ds, &inRange->size, 2, &outRange->size, pErrorCode); in uchar_swapNames()
2058 switch(inRange->type) { in uchar_swapNames()
2061 ds->swapInvChars(ds, inRange+1, (int32_t)uprv_strlen((const char *)(inRange+1)), in uchar_swapNames()
2074 factorsCount=inRange->variant; in uchar_swapNames()
[all …]
/third_party/skia/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp177 bool inRange = in SkPDFAppendCmapSections() local
183 if (!inSubset || !inRange) { in SkPDFAppendCmapSections()
/third_party/flutter/skia/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp177 bool inRange = in SkPDFAppendCmapSections() local
183 if (!inSubset || !inRange) { in SkPDFAppendCmapSections()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
DConvertIcuDataTask.java5 import static com.google.common.base.CharMatcher.inRange;
60 private static final CharMatcher DIGIT_OR_UNDERSCORE = inRange('0', '9').or(is('_'));
61 private static final CharMatcher UPPER_UNDERSCORE = inRange('A', 'Z').or(DIGIT_OR_UNDERSCORE);
62 private static final CharMatcher LOWER_UNDERSCORE = inRange('a', 'z').or(DIGIT_OR_UNDERSCORE);
/third_party/vk-gl-cts/executor/
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()

12345