/external/libxkbcommon/src/ |
D | keysym.c | 251 XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper); 256 xkb_keysym_t lower, upper; in xkb_keysym_is_lower() local 258 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_lower() 260 if (lower == upper) in xkb_keysym_is_lower() 269 xkb_keysym_t lower, upper; in xkb_keysym_is_upper() local 271 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_upper() 273 if (lower == upper) in xkb_keysym_is_upper() 276 return (ks == upper ? true : false); in xkb_keysym_is_upper() 282 xkb_keysym_t lower, upper; in xkb_keysym_to_lower() local 284 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/webp/src/dsp/ |
D | lossless_neon.c | 211 static void PredictorAdd0_NEON(const uint32_t* in, const uint32_t* upper, in PredictorAdd0_NEON() argument 220 VP8LPredictorsAdd_C[0](in + i, upper + i, num_pixels - i, out + i); in PredictorAdd0_NEON() 224 static void PredictorAdd1_NEON(const uint32_t* in, const uint32_t* upper, in PredictorAdd1_NEON() argument 243 VP8LPredictorsAdd_C[1](in + i, upper + i, num_pixels - i, out + i); in PredictorAdd1_NEON() 250 const uint32_t* upper, int num_pixels, \ 259 VP8LPredictorsAdd_C[(X)](in + i, upper + i, num_pixels - i, out + i); \ 262 GENERATE_PREDICTOR_1(2, upper[i]) 264 GENERATE_PREDICTOR_1(3, upper[i + 1]) 266 GENERATE_PREDICTOR_1(4, upper[i - 1]) 278 static void PredictorAdd5_NEON(const uint32_t* in, const uint32_t* upper, in PredictorAdd5_NEON() argument [all …]
|
D | lossless_enc_sse2.c | 427 static void PredictorSub0_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorSub0_SSE2() argument 439 (void)upper; in PredictorSub0_SSE2() 444 const uint32_t* const upper, \ 454 VP8LPredictorsSub_C[(X)](in + i, WEBP_OFFSET_PTR(upper, i), \ 460 GENERATE_PREDICTOR_1(2, upper[i]) // Predictor2: T 461 GENERATE_PREDICTOR_1(3, upper[i + 1]) // Predictor3: TR 462 GENERATE_PREDICTOR_1(4, upper[i - 1]) // Predictor4: TL 466 static void PredictorSub5_SSE2(const uint32_t* in, const uint32_t* upper, in PredictorSub5_SSE2() argument 471 const __m128i T = _mm_loadu_si128((const __m128i*)&upper[i]); in PredictorSub5_SSE2() 472 const __m128i TR = _mm_loadu_si128((const __m128i*)&upper[i + 1]); in PredictorSub5_SSE2() [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | SortedLists.java | 73 int upper = list.size() - 1; in resultIndex() local 75 while (lower < upper) { in resultIndex() 76 int middle = (lower + upper + 1) >>> 1; in resultIndex() 79 upper = middle - 1; in resultIndex() 98 int upper = foundIndex; in resultIndex() local 101 while (lower < upper) { in resultIndex() 102 int middle = (lower + upper) >>> 1; in resultIndex() 107 upper = middle; in resultIndex() 286 int upper = list.size() - 1; in binarySearch() local 288 while (lower <= upper) { in binarySearch() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | SortedLists.java | 73 int upper = list.size() - 1; in resultIndex() local 75 while (lower < upper) { in resultIndex() 76 int middle = (lower + upper + 1) >>> 1; in resultIndex() 79 upper = middle - 1; in resultIndex() 98 int upper = foundIndex; in resultIndex() local 101 while (lower < upper) { in resultIndex() 102 int middle = (lower + upper) >>> 1; in resultIndex() 107 upper = middle; in resultIndex() 286 int upper = list.size() - 1; in binarySearch() local 288 while (lower <= upper) { in binarySearch() [all …]
|
/external/cronet/third_party/icu/source/samples/case/ |
D | ucase.c | 34 static const UChar upper[] = {0x61, 0x42, 0x49, 0}; /* upper = "aBI" */ in c_main() local 59 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 60 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); in c_main() 66 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer); in c_main() 72 length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 73 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); in c_main()
|
/external/icu/icu4c/source/samples/case/ |
D | ucase.c | 34 static const UChar upper[] = {0x61, 0x42, 0x49, 0}; /* upper = "aBI" */ in c_main() local 59 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 60 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); in c_main() 66 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer); in c_main() 72 length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 73 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); in c_main()
|
/external/cronet/buildtools/third_party/libc++/trunk/utils/ |
D | generate_escaped_output_table.py | 27 upper: int = -1 variable in PropertyRange 60 result.upper = result.lower 62 result.upper = int(upper_str, base=16) 84 and x.lower <= result[-1].upper + 1 86 result[-1].upper = max(result[-1].upper, x.upper) 250 high = range.upper 253 e = Entry(range.lower, range.upper - range.lower) 329 assert data[-1].upper == 0x10FFFF 330 assert data[-1].upper - data[-1].lower > 900000
|
/external/skia/tests/ |
D | ApplyGammaTest.cpp | 80 float upper = std::min(255.f, srcComponent + error); in check_gamma() local 83 upper = linear_to_srgb(upper / 255.f); in check_gamma() 86 upper = srgb_to_linear(upper / 255.f); in check_gamma() 89 upper *= alpha; in check_gamma() 91 SkASSERT(upper >= 0.f && upper <= 255.f); in check_gamma() 94 dstComponent > SkScalarCeilToInt(upper)) { in check_gamma() 97 uint8_t expectedComponent = SkScalarRoundToInt((lower + upper) * 0.5f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 74 float upper = std::min(255.f, (float) inputComponent + error); in check_conversion() local 76 upper = CONVERT(upper / 255.f); in check_conversion() 78 SkASSERT(upper >= 0.f && upper <= 255.f); in check_conversion() 81 outputComponent > SkScalarCeilToInt(upper * 255.f)) { in check_conversion() 99 float upper = std::min(255.f, (float) inputComponent + error); in check_double_conversion() local 101 upper = FORWARD(upper / 255.f); in check_double_conversion() 103 SkASSERT(upper >= 0.f && upper <= 255.f); in check_double_conversion() 104 uint8_t upperComponent = SkScalarCeilToInt(upper * 255.f); in check_double_conversion() 107 upper = std::min(255.f, (float) upperComponent + error); in check_double_conversion() 109 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 | 172 histogram.name.upper()) 176 histogram.name.upper()) 193 … code += 'GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_%s, bucket);\n' % histogram.name.upper( 197 code += 'GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_%s, ' % histogram.name.upper( 247 print >> H, " GRPC_STATS_%s_%s," % (typename.upper(), 248 inst.name.upper()) 249 print >> H, " GRPC_STATS_%s_COUNT" % (typename.upper()) 252 typename.lower(), typename.upper()) 254 typename.lower(), typename.upper()) 266 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/cronet/third_party/icu/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/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/fonttools/Lib/fontTools/varLib/ |
D | models.py | 56 lower, default, upper = triple 57 if not (lower <= default <= upper): 62 v = max(min(v, upper), lower) 68 v = (v - default) / (upper - default) 146 for axis, (lower, peak, upper) in support.items(): 151 if lower > peak or peak > upper: 153 if lower < 0.0 and upper > 0.0: 164 if peak <= -1 and peak < upper: 165 scalar *= (v - upper) / (peak - upper) 170 elif +1 < v and +1 <= upper: [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/cronet/buildtools/third_party/libc++/trunk/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() 166 | std::ctype_base::upper | std::ctype_base::lower); in main() [all …]
|
/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 …]
|
/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()
|