Home
last modified time | relevance | path

Searched refs:maxUnit (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodBuilderFactory.java41 TimeUnit maxUnit = TimeUnit.YEAR; field in BasicPeriodBuilderFactory.Settings
59 result.maxUnit = TimeUnit.YEAR; in setUnits()
66 result.maxUnit = TimeUnit.units[i]; in setUnits()
73 result.minUnit = result.maxUnit = null; in setUnits()
164 long maxUnitDuration = approximateDurationOf(maxUnit); in createLimited()
166 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited()
186 result.maxUnit = maxUnit; in copy()
199 TimeUnit maxUnit) { in setAvailableUnitRange() argument
201 for (int i = maxUnit.ordinal; i <= minUnit.ordinal; ++i) { in setAvailableUnitRange()
205 throw new IllegalArgumentException("range " + minUnit + " to " + maxUnit + " is empty"); in setAvailableUnitRange()
DPeriodBuilderFactory.java27 TimeUnit maxUnit); in setAvailableUnitRange() argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodBuilderFactory.java40 TimeUnit maxUnit = TimeUnit.YEAR; field in BasicPeriodBuilderFactory.Settings
58 result.maxUnit = TimeUnit.YEAR; in setUnits()
65 result.maxUnit = TimeUnit.units[i]; in setUnits()
72 result.minUnit = result.maxUnit = null; in setUnits()
163 long maxUnitDuration = approximateDurationOf(maxUnit); in createLimited()
165 return Period.moreThan(maxLimit/1000f, maxUnit).inPast(inPast); in createLimited()
185 result.maxUnit = maxUnit; in copy()
198 TimeUnit maxUnit) { in setAvailableUnitRange() argument
200 for (int i = maxUnit.ordinal; i <= minUnit.ordinal; ++i) { in setAvailableUnitRange()
204 throw new IllegalArgumentException("range " + minUnit + " to " + maxUnit + " is empty"); in setAvailableUnitRange()
DPeriodBuilderFactory.java25 TimeUnit maxUnit); in setAvailableUnitRange() argument
/external/mesa3d/src/mesa/main/
Dtexenv.c390 GLuint maxUnit; in _mesa_TexEnvfv() local
393 maxUnit = (target == GL_POINT_SPRITE_NV && pname == GL_COORD_REPLACE_NV) in _mesa_TexEnvfv()
395 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_TexEnvfv()
634 GLuint maxUnit; in _mesa_GetTexEnvfv() local
638 maxUnit = (target == GL_POINT_SPRITE_NV && pname == GL_COORD_REPLACE_NV) in _mesa_GetTexEnvfv()
640 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_GetTexEnvfv()
700 GLuint maxUnit; in _mesa_GetTexEnviv() local
704 maxUnit = (target == GL_POINT_SPRITE_NV && pname == GL_COORD_REPLACE_NV) in _mesa_GetTexEnviv()
706 if (ctx->Texture.CurrentUnit >= maxUnit) { in _mesa_GetTexEnviv()
/external/icu/icu4c/source/common/
Dstringtriebuilder.cpp101 int32_t maxUnit=getElementUnit(limit-1, unitIndex); in writeNode() local
102 if(minUnit==maxUnit) { in writeNode()
225 int32_t maxUnit=getElementUnit(limit-1, unitIndex); in makeNode() local
226 if(minUnit==maxUnit) { in makeNode()
/external/mesa3d/src/mesa/swrast/
Ds_span.c473 const GLuint maxUnit in interpolate_texcoords() local
478 for (u = 0; u < maxUnit; u++) { in interpolate_texcoords()
Ds_texfilter.c1839 const GLuint maxUnit in texture_unit_index() local
1844 for (u = 0; u < maxUnit; u++) { in texture_unit_index()
1848 if (u >= maxUnit) in texture_unit_index()