/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/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 | 167 public static <C extends Comparable<?>> Range<C> open(C lower, C upper) { in open() argument 168 return create(Cut.aboveValue(lower), Cut.belowValue(upper)); in open() 179 public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) { in closed() argument 180 return create(Cut.belowValue(lower), Cut.aboveValue(upper)); in closed() 192 C lower, C upper) { in closedOpen() argument 193 return create(Cut.belowValue(lower), Cut.belowValue(upper)); in closedOpen() 205 C lower, C upper) { in openClosed() argument 206 return create(Cut.aboveValue(lower), Cut.aboveValue(upper)); in openClosed() 219 C lower, BoundType lowerType, C upper, BoundType upperType) { in range() argument 227 ? Cut.belowValue(upper) in range() [all …]
|
/external/bison/lib/ |
D | c-strcaseeq.h | 34 # define CASEEQ(other,upper) \ argument 35 (c_isupper (upper) ? ((other) & ~0x20) == (upper) : (other) == (upper)) 37 # define CASEEQ(other,upper) \ argument 38 (c_isupper (upper) ? (other) == (upper) || (other) == (upper) - 'A' + 'a' : (other) == (upper)) 40 # define CASEEQ(other,upper) \ argument 41 (c_toupper (other) == (upper))
|
/external/icu/icu4c/source/samples/case/ |
D | ucase.c | 25 static const UChar upper[] = {0x61, 0x42, 0x49, 0}; /* upper = "aBI" */ in c_main() local 50 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 51 sizeof(upper)/sizeof(upper[0]), "tr", &errorCode); in c_main() 57 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer); in c_main() 63 length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, in c_main() 64 sizeof(upper)/sizeof(upper[0]), "en", &errorCode); in c_main()
|
/external/v8/src/compiler/ |
D | typer.cc | 102 DCHECK(result.upper->Maybe(Type::Internal())); in ContextType() 105 return result.upper; in ContextType() 133 if (OperandType(node, i).upper->Is(Type::None())) { in Post() 181 DCHECK(previous.upper->Is(bounds.upper)); in Pre() 356 Type* upper = Type::Union(left.upper, right.upper, zone()); in JS_COMPARE_BINOP_LIST() local 357 if (!upper->Is(Type::Signed32())) upper = Type::Signed32(zone()); in JS_COMPARE_BINOP_LIST() 358 Type* lower = Type::Intersect(Type::SignedSmall(zone()), upper, zone()); in JS_COMPARE_BINOP_LIST() 359 return Bounds(lower, upper); in JS_COMPARE_BINOP_LIST() 366 Type* upper = Type::Union(left.upper, right.upper, zone()); in TypeJSBitwiseAnd() local 367 if (!upper->Is(Type::Signed32())) upper = Type::Signed32(zone()); in TypeJSBitwiseAnd() [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/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationWeights.java | 314 WeightRange[] upper = new WeightRange[5]; in getWeightRanges() local 354 upper[length] = new WeightRange(); in getWeightRanges() 355 upper[length].start=setWeightTrail(weight, length, minBytes[length]); in getWeightRanges() 356 upper[length].end=decWeightTrail(weight, length); in getWeightRanges() 357 upper[length].length=length; in getWeightRanges() 358 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() 375 long start=upper[length].start; in getWeightRanges() 381 end=lower[length].end=upper[length].end; in getWeightRanges() [all …]
|
/external/libcxx/test/std/re/re.traits/ |
D | lookup_classname.pass.cpp | 42 | std::ctype_base::upper | std::ctype_base::lower); in main() 44 | std::ctype_base::upper | std::ctype_base::lower); in main() 46 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 48 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 110 test("upper", std::ctype_base::upper); in main() 111 test("UPPER", std::ctype_base::upper); in main() 112 test("upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 113 test("Upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 130 | std::ctype_base::upper | std::ctype_base::lower); in main() 132 | std::ctype_base::upper | std::ctype_base::lower); in main() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationweights.cpp | 242 … WeightRange lower[5], middle, upper[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() local 245 uprv_memset(upper, 0, sizeof(upper)); in getWeightRanges() 284 upper[length].start=setWeightTrail(weight, length, minBytes[length]); in getWeightRanges() 285 upper[length].end=decWeightTrail(weight, length); in getWeightRanges() 286 upper[length].length=length; in getWeightRanges() 287 upper[length].count=trail-minBytes[length]; in getWeightRanges() 302 if(lower[length].count>0 && upper[length].count>0) { in getWeightRanges() 303 uint32_t start=upper[length].start; in getWeightRanges() 309 end=lower[length].end=upper[length].end; in getWeightRanges() 317 upper[length].count=0; in getWeightRanges() [all …]
|
/external/v8/test/cctest/compiler/ |
D | test-js-constant-cache.cc | 42 Type* upper(Node* node) { return NodeProperties::GetBounds(node).upper; } in upper() function in JSConstantCacheTester 66 Type* t = T.upper(zero); in TEST() 87 Type* t = T.upper(minus_zero); in TEST() 120 Type* t = T.upper(zero); in TEST() 145 Type* t = T.upper(one); in TEST() 170 Type* t = T.upper(one); in TEST() 230 CHECK(T.upper(node)->Equals(Type::Of(value, T.main_zone()))); in TEST() 277 CHECK(T.upper(T.UndefinedConstant())->Is(Type::Undefined())); in TEST() 280 CHECK(T.upper(T.TrueConstant())->Is(Type::Boolean())); in TEST() 281 CHECK(T.upper(T.FalseConstant())->Is(Type::Boolean())); in TEST() [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 …]
|
D | is_1.pass.cpp | 41 assert(f.is(F::upper, L'A')); in main() 42 assert(!f.is(F::upper, L'a')); in main() 66 assert(f.is(F::upper, L'\x00DA')); in main() 84 assert(f.is(F::upper, L'A')); in main() 85 assert(!f.is(F::upper, L'a')); in main() 109 assert(!f.is(F::upper, L'\x00DA')); in main()
|
/external/google-breakpad/src/processor/ |
D | binarystream.cc | 80 uint32_t lower, upper; in operator >>() local 81 *this >> lower >> upper; in operator >>() 83 u64 = static_cast<uint64_t>(lower) | (static_cast<uint64_t>(upper) << 32); in operator >>() 119 uint32_t upper = static_cast<uint32_t>(u64 >> 32); in operator <<() local 120 *this << lower << upper; in operator <<()
|
/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
|
/external/libxml2/ |
D | encoding.c | 1012 char upper[100]; in xmlGetEncodingAlias() local 1021 upper[i] = toupper(alias[i]); in xmlGetEncodingAlias() 1022 if (upper[i] == 0) break; in xmlGetEncodingAlias() 1024 upper[i] = 0; in xmlGetEncodingAlias() 1030 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) { in xmlGetEncodingAlias() 1050 char upper[100]; in xmlAddEncodingAlias() local 1056 upper[i] = toupper(alias[i]); in xmlAddEncodingAlias() 1057 if (upper[i] == 0) break; in xmlAddEncodingAlias() 1059 upper[i] = 0; in xmlAddEncodingAlias() 1078 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) { in xmlAddEncodingAlias() [all …]
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
D | fileapp.py | 98 method = environ['REQUEST_METHOD'].upper() 146 (lower, upper) = (0, self.content_length - 1) 149 (lower, upper) = range[1][0] 150 upper = upper or (self.content_length - 1) 151 if upper >= self.content_length or lower > upper: 158 content_length = upper - lower + 1 159 CONTENT_RANGE.update(headers, first_byte=lower, last_byte=upper, 167 return [self.content[lower:upper+1]] 206 is_head = environ['REQUEST_METHOD'].upper() == 'HEAD'
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
D | SkylineMatrix.h | 115 return &m_data.upper(0); 119 return &m_data.upper(0); 161 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner))); 173 return m_data.upper(m_colStartIndex[inner] + outer - inner); 179 return this->m_data.upper(m_colStartIndex[inner] + (outer - inner)); 210 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner))); 223 return this->m_data.upper(m_colStartIndex[inner] + (outer - inner)); 275 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner))); 281 return this->m_data.upper(m_colStartIndex[inner] + (outer - inner)); 340 … return this->m_data.upper(m_colStartIndex[inner] + outer - (inner - m_data.upperProfile(inner))); [all …]
|
D | SkylineStorage.h | 144 inline Scalar& upper(Index i) { in upper() function 148 inline const Scalar& upper(Index i) const { in upper() function 176 …static SkylineStorage Map(Index* upperProfile, Index* lowerProfile, Scalar* diag, Scalar* upper, S… in Map() argument 181 res.m_upper = upper; in Map() 206 Scalar* upper = new Scalar[upperSize]; in reallocate() local 219 memcpy(upper, m_upper, copyUpperSize * sizeof (Scalar)); in reallocate() 233 m_upper = upper; in reallocate()
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/ |
D | is_many.pass.cpp | 38 assert(!(m[0] & F::upper)); in main() 52 assert( (m[1] & F::upper)); in main() 66 assert(!(m[2] & F::upper)); in main() 80 assert(!(m[3] & F::upper)); in main() 94 assert(!(m[4] & F::upper)); in main() 108 assert(!(m[5] & F::upper)); in main()
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/ |
D | is_many.pass.cpp | 38 assert(!(m[0] & F::upper)); in main() 52 assert( (m[1] & F::upper)); in main() 66 assert(!(m[2] & F::upper)); in main() 80 assert(!(m[3] & F::upper)); in main() 94 assert(!(m[4] & F::upper)); in main() 108 assert(!(m[5] & F::upper)); in main()
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
D | util.rb | 140 def bound( lower, upper=nil ) argument 142 return self unless upper 143 return upper if self > upper
|
/external/eigen/Eigen/src/Core/ |
D | MathFunctions.h | 456 template<unsigned int n, int lower, int upper> struct floor_log2_selector 458 enum { middle = (lower + upper) / 2, 459 value = (upper <= lower + 1) ? int(floor_log2_terminate) 468 int upper = sizeof(unsigned int) * CHAR_BIT - 1, 469 int selector = floor_log2_selector<n, lower, upper>::value> 472 template<unsigned int n, int lower, int upper> 473 struct floor_log2<n, lower, upper, floor_log2_move_down> 475 enum { value = floor_log2<n, lower, floor_log2_selector<n, lower, upper>::middle>::value }; 478 template<unsigned int n, int lower, int upper> 479 struct floor_log2<n, lower, upper, floor_log2_move_up> [all …]
|
/external/v8/src/ |
D | types.h | 1001 TypeHandle upper; member 1004 explicit BoundsImpl(TypeHandle t) : lower(t), upper(t) {} in BoundsImpl() 1005 BoundsImpl(TypeHandle l, TypeHandle u) : lower(l), upper(u) { in BoundsImpl() 1006 DCHECK(lower->Is(upper)); in BoundsImpl() 1017 TypeHandle upper = Type::Intersect(b1.upper, b2.upper, region); in Both() local 1019 lower = Type::Intersect(lower, upper, region); in Both() 1020 return BoundsImpl(lower, upper); in Both() 1026 TypeHandle upper = Type::Union(b1.upper, b2.upper, region); in Either() local 1027 return BoundsImpl(lower, upper); in Either() 1032 t = Type::Intersect(t, b.upper, region); in NarrowLower() [all …]
|