/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 | Ranges.java | 86 public static <C extends Comparable<?>> Range<C> open(C lower, C upper) { in open() argument 87 return create(Cut.aboveValue(lower), Cut.belowValue(upper)); in open() 97 public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) { in closed() argument 98 return create(Cut.belowValue(lower), Cut.aboveValue(upper)); in closed() 109 C lower, C upper) { in closedOpen() argument 110 return create(Cut.belowValue(lower), Cut.belowValue(upper)); in closedOpen() 121 C lower, C upper) { in openClosed() argument 122 return create(Cut.aboveValue(lower), Cut.aboveValue(upper)); in openClosed() 134 C lower, BoundType lowerType, C upper, BoundType upperType) { in range() argument 142 ? Cut.belowValue(upper) in range() [all …]
|
/external/chromium_org/ui/gfx/ |
D | color_utils_unittest.cc | 74 HSL upper = {0.4, 0.5, 0.6}; in TEST() local 75 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() 78 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() 80 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() 82 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() 84 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() 86 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() 88 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() 94 HSL upper = {1.2, -1, -1}; in TEST() local 96 EXPECT_TRUE(IsWithinHSLRange(hsl, lower, upper)); in TEST() [all …]
|
/external/chromium_org/third_party/icu/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/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/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/chromium_org/ui/aura/test/ |
D | test_windows.cc | 58 bool ObjectIsAbove(T* upper, T* lower) { in ObjectIsAbove() argument 59 DCHECK_EQ(upper->parent(), lower->parent()); in ObjectIsAbove() 60 DCHECK_NE(upper, lower); in ObjectIsAbove() 61 const std::vector<T*>& children = upper->parent()->children(); in ObjectIsAbove() 63 std::find(children.begin(), children.end(), upper) - children.begin(); in ObjectIsAbove() 69 bool WindowIsAbove(Window* upper, Window* lower) { in WindowIsAbove() argument 70 return ObjectIsAbove<Window>(upper, lower); in WindowIsAbove() 73 bool LayerIsAbove(Window* upper, Window* lower) { in LayerIsAbove() argument 74 return ObjectIsAbove<ui::Layer>(upper->layer(), lower->layer()); in LayerIsAbove()
|
/external/chromium_org/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/stlport/src/ |
D | ctype.cpp | 111 ctype_base::mask(alpha | print | upper | xdigit) /* A */, in classic_table() 112 ctype_base::mask(alpha | print | upper | xdigit) /* B */, in classic_table() 113 ctype_base::mask(alpha | print | upper | xdigit) /* C */, in classic_table() 114 ctype_base::mask(alpha | print | upper | xdigit) /* D */, in classic_table() 115 ctype_base::mask(alpha | print | upper | xdigit) /* E */, in classic_table() 116 ctype_base::mask(alpha | print | upper | xdigit) /* F */, in classic_table() 117 ctype_base::mask(alpha | print | upper) /* G */, in classic_table() 118 ctype_base::mask(alpha | print | upper) /* H */, in classic_table() 119 ctype_base::mask(alpha | print | upper) /* I */, in classic_table() 120 ctype_base::mask(alpha | print | upper) /* J */, in classic_table() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
D | IDBKeyRange.cpp | 54 IDBKeyRange::IDBKeyRange(IDBKey* lower, IDBKey* upper, LowerBoundType lowerType, UpperBoundType upp… in IDBKeyRange() argument 56 , m_upper(upper) in IDBKeyRange() 124 IDBKey* upper = scriptValueToIDBKey(toIsolate(context), upperValue); in bound() local 126 if (!lower || !lower->isValid() || !upper || !upper->isValid()) { in bound() 130 if (upper->isLessThan(lower)) { in bound() 134 if (upper->isEqual(lower) && (lowerOpen || upperOpen)) { in bound() 139 …return IDBKeyRange::create(lower, upper, lowerOpen ? LowerBoundOpen : LowerBoundClosed, upperOpen … in bound()
|
D | IDBKeyRange.h | 51 …static IDBKeyRange* create(IDBKey* lower, IDBKey* upper, LowerBoundType lowerType, UpperBoundType … in create() argument 53 return new IDBKeyRange(lower, upper, lowerType, upperType); in create() 62 IDBKey* upper() const { return m_upper.get(); } in upper() function 72 …static IDBKeyRange* bound(ExecutionContext*, const ScriptValue& lower, const ScriptValue& upper, b… 77 IDBKeyRange(IDBKey* lower, IDBKey* upper, LowerBoundType lowerType, UpperBoundType upperType);
|
/external/libcxx/test/re/re.traits/ |
D | lookup_classname.pass.cpp | 40 | std::ctype_base::upper | std::ctype_base::lower); in main() 42 | std::ctype_base::upper | std::ctype_base::lower); in main() 44 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 46 | std::ctype_base::upper | std::ctype_base::lower, true); in main() 108 test("upper", std::ctype_base::upper); in main() 109 test("UPPER", std::ctype_base::upper); in main() 110 test("upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 111 test("Upper", std::ctype_base::upper | std::ctype_base::alpha, true); in main() 128 | std::ctype_base::upper | std::ctype_base::lower); in main() 130 | 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/chromium_org/third_party/icu/source/i18n/ |
D | ucol_wgt.cpp | 159 … WeightRange lower[5], middle, upper[5]; /* [0] and [1] are not used - this simplifies indexing */ in getWeightRanges() local 195 uprv_memset(upper, 0, sizeof(upper)); in getWeightRanges() 228 upper[length].start=setWeightTrail(weight, length, UCOL_BYTE_FIRST_TAILORED); in getWeightRanges() 229 upper[length].end=decWeightTrail(weight, length); in getWeightRanges() 230 upper[length].length=length; in getWeightRanges() 231 upper[length].count=trail-UCOL_BYTE_FIRST_TAILORED; in getWeightRanges() 250 if(lower[length].count>0 && upper[length].count>0) { in getWeightRanges() 251 start=upper[length].start; in getWeightRanges() 257 end=lower[length].end=upper[length].end; in getWeightRanges() 265 upper[length].count=0; in getWeightRanges() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebIDBKeyRange.cpp | 40 void WebIDBKeyRange::assign(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool up… in assign() argument 42 if (!lower.isValid() && !upper.isValid()) in assign() 45 …m_private = IDBKeyRange::create(lower, upper, lowerOpen ? IDBKeyRange::LowerBoundOpen : IDBKeyRang… in assign() 60 WebIDBKey WebIDBKeyRange::upper() const in upper() function in blink::WebIDBKeyRange 64 return WebIDBKey(m_private->upper()); in upper()
|
/external/chromium_org/third_party/qcms/src/ |
D | transform_util.c | 41 int upper, lower; in lut_interp_linear() local 43 upper = ceil(value); in lut_interp_linear() 46 value = table[upper]*(1. - (upper - value)) + table[lower]*(upper - value); in lut_interp_linear() 57 uint32_t upper = (value + 65534) / 65535; /* equivalent to ceil(value/65535) */ in lut_interp_linear16() local 62 value = (table[upper]*(interp) + table[lower]*(65535 - interp))/65535; // 0..65535*65535 in lut_interp_linear16() 77 uint32_t upper = (value + PRECACHE_OUTPUT_MAX-1) / PRECACHE_OUTPUT_MAX; in lut_interp_linear_precache_output() local 84 …value = (table[upper]*(interp) + table[lower]*(PRECACHE_OUTPUT_MAX - interp)); // 0..(65535*PRECAC… in lut_interp_linear_precache_output() 96 int upper, lower; in lut_interp_linear_float() local 98 upper = ceil(value); in lut_interp_linear_float() 101 value = table[upper]*(1. - (upper - value)) + table[lower]*(upper - value); in lut_interp_linear_float() [all …]
|
/external/chromium_org/third_party/libxml/src/ |
D | encoding.c | 1008 char upper[100]; in xmlGetEncodingAlias() local 1017 upper[i] = toupper(alias[i]); in xmlGetEncodingAlias() 1018 if (upper[i] == 0) break; in xmlGetEncodingAlias() 1020 upper[i] = 0; in xmlGetEncodingAlias() 1026 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) { in xmlGetEncodingAlias() 1046 char upper[100]; in xmlAddEncodingAlias() local 1052 upper[i] = toupper(alias[i]); in xmlAddEncodingAlias() 1053 if (upper[i] == 0) break; in xmlAddEncodingAlias() 1055 upper[i] = 0; in xmlAddEncodingAlias() 1074 if (!strcmp(xmlCharEncodingAliases[i].alias, upper)) { in xmlAddEncodingAlias() [all …]
|
/external/chromium_org/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/localization/locale.categories/category.ctype/locale.ctype.byname/ |
D | is_many.pass.cpp | 41 assert( (m[0] & F::upper)); in main() 55 assert(!(m[1] & F::upper)); in main() 69 assert( (m[2] & F::upper)); in main() 83 assert(!(m[3] & F::upper)); in main() 97 assert(!(m[4] & F::upper)); in main() 111 assert(!(m[5] & F::upper)); in main() 125 assert(!(m[6] & F::upper)); in main() 150 assert(!(m[0] & F::upper)); in main() 164 assert(!(m[1] & F::upper)); in main() 178 assert( (m[2] & F::upper)); in main() [all …]
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebIDBKeyRange.h | 43 …ange(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen) { assign(lowe… in WebIDBKeyRange() argument 46 BLINK_EXPORT WebIDBKey upper() const; 51 …BLINK_EXPORT void assign(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool uppe…
|
/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/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 …]
|
/external/chromium_org/ui/gl/ |
D | generate_bindings.py | 1351 """ % {'name': set_name.upper()}) 1362 file.write("struct Extensions%s {\n" % set_name.upper()) 1369 file.write("struct Procs%s {\n" % set_name.upper()) 1382 """ % {'name': set_name.upper()}) 1400 set_name.upper()) 1414 """ % {'name': set_name.upper()}) 1435 """ % {'name': set_name.upper()}) 1478 file.write('Driver%s g_driver_%s;\n' % (set_name.upper(), set_name.lower())) 1502 set_name.upper()) 1528 """ % set_name.upper()) [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
D | TextureStorage9.cpp | 173 IDirect3DSurface9 *upper = getSurfaceLevel(level - 1, false); in generateMipmaps() local 176 if (upper != NULL && lower != NULL) in generateMipmaps() 178 mRenderer->boxFilter(upper, lower); in generateMipmaps() 181 SafeRelease(upper); in generateMipmaps() 287 …IDirect3DSurface9 *upper = getCubeMapSurface(GL_TEXTURE_CUBE_MAP_POSITIVE_X + faceIndex, level - 1… in generateMipmaps() local 290 if (upper != NULL && lower != NULL) in generateMipmaps() 292 mRenderer->boxFilter(upper, lower); in generateMipmaps() 295 SafeRelease(upper); in generateMipmaps()
|
/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
|