/external/libxkbcommon/xkbcommon/src/ |
D | keysym.c | 239 XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper); 244 xkb_keysym_t lower, upper; in xkb_keysym_is_lower() local 246 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_lower() 248 if (lower == upper) in xkb_keysym_is_lower() 257 xkb_keysym_t lower, upper; in xkb_keysym_is_upper() local 259 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_upper() 261 if (lower == upper) in xkb_keysym_is_upper() 264 return (ks == upper ? true : false); in xkb_keysym_is_upper() 270 xkb_keysym_t lower, upper; in xkb_keysym_to_lower() local 272 XConvertCase(ks, &lower, &upper); in xkb_keysym_to_lower() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
D | UnivariateRealSolverImpl.java | 230 protected boolean isBracketing(final double lower, final double upper, in isBracketing() argument 234 final double f2 = function.value(upper); in isBracketing() 258 protected void verifyInterval(final double lower, final double upper) { in verifyInterval() argument 259 if (lower >= upper) { in verifyInterval() 262 lower, upper); in verifyInterval() 275 protected void verifySequence(final double lower, final double initial, final double upper) { in verifySequence() argument 276 if (!isSequence(lower, initial, upper)) { in verifySequence() 279 lower, initial, upper); in verifySequence() 293 protected void verifyBracketing(final double lower, final double upper, in verifyBracketing() argument 297 verifyInterval(lower, upper); in verifyBracketing() [all …]
|
/external/skqp/tests/ |
D | SRGBReadWritePixelsTest.cpp | 50 float upper = SkTMin(255.f, (float) inputComponent + error); in check_conversion() local 52 upper = CONVERT(upper / 255.f); in check_conversion() 54 SkASSERT(upper >= 0.f && upper <= 255.f); in check_conversion() 57 outputComponent > SkScalarCeilToInt(upper * 255.f)) { in check_conversion() 75 float upper = SkTMin(255.f, (float) inputComponent + error); in check_double_conversion() local 77 upper = FORWARD(upper / 255.f); in check_double_conversion() 79 SkASSERT(upper >= 0.f && upper <= 255.f); in check_double_conversion() 80 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() 83 upper = SkTMin(255.f, (float) upperComponent + error); in check_double_conversion() 85 upper = BACKWARD(upperComponent / 255.f); in check_double_conversion() [all …]
|
D | ApplyGammaTest.cpp | 57 float upper = SkTMin(255.f, srcComponent + error); in check_gamma() local 60 upper = linear_to_srgb(upper / 255.f); in check_gamma() 63 upper = srgb_to_linear(upper / 255.f); in check_gamma() 66 upper *= alpha; in check_gamma() 68 SkASSERT(upper >= 0.f && upper <= 255.f); in check_gamma() 71 dstComponent > SkScalarCeilToInt(upper)) { in check_gamma() 74 uint8_t expectedComponent = SkScalarRoundToInt((lower + upper) * 0.5f); in check_gamma()
|
/external/webp/src/dsp/ |
D | lossless_neon.c | 207 static void PredictorAdd0_NEON(const uint32_t* in, const uint32_t* upper, in PredictorAdd0_NEON() argument 216 VP8LPredictorsAdd_C[0](in + i, upper + i, num_pixels - i, out + i); in PredictorAdd0_NEON() 220 static void PredictorAdd1_NEON(const uint32_t* in, const uint32_t* upper, in PredictorAdd1_NEON() argument 239 VP8LPredictorsAdd_C[1](in + i, upper + i, num_pixels - i, out + i); in PredictorAdd1_NEON() 246 const uint32_t* upper, int num_pixels, \ 255 VP8LPredictorsAdd_C[(X)](in + i, upper + i, num_pixels - i, out + i); \ 258 GENERATE_PREDICTOR_1(2, upper[i]) 260 GENERATE_PREDICTOR_1(3, upper[i + 1]) 262 GENERATE_PREDICTOR_1(4, upper[i - 1]) 274 static void PredictorAdd5_NEON(const uint32_t* in, const uint32_t* upper, in PredictorAdd5_NEON() argument [all …]
|
D | lossless_enc_sse2.c | 476 static void PredictorSub0_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorSub0_SSE2() argument 486 VP8LPredictorsSub_C[0](in + i, upper + i, num_pixels - i, out + i); in PredictorSub0_SSE2() 491 static void PredictorSub##X##_SSE2(const uint32_t* in, const uint32_t* upper, \ 501 VP8LPredictorsSub_C[(X)](in + i, upper + i, num_pixels - i, out + i); \ 506 GENERATE_PREDICTOR_1(2, upper[i]) // Predictor2: T 507 GENERATE_PREDICTOR_1(3, upper[i + 1]) // Predictor3: TR 508 GENERATE_PREDICTOR_1(4, upper[i - 1]) // Predictor4: TL 512 static void PredictorSub5_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorSub5_SSE2() argument 517 const __m128i T = _mm_loadu_si128((const __m128i*)&upper[i]); in PredictorSub5_SSE2() 518 const __m128i TR = _mm_loadu_si128((const __m128i*)&upper[i + 1]); in PredictorSub5_SSE2() [all …]
|
D | lossless_sse2.c | 184 static void PredictorAdd0_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorAdd0_SSE2() argument 194 VP8LPredictorsAdd_C[0](in + i, upper + i, num_pixels - i, out + i); in PredictorAdd0_SSE2() 199 static void PredictorAdd1_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorAdd1_SSE2() argument 220 VP8LPredictorsAdd_C[1](in + i, upper + i, num_pixels - i, out + i); in PredictorAdd1_SSE2() 227 static void PredictorAdd##X##_SSE2(const uint32_t* in, const uint32_t* upper, \ 237 VP8LPredictorsAdd_C[(X)](in + i, upper + i, num_pixels - i, out + i); \ 242 GENERATE_PREDICTOR_1(2, upper[i]) 244 GENERATE_PREDICTOR_1(3, upper[i + 1]) 246 GENERATE_PREDICTOR_1(4, upper[i - 1]) 256 static void PredictorAdd##X##_SSE2(const uint32_t* in, const uint32_t* upper, \ in GENERATE_PREDICTOR_ADD() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | SortedLists.java | 70 int upper = list.size() - 1; in resultIndex() local 72 while (lower < upper) { in resultIndex() 73 int middle = (lower + upper + 1) >>> 1; in resultIndex() 76 upper = middle - 1; in resultIndex() 94 int upper = foundIndex; in resultIndex() local 97 while (lower < upper) { in resultIndex() 98 int middle = (lower + upper) >>> 1; in resultIndex() 103 upper = middle; in resultIndex() 268 int upper = list.size() - 1; in binarySearch() local 270 while (lower <= upper) { in binarySearch() [all …]
|
D | Range.java | 164 public static <C extends Comparable<?>> Range<C> open(C lower, C upper) { in open() argument 165 return create(Cut.aboveValue(lower), Cut.belowValue(upper)); in open() 176 public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) { in closed() argument 177 return create(Cut.belowValue(lower), Cut.aboveValue(upper)); in closed() 189 C lower, C upper) { in closedOpen() argument 190 return create(Cut.belowValue(lower), Cut.belowValue(upper)); in closedOpen() 202 C lower, C upper) { in openClosed() argument 203 return create(Cut.aboveValue(lower), Cut.aboveValue(upper)); in openClosed() 216 C lower, BoundType lowerType, C upper, BoundType upperType) { in range() argument 224 ? Cut.belowValue(upper) in range() [all …]
|
/external/icu/icu4c/source/samples/case/ |
D | ucase.c | 31 static const UChar upper[] = {0x61, 0x42, 0x49, 0}; /* upper = "aBI" */ in c_main() local 56 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 57 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); in c_main() 63 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer); in c_main() 69 length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 70 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); in c_main()
|
/external/skia/tests/ |
D | ApplyGammaTest.cpp | 72 float upper = SkTMin(255.f, srcComponent + error); in check_gamma() local 75 upper = linear_to_srgb(upper / 255.f); in check_gamma() 78 upper = srgb_to_linear(upper / 255.f); in check_gamma() 81 upper *= alpha; in check_gamma() 83 SkASSERT(upper >= 0.f && upper <= 255.f); in check_gamma() 86 dstComponent > SkScalarCeilToInt(upper)) { in check_gamma() 89 uint8_t expectedComponent = SkScalarRoundToInt((lower + upper) * 0.5f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 50 float upper = SkTMin(255.f, (float) inputComponent + error); in check_conversion() local 52 upper = CONVERT(upper / 255.f); in check_conversion() 54 SkASSERT(upper >= 0.f && upper <= 255.f); in check_conversion() 57 outputComponent > SkScalarCeilToInt(upper * 255.f)) { in check_conversion() 75 float upper = SkTMin(255.f, (float) inputComponent + error); in check_double_conversion() local 77 upper = FORWARD(upper / 255.f); in check_double_conversion() 79 SkASSERT(upper >= 0.f && upper <= 255.f); in check_double_conversion() 80 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() 83 upper = SkTMin(255.f, (float) upperComponent + error); in check_double_conversion() 85 upper = BACKWARD(upperComponent / 255.f); in check_double_conversion() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationWeights.java | 318 WeightRange[] upper = new WeightRange[5]; in getWeightRanges() local 358 upper[length] = new WeightRange(); in getWeightRanges() 359 upper[length].start=setWeightTrail(weight, length, minBytes[length]); in getWeightRanges() 360 upper[length].end=decWeightTrail(weight, length); in getWeightRanges() 361 upper[length].length=length; in getWeightRanges() 362 upper[length].count=trail-minBytes[length]; in getWeightRanges() 375 if(lower[length] != null && upper[length] != null && in getWeightRanges() 376 lower[length].count>0 && upper[length].count>0) { in getWeightRanges() 383 final long upperStart=upper[length].start; in getWeightRanges() 397 lower[length].end=upper[length].end; in getWeightRanges() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationWeights.java | 316 WeightRange[] upper = new WeightRange[5]; in getWeightRanges() local 356 upper[length] = new WeightRange(); in getWeightRanges() 357 upper[length].start=setWeightTrail(weight, length, minBytes[length]); in getWeightRanges() 358 upper[length].end=decWeightTrail(weight, length); in getWeightRanges() 359 upper[length].length=length; in getWeightRanges() 360 upper[length].count=trail-minBytes[length]; in getWeightRanges() 373 if(lower[length] != null && upper[length] != null && in getWeightRanges() 374 lower[length].count>0 && upper[length].count>0) { in getWeightRanges() 381 final long upperStart=upper[length].start; in getWeightRanges() 395 lower[length].end=upper[length].end; in getWeightRanges() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | RandomDataImpl.java | 199 public int nextInt(int lower, int upper) { in nextInt() argument 200 if (lower >= upper) { in nextInt() 202 lower, upper, false); in nextInt() 205 return (int) ((r * upper) + ((1.0 - r) * lower) + r); in nextInt() 219 public long nextLong(long lower, long upper) { in nextLong() argument 220 if (lower >= upper) { in nextLong() 222 lower, upper, false); in nextLong() 225 return (long) ((r * upper) + ((1.0 - r) * lower) + r); in nextLong() 310 public int nextSecureInt(int lower, int upper) { in nextSecureInt() argument 311 if (lower >= upper) { in nextSecureInt() [all …]
|
D | RandomData.java | 62 int nextInt(int lower, int upper); in nextInt() argument 83 long nextLong(long lower, long upper); in nextLong() argument 124 int nextSecureInt(int lower, int upper); in nextSecureInt() argument 148 long nextSecureLong(long lower, long upper); in nextSecureLong() argument 225 double nextUniform(double lower, double upper); in nextUniform() argument
|
/external/icu/icu4c/source/i18n/ |
D | collationweights.cpp | 244 … WeightRange lower[5], middle, upper[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() local 247 uprv_memset(upper, 0, sizeof(upper)); in getWeightRanges() 286 upper[length].start=setWeightTrail(weight, length, minBytes[length]); in getWeightRanges() 287 upper[length].end=decWeightTrail(weight, length); in getWeightRanges() 288 upper[length].length=length; in getWeightRanges() 289 upper[length].count=trail-minBytes[length]; in getWeightRanges() 302 if(lower[length].count>0 && upper[length].count>0) { in getWeightRanges() 309 const uint32_t upperStart=upper[length].start; in getWeightRanges() 323 lower[length].end=upper[length].end; in getWeightRanges() 336 lower[length].end=upper[length].end; in getWeightRanges() [all …]
|
/external/libcxx/test/std/re/re.traits/ |
D | lookup_classname.pass.cpp | 64 LIBCPP_ASSERT((std::ctype_base::upper & std::regex_traits<char>::__regex_word) == 0); in main() 78 | std::ctype_base::upper | std::ctype_base::lower); in main() 80 | std::ctype_base::upper | std::ctype_base::lower); in main() 82 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 84 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 146 test("upper", std::ctype_base::upper); in main() 147 test("UPPER", std::ctype_base::upper); in main() 148 test("upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 149 test("Upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 166 | std::ctype_base::upper | std::ctype_base::lower); in main() [all …]
|
/external/autotest/client/cros/faft/utils/ |
D | kernel_handler.py | 90 dev = self.partition_map[section.upper()]['device'] 101 dev = self.partition_map[section.upper()]['device'] 159 self._modify_kernel(section.upper(), self.DELTA) 163 self._modify_kernel(section.upper(), -self.DELTA) 167 return self.partition_map[section.upper()]['version'] 171 return self.partition_map[section.upper()]['datakey_version'] 176 dev = self.partition_map[section.upper()]['device'] 184 self._modify_kernel(section.upper(), version, KERNEL_VERSION_MOD) 188 self._modify_kernel(section.upper(),
|
/external/dng_sdk/source/ |
D | dng_1d_table.cpp | 44 uint32 upper, in SubDivide() argument 48 uint32 range = upper - lower; in SubDivide() 55 real32 delta = Abs_real32 (fTable [upper] - in SubDivide() 70 uint32 middle = (lower + upper) >> 1; in SubDivide() 79 SubDivide (function, middle, upper, maxDelta); in SubDivide() 89 real64 y1 = fTable [upper]; in SubDivide() 93 for (uint32 j = lower + 1; j < upper; j++) in SubDivide()
|
/external/libxml2/ |
D | encoding.c | 1021 char upper[100]; in xmlGetEncodingAlias() local 1030 upper[i] = toupper(alias[i]); in xmlGetEncodingAlias() 1031 if (upper[i] == 0) break; in xmlGetEncodingAlias() 1033 upper[i] = 0; in xmlGetEncodingAlias() 1039 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) { in xmlGetEncodingAlias() 1059 char upper[100]; in xmlAddEncodingAlias() local 1065 upper[i] = toupper(alias[i]); in xmlAddEncodingAlias() 1066 if (upper[i] == 0) break; in xmlAddEncodingAlias() 1068 upper[i] = 0; in xmlAddEncodingAlias() 1087 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) { in xmlAddEncodingAlias() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/ |
D | is_many.pass.cpp | 43 assert( (m[0] & F::upper)); in main() 57 assert(!(m[1] & F::upper)); in main() 71 assert( (m[2] & F::upper)); in main() 85 assert(!(m[3] & F::upper)); in main() 99 assert(!(m[4] & F::upper)); in main() 113 assert(!(m[5] & F::upper)); in main() 127 assert(!(m[6] & F::upper)); in main() 152 assert(!(m[0] & F::upper)); in main() 166 assert(!(m[1] & F::upper)); in main() 180 assert( (m[2] & F::upper)); in main() [all …]
|
/external/python/cpython3/Objects/ |
D | sliceobject.c | 372 PyObject *upper=NULL, *lower=NULL; in _PySlice_GetLongIndices() local 402 upper = PyNumber_Add(length, lower); in _PySlice_GetLongIndices() 403 if (upper == NULL) in _PySlice_GetLongIndices() 411 upper = length; in _PySlice_GetLongIndices() 412 Py_INCREF(upper); in _PySlice_GetLongIndices() 417 start = step_is_negative ? upper : lower; in _PySlice_GetLongIndices() 443 cmp_result = PyObject_RichCompareBool(start, upper, Py_GT); in _PySlice_GetLongIndices() 447 Py_INCREF(upper); in _PySlice_GetLongIndices() 449 start = upper; in _PySlice_GetLongIndices() 456 stop = step_is_negative ? lower : upper; in _PySlice_GetLongIndices() [all …]
|
/external/v8/src/compiler/ |
D | typed-optimization.cc | 45 Type* upper = NodeProperties::GetType(node); in Reduce() local 46 if (upper->IsInhabited()) { in Reduce() 47 if (upper->IsHeapConstant()) { in Reduce() 49 jsgraph()->Constant(upper->AsHeapConstant()->Value()); in Reduce() 52 } else if (upper->Is(Type::MinusZero())) { in Reduce() 56 } else if (upper->Is(Type::NaN())) { in Reduce() 60 } else if (upper->Is(Type::Null())) { in Reduce() 64 } else if (upper->Is(Type::PlainNumber()) && in Reduce() 65 upper->Min() == upper->Max()) { in Reduce() 66 Node* replacement = jsgraph()->Constant(upper->Min()); in Reduce() [all …]
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | strengthen-overflow.ll | 6 %upper = icmp slt i32 %init, %length 7 br i1 %upper, label %loop, label %exit 32 %upper = icmp sle i32 %init, %length 33 br i1 %upper, label %loop, label %exit 58 %upper = icmp ult i32 %init, %length 59 br i1 %upper, label %loop, label %exit 84 %upper = icmp ule i32 %init, %length 85 br i1 %upper, label %loop, label %exit
|