Home
last modified time | relevance | path

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

/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/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/mesa3d/src/mesa/main/
Dtexenv.c399 GLuint maxUnit; in _mesa_texenvfv_indexed() local
401 maxUnit = (target == GL_POINT_SPRITE_NV && pname == GL_COORD_REPLACE_NV) in _mesa_texenvfv_indexed()
403 if (texunit >= maxUnit) { in _mesa_texenvfv_indexed()
720 GLuint maxUnit; in _mesa_gettexenvfv_indexed() local
723 maxUnit = (target == GL_POINT_SPRITE_NV && pname == GL_COORD_REPLACE_NV) in _mesa_gettexenvfv_indexed()
725 if (texunit >= maxUnit) { in _mesa_gettexenvfv_indexed()
796 GLuint maxUnit; in _mesa_gettexenviv_indexed() local
799 maxUnit = (target == GL_POINT_SPRITE_NV && pname == GL_COORD_REPLACE_NV) in _mesa_gettexenviv_indexed()
801 if (texunit >= maxUnit) { in _mesa_gettexenviv_indexed()
/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.c476 const GLuint maxUnit in interpolate_texcoords() local
481 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()