/external/libxkbcommon/src/ |
D | keysym.c | 241 XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper); 246 xkb_keysym_t lower, upper; in xkb_keysym_is_lower() local 248 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_lower() 250 if (lower == upper) in xkb_keysym_is_lower() 259 xkb_keysym_t lower, upper; in xkb_keysym_is_upper() local 261 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_upper() 263 if (lower == upper) in xkb_keysym_is_upper() 266 return (ks == upper ? true : false); in xkb_keysym_is_upper() 272 xkb_keysym_t lower, upper; in xkb_keysym_to_lower() local 274 XConvertCase(ks, &lower, &upper); in xkb_keysym_to_lower() [all …]
|
/external/rust/crates/regex-syntax/src/hir/ |
D | interval.rs | 126 if self.ranges[a].upper() < other.ranges[b].upper() { in intersect() 163 if other.ranges[b].upper() < self.ranges[a].lower() { in difference() 169 if self.ranges[a].upper() < other.ranges[b].lower() { in difference() 213 if other.ranges[b].upper() > old_range.upper() { in difference() 266 let upper = self.ranges[0].lower().decrement(); in negate() localVariable 267 self.ranges.push(I::create(I::Bound::min_value(), upper)); in negate() 270 let lower = self.ranges[i - 1].upper().increment(); in negate() 271 let upper = self.ranges[i].lower().decrement(); in negate() localVariable 272 self.ranges.push(I::create(lower, upper)); in negate() 274 if self.ranges[drain_end - 1].upper() < I::Bound::max_value() { in negate() [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/guava/android/guava/src/com/google/common/collect/ |
D | SortedLists.java | 64 int upper = list.size() - 1; in resultIndex() local 66 while (lower < upper) { in resultIndex() 67 int middle = (lower + upper + 1) >>> 1; in resultIndex() 70 upper = middle - 1; in resultIndex() 86 int upper = foundIndex; in resultIndex() local 89 while (lower < upper) { in resultIndex() 90 int middle = (lower + upper) >>> 1; in resultIndex() 95 upper = middle; in resultIndex() 263 int upper = list.size() - 1; in binarySearch() local 265 while (lower <= upper) { in binarySearch() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | SortedLists.java | 64 int upper = list.size() - 1; in resultIndex() local 66 while (lower < upper) { in resultIndex() 67 int middle = (lower + upper + 1) >>> 1; in resultIndex() 70 upper = middle - 1; in resultIndex() 86 int upper = foundIndex; in resultIndex() local 89 while (lower < upper) { in resultIndex() 90 int middle = (lower + upper) >>> 1; in resultIndex() 95 upper = middle; in resultIndex() 263 int upper = list.size() - 1; in binarySearch() local 265 while (lower <= upper) { in binarySearch() [all …]
|
/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 | 451 static void PredictorSub0_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorSub0_SSE2() argument 463 (void)upper; in PredictorSub0_SSE2() 468 const uint32_t* const upper, \ 478 VP8LPredictorsSub_C[(X)](in + i, WEBP_OFFSET_PTR(upper, i), \ 484 GENERATE_PREDICTOR_1(2, upper[i]) // Predictor2: T 485 GENERATE_PREDICTOR_1(3, upper[i + 1]) // Predictor3: TR 486 GENERATE_PREDICTOR_1(4, upper[i - 1]) // Predictor4: TL 490 static void PredictorSub5_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorSub5_SSE2() argument 495 const __m128i T = _mm_loadu_si128((const __m128i*)&upper[i]); in PredictorSub5_SSE2() 496 const __m128i TR = _mm_loadu_si128((const __m128i*)&upper[i + 1]); in PredictorSub5_SSE2() [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 | 71 float upper = std::min(255.f, srcComponent + error); in check_gamma() local 74 upper = linear_to_srgb(upper / 255.f); in check_gamma() 77 upper = srgb_to_linear(upper / 255.f); in check_gamma() 80 upper *= alpha; in check_gamma() 82 SkASSERT(upper >= 0.f && upper <= 255.f); in check_gamma() 85 dstComponent > SkScalarCeilToInt(upper)) { in check_gamma() 88 uint8_t expectedComponent = SkScalarRoundToInt((lower + upper) * 0.5f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 51 float upper = std::min(255.f, (float) inputComponent + error); in check_conversion() local 53 upper = CONVERT(upper / 255.f); in check_conversion() 55 SkASSERT(upper >= 0.f && upper <= 255.f); in check_conversion() 58 outputComponent > SkScalarCeilToInt(upper * 255.f)) { in check_conversion() 76 float upper = std::min(255.f, (float) inputComponent + error); in check_double_conversion() local 78 upper = FORWARD(upper / 255.f); in check_double_conversion() 80 SkASSERT(upper >= 0.f && upper <= 255.f); in check_double_conversion() 81 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() 84 upper = std::min(255.f, (float) upperComponent + error); in check_double_conversion() 86 upper = BACKWARD(upperComponent / 255.f); in check_double_conversion() [all …]
|
/external/skqp/tests/ |
D | ApplyGammaTest.cpp | 71 float upper = SkTMin(255.f, srcComponent + error); in check_gamma() local 74 upper = linear_to_srgb(upper / 255.f); in check_gamma() 77 upper = srgb_to_linear(upper / 255.f); in check_gamma() 80 upper *= alpha; in check_gamma() 82 SkASSERT(upper >= 0.f && upper <= 255.f); in check_gamma() 85 dstComponent > SkScalarCeilToInt(upper)) { in check_gamma() 88 uint8_t expectedComponent = SkScalarRoundToInt((lower + upper) * 0.5f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 49 float upper = SkTMin(255.f, (float) inputComponent + error); in check_conversion() local 51 upper = CONVERT(upper / 255.f); in check_conversion() 53 SkASSERT(upper >= 0.f && upper <= 255.f); in check_conversion() 56 outputComponent > SkScalarCeilToInt(upper * 255.f)) { in check_conversion() 74 float upper = SkTMin(255.f, (float) inputComponent + error); in check_double_conversion() local 76 upper = FORWARD(upper / 255.f); in check_double_conversion() 78 SkASSERT(upper >= 0.f && upper <= 255.f); in check_double_conversion() 79 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() 82 upper = SkTMin(255.f, (float) upperComponent + error); in check_double_conversion() 84 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/grpc-grpc/tools/codegen/core/ |
D | gen_stats_data.py | 168 histogram.name.upper()) 172 histogram.name.upper()) 189 … code += 'GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_%s, bucket);\n' % histogram.name.upper( 193 code += 'GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_%s, ' % histogram.name.upper( 242 print >> H, " GRPC_STATS_%s_%s," % (typename.upper(), 243 inst.name.upper()) 244 print >> H, " GRPC_STATS_%s_COUNT" % (typename.upper()) 247 typename.lower(), typename.upper()) 249 typename.lower(), typename.upper()) 261 histogram.name.upper(), first_slot) [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/ |
D | gen_stats_data.py | 168 histogram.name.upper()) 172 histogram.name.upper()) 189 … code += 'GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_%s, bucket);\n' % histogram.name.upper( 193 code += 'GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_%s, ' % histogram.name.upper( 242 print >> H, " GRPC_STATS_%s_%s," % (typename.upper(), 243 inst.name.upper()) 244 print >> H, " GRPC_STATS_%s_COUNT" % (typename.upper()) 247 typename.lower(), typename.upper()) 249 typename.lower(), typename.upper()) 261 histogram.name.upper(), first_slot) [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/llvm-project/flang/lib/Semantics/ |
D | check-case.cpp | 65 cases_.back().upper = std::move(pair.second); in AddCase() 114 if (x.upper) { in ComputeBounds() 115 hi = GetValue(*x.upper); in ComputeBounds() 117 if ((x.lower && !lo) || (x.upper && !hi)) { in ComputeBounds() 128 bool IsDefault() const { return !lower && !upper; } in IsDefault() 135 if (!upper) { in AsFortran() 137 } else if (*lower != *upper) { in AsFortran() 138 evaluate::Constant<T>{*upper}.AsFortran(bs << ':'); in AsFortran() 141 } else if (upper) { in AsFortran() 142 evaluate::Constant<T>{*upper}.AsFortran(bs << "(:") << ')'; in AsFortran() [all …]
|
/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/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/llvm-project/libcxx/test/std/re/re.traits/ |
D | lookup_classname.pass.cpp | 63 LIBCPP_ASSERT((std::ctype_base::upper & std::regex_traits<char>::__regex_word) == 0); in main() 77 | std::ctype_base::upper | std::ctype_base::lower); in main() 79 | std::ctype_base::upper | std::ctype_base::lower); in main() 81 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 83 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 145 test("upper", std::ctype_base::upper); in main() 146 test("UPPER", std::ctype_base::upper); in main() 147 test("upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 148 test("Upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 165 | std::ctype_base::upper | std::ctype_base::lower); in main() [all …]
|
/external/autotest/client/cros/faft/utils/ |
D | kernel_handler.py | 93 dev = self.partition_map[section.upper()]['device'] 104 dev = self.partition_map[section.upper()]['device'] 164 self._modify_kernel(section.upper(), self.DELTA) 168 self._modify_kernel(section.upper(), -self.DELTA) 172 return self.partition_map[section.upper()]['version'] 176 return self.partition_map[section.upper()]['datakey_version'] 181 dev = self.partition_map[section.upper()]['device'] 189 self._modify_kernel(section.upper(), version, KERNEL_VERSION_MOD) 193 self._modify_kernel(section.upper(), self.get_version(section),
|
/external/mesa3d/src/panfrost/lib/ |
D | gen_pack.py | 214 return safe_name(name).upper() 307 self.prefix = safe_name(attrs["prefix"]).upper() 320 … self.default = safe_name('{}_{}_{}'.format(global_prefix, self.type, self.default)).upper() 338 type = 'struct ' + self.parser.gen_prefix(safe_name(self.type.upper())) 600 pack_name = self.parser.gen_prefix(safe_name(field.type)).upper() 638 return '{}_{}'.format(global_prefix.upper(), name) 646 object_name = self.gen_prefix(safe_name(name.upper())) 667 aggregate_name = self.gen_prefix(safe_name(attrs["name"].upper())) 671 type_name = self.gen_prefix(safe_name(attrs["type"].upper())) 700 …pend(" .{} = {{ {}_header }}".format(field.name, self.gen_prefix(safe_name(field.type.upper())))) [all …]
|