/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 313 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() argument 320 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 321 } else if (value > upper) { in checkArgumentInRange() 324 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 342 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument 347 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() 348 } else if (value > upper) { in checkArgumentInRange() 351 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange() 369 public static long checkArgumentInRange(long value, long lower, long upper, in checkArgumentInRange() argument 374 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | Preconditions.java | 349 public static float checkArgumentInRange(float value, float lower, float upper, in checkArgumentInRange() argument 356 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper)); in checkArgumentInRange() 357 } else if (value > upper) { in checkArgumentInRange() 360 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper)); in checkArgumentInRange() 379 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument 384 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() 385 } else if (value > upper) { in checkArgumentInRange() 388 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange() 406 public static long checkArgumentInRange(long value, long lower, long upper, in checkArgumentInRange() argument 411 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 54 public Range(final T lower, final T upper) { in Range() argument 56 mUpper = checkNotNull(upper, "upper must not be null"); in Range() 58 if (lower.compareTo(upper) > 0) { in Range() 77 public static <T extends Comparable<? super T>> Range<T> create(final T lower, final T upper) { in create() argument 78 return new Range<T>(lower, upper); in create() 236 public Range<T> intersect(T lower, T upper) { in intersect() argument 238 checkNotNull(upper, "upper must not be null"); in intersect() 241 int cmpUpper = upper.compareTo(mUpper); in intersect() 249 cmpUpper >= 0 ? mUpper : upper); in intersect() 304 public Range<T> extend(T lower, T upper) { in extend() argument [all …]
|
/frameworks/native/cmds/installd/ |
D | matchgen.py | 80 upper = k.upper() 81 if k != upper: 82 print "%scase '%s': case '%s':" % (prefix, k, upper)
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 249 int upper; field in EpicenterTranslateClipReveal.State 254 public State(int lower, int upper, float trans) { in State() argument 256 this.upper = upper; in State() 266 mTemp.upper = startValue.upper + (int) ((endValue.upper - startValue.upper) * fraction); in evaluate() 298 tempState.upper = tempRect.right + (int) tempState.trans; in get() 302 tempState.upper = tempRect.bottom + (int) tempState.trans; in get() 313 tempRect.right = value.upper - (int) value.trans; in set() 316 tempRect.bottom = value.upper - (int) value.trans; in set()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomVariable.h | 42 RandomVariableRange(int lower, int upper) : mChoices(upper - lower + 1) { in RandomVariableRange() argument 60 void setRange(int lower, int upper); 112 RandomVariableBase(int lower, int upper); 145 RandomVariable(int lower, int upper); 179 void setRange(int lower, int upper);
|
D | RandomGraphGeneratorUtils.h | 427 inline std::enable_if_t<NN_IS_FLOAT(T), T> getUniform(T lower, T upper) { in getUniform() argument 429 std::uniform_real_distribution<float> dis(nextLower, upper); in getUniform() 436 inline std::enable_if_t<std::is_integral_v<T>, T> getUniform(T lower, T upper) { in getUniform() argument 437 std::uniform_int_distribution<T> dis(lower, upper); in getUniform()
|
D | RandomVariable.cpp | 42 RandomVariableBase::RandomVariableBase(int lower, int upper) in RandomVariableBase() argument 45 range(lower, upper), in RandomVariableBase() 64 void RandomVariableRange::setRange(int lower, int upper) { in setRange() argument 68 auto tail = upper == kInvalidValue ? mChoices.end() in setRange() 69 : std::upper_bound(mChoices.begin(), mChoices.end(), upper); in setRange() 116 RandomVariable::RandomVariable(int lower, int upper) : mVar(new RandomVariableBase(lower, upper)) { in RandomVariable() argument 147 void RandomVariable::setRange(int lower, int upper) { in setRange() argument 149 NN_FUZZER_LOG << "Set range [" << lower << ", " << upper << "] on var" << mVar->index; in setRange() 151 mVar->range.setRange(lower, upper); in setRange() 175 static inline void fillRange(std::set<int>* range, int lower, int upper) { in fillRange() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 251 int upper = (i + 10) * 100; in prepareForTest() local 252 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 322 int upper = (i + 10) * 100; in prepareForTest() local 323 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 474 int upper = (i + 10) * 100; in prepareForTest() local 477 + " AND t2.b < " + upper + ")"; in prepareForTest() 741 int upper = (i + 10) * 100; in prepareForTest() local 742 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() 774 int upper = (i + 10) * 100; in prepareForTest() local 775 mWhere[i] = "b >= " + lower + " AND b < " + upper; in prepareForTest() [all …]
|
/frameworks/base/core/java/android/text/ |
D | InputFilter.java | 95 final CharSequence upper = TextUtils.toUpperCase(mLocale, wrapper, copySpans); in filter() local 96 if (upper == wrapper) { in filter() 103 return copySpans ? new SpannableString(upper) : upper.toString(); in filter()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 182 Range(uint32_t lower, uint32_t upper) : _l(lower), _u(upper) {} in Range() argument 184 uint32_t upper(void) { return _u; } in upper() function in Range 217 Rational& lower, Rational& upper); 1121 Rational lower, upper, selected; in scHScale() local 1132 lower, upper); in scHScale() 1133 if (((lower == best) && (upper == minBad))) { in scHScale() 1138 selected = (lower != best) ? lower : upper; in scHScale() 1220 Rational lower, upper, selected; in scVScale() local 1231 lower, upper); in scVScale() 1232 if (((lower == best) && (upper == minBad))) { in scVScale() [all …]
|
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/proto/ |
D | tuningfork_clearcut_log.proto | 12 // The upper order 16 bits represent the major version and 52 // Tuning fork version (upper 16 bits: major, lower 16 bits minor)
|
/frameworks/opt/gamesdk/src/tuningfork/proto/ |
D | tuningfork_clearcut_log.proto | 12 // The upper order 16 bits represent the major version and 52 // Tuning fork version (upper 16 bits: major, lower 16 bits minor)
|
/frameworks/opt/gamesdk/samples/tuningfork/prototest/proto/ |
D | tuningfork_clearcut_log.proto | 12 // The upper order 16 bits represent the major version and 52 // Tuning fork version (upper 16 bits: major, lower 16 bits minor)
|
/frameworks/opt/gamesdk/test/tuningfork/proto/ |
D | tuningfork_clearcut_log.proto | 12 // The upper order 16 bits represent the major version and 52 // Tuning fork version (upper 16 bits: major, lower 16 bits minor)
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRange.java | 84 T upper = mNestedTypeMarshaler.unmarshal(buffer); in unmarshal() local 87 return mConstructor.newInstance(lower, upper); in unmarshal()
|
/frameworks/base/media/mca/ |
D | structgen.py | 89 upper = [c.title() for c in lower] 90 return "".join(lower[:start_upper_at] + upper[start_upper_at:]) 96 return "%s_%s" % (pname.replace(".", "_").upper(), cname.upper())
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberRange.java | 168 int upper = Integer.parseInt(mUpperBound); in matches() local 170 return numberToCheck <= upper && numberToCheck >= lower; in matches()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 1180 int upper = mVisibleWindowUpperBound; in getVisibleWindow() local 1182 if ((lower == 0 && upper == 0) || lower < 0 || upper < 0) { in getVisibleWindow() 1187 if (lower <= upper) { in getVisibleWindow() 1188 window = new int[upper + 1 - lower]; in getVisibleWindow() 1189 for (int i = lower, j = 0; i <= upper; i++, j++){ in getVisibleWindow() 1196 window = new int[count - lower + upper + 1]; in getVisibleWindow() 1199 for (int i = 0; i <= upper; i++, j++) { in getVisibleWindow()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | ColorCutQuantizer.java | 424 final int lower, final int upper) { in modifySignificantOctet() argument 431 for (int i = lower; i <= upper; i++) { in modifySignificantOctet() 440 for (int i = lower; i <= upper; i++) { in modifySignificantOctet()
|
/frameworks/base/tools/localedata/ |
D | extract_icu_data.py | 224 % script.upper()) 242 script.upper())
|
/frameworks/base/obex/javax/obex/ |
D | ObexHelper.java | 956 int upper = b[2 * i]; in convertToUnicode() local 958 if (upper < 0) { in convertToUnicode() 959 upper += 256; in convertToUnicode() 966 if (upper == 0 && lower == 0) { in convertToUnicode() 970 c[i] = (char)((upper << 8) | lower); in convertToUnicode()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBUtilitiesTests.m | 70 // Underscore, upper + 9 (10 op) 72 // Upper + 3 (10 op), underscore, upper + 5 (10 op) 74 // All Upper for 4 (11 op), underscore, underscore, upper + 5 (10 op),
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/DevTools/ |
D | pddm.py | 336 return val[0].upper() + val[1:] 340 return val.upper()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/cmake/ |
D | protobuf-module.cmake.in | 213 # Define upper case versions of output variables
|